Hi Lanae,

You rsetboot return Invalid role, that is to say its bmc user privilege is
not enough or is not administrator;
You should check your user privilege first and then change its privilege to
administrator:
To check:
#ipmitool user list 2




                    [root@master xCAT]# rsetboot node1903 net
                    node1903: Error: Invalid role
                    node1903: Error: Invalid role


Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
         ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian
District,
         Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193


|------------>
| From:      |
|------------>
  
>-------------------------------------------------------------------------------------------------------------------------------------------------|
  |Lanae Neild <lne...@clemson.edu>                                             
                                                                    |
  
>-------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>-------------------------------------------------------------------------------------------------------------------------------------------------|
  |xCAT Users Mailing list <xcat-user@lists.sourceforge.net>,                   
                                                                    |
  
>-------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>-------------------------------------------------------------------------------------------------------------------------------------------------|
  |2014/08/02 02:58                                                             
                                                                    |
  
>-------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>-------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [xcat-user] xCAT 2.8.4 and HP IPMI                                       
                                                                    |
  
>-------------------------------------------------------------------------------------------------------------------------------------------------|





Thanks Jarrod, I agree they shouldn't balk at that.



Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
lne...@clemson.edu





On Fri, Aug 1, 2014 at 11:53 AM, Jarrod B Johnson <jbjoh...@us.ibm.com>
wrote:
  Regretably, I think you have to take up the issue with HP support at this
  point.  ipmitool is a pretty widely known tool so they shouldn't balk at
  that method of reproducing it like they might balk at over xCAT.

  Inactive hide details for Lanae Neild ---08/01/2014 11:31:53 AM---Weird.
  we have a couple different IPMI firmware versions in tLanae Neild
  ---08/01/2014 11:31:53 AM---Weird. we have a couple different IPMI
  firmware versions in the sl250's and both behave the same way




  From: Lanae Neild <lne...@clemson.edu>
  To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
  Date: 08/01/2014 11:31 AM
  Subject: Re: [xcat-user] xCAT 2.8.4 and HP IPMI



  Weird. we have a couple different IPMI firmware versions in the sl250's
  and both behave the same way. What could be  different in xcat 2.7.8 that
  it would work when this command doesn't?


  sl250 from remote:


  [root@master xCAT]# ipmitool -I lanplus -U xxxx -P xxxx -H node1903-man0
  power status
  Error: Unable to establish IPMI v2 / RMCP+ session
  Unable to get Chassis Power Status


  dl165 from remote:


  [root@master xCAT]# ipmitool -I lanplus -U xxxx -P xxxx -H node1572-man0
  power status
  Chassis Power is on



  Lanae Neild
  Systems Programmer I
  HPC, CCIT, Clemson University
  (864)505-4293
  lne...@clemson.edu





  On Fri, Aug 1, 2014 at 11:05 AM, Jarrod B Johnson <jbjoh...@us.ibm.com>
  wrote:


        Hmm, that looks bizarre.  If you try to do 'ipmitool -I lanplus -U
        <username> -P <password> -H <ilo> power state' from a remote node,
        does ipmitool also fail?  This might be some oddity with your DL160
        systems.  Sorry I don't know off hand, I only know our system x
        products directly.

        Inactive hide details for Lanae Neild ---08/01/2014 10:50:56
        AM---The channel 1 isn't set up, but either 'ipmitool lan print' o
        Lanae Neild ---08/01/2014 10:50:56 AM---The channel 1 isn't set up,
        but either 'ipmitool lan print' or 'ipmitool lan print 2' return
        the sam




        From: Lanae Neild <lne...@clemson.edu>
        To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
        Date: 08/01/2014 10:50 AM
        Subject: Re: [xcat-user] xCAT 2.8.4 and HP IPMI






        The channel 1 isn't set up, but either 'ipmitool lan print' or
        'ipmitool lan print 2' return the same thing:

        [root@node1903 ~]# ipmitool lan print 1
        Channel 1 is not a LAN channel
        [root@node1903 ~]# ipmitool lan print
        Set in Progress         : Set Complete
        Auth Type Support       :
        IP Address Source       : Static Address
        IP Address              : 10.125.58.99
        Subnet Mask             : 255.255.0.0
        MAC Address             : 28:92:4a:38:d7:e8
        BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP
        Disabled
        Default Gateway IP      : 10.125.100.1
        802.1q VLAN ID          : Disabled
        802.1q VLAN Priority    : 0
        Cipher Suite Priv Max   : Not Available

        Maybe the channel is important? However, on a HP DL165 where xcat
        rinstalls are working fine, its also channel 2, so much for that.
        But there's a lot more information from this command on a node
        that's working. I would think this might be a clue except that we
        can't find anything changed about the sl250s except for xcat being
        upgraded, when the issue started. Also, I can still log in to the
        web mgmt interface on the sl250s, using the same interface and
        credentials that xcat is configured to use for ipmi.

        output from a HP DL165 where xcat with ipmi works:

        [root@node1572 ~]# ipmitool lan print 2
        Set in Progress         : Set Complete
        Auth Type Support       : NONE MD5 PASSWORD
        Auth Type Enable        : Callback : NONE MD5 PASSWORD
                                : User     : NONE MD5 PASSWORD
                                : Operator : NONE MD5 PASSWORD
                                : Admin    : NONE MD5 PASSWORD
                                : OEM      : NONE MD5 PASSWORD
        IP Address Source       : Static Address
        IP Address              : 10.125.56.136
        Subnet Mask             : 255.255.0.0
        MAC Address             : 98:4b:e1:60:94:71
        SNMP Community String   : public
        IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00
        TOS=0x10
        BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP
        Disabled
        Gratituous ARP Intrvl   : 2.0 seconds
        Default Gateway IP      : 10.125.100.1
        802.1q VLAN ID          : Disabled
        802.1q VLAN Priority    : 0
        RMCP+ Cipher Suites     : 0,1,2,3
        Cipher Suite Priv Max   : OOOOXXXXXXXXXXX
                                :     X=Cipher Suite Unused
                                :     c=CALLBACK
                                :     u=USER
                                :     o=OPERATOR
                                :     a=ADMIN
                                :     O=OEM


        Lanae Neild
        Systems Programmer I
        HPC, CCIT, Clemson University
        (864)505-4293
        lne...@clemson.edu





        On Fri, Aug 1, 2014 at 7:05 AM, Jarrod Johnson <
        jarrod.b.john...@gmail.com> wrote:
              How does ipmitool fare?  Ipmitool lan print 1 if it does work
              and ipmitool cmd syntax that did work


              On Jul 31, 2014 10:42 AM, "Lanae Neild" <lne...@clemson.edu>
              wrote:



                    Forcing ipmi2support to 0 didn't make any difference

                    [root@master xCAT]# nodeset node1903
                    osimage=SL-x86_64-install-compute
                    node1903: install SL-x86_64-compute
                    [root@master xCAT]# rsetboot node1903 net
                    node1903: Error: Invalid role
                    node1903: Error: Invalid role
                    node1903: Error: Insufficient resources to create new
                    session (wait for existing sessions to timeout)
                    node1903: Error: Insufficient resources to create new
                    session (wait for existing sessions to timeout)
                    node1903: Error: Insufficient resources to create new
                    session (wait for existing sessions to timeout)
                    node1903: Error: Invalid role


                    Lanae Neild
                    Systems Programmer I
                    HPC, CCIT, Clemson University
                    (864)505-4293
                    lne...@clemson.edu





                    On Wed, Jul 30, 2014 at 8:09 PM, Jarrod Johnson <
                    jarrod.b.john...@gmail.com> wrote:
                          Hmmm...  If you edit IPMI.pm and force
                          ipmi2support to 0 do things change?


                          On Jul 30, 2014 2:43 PM, "Lanae Neild" <
                          lne...@clemson.edu> wrote:



                                Correction - replaced the correct file this
                                time, /opt/xcat/lib/perl/xCAT/IPMI.pm with
                                the one from 2.7.8 gives this - at least it
                                is a different error this time!

                                [root@master xCAT]# nodeset node1903
                                osimage=SL-x86_64-install-compute
                                node1903: install SL-x86_64-compute
                                [root@master xCAT]# rsetboot node1903 net
                                node1903: Error: 9 code on opening RMCP+
                                session
                                node1903: Error: 1 code on opening RMCP+
                                session
                                node1903: Error: 1 code on opening RMCP+
                                session
                                node1903: Error: 1 code on opening RMCP+
                                session
                                node1903: Error: 9 code on opening RMCP+
                                session
                                node1903: Error: 9 code on opening RMCP+
                                session
                                node1903: Error: 1 code on opening RMCP+
                                session
                                node1903: Error: 1 code on opening RMCP+
                                session

                                Lanae Neild
                                Systems Programmer I
                                HPC, CCIT, Clemson University
                                (864)505-4293
                                lne...@clemson.edu





                                On Wed, Jul 30, 2014 at 2:12 PM, Lanae
                                Neild <lne...@clemson.edu> wrote:
                                      I tried ipmi.pm from 2.7.8, that's
                                      what we had last before upgrading to
                                      2.8.4.  It seems module files have
                                      been moved around since then

                                      [root@master xCAT_plugin]# nodeset
                                      node1903
                                      osimage=SL-x86_64-install-compute
                                      node1903: install SL-x86_64-compute
                                      [root@master xCAT_plugin]# rsetboot
                                      node1903 net
                                      Error: ipmi plugin bug, pid 14688,
                                      process description: 'xCATd SSL:
                                      rsetboot to node1903 for
                                      root@localhost.localdomain: ipmi
                                      instance' with error 'Can't locate
                                      object method "get_ServiceNode" via
                                      package "xCAT::Utils"
                                      at /opt/xcat/lib/perl/xCAT_plugin/
                                      ipmi.pm line 5865.
                                      ' while trying to fulfill request for
                                      the following nodes: node1903


                                      Lanae Neild
                                      Systems Programmer I
                                      HPC, CCIT, Clemson University
                                      (864)505-4293
                                      lne...@clemson.edu





                                      On Wed, Jul 30, 2014 at 8:51 AM,
                                      Jarrod B Johnson <jbjoh...@us.ibm.com
                                      > wrote:
                                            Can you try IPMI.pm from 2.7?
                                            If 2.7 still works, that means
                                            the measures to try to work
                                            even if Administrator is
                                            forbidden messed something
                                            up...



                                            >
                                            > From:        Lanae Neild <
                                            lne...@clemson.edu>
                                            > To:        xCAT Users Mailing
                                            list <
                                            xcat-user@lists.sourceforge.net
                                            >
                                            > Date:        2014-07-29 11:20

                                            > Subject:        [xcat-user]
                                            xCAT 2.8.4 and HP IPMI
                                            >
                                            >
                                            >
                                            > Does anyone else have a
                                            similar issue or know how to
                                            work around it?
                                            >
                                            > We have HP SL250s some with
                                            their IPMI firmware rev 1.20
                                            some with
                                            > 1.40. Confirmed problem with
                                            both. They have their ILO
                                            settings
                                            > configured the same way, and
                                            xCAT rboot and rinstall worked
                                            before
                                            > we upgraded from 2.7x to
                                            2.8.4. Now we're getting this
                                            error, and
                                            > have to manually reboot them,
                                            as it no longer works with
                                            xCAT:
                                            >
                                            > [root@master ~]# rboot
                                            node1903
                                            > node1903: boot
                                            > node1903: Error: Invalid role

                                            > node1903: Error: Invalid role

                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            > node1903: Error: Invalid role

                                            > node1903: Error: Invalid role

                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            > node1903: Error: Invalid role

                                            > node1903: Error: Invalid role

                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            > node1903: Error: Invalid role

                                            > node1903: Error: Invalid role

                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            > node1903: Error: Invalid role

                                            > node1903: Error: Invalid role

                                            > node1903: Error: Insufficient
                                            resources to create new session
                                            (wait
                                            > for existing sessions to
                                            timeout)
                                            >
                                            >
                                            > Here is the node definition
                                            for this one:
                                            >
                                            > [root@master ~]# lsdef
                                            node1903
                                            > Object name: node1903
                                            >     addkcmdline=vga=0x303
                                            >
                                            
rdblacklist=nouveau,mlx4_ib,mlx4_en,mlx4_core
 nouveau.modeset=0
                                            >     arch=x86_64
                                            >     bmc=node1903-man0
                                            >
                                            chain=runcmd=bmcsetup,standby
                                            >     cons=ipmi
                                            >     currchain=boot
                                            >     currstate=boot
                                            >
                                            
groups=phase09,all,hp,compute,SL250,gpu,k20

                                            >
                                            initrd=xcat/SL/x86_64/initrd.img

                                            >     interface=eth2
                                            >     kcmdline=quiet repo=
                                            
http://10.125.40.6/install/SL/x86_64/
                                             ks=
                                            >
                                            
http://10.125.40.6/install/autoinst/node1903
                                             ksdevice=eth2 cmdline
                                            > console=tty0
                                            console=ttyS0,19200n8r
                                            >
                                            kernel=xcat/SL/x86_64/vmlinuz
                                            >     mac=2c:44:fd:97:18:88
                                            >     mgt=ipmi
                                            >     mpa=hpsl250chassis33
                                            >     mtm=SL250
                                            >     netboot=pxe
                                            >     nfsdir=/install
                                            >     nfsserver=10.125.40.6
                                            >     ondiscover=nodediscover
                                            >     os=SL
                                            >
                                            
postbootscripts=otherpkgs,palmetto-ipmi,serialconsole

                                            >
                                            
postscripts=syslog,remoteshell,syncfiles,resyslog,palmetto-

                                            >
                                            
mountxcat,palmetto-yumpackages,palmetto-nfsmounts,palmetto-

                                            >
                                            
syncfiles,palmetto-services,palmetto-bios,palmetto-

                                            >
                                            
ethernet,palmetto-umountxcat,palmetto-puppet

                                            >     power=ipmi
                                            >     primarynic=eth2
                                            >     profile=compute
                                            >
                                            provmethod=SL-x86_64-install-compute

                                            >     rack=BM-27
                                            >     room=ITC
                                            >     serial=USE341HCLF
                                            >     serialflow=hard
                                            >     serialport=0
                                            >     serialspeed=19200
                                            >     slotid=3
                                            >     status=booted
                                            >     statustime=10-24-2013
                                            20:29:25
                                            >     supportedarchs=x86,x86_64

                                            >
                                            switch=h-itc-bm27-d4810-117
                                            >     switchinterface=0/1
                                            >     switchport=1
                                            >     tftpserver=10.125.40.6
                                            >     unit=8-11
                                            >     xcatmaster=10.125.40.6
                                            > [root@master ~]#
                                            >
                                            > Lanae Neild
                                            > Systems Programmer I
                                            > HPC, CCIT, Clemson University
                                            > (864)505-4293
                                            > lne...@clemson.edu
                                            >
                                            >
                                            >
                                            
------------------------------------------------------------------------------

                                            > Infragistics Professional
                                            > Build stunning WinForms apps
                                            today!
                                            > Reboot your WinForms
                                            applications with our WinForms
                                            controls.
                                            > Build a bridge from your
                                            legacy apps to the future.
                                            >
                                            
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk

                                            >
                                            
_______________________________________________

                                            > xCAT-user mailing list
                                            >
                                            xCAT-user@lists.sourceforge.net
                                            >
                                            
https://lists.sourceforge.net/lists/listinfo/xcat-user

                                            >
                                            
------------------------------------------------------------------------------

                                            > Infragistics Professional
                                            > Build stunning WinForms apps
                                            today!
                                            > Reboot your WinForms
                                            applications with our WinForms
                                            controls.
                                            > Build a bridge from your
                                            legacy apps to the future.
                                            >
                                            
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk

                                            >
                                            
_______________________________________________

                                            > xCAT-user mailing list
                                            >
                                            xCAT-user@lists.sourceforge.net
                                            >
                                            
https://lists.sourceforge.net/lists/listinfo/xcat-user


                                            
------------------------------------------------------------------------------

                                            Infragistics Professional
                                            Build stunning WinForms apps
                                            today!
                                            Reboot your WinForms
                                            applications with our WinForms
                                            controls.
                                            Build a bridge from your legacy
                                            apps to the future.
                                            
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk

                                            
_______________________________________________

                                            xCAT-user mailing list
                                            xCAT-user@lists.sourceforge.net
                                            
https://lists.sourceforge.net/lists/listinfo/xcat-user




                                
------------------------------------------------------------------------------

                                Infragistics Professional
                                Build stunning WinForms apps today!
                                Reboot your WinForms applications with our
                                WinForms controls.
                                Build a bridge from your legacy apps to the
                                future.
                                
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk

                                _______________________________________________

                                xCAT-user mailing list
                                xCAT-user@lists.sourceforge.net
                                
https://lists.sourceforge.net/lists/listinfo/xcat-user

                          
------------------------------------------------------------------------------

                          Infragistics Professional
                          Build stunning WinForms apps today!
                          Reboot your WinForms applications with our
                          WinForms controls.
                          Build a bridge from your legacy apps to the
                          future.
                          
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk

                          _______________________________________________
                          xCAT-user mailing list
                          xCAT-user@lists.sourceforge.net
                          https://lists.sourceforge.net/lists/listinfo/xcat-user





                    
------------------------------------------------------------------------------

                    Infragistics Professional
                    Build stunning WinForms apps today!
                    Reboot your WinForms applications with our WinForms
                    controls.
                    Build a bridge from your legacy apps to the future.
                    
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk

                    _______________________________________________
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to