I think XCATROOT gets set by "sourcing" /etc/profile.d/xcat.sh
from /opt/xcat/sbin/xcatd and /opt/xcat/sbin/restartxcatd


Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research,
would it?"
--Albert Einstein





From:   Christian Caruthers <ccaruth...@lenovo.com>
To:     xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date:   06/11/2019 01:58 PM
Subject:        Re: [xcat-user] [External] Includes not parsing when running
            nodeset



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 <ccaruth...@lenovo.com>
Sent: Tuesday, June 11, 2019 12:26 PM
To: xCAT Users Mailing list (xcat-user@lists.sourceforge.net)
<xcat-user@lists.sourceforge.net>
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
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=cGs4a-jfx6Emudek2Wdi4FLq2XKm1pvrlbCQ-h7Qq7A&m=j8blgnmBwQJhYX5HLxrq6vV1ZX9-KOVIcylxR7Zvpas&s=VS_RfxqzZmnhitetJiVT83xyQNLuPZDJabcWZhStV2w&e=



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to