All, I just release Selector-1.1 that: 1/ disable the "Manage Set" button from the GUI, the GUI code is yet not ready to support that capability, 2/ add a oscar-selector script that supports the management of package sets (for more details, please refer to the man page "man oscar-selector").
I hope it will help at least Felipe in what he tries to do. Comments and bug reports are more than welcome. :-) Regards, ----- Mail Original ----- De: "Felipe Zipitria - INCO" <fz...@fing.edu.uy> À: oscar-users@lists.sourceforge.net Cc: "geoffroy vallee" <geoffroy.val...@free.fr> Envoyé: Jeudi 12 Février 2009 11:16:40 GMT -05:00 USA/Canada - États de l'Est Objet: Succesful bootstrap... bad image built -----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----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Oscar-users mailing list Oscar-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-users