All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status
       [not found] <20090625001558.14393.64908.malonedeb@palladium.canonical.com>
@ 2010-05-20 16:50 ` Dave Walker
  2010-05-20 17:11   ` Daniel P. Berrange
  2010-06-02 16:59 ` Luiz Capitulino
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Dave Walker @ 2010-05-20 16:50 UTC (permalink / raw)
  To: qemu-devel

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

-- 
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/status

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status
  2010-05-20 16:50 ` [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status Dave Walker
@ 2010-05-20 17:11   ` Daniel P. Berrange
  2010-05-20 17:18     ` Dustin Kirkland
  2010-05-20 18:54     ` Anthony Liguori
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel P. Berrange @ 2010-05-20 17:11 UTC (permalink / raw)
  To: qemu-devel

On Thu, May 20, 2010 at 04:50:59PM -0000, Dave Walker wrote:
> 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
> 
> -- 
> 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.
-- 
|: 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 :|

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status
  2010-05-20 17:11   ` Daniel P. Berrange
@ 2010-05-20 17:18     ` Dustin Kirkland
  2010-05-20 18:54     ` Anthony Liguori
  1 sibling, 0 replies; 7+ messages in thread
From: Dustin Kirkland @ 2010-05-20 17:18 UTC (permalink / raw)
  To: Daniel P. Berrange; +Cc: qemu-devel

On Thu, May 20, 2010 at 12:11 PM, Daniel P. Berrange
<berrange@redhat.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status
  2010-05-20 17:11   ` Daniel P. Berrange
  2010-05-20 17:18     ` Dustin Kirkland
@ 2010-05-20 18:54     ` Anthony Liguori
  1 sibling, 0 replies; 7+ messages in thread
From: Anthony Liguori @ 2010-05-20 18:54 UTC (permalink / raw)
  To: Daniel P. Berrange; +Cc: qemu-devel

On 05/20/2010 12:11 PM, Daniel P. Berrange wrote:
> On Thu, May 20, 2010 at 04:50:59PM -0000, Dave Walker wrote:
>    
>> 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
>>
>> -- 
>> 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 ?
>    

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

> Daniel.
>    

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status
       [not found] <20090625001558.14393.64908.malonedeb@palladium.canonical.com>
  2010-05-20 16:50 ` [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status Dave Walker
@ 2010-06-02 16:59 ` Luiz Capitulino
  2010-06-02 20:04 ` Anthony Liguori
  2016-06-11  7:15 ` T. Huth
  3 siblings, 0 replies; 7+ messages in thread
From: Luiz Capitulino @ 2010-06-02 16:59 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Confirmed

-- 
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/status

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status
       [not found] <20090625001558.14393.64908.malonedeb@palladium.canonical.com>
  2010-05-20 16:50 ` [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status Dave Walker
  2010-06-02 16:59 ` Luiz Capitulino
@ 2010-06-02 20:04 ` Anthony Liguori
  2016-06-11  7:15 ` T. Huth
  3 siblings, 0 replies; 7+ messages in thread
From: Anthony Liguori @ 2010-06-02 20:04 UTC (permalink / raw)
  To: qemu-devel

The 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

-- 
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/status

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status
       [not found] <20090625001558.14393.64908.malonedeb@palladium.canonical.com>
                   ` (2 preceding siblings ...)
  2010-06-02 20:04 ` Anthony Liguori
@ 2016-06-11  7:15 ` T. Huth
  3 siblings, 0 replies; 7+ messages in thread
From: T. Huth @ 2016-06-11  7:15 UTC (permalink / raw)
  To: qemu-devel

Patch 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

-- 
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-11  7:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20090625001558.14393.64908.malonedeb@palladium.canonical.com>
2010-05-20 16:50 ` [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status Dave Walker
2010-05-20 17:11   ` Daniel P. Berrange
2010-05-20 17:18     ` Dustin Kirkland
2010-05-20 18:54     ` Anthony Liguori
2010-06-02 16:59 ` Luiz Capitulino
2010-06-02 20:04 ` Anthony Liguori
2016-06-11  7:15 ` T. Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.