It was noted on the mailing list (Arif), that rinstall is coded to only support provmethod=install. Should we deprecate this command ( and only support rnetboot) or fix it.
Now that I have started moving away from the old method of creating
images, and moving towards osimage, The rinstall now would be buggy, as
that will not work anymore. i.e. line 52 is below
$rc=system("nodeset $noderange install");
Correct me if I am wrong, If we now had osimage generated, and now using
this method, should this not be "nodeset $noderange osimage"?
I think we should fix the rinstall cmd to support osimage defs. If rinstall <noderange> is run (without any other flags), it should use whatever is set in the nodetype table for the nodes. I.e. if nodetype.provmethod is set to an osimage name, then rinstall should run nodeset <nr> osimage. If nodetype.provmethod is set install, netboot, or statelite, rinstall should run nodeset with that value.</nr></noderange>
If rinstall is run with the -O (uppercase o) or --osimage flag, then it should set nodetype.provmethod to the given osimage name and the run with that.
Yang Song, can you work on this for 2.8.2?
fixed in 2.8.2 (Revision: 16501) and 2.9 (Revision: 16502)
Just looked at the modified code, what about the concept to also let rinstall do a "rsetboot <node> net" as well before it does an rpower?</node>
This way xCAT is in control that the node boots of the network, and are not dependent on the BIOS/uEFI settings
hi Arif,
I think this is a good idea. "rinstall" will call "rsetboot ... net" before rpower.
one thing to note: currently, "rinstall" only support the nodes with "nodehm.mgt=ipmi", for the other nodes, we assume the user has set the correct boot order.
check in 2.8.2(Revision: 16562),2.9(Revision: 16563)