[Bug 456758] New: scripts in /etc/xen/scripts for network block devices (e. g. drbd) are not started.

https://bugzilla.novell.com/show_bug.cgi?id=456758 Summary: scripts in /etc/xen/scripts for network block devices (e.g. drbd) are not started. Product: openSUSE 11.1 Version: RC 1 Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Critical Priority: P5 - None Component: Xen AssignedTo: cgriffin@novell.com ReportedBy: quade@uni-bonn.de QAContact: qa@suse.de Found By: Customer Guest systems with network block devices e.g. drbd (disk=[ 'drbd:test,xvda,w, ]) can't be started. The corresponding scripts (block and block-drbd) in /etc/xen/scripts are not called. No problem in openSuse 11.0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=456758 Jason Douglas <jdouglas@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lbendixs@novell.com, jfehlig@novell.com, | |jdouglas@novell.com AssignedTo|cgriffin@novell.com |kwolf@novell.com QAContact|qa@suse.de |jdouglas@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=456758 User kwolf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456758#c1 Kevin Wolf <kwolf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Major Status|NEW |NEEDINFO Info Provider| |quade@uni-bonn.de Priority|P5 - None |P2 - High --- Comment #1 from Kevin Wolf <kwolf@novell.com> 2008-12-09 03:54:35 MST --- I wonder how this could have possibly worked for you. Xen doesn't know the type drbd, neither in 11.1 nor in 11.0. Sure you haven't added that one yourself? For the error message I guess you get 'Error: Block device must have "phy", "file" or "tap" specified to type'. Is this right? We should probably add the rest of the supported protocols to the check then (these are iscsi, nbd and npiv if vm-install is right). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=456758 User quade@uni-bonn.de added comment https://bugzilla.novell.com/show_bug.cgi?id=456758#c2 --- Comment #2 from Gustav Quade <quade@uni-bonn.de> 2008-12-09 08:37:16 MST --- Xen allows to add other types of Virtual Block Devices by putting a helper script named block-prefix in the /etc/xen/scripts directory (for drbd see http://www.drbd.org/users-guide/s-xen-internal.html). Under 11.0 we use drbd Version 8.2.7-1.1 from openSuse Build service (/repositories/home:/niner9:/drbd-8.2/openSUSE_11.0_Update) which provides the script (some more info in German language under http://www.meb.uni-bonn.de/imbie/dokus/xen.html). This works well including live migration. In version 11.1 RC1 the scripts do not work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=456758 User kwolf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456758#c3 Kevin Wolf <kwolf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|quade@uni-bonn.de | --- Comment #3 from Kevin Wolf <kwolf@novell.com> 2008-12-10 05:22:45 MST --- I tried simply disabling the mentioned check, but it doesn't seem to help. And in any case I wouldn't feel too comfortable with completely disabling it as a wrong prefix will let xm hang until it times out. This will need some more work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=456758 User kwolf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456758#c4 Kevin Wolf <kwolf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Kevin Wolf <kwolf@novell.com> 2008-12-17 09:27:56 MST --- After all, it's actually enough to disable it. Fixed in SVN. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=456758 User kwolf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456758#c5 --- Comment #5 from Kevin Wolf <kwolf@novell.com> 2008-12-17 09:30:44 MST --- Created an attachment (id=260638) --> (https://bugzilla.novell.com/attachment.cgi?id=260638) Patch to fix the problem As it's too late for 11.1, I'm attaching patch in case you like to apply it yourself. It's Python code so there is nothing to compile. Changing /usr/lib64/python/site-packages/xen/xend/server/blkif.py and restarting xend should be enough. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=456758 User jfehlig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456758#c6 --- Comment #6 from James Fehlig <jfehlig@novell.com> 2008-12-17 11:56:47 MST --- (In reply to comment #5 from Kevin Wolf)
Created an attachment (id=260638) --> (https://bugzilla.novell.com/attachment.cgi?id=260638) [details] Patch to fix the problem
ACK - nice fix :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=456758 User jfehlig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456758#c7 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kamil@zymeworks.com --- Comment #7 from James Fehlig <jfehlig@novell.com> 2009-03-30 14:50:22 MDT --- *** Bug 487051 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=487051 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com