Thanks Mark.

Below are the Xcat & O.S version details

[root@midway-mgt ~]# lsxcatd -a
Version 2.14.5.lenovo2 (git commit 06d7097f42eca03db70c9eb93b8abeaf8ca1c2be, 
built Tue Apr 16 20:08:56 UTC 2019)
This is a Management Node
cfgloc=mysql:dbname=xcatdb;host=midway-mgt|xcatadmin
dbengine=mysql
dbname=xcatdb
dbhost=midway-mgt
dbadmin=xcatadmin


[root@midway-mgt ~]# uname -a

Linux midway-mgt.rcc.uchicago.edu 2.6.32-573.22.1.el6.x86_64 #1 SMP Thu Mar 17 
03:23:39 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@midway-mgt ~]# cat /proc/version
Linux version 2.6.32-573.22.1.el6.x86_64 
(mockbu...@x86-029.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red 
Hat 4.4.7-16) (GCC) ) #1 SMP Thu Mar 17 03:23:39 EDT 2016

________________________________
From: Mark Gurevich <gurev...@us.ibm.com>
Sent: 14 May 2021 18:43
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: Re: [xcat-user] Xcat command failed



Virender,

What version of xCAT ?
What OS is running on xCAT Management Node ?

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:   Virender Kumar <virend...@uchicago.edu>
To:     "xcat-user@lists.sourceforge.net"
            <xcat-user@lists.sourceforge.net>
Date:   05/14/2021 09:00 AM
Subject:        [EXTERNAL] [xcat-user] Xcat command failed



Hi All,

We have encoutner the issue while execute the xcat like updatenode
"nodename" -f

[root@midway-mgt tmp]# xdcp tsm01 -s --nodestatus
-F /install/custom/install/rh/tsm.synclist -T
TRACE:Default context is XCAT.
TRACE:Fanout Value is 64.
TRACE:Timeout Value is .
Error: [midway-mgt]: xdsh plugin bug, pid 14701, process description:
'xcatd SSL: xdcp to tsm01 for root@localhost: xdsh instance' with error
'Can not open file /tmp/rsync_tsm01_s at /opt/xcat/lib/perl/xCAT/RSYNC.pm
line 150.
' while trying to fulfill request for the following nodes: tsm01


removing the file "/tmp/rsync_tsm01_s" from /tmp area & reattempt work
fine. but command again failed with same error message.



[root@midway-mgt tmp]# rm -rf rsync_tsm01_s

[root@midway-mgt tmp]# xdcp tsm01 -s --nodestatus
-F /install/custom/install/rh/tsm.synclist -T
TRACE:Default context is XCAT.
TRACE:Fanout Value is 64.
TRACE:Timeout Value is .
 TRACE: Executing Command:/bin/sh -c /tmp/rsync_tsm01_s
tsm01: Remote_command_successful
tsm01: + /usr/bin/ssh tsm01 '/bin/mkdir
-p /var/xcat/syncfiles/root /var/xcat/syncfiles/etc 
/var/xcat/syncfiles/install/files/storage/etc/shorewall/rules.d 
/var/xcat/syncfiles/install/files/midway/etc 
/var/xcat/syncfiles/etc/shorewall/rules.d 
/var/xcat/syncfiles/install/custom/install/rh'
tsm01: + /usr/bin/rsync --rsync-path /usr/bin/rsync -Lprogtz /root/.bashrc
tsm01:/var/xcat/syncfiles/root
tsm01: + /usr/bin/rsync --rsync-path /usr/bin/rsync
-Lprogtz /etc/updatedb.conf tsm01:/var/xcat/syncfiles/etc
tsm01: + /usr/bin/rsync --rsync-path /usr/bin/rsync
-Lprogtz /install/files/storage/etc/shorewall/rules.d/rules.smb 
/install/files/storage/etc/shorewall/rules.d/rules.voth
 tsm01:/var/xcat/syncfiles/install/files/storage/etc/shorewall/rules.d
tsm01: + /usr/bin/rsync --rsync-path /usr/bin/rsync
-Lprogtz /install/files/midway/etc/auto.cds
tsm01:/var/xcat/syncfiles/install/files/midway/etc
tsm01: + /usr/bin/rsync --rsync-path /usr/bin/rsync
-Lprogtz /etc/shorewall/rules.d/rules.xcat
tsm01:/var/xcat/syncfiles/etc/shorewall/rules.d
tsm01: + /usr/bin/rsync --rsync-path /usr/bin/rsync
-Lprogtz /install/custom/install/rh/tsm.synclist
tsm01:/var/xcat/syncfiles/install/custom/install/rh
[root@midway-mgt tmp]# xdcp tsm01 -s --nodestatus
-F /install/custom/install/rh/tsm.synclist -T
TRACE:Default context is XCAT.
TRACE:Fanout Value is 64.
TRACE:Timeout Value is .

Error: [midway-mgt]: xdsh plugin bug, pid 24307, process description:
'xcatd SSL: xdcp to tsm01 for root@localhost: xdsh instance' with error
'Can not open file /tmp/rsync_tsm01_s at /opt/xcat/lib/perl/xCAT/RSYNC.pm
line 150.
' while trying to fulfill request for the following nodes: tsm01

Any help would be appreciated. only workaround manually remove the issue
the command. cron set command failed oin all nodes

[root@midway-mgt tmp]# fuser -uf rsync_tsm01_s
[root@midway-mgt tmp]# lsof rsync_tsm01_s

[root@midway-mgt tmp]# echo > rsync_tsm01_s
-bash: rsync_tsm01_s: Text file busy

Even not able to edit the file in tmp area.

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






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

Reply via email to