migrate exec ignores exit status
A message that is not in the archive (sent off-list or not yet received): [email protected]
This is a bug and has been reported upstream, it is unlikely to be fixed at the distribution level and therefore anyone interested in working on this bug should contribute a patch to the upstream project. This will then filter down to Ubuntu when it is merged mainline. Marking "Won't Fix" against the Ubuntu package.
Thanks for reporting this bug.
** Changed in: qemu-kvm (Ubuntu)
Status: Confirmed => Won't Fix
Signature · 31 lines
migrate exec ignores exit status
https://bugs.launchpad.net/bugs/391879
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: New
Status in “qemu-kvm” package in Ubuntu: Won't Fix
Bug description:
Binary package hint: kvm
Using
migrate "exec:cat > foo; false"
in the monitor results in the state of the VM being written to foo, as expected, and the VM then being stopped. This is surprising, as I think it stands to reason that in case of a failed migrate-exec process, which is what a non-zero exit status implies to me, the VM should continue.
== Version information
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy kvm
kvm:
Installed: 1:84+dfsg-0ubuntu11
Candidate: 1:84+dfsg-0ubuntu11
Version table:
*** 1:84+dfsg-0ubuntu11 0
500 http://gb.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/statusQuoted 6 lines · Dave Walker
This is a bug and has been reported upstream, it is unlikely to be fixed at the distribution level and therefore anyone interested in working on this bug should contribute a patch to the upstream project. This will then filter down to Ubuntu when it is merged mainline. Marking "Won't Fix" against the Ubuntu package.
Quoted 10 lines
Thanks for reporting this bug.
** Changed in: qemu-kvm (Ubuntu)
Status: Confirmed => Won't FixSignature · 4 lines
migrate exec ignores exit status https://bugs.launchpad.net/bugs/391879 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.
This bug appears to be filed against the Ubuntu qemu component, rather than the upstream qemu component. Are we supposed to be getting notifications for all Ubuntu distro qemu bugs too, rather than just usptream bug reports ?
Daniel.
Signature · 4 lines
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
Quoted 4 lines · Daniel P. Berrange
This bug appears to be filed against the Ubuntu qemu component, rather than the upstream qemu component. Are we supposed to be getting notifications for all Ubuntu distro qemu bugs too, rather than just usptream bug reports ?
This bug is filed as affecting both the qemu-kvm package in Ubuntu, as well as the QEMU project (upstream).
Activity in the bug is sent to subscribed parties of both the affected package, and the affected project.
:-Dustin
Quoted 19 lines · Daniel P. Berrange
Quoted 6 lines · Dave Walker
This is a bug and has been reported upstream, it is unlikely to be fixed at the distribution level and therefore anyone interested in working on this bug should contribute a patch to the upstream project. This will then filter down to Ubuntu when it is merged mainline. Marking "Won't Fix" against the Ubuntu package.
Quoted 11 lines
Thanks for reporting this bug.
** Changed in: qemu-kvm (Ubuntu)
Status: Confirmed => Won't FixSignature · 4 lines
migrate exec ignores exit status https://bugs.launchpad.net/bugs/391879 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.
Quoted 5 lines
This bug appears to be filed against the Ubuntu qemu component, rather than the upstream qemu component. Are we supposed to be getting notifications for all Ubuntu distro qemu bugs too, rather than just usptream bug reports ?
It's an upstream bug that references an Ubuntu bug. Whenever a referenced bug has it's status changed, the upstream bug will be notified.
You can also reference bugs in just about any Bugzilla including the Fedora bugzilla which is pretty nice because then when a bug gets fixed in Fedora, you get an update in the Launchpad bug tracker.
Regards,
Anthony Liguori
Quoted 2 lines
Daniel.
** Changed in: qemu
Status: New => Confirmed
Signature · 31 lines
migrate exec ignores exit status
https://bugs.launchpad.net/bugs/391879
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Confirmed
Status in “qemu-kvm” package in Ubuntu: Won't Fix
Bug description:
Binary package hint: kvm
Using
migrate "exec:cat > foo; false"
in the monitor results in the state of the VM being written to foo, as expected, and the VM then being stopped. This is surprising, as I think it stands to reason that in case of a failed migrate-exec process, which is what a non-zero exit status implies to me, the VM should continue.
== Version information
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy kvm
kvm:
Installed: 1:84+dfsg-0ubuntu11
Candidate: 1:84+dfsg-0ubuntu11
Version table:
*** 1:84+dfsg-0ubuntu11 0
500 http://gb.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/statusThe attached patch works for me with the posted test case.
** Changed in: qemu
Status: Confirmed => In Progress
** Patch added: "0001-migration-respect-exit-status-with-exec.patch"
http://launchpadlibrarian.net/49572236/0001-migration-respect-exit-status-with-exec.patch
Signature · 31 lines
migrate exec ignores exit status
https://bugs.launchpad.net/bugs/391879
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: In Progress
Status in “qemu-kvm” package in Ubuntu: Won't Fix
Bug description:
Binary package hint: kvm
Using
migrate "exec:cat > foo; false"
in the monitor results in the state of the VM being written to foo, as expected, and the VM then being stopped. This is surprising, as I think it stands to reason that in case of a failed migrate-exec process, which is what a non-zero exit status implies to me, the VM should continue.
== Version information
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy kvm
kvm:
Installed: 1:84+dfsg-0ubuntu11
Candidate: 1:84+dfsg-0ubuntu11
Version table:
*** 1:84+dfsg-0ubuntu11 0
500 http://gb.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/statusPatch has been included here:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=41ef56e61153d7bd27d34a63463
So I assume this should be working now.
** Changed in: qemu
Status: In Progress => Fix Released
Signature · 42 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/391879
Title:
migrate exec ignores exit status
Status in QEMU:
Fix Released
Status in qemu-kvm package in Ubuntu:
Won't Fix
Bug description:
Binary package hint: kvm
Using
migrate "exec:cat > foo; false"
in the monitor results in the state of the VM being written to foo, as
expected, and the VM then being stopped. This is surprising, as I
think it stands to reason that in case of a failed migrate-exec
process, which is what a non-zero exit status implies to me, the VM
should continue.
== Version information
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy kvm
kvm:
Installed: 1:84+dfsg-0ubuntu11
Candidate: 1:84+dfsg-0ubuntu11
Version table:
*** 1:84+dfsg-0ubuntu11 0
500 http://gb.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/391879/+subscriptions