Valentin Vidic
2008-Sep-24 15:19 UTC
[Pkg-xen-devel] Bug#500047: xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd
Package: xen-utils-3.0.3-1 Version: 3.0.3-0-4 Severity: normal Rebooting from inside domU hangs in initrd: Begin: Waiting for root file system... ... Root file system is not available because underlying DRBD device got deactivated during reboot: $ cat /proc/drbd version: 8.0.13 (api:86/proto:86) GIT-hash: ee3ad77563d2e87171a3da17cc002ddfd1677dbe build by phil at fat-tyre, 2008-08-04 15:28:07 1: cs:Connected st:Secondary/Secondary ds:UpToDate/UpToDate C r--- ns:46440 nr:0 dw:46440 dr:427691 al:25 bm:717 lo:0 pe:0 ua:0 ap:0 resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/127 hits:6821 misses:25 starving:0 dirty:0 changed:25 Destroying/creating the old/new domain generates the udev remove/add events in correct order and cause a parallel execution of xen block scripts: Sep 24 16:59:32 srv logger: /etc/xen/scripts/block: remove XENBUS_PATH=backend/vbd/39/2049 Sep 24 16:59:32 srv logger: /etc/xen/scripts/block: add XENBUS_PATH=backend/vbd/40/2049 Sep 24 16:59:32 srv logger: /etc/xen/scripts/block-drbd: add XENBUS_PATH=backend/vbd/40/2049 Sep 24 16:59:33 srv logger: /etc/xen/scripts/block-drbd: remove XENBUS_PATH=backend/vbd/39/2049 Sep 24 16:59:33 srv logger: /etc/xen/scripts/block-drbd: Writing backend/vbd/40/2049/physical-device 93:1 to xenstore. Sep 24 16:59:33 srv logger: /etc/xen/scripts/block-drbd: Writing backend/vbd/40/2049/hotplug-status connected to xenstore. Quite often the block(add) script runs first leaving the device in Primary state, but then the block(remove) script causes it to go from Primary to Secondary. Attached patch causes xend to wait for devices to get removed before creating the new domain. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-xen-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages xen-utils-3.0.3-1 depends on: ii iproute 20061002-3 Professional tools to control the ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries ii libncurses5 5.5-5 Shared libraries for terminal hand ii python 2.4.4-2 An interactive high-level object-o ii python-central 0.5.12 register and build utility for Pyt ii udev 0.105-4 /dev/ and hotplug management daemo ii xen-utils-common 3.0.3-0-2 XEN administrative tools - common ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages xen-utils-3.0.3-1 recommends: ii bridge-utils 1.2-1 Utilities for configuring the Linu ii xen-hypervisor-3.0.3-1-amd64 3.0.3-0-4 The Xen Hypervisor on AMD64 -- no debconf information -------------- next part -------------- --- /usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py.dist 2008-09-24 16:37:28.000000000 +0200 +++ /usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py 2008-09-24 16:38:16.000000000 +0200 @@ -1670,6 +1670,7 @@ else: self.unwatchVm() self.destroyDomain() + self.testDeviceComplete() # new_dom's VM will be the same as this domain's VM, except where # the rename flag has instructed us to call preserveForRestart.
Ian Campbell
2015-Aug-21 15:19 UTC
[Pkg-xen-devel] Bug#500047: xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd
Control: tags -1 +moreinfo On Wed, 24 Sep 2008 17:19:08 +0200 Valentin Vidic <vvidic at carnet.hr> wrote:> Package: xen-utils-3.0.3-1 > Version: 3.0.3-0-4 > Severity: normal > > > Rebooting from inside domU hangs in initrd: > > Begin: Waiting for root file system... ... > > Root file system is not available because underlying DRBD device > got deactivated during reboot:Sorry this bug seems to have fallen through the cracks. I've heard of people using drdb fairly recently so I think there is a g ood chance that this issue has been fixed in either recent Xen or DRDB packages (I'm not sure where block-drdb comes from these days). Please can you confirm whether or not you are still seeing this issue, thanks. Ian.
Debian Bug Tracking System
2015-Aug-21 15:21 UTC
[Pkg-xen-devel] Processed: Re: xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd
Processing control commands:> tags -1 +moreinfoBug #500047 [src:xen] xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd Added tag(s) moreinfo. -- 500047: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500047 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Debian Bug Tracking System
2015-Aug-21 15:21 UTC
[Pkg-xen-devel] Processed: Re: xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd
Processing control commands:> tags -1 +moreinfoBug #500047 [src:xen] xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd Ignoring request to alter tags of bug #500047 to the same tags previously set -- 500047: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500047 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Valentin Vidic
2015-Aug-25 10:55 UTC
[Pkg-xen-devel] Bug#500047: xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd
On Fri, Aug 21, 2015 at 04:19:05PM +0100, Ian Campbell wrote:> Sorry this bug seems to have fallen through the cracks. > > I've heard of people using drdb fairly recently so I think there is a g > ood chance that this issue has been fixed in either recent Xen or DRDB > packages (I'm not sure where block-drdb comes from these days). > > Please can you confirm whether or not you are still seeing this issue, > thanks.We are still using Xen on DRBD and reboot works fine so you can definitely close this one too. -- Valentin
Debian Bug Tracking System
2015-Sep-04 13:12 UTC
[Pkg-xen-devel] Bug#500047: marked as done (xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd)
Your message dated Fri, 04 Sep 2015 14:08:35 +0100 with message-id <1441372115.26292.493.camel at debian.org> and subject line Re: [Pkg-xen-devel] Bug#500047: xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd has caused the Debian Bug report #500047, regarding xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 500047: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500047 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Valentin Vidic <vvidic at carnet.hr> Subject: xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd Date: Wed, 24 Sep 2008 17:19:08 +0200 Size: 5393 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20150904/d70cde10/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Ian Campbell <ijc at debian.org> Subject: Re: [Pkg-xen-devel] Bug#500047: xen-utils-3.0.3-1: domU reboot fails when using DRBD as vbd Date: Fri, 04 Sep 2015 14:08:35 +0100 Size: 2547 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20150904/d70cde10/attachment-0001.mht>