We have a wrapper for installs on our clusters, and currently that's what
it does, if rinstall fails, it rpower boots the guest.  We can change our
wrapper to nodeset/rpower easily enough...

_________________________________
Douglas Myers,
IBM Special Events - Smart Cloud BMS Lead
_________________________________
"It's not an opportunity if it doesn't scare you a little bit"




                                                                                
                                                                      
  From:       Jarrod Johnson <[email protected]>                             
                                                                      
                                                                                
                                                                      
  To:         xCAT Users Mailing list <[email protected]>         
                                                                      
                                                                                
                                                                      
  Date:       04/01/2015 01:46 PM                                               
                                                                      
                                                                                
                                                                      
  Subject:    Re: [xcat-user] rinstall issue - Was 2.9.1 rpower issue           
                                                                      
                                                                                
                                                                      





Rinstall used to just be nodeset and rpower….  Rsetboot was added as a
convenience to force pxe boot…

Rsetboot does however work on esx guests… rsetboot could be made to do kvm
easy enough since vm.bootorder is honored…

I must confess I generally just do the nodeset and then the rpower as
distinct steps rather than having rinstall do it for me… but it would be a
good idea for rinstall to try and warn on failure rather than flip out…

Jarrod Johnson
HPC Systems Management Architect
Lenovo

From: Douglas Myers [mailto:[email protected]]
Sent: Wednesday, April 01, 2015 3:57 PM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] rinstall issue - Was 2.9.1 rpower issue



That does bring up a question, why is rsetboot being called? According to
man page, it's for impi only for now, and it works as expected on the
physical servers I tested on just now, z10148 is a kvm guest though...

_________________________________
Douglas Myers,
IBM Special Events - Smart Cloud BMS Lead
_________________________________
"It's not an opportunity if it doesn't scare you a little bit"



Inactive hide details for Jarrod Johnson ---04/01/2015 12:41:23 PM---How
about rsetboot?Jarrod Johnson ---04/01/2015 12:41:23 PM---How about
rsetboot?


                                                                           
                                                                           
       From:        Jarrod Johnson <[email protected]>                  
                                                                           
                                                                           
       To:          xCAT Users Mailing list <                              
                    [email protected]>                       
                                                                           
                                                                           
       Date:        04/01/2015 12:41 PM                                    
                                                                           
                                                                           
       Subject:     Re: [xcat-user] rinstall issue - Was 2.9.1 rpower      
                    issue                                                  
                                                                           






How about rsetboot?

Jarrod Johnson
HPC Systems Management Architect
Lenovo

From: Douglas Myers [mailto:[email protected]]
Sent: Wednesday, April 01, 2015 3:18 PM
To: xCAT Users Mailing list
Subject: [xcat-user] rinstall issue - Was 2.9.1 rpower issue



spoke too soon


# rinstall z10148

z10148: install sles11.3-x86_64-EI.kvm_new.sles11
Error: z10148: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
Error: rsetboot failure will not continue

still getting this, though rpower is responding on all the various options,
risntall is still bombing.  IF I run rpwoer z10148 boot after the error,
the node boots into install and proceeds as normal.  below is the node def
fro z10148

# lsdef z10148
Object name: z10148
   arch=x86_64
   currchain=boot
   currstate=install sles11.3-x86_64-EI.kvm_new.sles11
   groups=compute,all
   initrd=xcat/sles11.3/x86_64/EI.kvm_new.sles11/initrd
   installnic=eth0
   ip=NNN.NNN.NNN.NNN
   kcmdline=quiet autoyast=nfs://z10000e1:/install/autoinst/z10148
install=nfs://z10000e1:/install/sles11.3/x86_64/1 netdevice=eth0
console=tty0 console=ttyS0,115200
   kernel=xcat/sles11.3/x86_64/EI.kvm_new.sles11/linux
   mac=42:a4:ac:1f:fd:b4
   mgt=kvm
   netboot=pxe
   nfsserver=z10000e1
   nodetype=osi
   os=sles11.3
   postbootscripts=otherpkgs,500EI_All,520EI_SLES11,599EI_All
   postscripts=syslog,syncfiles,remoteshell
   power=kvm
   primarynic=eth0
   profile=EI.kvm_new.sles11
   provmethod=install
   serialport=0
   serialspeed=115200
   status=installing
   statustime=04-01-2015 19:12:26
   vmcpus=2
   vmhost=z1vmm99
   vmmemory=4096
   vmnics=br600=virtio
   vmstorage=/gpfs/virtual_test/z10148_rootvg.img
   vmstoragemodel=virtio

_________________________________
Douglas Myers,
IBM Special Events - Smart Cloud BMS Lead
_________________________________
"It's not an opportunity if it doesn't scare you a little bit"



Inactive hide details for Douglas Myers---04/01/2015 11:55:40 AM---That was
it, we had a custom version of Sys-Virt from a legaDouglas
Myers---04/01/2015 11:55:40 AM---That was it, we had a custom version of
Sys-Virt from a legacy requirement, updated to latest SLES version, rpower
is functioni


                                                                           
                                                                           
       From:        Douglas Myers/Schaumburg/IBM@IBMUS                     
                                                                           
                                                                           
       To:          xCAT Users Mailing list <                              
                    [email protected]>                       
                                                                           
                                                                           
       Date:        04/01/2015 11:55 AM                                    
                                                                           
                                                                           
       Subject:     Re: [xcat-user] 2.9.1 rpower issue                     
                                                                           







That was it, we had a custom version of Sys-Virt from a legacy requirement,
updated to latest SLES version, rpower is functioning as expected, thanks
for the quick assist!

_________________________________
Douglas Myers,
IBM Special Events - Smart Cloud BMS Lead
_________________________________
"It's not an opportunity if it doesn't scare you a little bit"



Inactive hide details for Jarrod Johnson ---04/01/2015 11:20:53 AM---I’m
looking at the ‘is_active’ calls, and they are all Jarrod Johnson
---04/01/2015 11:20:53 AM---I’m looking at the ‘is_active’ calls, and they
are all new to 2.8 and up… It’s probable that Sys::Virt didn’t used to hav


                                                                           
                                                                           
       From:        Jarrod Johnson <[email protected]>                  
                                                                           
                                                                           
       To:          xCAT Users Mailing list <                              
                    [email protected]>                       
                                                                           
                                                                           
       Date:        04/01/2015 11:20 AM                                    
                                                                           
                                                                           
       Subject:     Re: [xcat-user] 2.9.1 rpower issue                     
                                                                           







I’m looking at the ‘is_active’ calls, and they are all new to 2.8 and up…
It’s probable that Sys::Virt didn’t used to have it and the update to 2.8
has a requirement to go up on Sys::Virt…

Jarrod Johnson
HPC Systems Management Architect
Lenovo

From: Jarrod Johnson [mailto:[email protected]]
Sent: Wednesday, April 01, 2015 2:05 PM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] 2.9.1 rpower issue

I assume this is a KVM guest…
rpm –qa|grep Sys-Virt

Jarrod Johnson
HPC Systems Management Architect
Lenovo

From: Douglas Myers [mailto:[email protected]]
Sent: Wednesday, April 01, 2015 1:42 PM
To: xCAT Users Mailing list ([email protected])
Subject: [xcat-user] 2.9.1 rpower issue



SLES 11.3 MN SLES11.3 KVM hyper  xCAT upgraded from 2.7.5 to 2.9.1.

Still working though some of the wrinkles, but have my first show stopper:

#rinstall z10148

z10148: install sles11.3-x86_64-EI.kvm_new.sles11
Error: z10148: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
Error: rsetboot failure will not continue

Which sorta pointed me toward the rpower call and it does seem to be the
current issue:

# rpower z10148 boot
Error: kvm plugin bug, pid 32652, process description: 'xCATd SSL: rpower
to z10148 for root@localhost: kvm instance' with error 'Can't locate object
method "is_active" via package "Sys::Virt::Domain"
at /opt/xcat/lib/perl/xCAT_plugin/kvm.pm line 2416.' while trying to
fulfill request for the following nodes: z10148

And then hangs command never completes.  Looks to be related to "is_active"
call, any of those lines in kvm.pm error out, and any that don't (e.g. on,
softboot, etc) work.  rpower does work when calling to hmc and ipmi
servers, just not kvm guests

_________________________________
Douglas Myers,
IBM Special Events - Smart Cloud BMS Lead
_________________________________
"It's not an opportunity if it doesn't scare you a little bit"
------------------------------------------------------------------------------

Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------

Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------

Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------

Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to