Looks like you may have run across a bug. I guess not many people use site.nodestatus=0, because it looks like the problem has been in xCAT for awhile.
The updateflag.awk script that is NOT getting run is in your
generated /install/autoinst/<node> file. Somewhere, xCAT creates an
entry something like this towards the end of the %post script section:
if [ -z "$NODESTATUS" ] || [ "$NODESTATUS" != "0" -a "$NODESTATUS" !=
"N" -a "$NODESTATUS" != "n"
updateflag.awk $MASTER 3002
fi
In this case, the conditional should NOT be there, the updateflag.awk
should always run.
When you run nodeset to create your autoinst file, xCAT uses:
/opt/xcat/share/xcat/install/scripts/post.xcat
to build this section of the file.
So, to experiment, try commenting out the conditional in your autoinst file
to force the updateflag.awk call and see if that fixes the install loop.
If that works, rather than remembering to edit your autoinst file after
each nodeset run, you can change that post.xcat template file so nodeset
will generate it correctly for you.
Linda
From: Russell Jones <[email protected]>
To: [email protected],
Date: 02/25/2014 12:53 PM
Subject: Re: [xcat-user] Node reinstall loop
I've figured out what it is. site.nodestatus got set to 0 in our
configuration. This seems to have a side effect of making diskfull nodes
enter an install loop.
Is this expected behavior?
On 2/25/2014 11:08 AM, Russell Jones wrote:
> So I put some breadcrumbs in the autoinst file and it seems like there's
> a section at the bottom where if NODESTATUS != 0, it will run the
> updateflag.awk to flip the node over to boot. I exported NODESTATUS
> right before that if statement is ran and it is 0. There's exports for
> NODESTATUS above that file that sets it to 0, and I am not seeing
> anywhere else where NODESTATUS could have the potential to be set to
> anything but 0.
>
> Thoughts?
>
>
> On 2/25/2014 10:27 AM, Russell Jones wrote:
>> Sorry, just for clarification that's /var/log/messages on the node
>> showing those messages, not xcat.log.
>>
>>
>> On 2/25/2014 10:20 AM, Russell Jones wrote:
>>> Hi all,
>>>
>>> I have a strange issue with a CentOS 5 compute node that is in a
>>> reinstall loop. I've checked the usual things, such as DNS forward and
>>> reverse resolution, network configuration, etc, and the node should
have
>>> no problem talking to it's servicenode/xcatmaster.
>>>
>>> I've forced the node to boot after an install and am trying to
replicate
>>> running './updateflag.awk $MASTER 3002 "installstatus booted"' manually
>>> to see if it will flip itself over to boot per docs and other mailing
>>> list posts I've read. The xcat.log file on the node shows:
>>>
>>> xcat: ready
>>> xcat: done
>>>
>>> .... everytime I do that, however it still doesn't flip itself over to
>>> boot when I check "nodeset $node stat" on the xcatmaster. Neither the
>>> service node nor management node are logging anything when I do that.
>>>
>>> Any ideas on how I can dive further into this and see what's going
>>> wrong? Is there a better test to manually replicate the node telling
>>> it's master that it is done installing?
>>>
>>> Thanks!
>>>
>>>
------------------------------------------------------------------------------
>>> Flow-based real-time traffic analytics software. Cisco certified tool.
>>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
>>> Customize your own dashboards, set traffic alerts and generate reports.
>>> Network behavioral analysis & security monitoring. All-in-one tool.
>>>
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> xCAT-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/xcat-user
>>>
>>
------------------------------------------------------------------------------
>> Flow-based real-time traffic analytics software. Cisco certified tool.
>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
>> Customize your own dashboards, set traffic alerts and generate reports.
>> Network behavioral analysis & security monitoring. All-in-one tool.
>>
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> xCAT-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/xcat-user
>>
>
>
------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
>
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
