On 02/09/2011 09:28 PM, Sue McGlashan wrote: > Hi > Thank you to Geoffroy for looking at some of the C3 code, which has a problem with deleting nodes.
I have just reinstalled OSCAR on another computer, and I had the same problem when I reached the "defining Clients" stage. I again made the file /usr/bin/c3_conf_manager executable. After that, I am now able to "Define Clients" and to proceed to the next step, to set up networking, which I could not before. This may be because I have not tried deleting clients, or possible another error I might have introduced in the previous (my first ) install. Cheers > Please note this is my first attempt at using OSCAR. > > I fetched the oscar repository using > svn co http://svn.oscar.openclustergroup.org/oscar/trunk oscar > (but reading posts, I am not sure this was necessary, as following the > instructions resulted in the various needed rpms being downloaded.) > > > I am installing on RHEL5.5 x86_64 > > I followed through all of the instructions, and am running the > oscar_wizard install, successfully until the stage where I want to add > clients. > > Initially, I ran into an error > sh: /usr/bin/c3_conf_manager: Permission denied > > and corrected this by making /usr/bin/c3_conf_manager executable. > > > However, I am unable to Define Oscar clients, or to Delete Oscar clients > > I am appending the entries from the log for these two actions, in hopes > that someone can point me in the correct direction. > > > I think the two significant errors are > Defining: > Couldn't run postinstall at > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Tk.pm line 247 > > Deleting: > Undefined subroutine&main::delete_cluster called at > /usr/bin/c3_conf_manager line 347. > > > (and note. /etc/hosts and /etc/c3.conf do not have entries removed on > delete. I have yet to work out the other files that are changed). > > ----------------------------------------------------------------------------- > logs for defining a client > ----------------------------------------------------------------------------- > > > [INFO] Exeecuting: /usr/bin/mksirange --image oscarimage1 > --basename=utmnode --count=1 --pad=1 --gateway=192.168.0.1 > --ipstart=192.168.0.12 --domain=oscardomain --netmask=255.255.255.0 > --start=2 --verbose > 2011-2-9 21:18:55 [main :: Line 203] Checking arguments. > Cleaning up oscarimage1-gv > 2011-2-9 21:18:56 [main :: Line 109] Generating IP list. > 2011-2-9 21:18:56 [main :: Line 115] Getting existing definitions. > Translating 1...... oscar_server > Translating 1...... oscar_server > 2011-2-9 21:18:56 [main :: Line 130] Checking for existing machine > conflicts. > 2011-2-9 21:18:56 [main :: Line 154] Adding machines. > Defining objects for utmnode2 > --> Adding clients... > $VAR1 = bless( { > 'imagename' => 'oscarimage1', > 'proccount' => undef, > 'arch' => undef, > 'name' => 'utmnode2', > 'domainname' => 'oscardomain', > 'hostname' => 'utmnode2.oscardomain', > 'route' => '192.168.0.1', > 'SIS::Client' => 'utmnode2' > }, 'SIS::Client' ); > --> Populating the OSCAR database... > --> Getting information about the image (oscarimage1)... > Success... > $VAR1 = { > 'architecture' => 'x86_64', > 'name' => 'oscarimage1', > 'path' => '/var/lib/systemimager/images/oscarimage1', > 'id' => '2' > }; > --> Populating the SIS database... > -> [INFO] Executing: /usr/sbin/si_addclients --hosts utmnode2 --script > oscarimage1 > si_addclients: created links in /var/lib/systemimager/scripts > > si_addclients: successfully completed. > Data to store: > $VAR1 = bless( { > '_cache' => { > '_primkey' => 'eth0:utmnode2' > }, > '_vars' => { > '_mac' => undef, > '_netmask' => '255.255.255.0', > '_ip' => '192.168.0.12', > '_devname' => 'eth0', > '_client' => 'utmnode2' > } > }, 'SIS::Adapter' ); > -> [INFO] Adding a new network adapter > $VAR1 = { > '_mac' => undef, > '_netmask' => '255.255.255.0', > '_ip' => '192.168.0.12', > '_devname' => 'eth0', > '_client' => 'utmnode2' > }; > Translating 1...... oscar_server > Translating 1...... oscar_server > Translating 28...... utmnode2 > Translating 1...... oscar_server > Translating 1...... oscar_server > Translating 28...... utmnode2 > 2011-2-9 21:18:56 [SystemInstaller::Machine :: Line 121] Parsing adapters > 2011-2-9 21:18:56 [SystemInstaller::Machine :: Line 130] Syncing > /etc/hosts/ to database. > 2011-2-9 21:18:56 [SystemInstaller::Machine :: Line 169] Re-adding > currently defined machines. > 2011-2-9 21:18:56 [SystemInstaller::Machine :: Line 211] Copying hosts > file to scripts directory. > Ref: CODE > Populating /root/.ssh/known_hosts with defined clients' host keys > Looking for /var/lib/oscar/packages/apitest/api-post-clientdef... > Looking for /var/lib/oscar/packages/apitest/post_clients... > Looking for /var/lib/oscar/packages/base/api-post-clientdef... > Looking for /var/lib/oscar/packages/base/post_clients... > Looking for /var/lib/oscar/packages/c3/api-post-clientdef... > Undefined subroutine&main::delete_cluster called at > /usr/bin/c3_conf_manager line 347. > ERROR: I couldn't manage to update the C3 configuration! > ERROR: /var/lib/oscar/packages/c3/api-post-clientdef exitted badly (9) > at /usr/bin/post_clients line 67 > ERROR: Couldn't run post_clients script for c3 at /usr/bin/post_clients > line 68 > Looking for /var/lib/oscar/packages/ganglia/api-post-clientdef... > Looking for /var/lib/oscar/packages/ganglia/post_clients... > Looking for /var/lib/oscar/packages/oda/api-post-clientdef... > Looking for /var/lib/oscar/packages/oda/post_clients... > Looking for /var/lib/oscar/packages/opium/api-post-clientdef... > Looking for /var/lib/oscar/packages/opium/post_clients... > Looking for /var/lib/oscar/packages/rapt/api-post-clientdef... > Looking for /var/lib/oscar/packages/rapt/post_clients... > Looking for /var/lib/oscar/packages/sc3/api-post-clientdef... > Looking for /var/lib/oscar/packages/sc3/post_clients... > Looking for /var/lib/oscar/packages/sis/api-post-clientdef... > using ODA to read the OSCAR database for node and adapters information ... > reading SIS database for node and adapters information ... > [INFO] Impossible to get the adapters > Setting node utmnode2 field installer to "sis" ... > Done setting node utmnode2 field installer to "sis" > Looking for /var/lib/oscar/packages/sis/post_clients... > Looking for /var/lib/oscar/packages/switcher/api-post-clientdef... > [switcher] Executing: /opt/sync_files/bin/confmgr --add > /opt/env-switcher/etc/switcher.ini > There were issues running post_clients. Please check your logs at > /usr/bin/post_clients line 73 > Looking for /var/lib/oscar/packages/switcher/post_clients... > Looking for /var/lib/oscar/packages/sync-files/api-post-clientdef... > Looking for /var/lib/oscar/packages/sync-files/post_clients... > Looking for /var/lib/oscar/packages/yume/api-post-clientdef... > Looking for /var/lib/oscar/packages/yume/post_clients... > at /usr/lib/systeminstaller/SystemInstaller/Tk/AddClients.pm line 234 > Couldn't run postinstall at > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Tk.pm line 247 > > > ----------------------------------------------------------------------------- > Deleting > ----------------------------------- > > >> Turning off generic services > >> delete node PXE/ELILO configs > ... utmnode2 > Data for node deletion > >> Effectively deleting node utmnode2 (DELETE FROM Nodes WHERE > name='utmnode2') > >> Clients deleted, running few scripts... > Populating /root/.ssh/known_hosts with defined clients' host keys > Looking for /var/lib/oscar/packages/apitest/api-post-clientdef... > Looking for /var/lib/oscar/packages/apitest/post_clients... > Looking for /var/lib/oscar/packages/base/api-post-clientdef... > Looking for /var/lib/oscar/packages/base/post_clients... > Looking for /var/lib/oscar/packages/c3/api-post-clientdef... > Undefined subroutine&main::delete_cluster called at > /usr/bin/c3_conf_manager line 347. > ERROR: I couldn't manage to update the C3 configuration! > ERROR: /var/lib/oscar/packages/c3/api-post-clientdef exitted badly (9) > at /usr/bin/post_clients line 67 > ERROR: Couldn't run post_clients script for c3 at /usr/bin/post_clients > line 68 > Looking for /var/lib/oscar/packages/ganglia/api-post-clientdef... > Looking for /var/lib/oscar/packages/ganglia/post_clients... > Looking for /var/lib/oscar/packages/oda/api-post-clientdef... > Looking for /var/lib/oscar/packages/oda/post_clients... > Looking for /var/lib/oscar/packages/opium/api-post-clientdef... > Looking for /var/lib/oscar/packages/opium/post_clients... > Looking for /var/lib/oscar/packages/rapt/api-post-clientdef... > Looking for /var/lib/oscar/packages/rapt/post_clients... > Looking for /var/lib/oscar/packages/sc3/api-post-clientdef... > Looking for /var/lib/oscar/packages/sc3/post_clients... > Looking for /var/lib/oscar/packages/sis/api-post-clientdef... > using ODA to read the OSCAR database for node and adapters information ... > reading SIS database for node and adapters information ... > Looking for /var/lib/oscar/packages/sis/post_clients... > Looking for /var/lib/oscar/packages/switcher/api-post-clientdef... > [switcher] Executing: /opt/sync_files/bin/confmgr --add > /opt/env-switcher/etc/switcher.ini > There were issues running post_clients. Please check your logs at > /usr/bin/post_clients line 73 > Looking for /var/lib/oscar/packages/switcher/post_clients... > Looking for /var/lib/oscar/packages/sync-files/api-post-clientdef... > Looking for /var/lib/oscar/packages/sync-files/post_clients... > Looking for /var/lib/oscar/packages/yume/api-post-clientdef... > Looking for /var/lib/oscar/packages/yume/post_clients... > ERROR: Impossible to execute /usr/bin/post_clients at > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/DelNode.pm line 149 > > > > Thank you for your time > -- > Sue McGlashan > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Oscar-users mailing list > Oscar-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oscar-users -- Sue McGlashan CISSP MCS IT Specialist This email communication is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any use of this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the email and all copies (electronic or otherwise) immediately. Ce courriel est destine uniquement a la personne ou a l'entite a laquelle il est envoye et peut contenir de l'information confidentielle ou privilegiee. Toute utilisation de l'information par une personne ou une entite autre que celle a laquelle elle est destinee est interdite. Si vous recevez ce courriel par erreur, veuillez communiquer avec son expediteur et supprimer ce courriel et toute copie (electronique ou autre) immediatement. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Oscar-users mailing list Oscar-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-users