-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear list,

I've managed to have my nodes up & running, but without all the software needed.

Some facts:

- - Distro: CentOS 5.2 x86_64
- - Oscar: 6.0.1 && unstable

When selecting packages (Step 1, oscar_wizard install), there are very few 
packages. This
is when I compare to other distros (see /usr/share/oscar/package_sets/Default):

rhel-5-x86_64.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<package_set>
    <name>Default</name>
    <packages>
        <opkg>base</opkg>
        <opkg>c3</opkg>
        <opkg>ganglia</opkg>
        <opkg>oda</opkg>
        <opkg>opium</opkg>
        <opkg>sc3</opkg>
        <opkg>selinux</opkg>
        <opkg>sis</opkg>
        <opkg>sync-files</opkg>
        <opkg>yume</opkg>
    </packages>
</package_set>

I've created a new set of packages, in a new file called 'centos-5-x86_64.xml' 
(in the
same dir). Basically, the ones from fedora distros, and packages with different 
names renamed.

Now I have a better package list for my clients:

<?xml version="1.0" encoding="ISO-8859-1"?>
<package_set>
    <name>Default</name>
    <packages>
        <opkg>apitest</opkg>
        <opkg>base</opkg>
        <opkg>c3</opkg>
        <opkg>disable-services</opkg>
        <opkg>ganglia</opkg>
        <opkg>jobmonarch</opkg>
        <opkg>lam</opkg>
        <opkg>linux-ha</opkg>
        <opkg>loghost</opkg>
        <opkg>maui</opkg>
        <opkg>mpich</opkg>
        <opkg>mta-config</opkg>
        <opkg>netbootmgr</opkg>
        <opkg>networking</opkg>
        <opkg>ntpconfig</opkg>
        <opkg>oda</opkg>
        <opkg>openmpi</opkg>
        <opkg>opium</opkg>
        <opkg>pvm</opkg>
        <opkg>rapt</opkg>
        <opkg>sc3</opkg>
        <opkg>sge</opkg>
        <opkg>sis</opkg>
        <opkg>switcher</opkg>
        <opkg>sync-files</opkg>
        <opkg>torque</opkg>
        <opkg>yume</opkg>
    </packages>
</package_set>

But now in the wizard I can't configure packages (as I did before in other 
installation).
...
So I decided to 'Manage Sets', and create 'New All'. This error is what I've 
obtained:
Could not do oda command 'set_group_packages sc3 new_Core' at
/usr/lib/perl5/site_perl/Qt.pm line 449
DBD::mysql::st execute failed: Unknown column 'Packages' in 'where clause' at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 788.
DBD::mysql::db do failed: Duplicate entry 'c3-new_Core' for key 1 at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 711.
>Selector.pl:
====> in Database::do_select SQL : SELECT package From Group_Packages WHERE 
Packages='c3'
AND group_name='new_Core'
Failed to query for << SELECT package From Group_Packages WHERE Packages='c3' 
AND
group_name='new_Core' >> at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 
717.
error executing sql statement <SELECT package From Group_Packages WHERE 
Packages='c3' AND
group_name='new_Core'> on database <oscar>:
Unknown column 'Packages' in 'where clause' at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 717.
DB_DEBUG>Selector.pl:
====> in Database::do_update SQL : INSERT INTO Group_Packages (group_name, 
package,
selected) VALUES ('new_Core', 'c3', '1')
Error message: Failed to update Group_Packages table in database <oscar>: 
Duplicate entry
'c3-new_Core' for key 1 at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 
717.
Selector.pl: SQL command that failed was: <INSERT INTO Group_Packages 
(group_name,
package, selected) VALUES ('new_Core', 'c3', '1')> at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 717.
DB_DEBUG>Selector.pl:
====>Failed to insert values via << INSERT INTO Group_Packages (group_name, 
package,
selected) VALUES ('new_Core', 'c3', '1') >> at SelectorManageSets.pm line 371
Could not do oda command 'set_group_packages c3 new_Core' at
/usr/lib/perl5/site_perl/Qt.pm line 449
DBD::mysql::st execute failed: Unknown column 'Packages' in 'where clause' at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 788.
DBD::mysql::db do failed: Duplicate entry 'selinux-new_Core' for key 1 at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 711.
>Selector.pl:
====> in Database::do_select SQL : SELECT package From Group_Packages WHERE
Packages='selinux' AND group_name='new_Core'
Failed to query for << SELECT package From Group_Packages WHERE 
Packages='selinux' AND
group_name='new_Core' >> at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 
717.
error executing sql statement <SELECT package From Group_Packages WHERE 
Packages='selinux'
AND group_name='new_Core'> on database <oscar>:
Unknown column 'Packages' in 'where clause' at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 717.
DB_DEBUG>Selector.pl:
====> in Database::do_update SQL : INSERT INTO Group_Packages (group_name, 
package,
selected) VALUES ('new_Core', 'selinux', '1')
Error message: Failed to update Group_Packages table in database <oscar>: 
Duplicate entry
'selinux-new_Core' for key 1 at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm 
line 717.
Selector.pl: SQL command that failed was: <INSERT INTO Group_Packages 
(group_name,
package, selected) VALUES ('new_Core', 'selinux', '1')> at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm line 717.
DB_DEBUG>Selector.pl:
====>Failed to insert values via << INSERT INTO Group_Packages (group_name, 
package,
selected) VALUES ('new_Core', 'selinux', '1') >> at SelectorManageSets.pm line 
371
....

So package modification isn't working. As a result of this, I can't manage to 
have a
decent client image, with all the needed software (torque, maui, etc.).

I've tried to do a clean install, but packages never get installed in client 
image. Of
course, I can make an installation using rpm --root.. but I don't think this 
was the
original idea :)

Any thoughts?

Felipe.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmUS2MACgkQH2cTtfSrHKmJAACfX5i5K3Cc3sWpWpu90LG3Jf0f
NMUAn1N04LrBGkdRCm4WtrE/TKAiDGrB
=65ex
-----END PGP SIGNATURE-----
begin:vcard
fn;quoted-printable:Felipe Zipitr=C3=ADa
n;quoted-printable:Zipitr=C3=ADa;Felipe
org;quoted-printable:Facultad de Ingenier=C3=ADa
adr;quoted-printable:;;J. Herrera y Reissig 565 piso 5=C2=BA;Montevideo;;11300;Uruguay
email;internet:fz...@fing.edu.uy
tel;work:7114244 int. 105
tel;fax:7114609
x-mozilla-html:FALSE
url:http://www.fing.edu.uy/~fzipi
version:2.1
end:vcard

------------------------------------------------------------------------------
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to