[Bug 874463] New: Device 0 (vif) could not be connected. Hotplug scripts not working.
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c0
Summary: Device 0 (vif) could not be connected. Hotplug scripts
not working.
Classification: openSUSE
Product: openSUSE 13.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 13.1
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Xen
AssignedTo: jdouglas@suse.com
ReportedBy: t.wagner@inode.at
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64;
x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
After upgrade from 12.3 to 13.1 xen with xend and bridge-mode does not work any
more. I know that xm is deprecated by xen project. But migration from xm to
xl/libvirt is not so simple at the moment.
=====================================================
zeus:/ # rpm -q -a |grep xen
xen-xend-tools-4.3.2_01-12.1.x86_64
xen-libs-4.3.2_01-12.1.x86_64
libvirt-daemon-xen-1.1.2-2.18.3.x86_64
xen-4.3.2_01-12.1.x86_64
libvirt-daemon-driver-xen-1.1.2-2.18.3.x86_64
xen-tools-4.3.2_01-12.1.x86_64
<domain type='xen'>
<name>template</name>
<uuid>7fdf20a8-08b1-8d01-09e9-cfe8ca12de7d</uuid>
<description>template for all Linux VMs</description>
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<vcpu placement='static'>2</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c1
Charles Arnold
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
After upgrade from 12.3 to 13.1 xen with xend and bridge-mode does not work any more. I know that xm is deprecated by xen project. But migration from xm to xl/libvirt is not so simple at the moment.
I am wondering why this is not so simple at the moment. Could you explain what problems you face migrating to xl?
xen-hotplug.log xenstore-read: couldn't read path backend/vbd/2/51712/node
Seems to be missing the disk here. Can you start the VM using 'xl'? -- 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=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c2
--- Comment #2 from Thomas Wagner
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c3
Thomas Wagner
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c4
Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c5
Dion Kant
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c6
--- Comment #6 from Dion Kant
Init scripts ------------ Before you can create additional VMs (or use any other xm command) xend must be running. This init script is part of the xen-tools package, and it is activated at installation time. You can (de)activate it using insserv. You can also start it manually with "rcxend start".
The deprecated xendomains script is also shipped, but disabled by default. In SLES 10 GA (xen 3.0.2) and older, this script allowed VMs to be started and stopped automatically when the machine starts and stops. In SLES 10 SP1 (xen 3.0.4) and newer, the proper way to start and stop VMs automatically is to set the "on_xend_start" and "on_xend_stop" settings in the VMs configuration. (Deprecating xendomains was necessary because xend, not the configuration file in /etc/xen/vm, is now the authoritative source for the VM's settings.) Consult the online documentation for more information.
This is really confusing since AFAIK the "on_xend_start" and the deprecation of xendomains is contradictory to using xl. -- 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=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c7
--- Comment #7 from Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c8
James Fehlig
The problem is related to libvirtd. Since libvirtd is required to use tools like virt-manager, which is even used by Yast to setup VMs.
What problem does libvirtd have? AFAIK, libvirtd is not involved in this bug.
As a result, when domains are started with xl, they remain invisible to tools like virt-viewer, virt-manager and virsh.
Right. Those are libvirt apps, not libxl apps. The libvirt libxl driver is a libxl app, as is xl. libxl is designed to allow multiple applications to manage a xen host, but one libxl app should not manipulate domains, resource pools, etc. owned by another libxl app. IMO, either use libvirt and all the apps in its ecosystem, or use xl.
Furthermore, until now, "all" SuSE documentation is/was still based on the xend tool stack. Have a look at /usr/share/doc/packages/xen/README.SuSE. Xl is not even mentioned in there.
Thanks for pointing that out. Adding Antoine so he is aware of the doc issue too. -- 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=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c9
--- Comment #9 from Dion Kant
What problem does libvirtd have? AFAIK, libvirtd is not involved in this bug.
Oh sorry, "The problem" was meant to be the fact that libvirtd and xm work well together, whereas (from a user point of view) this is not the case with xl. -- 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=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c10
--- Comment #10 from Dion Kant
# default option to run hotplug scripts from xl # if disabled the old behaviour will be used, and hotplug scripts will be # launched by udev. #run_hotplug_scripts=1
which implies that hotplug scripts are currently not launched by udev. Does xend know about this? ... It would be more clear if the tool sets were packaged along the line xen-generic-tools xen-xl-tools xen-xend-tools and make xen-xl-tools more pure about xl and dito for xen-xend-tools -- 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=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c11
Antoine Ginies
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c12
Thomas Wagner
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c13
--- Comment #13 from Dion Kant
I would appreciate some hints how to solve the current issue and not starting a request about xl documentation.
I know that we all have to switch to xl toolstack earlier or later. But at the moment I have really to solve this issue.
I have checked udev rules. They are in place like under 12.3 release.
Hello Thomas, I continue on this tomorrow if I find some time. If I make progress, I'll share it here.... -- 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=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c14
--- Comment #14 from Dion Kant
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c15
--- Comment #15 from Dion Kant
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c16
--- Comment #16 from Dion Kant
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c17
--- Comment #17 from Thomas Wagner
https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c18
--- Comment #18 from Dion Kant
participants (1)
-
bugzilla_noreply@novell.com