I'm having problems running updatenode on a node that was provisioned
outside of xcat (via a clone operation). It seems all my postscripts are
running fine with the exception of remoteshell.

When I run the updatenode <node> -P remoteshell command, it hangs
indefinitely. It looks like the bit that is hanging is getcredentials.awk.
It seems the getcredentials.awk script is hanging because it does not have
the XCATSERVER environment variable set.

I would appreciate it if anyone has advice as to what may be causing this.

Here are some details about the node:

(After waiting some time)

# cat /var/log/xcat/xcat.log
Wed Apr  1 11:17:38 PDT 2015 Running postscript: syslog
Shutting down system logger: [  OK  ]
Starting system logger: [  OK  ]
Postscript: syslog exited with code 0
Wed Apr  1 11:17:38 PDT 2015 Running postscript: remoteshell

While I'm waiting, I see this script executing:

# ps -ef | grep xcat
root      1415  1368  0 11:17 ?        00:00:00 tee -a
/var/log/xcat/xcat.log
root      1428     1  0 11:17 ?        00:00:00 /usr/bin/awk -f
//xcatpost/allowcred.awk
root      1485  1464  0 11:24 pts/0    00:00:00 grep xcat

# cat /opt/xcat/xcatinfo
NODE=dicv00066
USEFLOWCONTROL=YES

And on the xcat server itself:

# ps -ef | grep updatenode
root     10883 14961  0 18:27 pts/5    00:00:00 grep updatenode
collins  30848 30847  0 18:17 pts/19   00:00:00 perl
/opt/xcat/bin/updatenode dicv00066 -P
root     30867  9725  0 18:17 ?        00:00:00 xCATd SSL: updatenode to
dicv00066 for collins@localhost
root     30868 30867  0 18:17 ?        00:00:00 xCATd SSL: updatenode to
dicv00066 for collins@localhost: updatenode instance: xdsh instance

# tabdump site|grep precreatemypostscripts
(returns nothing)

# lsdef dicv00066
Object name: dicv00066
    arch=x86_64
    groups=puppet-infra-jcadev,vmware,provisioned,puppet,all
    hostnames=dicv00066.jcadev.eng.jiveland.com
    ip=10.6.64.89
    mac=00:50:56:a9:37:48
    mgt=esx
    os=rhels6
    postbootscripts=otherpkgs

postscripts=syslog,remoteshell,syncfiles,expand_disk,setnameservers,sethostname,hardeths,setupntp,jive_bootstrap_puppet
    updatestatus=syncing
    updatestatustime=04-01-2015 18:17:36
    vmhost=pdx2esx24
    xcatmaster=10.5.19.11
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to