{"action":"opened","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/1160","repository_url":"https://api.github.com/repos/xcat2/xcat-core","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1160/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1160/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1160/events","html_url":"https://github.com/xcat2/xcat-core/issues/1160","id":155875311,"number":1160,"title":"[FVT]updatestatus is always failed on Ubuntu16.04 and xdsh plugin bug","user":{"login":"tingtli","id":12440603,"avatar_url":"https://avatars.githubusercontent.com/u/12440603?v=3","gravatar_id":"","url":"https://api.github.com/users/tingtli","html_url":"https://github.com/tingtli","followers_url":"https://api.github.com/users/tingtli/followers","following_url":"https://api.github.com/users/tingtli/following{/other_user}","gists_url":"https://api.github.com/users/tingtli/gists{/gist_id}","starred_url":"https://api.github.com/users/tingtli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tingtli/subscriptions","organizations_url":"https://api.github.com/users/tingtli/orgs","repos_url":"https://api.github.com/users/tingtli/repos","events_url":"https://api.github.com/users/tingtli/events{/privacy}","received_events_url":"https://api.github.com/users/tingtli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/component:updatenode","name":"component:updatenode","color":"fbca04"},{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/priority:high","name":"priority:high","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"daniceexi","id":10385985,"avatar_url":"https://avatars.githubusercontent.com/u/10385985?v=3","gravatar_id":"","url":"https://api.github.com/users/daniceexi","html_url":"https://github.com/daniceexi","followers_url":"https://api.github.com/users/daniceexi/followers","following_url":"https://api.github.com/users/daniceexi/following{/other_user}","gists_url":"https://api.github.com/users/daniceexi/gists{/gist_id}","starred_url":"https://api.github.com/users/daniceexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniceexi/subscriptions","organizations_url":"https://api.github.com/users/daniceexi/orgs","repos_url":"https://api.github.com/users/daniceexi/repos","events_url":"https://api.github.com/users/daniceexi/events{/privacy}","received_events_url":"https://api.github.com/users/daniceexi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/6","html_url":"https://github.com/xcat2/xcat-core/milestones/2.12","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/6/labels","id":1369794,"number":6,"title":"2.12","description":"","creator":{"login":"zet809","id":8222144,"avatar_url":"https://avatars.githubusercontent.com/u/8222144?v=3","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":430,"state":"open","created_at":"2015-10-22T07:51:37Z","updated_at":"2016-05-20T02:31:25Z","due_on":"2016-05-20T04:00:00Z","closed_at":null},"comments":0,"created_at":"2016-05-20T02:31:25Z","updated_at":"2016-05-20T02:31:25Z","closed_at":null,"body":"xCAT 2.12 Ubuntu16.4 ppc64le\r\n```\r\nroot@c910f03c17k27:/install/postscripts# updatenode c910f03c17k29 -V\r\nRunning command on c910f03c17k27: /bin/hostname 2>&1\r\n\r\nRunning command on c910f03c17k27: ip -4 --oneline addr show |awk -F ' ' '{print $4}'|awk -F '/' '{print $1}' 2>&1\r\n\r\nRunning command on c910f03c17k27: /bin/hostname 2>&1\r\n\r\nRunning command on c910f03c17k27: ip -4 --oneline addr show |awk -F ' ' '{print $4}'|awk -F '/' '{print $1}' 2>&1\r\n\r\nRunning command on c910f03c17k27: chmod -R a+r /install/postscripts 2>&1\r\n\r\n  c910f03c17k27: Internal call command: xdcp c910f03c17k29 --nodestatus -F /install/custom/netboot/ubuntu/compute.synclist\r\nRunning internal xCAT command: xdcp ...\r\n\r\nRunning command on c910f03c17k27: /bin/hostname 2>&1\r\n\r\nRunning command on c910f03c17k27: ip -4 --oneline addr show |awk -F ' ' '{print $4}'|awk -F '/' '{print $1}' 2>&1\r\n\r\nc910f03c17k29: xcatd: xdsh plugin bug, pid 9230, process description: 'xcatd SSL: updatenode to c910f03c17k29 for root@localhost: updatenode instance: xdsh instance' with error 'Can't use an undefined value as a symbol reference at /opt/xcat/lib/perl/xCAT/DSHCLI.pm line 918.\r\nc910f03c17k29: ' while trying to fulfill request for the following nodes: c910f03c17k29\r\nFile synchronization has completed for nodes.\r\nPerforming software maintenance operations. This could take a while, if there are packages to install.\r\n\r\n  c910f03c17k27: Internal call command: xdsh c910f03c17k29 --nodestatus -s -v -e /install/postscripts/xcatdsklspost 2 -m 10.3.17.27 'ospkgs,otherpkgs,syscloneimgupdate' --tftp /tftpboot --installdir /install --nfsv4 no -c -V\r\nRunning command on c910f03c17k27: /bin/hostname 2>&1\r\nRunning command on c910f03c17k27: ip -4 --oneline addr show |awk -F ' ' '{print $4}'|awk -F '/' '{print $1}' 2>&1\r\nRunning command on c910f03c17k27: hostname 2>&1\r\nRunning command on c910f03c17k27: /opt/xcat/bin/pping c910f03c17k29 2>&1\r\nError: Error from pping\r\nc910f03c17k29: running /tmp/fileO0rZOA.dsh 2 -m 10.3.17.27 ospkgs,otherpkgs,syscloneimgupdate --tftp /tftpboot --installdir /install --nfsv4 no -c -V\r\nc910f03c17k29: xcatdsklspost : trying to download postscripts from http://10.3.17.27/install/postscripts/\r\nc910f03c17k29: /tmp/fileO0rZOA.dsh : download_postscripts return successfully\r\nc910f03c17k29: xcatdsklspost: downloaded postscripts successfully\r\nc910f03c17k29: /tmp/fileO0rZOA.dsh :  trying to download http://10.3.17.27/tftpboot/mypostscripts/mypostscript.c910f03c17k29\r\nc910f03c17k29: /tmp/fileO0rZOA.dsh download_mypostscript return successfully\r\nc910f03c17k29: running //xcatpost/mypostscript\r\nc910f03c17k29: Thu May 19 22:29:16 EDT 2016 Running postscript: ospkgs\r\nc910f03c17k29: NFSSERVER=10.3.17.27\r\nc910f03c17k29: OSPKGDIR=/install/ubuntu16.04/ppc64el\r\nc910f03c17k29: OSPKGS = bash,nfs-common,openssl,isc-dhcp-client,libc-bin,openssh-server,openssh-client,wget,vim,ntp,ntpdate,rsync,busybox-static,gawk,dnsutils\r\nc910f03c17k29: pkgs= bash nfs-common openssl isc-dhcp-client libc-bin openssh-server openssh-client wget vim ntp ntpdate rsync busybox-static gawk dnsutils\r\nc910f03c17k29: groups=\r\nc910f03c17k29: remove groups=\r\nc910f03c17k29: remove pkgs=\r\nc910f03c17k29: deb http://10.3.17.27/install/ubuntu16.04/ppc64el xenial main restricted\r\nc910f03c17k29: deb http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates main restricted\r\nc910f03c17k29: Ign:1 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial InRelease\r\nc910f03c17k29: Ign:2 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates InRelease\r\nc910f03c17k29: Hit:3 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial Release\r\nc910f03c17k29: Ign:4 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates Release\r\nc910f03c17k29: Ign:5 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main ppc64el Packages\r\nc910f03c17k29: Ign:6 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main all Packages\r\nc910f03c17k29: Ign:7 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main Translation-en\r\nc910f03c17k29: Ign:8 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted ppc64el Packages\r\nc910f03c17k29: Ign:9 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted all Packages\r\nc910f03c17k29: Ign:10 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted Translation-en\r\nc910f03c17k29: Ign:5 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main ppc64el Packages\r\nc910f03c17k29: Ign:6 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main all Packages\r\nc910f03c17k29: Ign:7 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main Translation-en\r\nc910f03c17k29: Ign:8 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted ppc64el Packages\r\nc910f03c17k29: Ign:9 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted all Packages\r\nc910f03c17k29: Ign:10 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted Translation-en\r\nc910f03c17k29: Ign:5 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main ppc64el Packages\r\nc910f03c17k29: Ign:6 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main all Packages\r\nc910f03c17k29: Ign:7 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main Translation-en\r\nc910f03c17k29: Ign:8 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted ppc64el Packages\r\nc910f03c17k29: Ign:9 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted all Packages\r\nc910f03c17k29: Ign:10 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted Translation-en\r\nc910f03c17k29: Ign:5 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main ppc64el Packages\r\nc910f03c17k29: Ign:6 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main all Packages\r\nc910f03c17k29: Ign:7 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main Translation-en\r\nc910f03c17k29: Ign:8 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted ppc64el Packages\r\nc910f03c17k29: Ign:9 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted all Packages\r\nc910f03c17k29: Ign:10 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted Translation-en\r\nc910f03c17k29: Ign:5 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main ppc64el Packages\r\nc910f03c17k29: Ign:6 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main all Packages\r\nc910f03c17k29: Ign:7 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main Translation-en\r\nc910f03c17k29: Ign:8 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted ppc64el Packages\r\nc910f03c17k29: Ign:9 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted all Packages\r\nc910f03c17k29: Ign:10 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted Translation-en\r\nc910f03c17k29: Err:5 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main ppc64el Packages\r\nc910f03c17k29:   404  Not Found\r\nc910f03c17k29: Ign:6 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main all Packages\r\nc910f03c17k29: Ign:7 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/main Translation-en\r\nc910f03c17k29: Err:8 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted ppc64el Packages\r\nc910f03c17k29:   404  Not Found\r\nc910f03c17k29: Ign:9 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted all Packages\r\nc910f03c17k29: Ign:10 http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates/restricted Translation-en\r\nc910f03c17k29: Hit:12 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease\r\nc910f03c17k29: Reading package lists...\r\nc910f03c17k29: W: The repository 'http://10.3.17.27/install/ubuntu16.04/ppc64el xenial-updates Release' does not have a Release file.\r\nc910f03c17k29: E: Failed to fetch http://10.3.17.27/install/ubuntu16.04/ppc64el/dists/xenial-updates/main/binary-ppc64el/Packages  404  Not Found\r\nc910f03c17k29: E: Failed to fetch http://10.3.17.27/install/ubuntu16.04/ppc64el/dists/xenial-updates/restricted/binary-ppc64el/Packages  404  Not Found\r\nc910f03c17k29: E: Some index files failed to download. They have been ignored, or old ones used instead.\r\nc910f03c17k29: === DEBIAN_FRONTEND=noninteractive apt-get -y --allow-unauthenticated --force-yes -o Dpkg::Options::='--force-confold' -o Dpkg::Options::='--force-confdef' upgrade\r\nc910f03c17k29: Reading package lists...\r\nc910f03c17k29: Building dependency tree...\r\nc910f03c17k29: Reading state information...\r\nc910f03c17k29: Calculating upgrade...\r\nc910f03c17k29: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\r\nc910f03c17k29: ===  apt-get -q -y --force-yes install --no-install-recommends  bash nfs-common openssl isc-dhcp-client libc-bin openssh-server openssh-client wget vim ntp ntpdate rsync busybox-static gawk dnsutils\r\nc910f03c17k29: Reading package lists...\r\nc910f03c17k29: Building dependency tree...\r\nc910f03c17k29: Reading state information...\r\nc910f03c17k29: bash is already the newest version (4.3-14ubuntu1).\r\nc910f03c17k29: dnsutils is already the newest version (1:9.10.3.dfsg.P4-8).\r\nc910f03c17k29: busybox-static is already the newest version (1:1.22.0-15ubuntu1).\r\nc910f03c17k29: gawk is already the newest version (1:4.1.3+dfsg-0.1).\r\nc910f03c17k29: nfs-common is already the newest version (1:1.2.8-9ubuntu12).\r\nc910f03c17k29: ntp is already the newest version (1:4.2.8p4+dfsg-3ubuntu5).\r\nc910f03c17k29: ntpdate is already the newest version (1:4.2.8p4+dfsg-3ubuntu5).\r\nc910f03c17k29: openssh-client is already the newest version (1:7.2p2-4).\r\nc910f03c17k29: openssh-server is already the newest version (1:7.2p2-4).\r\nc910f03c17k29: rsync is already the newest version (3.1.1-3ubuntu1).\r\nc910f03c17k29: vim is already the newest version (2:7.4.1689-3ubuntu1).\r\nc910f03c17k29: wget is already the newest version (1.17.1-1ubuntu1).\r\nc910f03c17k29: openssl is already the newest version (1.0.2g-1ubuntu4.1).\r\nc910f03c17k29: isc-dhcp-client is already the newest version (4.3.3-5ubuntu12).\r\nc910f03c17k29: libc-bin is already the newest version (2.23-0ubuntu3).\r\nc910f03c17k29: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\r\nc910f03c17k29: Postscript: ospkgs exited with code 0\r\nc910f03c17k29: Thu May 19 22:29:17 EDT 2016 Running postscript: otherpkgs\r\nc910f03c17k29: ./otherpkgs: no extra rpms to install\r\nc910f03c17k29: Postscript: otherpkgs exited with code 0\r\nc910f03c17k29: Thu May 19 22:29:17 EDT 2016 Running postscript: syscloneimgupdate\r\nc910f03c17k29: Postscript: syscloneimgupdate exited with code 0\r\nc910f03c17k29: //xcatpost/mypostscript return with 0\r\nc910f03c17k29: Running of Software Maintenance has completed.\r\n  c910f03c17k27: Internal call command: xdsh c910f03c17k29 --nodestatus -s -v -e /install/postscripts/xcatdsklspost 1 -m 10.3.17.27 '' --tftp /tftpboot --installdir /install --nfsv4 no -c -V\r\nRunning command on c910f03c17k27: /bin/hostname 2>&1\r\nRunning command on c910f03c17k27: ip -4 --oneline addr show |awk -F ' ' '{print $4}'|awk -F '/' '{print $1}' 2>&1\r\nRunning command on c910f03c17k27: hostname 2>&1\r\nRunning command on c910f03c17k27: /opt/xcat/bin/pping c910f03c17k29 2>&1\r\nError: Error from pping\r\nc910f03c17k29: running /tmp/filelFaWqN.dsh 1 -m 10.3.17.27  --tftp /tftpboot --installdir /install --nfsv4 no -c -V\r\nc910f03c17k29: xcatdsklspost : trying to download postscripts from http://10.3.17.27/install/postscripts/\r\nc910f03c17k29: /tmp/filelFaWqN.dsh : download_postscripts return successfully\r\nc910f03c17k29: xcatdsklspost: downloaded postscripts successfully\r\nc910f03c17k29: /tmp/filelFaWqN.dsh :  trying to download http://10.3.17.27/tftpboot/mypostscripts/mypostscript.c910f03c17k29\r\nc910f03c17k29: /tmp/filelFaWqN.dsh download_mypostscript return successfully\r\nc910f03c17k29: running //xcatpost/mypostscript\r\nc910f03c17k29: Thu May 19 22:29:19 EDT 2016 Running postscript: remoteshell\r\nc910f03c17k29:\r\nc910f03c17k29: sed: couldn't flush stdout: Read-only file system\r\nc910f03c17k29: tee: /var/log/xcat/xcat.log: Read-only file system\r\nc910f03c17k29: ./remoteshell: line 347: /root/.ssh/id_rsa.pub: Read-only file system\r\nc910f03c17k29: ./remoteshell: line 349: /root/.ssh/authorized_keys: Read-only file system\r\nc910f03c17k29: rm: cannot remove '/tmp/ssh_root_pub_key': Read-only file system\r\nc910f03c17k29: ./remoteshell: line 402: /tmp/ssh_root_key: Read-only file system\r\nc910f03c17k29: grep: /tmp/ssh_root_key: No such file or directory\r\nc910f03c17k29: ./remoteshell: line 409: /root/.ssh/id_rsa: Read-only file system\r\nc910f03c17k29: cat: /tmp/ssh_root_key: No such file or directory\r\nc910f03c17k29: rm: cannot remove '/tmp/ssh_root_key': No such file or directory\r\nc910f03c17k29: root      4703  2.0  0.2  20992 14272 ?        Ss   22:29   0:00 sshd: root@notty\r\nc910f03c17k29: root      4878  0.0  0.1  15360 10624 ?        Ss   22:29   0:00 /usr/sbin/sshd -D\r\nc910f03c17k29: Postscript: remoteshell exited with code 0\r\nc910f03c17k29: /xcatpost/xcatlib.sh: line 763: /var/log/xcat/xcat.log: Read-only file system\r\nc910f03c17k29: Thu May 19 22:29:21 EDT 2016 Running postscript: syncfiles\r\nc910f03c17k29: /xcatpost/xcatlib.sh: line 763: /var/log/xcat/xcat.log: Read-only file system\r\nc910f03c17k29: tee: /var/log/xcat/xcat.log: Read-only file system\r\nc910f03c17k29: Postscript: syncfiles exited with code 0\r\nc910f03c17k29: /xcatpost/xcatlib.sh: line 763: /var/log/xcat/xcat.log: Read-only file system\r\nc910f03c17k29: Thu May 19 22:29:21 EDT 2016 Running postscript: otherpkgs\r\nc910f03c17k29: /xcatpost/xcatlib.sh: line 763: /var/log/xcat/xcat.log: Read-only file system\r\nc910f03c17k29: tee: /var/log/xcat/xcat.log: Read-only file system\r\nc910f03c17k29: ./otherpkgs: no extra rpms to install\r\nc910f03c17k29: Postscript: otherpkgs exited with code 0\r\nc910f03c17k29: //xcatpost/mypostscript return with 0\r\nc910f03c17k29: Running of postscripts has completed.\r\nc910f03c17k29: /xcatpost/xcatlib.sh: line 763: /var/log/xcat/xcat.log: Read-only file system\r\nc910f03c17k29: /xcatpost/xcatlib.sh: line 763: /var/log/xcat/xcat.log: Read-only file system\r\nc910f03c17k29: rm: cannot remove '/tmp/filelFaWqN.dsh': Read-only file system\r\nError:  c910f03c17k29 remote shell had exit code 1.\r\n\r\n```"}}
{"actor":{"display_login":"tingtli"}}