Slight correction , should be #XCATVAR:XCATMASTER#
Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Linda Mellor/Poughkeepsie/IBM@IBMUS To: xCAT Users Mailing list <[email protected]>, Date: 10/07/2013 01:52 PM Subject: Re: [xcat-user] xcatmaster and nodeset After doing a little digging, we are also able to recreate this problem. The error message is coming from Template.pm when it tries to do table substitution into your osimage template file that is used to build the kickstart config file that gets written to /install/autoinst. In the file referenced by: lsdef -t osimage v5.4.8-df-compute -i template You probably have a line that looks something like this: #url --url http://#TABLE:noderes:$NODE:nfsserver#/install/#TABLE:nodetype:$NODE:os#/#TABLE:nodetype:$NODE:arch# Specifically, the substitution directive #TABLE:noderes:$NODE:nfsserver# is what is causing the problem. There is code in Template.pm that says if noderes.nfsserver is blank, use noderes.xcatmaster instead. But in each case, this is direct substitution, and does not handle group inheritance at all. And, even though the line is commented out, the code is just doing global substitution, including comment lines, and so you hit the error. If you don't need the above line, the quick workaround is to delete the entry from your template file. If you do need to substitute xcatmaster or nfsserver in your template, use these directives instead. #XCATVAR:XCATMASER# #XCATVAR:INSTALL_NFS# Linda Inactive hide details for Russell Jones ---10/03/2013 12:43:47 PM---site.precreatemypostscripts is set to: "precreatemypostscriRussell Jones ---10/03/2013 12:43:47 PM---site.precreatemypostscripts is set to: "precreatemypostscripts","0",, From: Russell Jones <[email protected]> To: [email protected], Date: 10/03/2013 12:43 PM Subject: Re: [xcat-user] xcatmaster and nodeset site.precreatemypostscripts is set to: "precreatemypostscripts","0",, We tried setting it to 1 but it did not make a difference, still the same error. I am able to replicate it consistently by adding a node whose noderes.xcatmaster is not set, but belongs to a group that *does* have noderes.xcatmaster set. On 10/3/2013 10:51 AM, Lissa Valletta wrote: Having problems recreating but what do you have site.precreatemypostscripts set to. Or do you not have it set at all? What you have below looks valid. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Russell Jones ---10/03/2013 10:23:21 AM---Hi all, It seems that nodeset isn't correctly inheriting thRussell Jones ---10/03/2013 10:23:21 AM---Hi all, It seems that nodeset isn't correctly inheriting the "xcatmaster" From: Russell Jones <[email protected]> To: xCAT Users Mailing list <[email protected]>, Date: 10/03/2013 10:23 AM Subject: [xcat-user] xcatmaster and nodeset Hi all, It seems that nodeset isn’t correctly inheriting the “xcatmaster” attribute from a node group, however a nodels with blame and lsdef both show xcatmaster is set. Thoughts? This is version 2.8.2. [root@master ~]# nodeset c01n69 osimage=v5.4.8-df-compute c01n69: Error: Unable to find requested xcatmaster from noderes, with node=c01n69 Error: Some nodes failed to set up install resources, aborting c01n69: Error: Unable to find requested xcatmaster from noderes, with node=c01n69 Error: Some nodes failed to set up install resources, aborting [root@master ~]# nodels -b c01n69 noderes c01n69: noderes.primarynic: eth0 (inherited from group compute) c01n69: noderes.xcatmaster: master (inherited from group compute) c01n69: noderes.netboot: pxe (inherited from group compute) c01n69: noderes.node: c01n69 c01n69: noderes.tftpserver: c01n69: noderes.tftpdir: c01n69: noderes.servicenode: c01n69: noderes.comments: c01n69: noderes.nfsdir: c01n69: noderes.nfsserver: c01n69: noderes.disable: c01n69: noderes.discoverynics: c01n69: noderes.installnic: c01n69: noderes.nameservers: c01n69: noderes.nimserver: c01n69: noderes.cmdinterface: c01n69: noderes.next_osimage: c01n69: noderes.current_osimage: c01n69: noderes.routenames: c01n69: noderes.monserver: [root@master ~]# lsdef c01n69 Object name: c01n69 arch=x86_64 bmc=c01n69-bmc cons=ipmi currstate=shell groups=compute,testhw,c01,ipmi,sc1435,all initrd=xcat/nbfs.x86_64.gz kcmdline=quiet console=tty0 console=ttyS1,57600 xcatd=1.1.1.1:3001 kernel=xcat/nbk.x86_64 mac=00:22:19:17:06:54 mgt=ipmi netboot=pxe os=centos5.4-new-kernel postscripts=remoteshell primarynic=eth0 profile=v5.4.8-df-compute provmethod=v5.4.8-df-compute serialflow=hard serialport=1 serialspeed=57600 status=booting statustime=10-01-2013 13:15:58 xcatmaster=master ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
