Hi all,

I just found today that the rinv command succeeds if I ask for just the
machine "serial" number:

rinv qserv-master01 serial

but fails (with the error below) when trying to get the "mac" or just
running rinv without any optional limit specifier.

Cheers,
--Andy

On Fri, Oct 20, 2017 at 9:24 AM Loftus, Andrew J <alof...@illinois.edu>
wrote:

> # lsxcatd -a
> Version 2.11.1 (git commit b6e4c8ca1847bf574d7e86687d74a7f2576d428a, built
> Thu Apr 14 09:32:27 EDT 2016)
> This is a Management Node
> dbengine=SQLite
>
> # rinv qserv-master01
> Error: ipmi plugin bug, pid 15534, process description: 'xCATd SSL: rinv
> to qserv-master01 for root@localhost: ipmi instance' with error 'Can't
> use string ("") as an ARRAY ref while "strict refs" in use at
> /opt/xcat/lib/perl/xCAT_plugin/ipmi.pm line 3771.
> ' while trying to fulfill request for the following nodes: qserv-master01
> On Fri, Oct 20, 2017 at 4:47 AM Er Tao Zhao <erta...@cn.ibm.com> wrote:
>
>> Which version of xCAT are you using?
>> And can you show me the whole output of 'rinv'?
>>
>> Thx!
>>
>> Best Regards,
>> -----------------------------------
>> Zhao Er Tao
>>
>> IBM China System and Technology Laboratory, Beijing
>> Tel:(86-10)82450485
>> Email: erta...@cn.ibm.com
>> Address: 1/F, 28 Building,ZhongGuanCun Software Park,
>> No.8 DongBeiWang West Road, Haidian District,
>> Beijing, 100193, P.R.China
>>
>>
>>
>> ----- Original message -----
>> From: Andrew Loftus <alof...@illinois.edu>
>> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
>> Cc:
>> Subject: Re: [xcat-user] Replacement node won't install OS, rinv fails
>> with ipmi plugin bug
>> Date: Fri, Oct 20, 2017 12:39 AM
>>
>> UPDATE
>>
>> I solved the OS install problem ... I had inserted the wrong MAC into the
>> xcat mac table.
>>
>> The rinv problem is still an open question though.  With rinv working,
>> the human error factor would not have been introduced.
>>
>> Cheers,
>> --Andy
>>
>>
>> On Thu, Oct 19, 2017 at 11:13 AM Andrew Loftus <alof...@illinois.edu>
>> wrote:
>>
>> Hi,
>>
>> I'm attempting to replace an existing node with new hardware.  Machine
>> type is Lenovo x3650.  I have removed the old node from the network, setup
>> the IMM ip-address, user and passwd.
>>
>> At this point, rpower and pasu commands work, but the rinv command fails
>> with this error:
>> Error: ipmi plugin bug, pid 33988, process description: 'xCATd SSL: rinv
>> to qserv-master01 for root@localhost: ipmi instance' with error 'Can't
>> use string ("") as an ARRAY ref while "strict refs" in use at
>> /opt/xcat/lib/perl/xCAT_plugin/ipmi.pm
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__ipmi.pm&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=GXZJILRYuh625D1P_w_8vxyNDAEGDWoFmPVwQ0NBUcY&m=jXCwr_1lUeiAcThHGMrHN0JifCGzrMHjptIXAczREiQ&s=WOn1IWlfnFpMwcFg0iX01kHHjbDF_PBycc_9nh-TQks&e=>
>> line 3771.
>> ' while trying to fulfill request for the following nodes: qserv-master01
>>
>> The point of rinv is to get the MAC address of the first network
>> interface and add it to the mac table. To work around this, I entered the
>> MAC address manually in the mac table.  At this point, I ran my rebuild
>> script, which runs nodeset, rsetboot, and rpower. I expect to the node to
>> pxe boot and install the OS, but instead the node pxe boots the xcat
>> discovery environment.
>>
>> I'm confused at this point.  I'm not sure if the error from rinv is
>> related to the boot issue, but I can't bring up the node.  Any thoughts
>> would be helpful.
>>
>> Cheers,
>> --Andy
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org!
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=GXZJILRYuh625D1P_w_8vxyNDAEGDWoFmPVwQ0NBUcY&m=jXCwr_1lUeiAcThHGMrHN0JifCGzrMHjptIXAczREiQ&s=ELuTRVRCTFAE11xprMelhEzMmmtS4qWcSUXALqIQfMY&e=
>> _______________________________________________
>> xCAT-user mailing list
>> xCAT-user@lists.sourceforge.net
>>
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=GXZJILRYuh625D1P_w_8vxyNDAEGDWoFmPVwQ0NBUcY&m=jXCwr_1lUeiAcThHGMrHN0JifCGzrMHjptIXAczREiQ&s=wxnwqEnGCN_yflaDZEQeX4kCYtMUMcDU2u4AeiC0Elw&e=
>>
>>
>>
>>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to