Note that the /opt/xcat/lib/perl/xCAT/RSYNC.pm (the whole general xdsh/xdcp area is untouched. So it should be identical to 2.14.5 xcat. ________________________________ From: Nathan A Besaw <bes...@us.ibm.com> Sent: Tuesday, May 25, 2021 9:57 AM To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Subject: [External] Re: [xcat-user] Xcat command failed
As you are using the xCAT Lenovo build, perhaps one of the mailing list members from Lenovo can comment on this issue. From: Virender Kumar <virend...@uchicago.edu> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Date: 05/14/2021 09:38 AM Subject: [EXTERNAL] Re: [xcat-user] Xcat command failed 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://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user&data=04%7C01%7Cjjohnson2%40lenovo.com%7C8d1ec64bc11e41bc167508d91f85f4de%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637575482482669299%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=I%2Fm1brnKNfqtZL1viCgiTstCwFRQzu2VJ%2B0bm5OifgI%3D&reserved=0 _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user&data=04%7C01%7Cjjohnson2%40lenovo.com%7C8d1ec64bc11e41bc167508d91f85f4de%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637575482482669299%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=I%2Fm1brnKNfqtZL1viCgiTstCwFRQzu2VJ%2B0bm5OifgI%3D&reserved=0 _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user&data=04%7C01%7Cjjohnson2%40lenovo.com%7C8d1ec64bc11e41bc167508d91f85f4de%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637575482482669299%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=I%2Fm1brnKNfqtZL1viCgiTstCwFRQzu2VJ%2B0bm5OifgI%3D&reserved=0 _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user&data=04%7C01%7Cjjohnson2%40lenovo.com%7C8d1ec64bc11e41bc167508d91f85f4de%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637575482482679293%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=N0j%2Fgg%2B%2BLALYk1R7Em3C1YGl%2BiuoTB0u7%2BFZ3m5Vaq4%3D&reserved=0
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user