After some looking around, it appears that the xcat daemon is not picking up 
the XCATROOT environment variable. Looking at the system script, it checks for 
a file /etc/sysconfig/xcat. This file does not exist, and I cannot find it in 
the xCAT RPMs, so I'm not sure why it's being called to. Either way, adding 
XCATROOT=/opt/xcat, and restarting the daemon appears to have resolved the 
issue.

Big question:
It's still not clear what was causing xcatd to ignore XCATROOT. As I said, the 
/etc/sysconfig/xcat file doesn't appear in my xCAT rpms. Is it created by a 
scriptlet or something?

From: Christian Caruthers <[email protected]>
Sent: Tuesday, June 11, 2019 12:26 PM
To: xCAT Users Mailing list ([email protected]) 
<[email protected]>
Subject: [External] [xcat-user] Includes not parsing when running nodeset

When I run nodeset <node> osimage=rhels7.5-x86_64-install-compute

#INCLUDEBAD:cannot open /share/xcat/install/scripts/pre.rh.rhels7#
#INCLUDEBAD:cannot open /share/xcat/install/scripts/post.xcat#
#INCLUDEBAD:cannot open /share/xcat/install/scripts/post.rhels7#

This is the default xCAT template that has been untouched. The XCATROOT 
variable is set to /opt/xcat

Running Version 2.14.3.lenovo5 (git commit 
06d7097f42eca03db70c9eb93b8abeaf8ca1c2be)

_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to