when "nodehm.mgt=kvm", rcons will fail. If xcatd is started with "xcatd -f", the error message is :
[root@ls21n01 vms]# xcatd -f
xCAT: Allowing nodels to xcatmn1 nodehm.conserver for root from localhost
xcatd: possible BUG encountered by xCAT TCP service: Can't use string ("getcons") as an ARRAY ref while "strict refs" in use at /opt/xcat/lib/perl/xCAT/xcatd.pm line 162.
[root@ls21n01 ~]# rcons xcatmn1
[Enter `^Ec?' for help]
ERROR/WARNING: communication with the xCAT server seems to have been ended prematurely
Console not ready, retrying in 89 seconds (Ctrl-C to skip delay)
[disconnect]
the work around is to modify the following line in /opt/xcat/share/xcat/cons/kvm:
"
...
my $cmdref={
command=>"getcons",
arg=>"text",
noderange=>$ARGV[0]
};
...
"
to
"
...
my $cmdref={
command=>["getcons"],
arg=>["text"],
noderange=>[$ARGV[0]]
};
...
"
It sounds like this needs fixing and you just happen to see the message when you run xcatd in the foreground.
Please check in the fix to 2.8.3 and the 2.8. Also you should provide a patch for 2.8.3 using our process.
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_Developer_Guide#Providing_Patches_for_xCAT_Bugs
fixed in 2.9 and 2.8.3:
2.9:
commit b868858de3059592db6bcbe96b152259252c0848
Author: immarvin yangsbj@cn.ibm.comq
Date: Wed Aug 7 00:42:39 2013 -0700
2.8.3:
commit 5459cf6a60e7b6fef40672e899c982c0f93e0835
Author: immarvin yangsbj@cn.ibm.comq
Date: Wed Aug 7 00:38:15 2013 -0700
The patch for 2.8.2 is attached here as kvm.patch