I just learned about the nodeset command myself. I think you forgot to add 
osimage=

nodeset n04 osimage=centos6.9-x86_64-netboot-compute

Sent from Mail for Windows 10

From: Imam Toufique
Sent: Thursday, November 2, 2017 6:37 PM
To: xCAT Users Mailing list
Subject: [xcat-user] Unknown State Error in nodeset command

Hello everyone,

First of all, thanks a lot for all of your help for getting me up and going on 
my stateful image setup.  Now I am trying my first stateless image on centOS 
6.9 .  I followed the instructions to generate and pack the image.  I added a 
node name with 'nodeadd' command, but when I try to do 'nodeset' I get the 
following error:


root@xcatmaster xcat]# nodeset n04 centos6.9-x86_64-netboot-compute
Error: Unknown state centos6.9-x86_64-netboot-compute requested

Not sure where this is coming from.  I am sure I have missed some steps.  my 
netboot image details are below:


root@xcatmaster xcat]# lsdef -t osimage centos6.9-x86_64-netboot-compute
Object name: centos6.9-x86_64-netboot-compute
    exlist=/opt/xcat/share/xcat/netboot/centos/compute.exlist
    imagetype=linux
    osarch=x86_64
    osdistroname=centos6.9-x86_64
    osname=Linux
    osvers=centos6.9
    otherpkgdir=/install/post/otherpkgs/centos6.9/x86_64
    permission=755
    pkgdir=/install/centos6.9/x86_64
    pkglist=/opt/xcat/share/xcat/netboot/centos/compute.centos6.pkglist
    profile=compute-stateless
    provmethod=netboot
    rootimgdir=/install/netboot/centos6.9/x86_64/compute

Please give me a hand with this.  Thanks a million!


------------------------------------------------------------------------------
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