All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk )
@ 2015-03-21  7:44 youyunyehe
  2015-03-21  7:45 ` [Qemu-devel] [Bug 1434779] " youyunyehe
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: youyunyehe @ 2015-03-21  7:44 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hi,
We are using “Windows Server 2008” with qemu-kvm-2.0.1 (linux kernel:3.10.0) as a host of  a VM.
Using drive_mirror to do  live-migration on the same host for different disks
Local disk: /sf/data/local/
Shared disk(iscsi): /sf/other/local/    ---  the disk is busy, the IO rate is  about  30MB/s
qemu-system-x86_64 -k en-us -m 2048 -smp 2 -vnc :3100 -usbdevice tablet -boot c -enable-kvm -drive file=/sf/data/local/vm-disk-1.qcow2,if=none,id=drive-ide0,cache=none,aio=native -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100 

Step 1:
Start migration: Drive_mirror -f drive-ide0  /sf/other/local/test.qcow2

Step 2:
When detect the migration has completed, then send cmd: block_job_complete -f drive-ide0

Step 3:
send cmd: info status 
What surprised me is that the qemu monitor reports can’t be connected.

Then find bellows:
The  qemu process hangs on the mirror_run->bdrv_drain_all->aio_poll->qemu_poll_ns->ppoll (),
None events were received and poll forever. I don’t know why the aio can’t be responsed. This case is hardly to
be generated but it really happens sometimes . I’m looking forward to getting help from you .
The stack capture snapshot:


Thanks 
MyAngle

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: drive migration mirror

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1434779

Title:
  qemu hangs on live-migration with storage(virtual machine: windows
  Server 2008 with only one disk )

Status in QEMU:
  New

Bug description:
  Hi,
  We are using “Windows Server 2008” with qemu-kvm-2.0.1 (linux kernel:3.10.0) as a host of  a VM.
  Using drive_mirror to do  live-migration on the same host for different disks
  Local disk: /sf/data/local/
  Shared disk(iscsi): /sf/other/local/    ---  the disk is busy, the IO rate is  about  30MB/s
  qemu-system-x86_64 -k en-us -m 2048 -smp 2 -vnc :3100 -usbdevice tablet -boot c -enable-kvm -drive file=/sf/data/local/vm-disk-1.qcow2,if=none,id=drive-ide0,cache=none,aio=native -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100 

  Step 1:
  Start migration: Drive_mirror -f drive-ide0  /sf/other/local/test.qcow2

  Step 2:
  When detect the migration has completed, then send cmd: block_job_complete -f drive-ide0

  Step 3:
  send cmd: info status 
  What surprised me is that the qemu monitor reports can’t be connected.

  Then find bellows:
  The  qemu process hangs on the mirror_run->bdrv_drain_all->aio_poll->qemu_poll_ns->ppoll (),
  None events were received and poll forever. I don’t know why the aio can’t be responsed. This case is hardly to
  be generated but it really happens sometimes . I’m looking forward to getting help from you .
  The stack capture snapshot:

  
  Thanks 
  MyAngle

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1434779/+subscriptions

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

* [Qemu-devel] [Bug 1434779] Re: qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk )
  2015-03-21  7:44 [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk ) youyunyehe
@ 2015-03-21  7:45 ` youyunyehe
  2015-03-23 13:32 ` [Qemu-devel] [Bug 1434779] [NEW] " Stefan Hajnoczi
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: youyunyehe @ 2015-03-21  7:45 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "livemig.png"
   https://bugs.launchpad.net/qemu/+bug/1434779/+attachment/4351204/+files/livemig.png

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1434779

Title:
  qemu hangs on live-migration with storage(virtual machine: windows
  Server 2008 with only one disk )

Status in QEMU:
  New

Bug description:
  Hi,
  We are using “Windows Server 2008” with qemu-kvm-2.0.1 (linux kernel:3.10.0) as a host of  a VM.
  Using drive_mirror to do  live-migration on the same host for different disks
  Local disk: /sf/data/local/
  Shared disk(iscsi): /sf/other/local/    ---  the disk is busy, the IO rate is  about  30MB/s
  qemu-system-x86_64 -k en-us -m 2048 -smp 2 -vnc :3100 -usbdevice tablet -boot c -enable-kvm -drive file=/sf/data/local/vm-disk-1.qcow2,if=none,id=drive-ide0,cache=none,aio=native -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100 

  Step 1:
  Start migration: Drive_mirror -f drive-ide0  /sf/other/local/test.qcow2

  Step 2:
  When detect the migration has completed, then send cmd: block_job_complete -f drive-ide0

  Step 3:
  send cmd: info status 
  What surprised me is that the qemu monitor reports can’t be connected.

  Then find bellows:
  The  qemu process hangs on the mirror_run->bdrv_drain_all->aio_poll->qemu_poll_ns->ppoll (),
  None events were received and poll forever. I don’t know why the aio can’t be responsed. This case is hardly to
  be generated but it really happens sometimes . I’m looking forward to getting help from you .
  The stack capture snapshot:

  
  Thanks 
  MyAngle

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1434779/+subscriptions

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

* Re: [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk )
  2015-03-21  7:44 [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk ) youyunyehe
  2015-03-21  7:45 ` [Qemu-devel] [Bug 1434779] " youyunyehe
@ 2015-03-23 13:32 ` Stefan Hajnoczi
  2015-03-31 11:03   ` Halsey Pian
  2018-05-22 13:26 ` [Qemu-devel] [Bug 1434779] " Thomas Huth
  2018-07-22  4:17 ` Launchpad Bug Tracker
  3 siblings, 1 reply; 6+ messages in thread
From: Stefan Hajnoczi @ 2015-03-23 13:32 UTC (permalink / raw)
  To: Bug 1434779; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1616 bytes --]

On Sat, Mar 21, 2015 at 07:44:37AM -0000, youyunyehe wrote:
> We are using “Windows Server 2008” with qemu-kvm-2.0.1 (linux kernel:3.10.0) as a host of  a VM.

Please give the exact qemu-kvm package version and Linux distro name.
The code in qemu.git/master is slightly different so maybe the issue no
longer happens, but it would be worth looking at the exact source code
your qemu-kvm is built from.

I have CCed Jeff Cody, who maintains drive-mirror.

> Using drive_mirror to do  live-migration on the same host for different disks
> Local disk: /sf/data/local/
> Shared disk(iscsi): /sf/other/local/    ---  the disk is busy, the IO rate is  about  30MB/s
> qemu-system-x86_64 -k en-us -m 2048 -smp 2 -vnc :3100 -usbdevice tablet -boot c -enable-kvm -drive file=/sf/data/local/vm-disk-1.qcow2,if=none,id=drive-ide0,cache=none,aio=native -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100 
> 
> Step 1:
> Start migration: Drive_mirror -f drive-ide0  /sf/other/local/test.qcow2
> 
> Step 2:
> When detect the migration has completed, then send cmd: block_job_complete -f drive-ide0
> 
> Step 3:
> send cmd: info status 
> What surprised me is that the qemu monitor reports can’t be connected.
> 
> Then find bellows:
> The  qemu process hangs on the mirror_run->bdrv_drain_all->aio_poll->qemu_poll_ns->ppoll (),
> None events were received and poll forever. I don’t know why the aio can’t be responsed. This case is hardly to
> be generated but it really happens sometimes . I’m looking forward to getting help from you .
> The stack capture snapshot:

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk )
  2015-03-23 13:32 ` [Qemu-devel] [Bug 1434779] [NEW] " Stefan Hajnoczi
@ 2015-03-31 11:03   ` Halsey Pian
  0 siblings, 0 replies; 6+ messages in thread
From: Halsey Pian @ 2015-03-31 11:03 UTC (permalink / raw)
  To: 'Stefan Hajnoczi', 'Bug 1434779'; +Cc: qemu-devel

> -----Original Message-----
> From: qemu-devel-bounces+halsey.pian=gmail.com@nongnu.org [mailto:qemu-devel-bounces+halsey.pian=gmail.com@nongnu.org]
> On Behalf Of Stefan Hajnoczi
> Sent: 2015年3月23日 21:32
> To: Bug 1434779
> Cc: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008
> with only one disk )
> 
> On Sat, Mar 21, 2015 at 07:44:37AM -0000, youyunyehe wrote:
> > We are using “Windows Server 2008” with qemu-kvm-2.0.1 (linux kernel:3.10.0) as a host of  a VM.
> 
> Please give the exact qemu-kvm package version and Linux distro name.
> The code in qemu.git/master is slightly different so maybe the issue no longer happens, but it would be worth looking at the exact
> source code your qemu-kvm is built from.

[Halsey] I also recreated this issue today, qemu hangs at bdrv_rw-co() -> bdrv_prwv_co() -> aio_poll(0 -> qemu_poll_ns() -> ppoll().  I'm just call bdrv_write to write data to qcow2 file. My qemu version is qemu-2.2.0.

> I have CCed Jeff Cody, who maintains drive-mirror.
> 
> > Using drive_mirror to do  live-migration on the same host for
> > different disks Local disk: /sf/data/local/
> > Shared disk(iscsi): /sf/other/local/    ---  the disk is busy, the IO rate is  about  30MB/s
> > qemu-system-x86_64 -k en-us -m 2048 -smp 2 -vnc :3100 -usbdevice
> > tablet -boot c -enable-kvm -drive
> > file=/sf/data/local/vm-disk-1.qcow2,if=none,id=drive-ide0,cache=none,a
> > io=native -device
> > ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100
> >
> > Step 1:
> > Start migration: Drive_mirror -f drive-ide0
> > /sf/other/local/test.qcow2
> >
> > Step 2:
> > When detect the migration has completed, then send cmd:
> > block_job_complete -f drive-ide0
> >
> > Step 3:
> > send cmd: info status
> > What surprised me is that the qemu monitor reports can’t be connected.
> >
> > Then find bellows:
> > The  qemu process hangs on the
> > mirror_run->bdrv_drain_all->aio_poll->qemu_poll_ns->ppoll (), None
> > events were received and poll forever. I don’t know why the aio can’t be responsed. This case is hardly to be generated but it really
> happens sometimes . I’m looking forward to getting help from you .
> > The stack capture snapshot:

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

* [Qemu-devel] [Bug 1434779] Re: qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk )
  2015-03-21  7:44 [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk ) youyunyehe
  2015-03-21  7:45 ` [Qemu-devel] [Bug 1434779] " youyunyehe
  2015-03-23 13:32 ` [Qemu-devel] [Bug 1434779] [NEW] " Stefan Hajnoczi
@ 2018-05-22 13:26 ` Thomas Huth
  2018-07-22  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2018-05-22 13:26 UTC (permalink / raw)
  To: qemu-devel

Looking through old bug tickets... can you still reproduce this issue
with the latest version of QEMU? Or could we close this ticket nowadays?

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

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1434779

Title:
  qemu hangs on live-migration with storage(virtual machine: windows
  Server 2008 with only one disk )

Status in QEMU:
  Incomplete

Bug description:
  Hi,
  We are using “Windows Server 2008” with qemu-kvm-2.0.1 (linux kernel:3.10.0) as a host of  a VM.
  Using drive_mirror to do  live-migration on the same host for different disks
  Local disk: /sf/data/local/
  Shared disk(iscsi): /sf/other/local/    ---  the disk is busy, the IO rate is  about  30MB/s
  qemu-system-x86_64 -k en-us -m 2048 -smp 2 -vnc :3100 -usbdevice tablet -boot c -enable-kvm -drive file=/sf/data/local/vm-disk-1.qcow2,if=none,id=drive-ide0,cache=none,aio=native -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100 

  Step 1:
  Start migration: Drive_mirror -f drive-ide0  /sf/other/local/test.qcow2

  Step 2:
  When detect the migration has completed, then send cmd: block_job_complete -f drive-ide0

  Step 3:
  send cmd: info status 
  What surprised me is that the qemu monitor reports can’t be connected.

  Then find bellows:
  The  qemu process hangs on the mirror_run->bdrv_drain_all->aio_poll->qemu_poll_ns->ppoll (),
  None events were received and poll forever. I don’t know why the aio can’t be responsed. This case is hardly to
  be generated but it really happens sometimes . I’m looking forward to getting help from you .
  The stack capture snapshot:

  
  Thanks 
  MyAngle

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1434779/+subscriptions

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

* [Qemu-devel] [Bug 1434779] Re: qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk )
  2015-03-21  7:44 [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk ) youyunyehe
                   ` (2 preceding siblings ...)
  2018-05-22 13:26 ` [Qemu-devel] [Bug 1434779] " Thomas Huth
@ 2018-07-22  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 6+ messages in thread
From: Launchpad Bug Tracker @ 2018-07-22  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1434779

Title:
  qemu hangs on live-migration with storage(virtual machine: windows
  Server 2008 with only one disk )

Status in QEMU:
  Expired

Bug description:
  Hi,
  We are using “Windows Server 2008” with qemu-kvm-2.0.1 (linux kernel:3.10.0) as a host of  a VM.
  Using drive_mirror to do  live-migration on the same host for different disks
  Local disk: /sf/data/local/
  Shared disk(iscsi): /sf/other/local/    ---  the disk is busy, the IO rate is  about  30MB/s
  qemu-system-x86_64 -k en-us -m 2048 -smp 2 -vnc :3100 -usbdevice tablet -boot c -enable-kvm -drive file=/sf/data/local/vm-disk-1.qcow2,if=none,id=drive-ide0,cache=none,aio=native -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100 

  Step 1:
  Start migration: Drive_mirror -f drive-ide0  /sf/other/local/test.qcow2

  Step 2:
  When detect the migration has completed, then send cmd: block_job_complete -f drive-ide0

  Step 3:
  send cmd: info status 
  What surprised me is that the qemu monitor reports can’t be connected.

  Then find bellows:
  The  qemu process hangs on the mirror_run->bdrv_drain_all->aio_poll->qemu_poll_ns->ppoll (),
  None events were received and poll forever. I don’t know why the aio can’t be responsed. This case is hardly to
  be generated but it really happens sometimes . I’m looking forward to getting help from you .
  The stack capture snapshot:

  
  Thanks 
  MyAngle

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1434779/+subscriptions

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

end of thread, other threads:[~2018-07-22  4:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-21  7:44 [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk ) youyunyehe
2015-03-21  7:45 ` [Qemu-devel] [Bug 1434779] " youyunyehe
2015-03-23 13:32 ` [Qemu-devel] [Bug 1434779] [NEW] " Stefan Hajnoczi
2015-03-31 11:03   ` Halsey Pian
2018-05-22 13:26 ` [Qemu-devel] [Bug 1434779] " Thomas Huth
2018-07-22  4:17 ` Launchpad Bug Tracker

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.