Bug 1017742
Summary: | [rhevh] upgrade from Admin portal failed - upgrade: java.io.IOException: Command returned failure code 1 during SSH session | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Jiri Belka <jbelka> | ||||
Component: | ovirt-node | Assignee: | Fabian Deutsch <fdeutsch> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Pavel Stehlik <pstehlik> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.3.0 | CC: | acathrow, bazulay, dougsland, fdeutsch, hateya, iheim, jbelka, lpeer, yeylon | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.3.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | infra | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-12-09 12:42:48 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jiri Belka
2013-10-10 12:28:05 UTC
Created attachment 810503 [details]
logs
I took this line from the engine log: 2013-10-10 11:10:03,838 ERROR [org.ovirt.engine.core.utils.ssh.SSHDialog] (pool-5-thread-50) SSH error running command root.62.205:'/usr/share/vdsm-reg/vdsm-upgrade': java.io.IOException: Command returned failure code 1 during SSH session 'root.62.205' '/usr/share/vdsm-reg/vdsm-upgrade' is having a problem. From the host log I can also see that '/usr/libexec/ovirt-functions get_live_disk' is beeing called, but I can't see any logged return value or stdout which makes it hard to see if there are problems there too. At least vds-upgrade fails with: Thu, 10 Oct 2013 12:04:41 ERROR <BSTRAP component='RHEV_INSTALL' status='FAIL'/> Re-assigning this bug to vdsm. Hi Fabian, (In reply to Fabian Deutsch from comment #2) > I took this line from the engine log: > 2013-10-10 11:10:03,838 ERROR [org.ovirt.engine.core.utils.ssh.SSHDialog] > (pool-5-thread-50) SSH error running command > root.62.205:'/usr/share/vdsm-reg/vdsm-upgrade': java.io.IOException: > Command returned failure code 1 during SSH session 'root.62.205' > > '/usr/share/vdsm-reg/vdsm-upgrade' is having a problem. > > From the host log I can also see that '/usr/libexec/ovirt-functions > get_live_disk' is beeing called, but I can't see any logged return value or > stdout which makes it hard to see if there are problems there too. > > At least vds-upgrade fails with: > Thu, 10 Oct 2013 12:04:41 ERROR <BSTRAP component='RHEV_INSTALL' > status='FAIL'/> > > Re-assigning this bug to vdsm. I can see from strace: # strace -f -s255 python /usr/share/vdsm-reg/vdsm-upgrade Process 17279 detached <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 17279 --- SIGCHLD (Child exited) @ 0 (0) --- gettimeofday({1382390159, 415566}, NULL) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0 write(5, "2013-10-21 21:15:59,415 - DEBUG - ovirtfunctions - cp -p /live/isolinux/version /liveos\n", 88) = 88 gettimeofday({1382390159, 417957}, NULL) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0 write(5, "2013-10-21 21:15:59,417 - DEBUG - ovirtfunctions - \n", 52) = 52 gettimeofday({1382390159, 418489}, NULL) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0 write(5, "2013-10-21 21:15:59,418 - ERROR - install - version details copy failed.\n", 73) = 73 ^^^ here stdout stat("/dev/mapper/1ATA_QEMU_HARDDISK_QM00001p2", {st_mode=S_IFBLK|0660, st_rdev=makedev(253, 2), ...}) = 0 stat("/dev/mapper/1ATA_QEMU_HARDDISK_QM00001p", 0x7fff41c5b6c0) = -1 ENOENT (No such file or directory) stat("/dev/mapper/1ATA_QEMU_HARDDISK_QM00001", {st_mode=S_IFBLK|0660, st_rdev=makedev(253, 0), ...}) = 0 lstat("/live", {st_mode=S_IFDIR|0555, st_size=2048, ...}) = 0 lstat("/live", {st_mode=S_IFDIR|0555, st_size=2048, ...}) = 0 lstat("/live/..", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 open("/live/isolinux/version", O_RDONLY) = -1 ENOENT (No such file or directory) ^^ Another point Looks like ovirt-node component, moving back. Please let me know if I can help anything else here. upgrade from RHEVM ui ok with 6.5-20131029.0.el6ev. According to comment #5 this bug should not be in NEW (at lease POST or even MODIFIED). Can you please update ? Closing as NOTABUG because it was a build problem. |