Keith,

Check /opt/xcat/ lib/perl/xCAT_plugin/updatenode.pm to see if it contains the 
code you want to modify.

From: Hannum, Keith <keith.han...@lmco.com>
Sent: Wednesday, August 3, 2022 4:54 PM
To: xcat-user@lists.sourceforge.net
Subject: [EXTERNAL] [xcat-user] Updatenode Failing due to noexec on /tmp

As part of our configuration we have noexec on /tmp on compute nodes. This 
causes issues with updatenode. I was able to fix updatenode -F by modifying 
/opt/xcat/lib/perl/xCAT/RSYNC.pm to generate the scripts in a different area 
for syncing
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
As part of our configuration we have noexec on /tmp on compute nodes. This 
causes issues with updatenode.

I was able to fix updatenode -F by modifying /opt/xcat/lib/perl/xCAT/RSYNC.pm 
to generate the scripts in a different area for syncing files, but I am unable 
to figure out how to fix updatenode -P and -S. I need to copy the file to a 
different target on the compute node.

[root@MN xCAT]# updatenode compute -P -V
Running command on MN: ip -4 --oneline addr show |awk -F ' ' '{print $4}'|awk 
-F '/' '{print $1}' 2>&1

Running command on MN: chmod -R a+r /install/postscripts 2>&1

  MN: Internal call command: xdsh compute --nodestatus -s -v -e 
/install/postscripts/xcatdsklspost 1 -m 192.168.211.10:80 '' --tftp /tftpboot 
--installdir /install --nfsv4 no -c -V
Running command on MN: ip -4 --oneline addr show |awk -F ' ' '{print $4}'|awk 
-F '/' '{print $1}' 2>&1
Running command on MN: hostname 2>&1
Running command on MN: /opt/xcat/bin/pping compute 2>&1
compute: bash: /tmp/Lx7aomVJx1.dsh: Permission denied



Can anyone help me with which module controls where the file is synced to on 
the compute node when running updatnode with -P or -S. Thank you!
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to