[Bug 845648] New: libxenlight failed to create new domain
https://bugzilla.novell.com/show_bug.cgi?id=845648 https://bugzilla.novell.com/show_bug.cgi?id=845648#c0 Summary: libxenlight failed to create new domain Classification: openSUSE Product: openSUSE Factory Version: 13.1 Beta 1 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: jdouglas@suse.com ReportedBy: thomas.e.schreiner@t-online.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 After solving the problem of broken virtual machine manager (VMM) in case of not runnimg libvirtd, because qemu has not been installed by yast, I tried to install a test-instance OS13.1RC1, using VMM. After doing the configuration and short after starting the installation, I got an errormessage ( see picture Error2.png). Hardware-Info : Notebook with 16 GB Core, Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz, 500GB ssd plis 700GB SATA HD, Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller, Intel VGA compatible controller plus NVIDIA Corporation Device 11a7. Reproducible: Always Steps to Reproduce: 1.installing qemu - Universal CPU emulator, libvirt-daemon-qemu, libvirt-daemon-driver-qemu and other packages needed for libvirtd. 2.starting virtual machine manager, click VM-Install, click Forward to install operating system openSUSE 13 and configuring hardware requirements. 3.two or three seconds after pressing the OK butten I got the errormessage. Actual Results: Installation of VM stopped as you see at the screenshot. Ahter pressing the OK button of the error message, you fall back into the configuration menue. Expected Results: written Configfile in /etc/xen/vm : name="OS13.1RC1" description="Test" uuid="1cff93f1-e177-d55e-d87c-b4e6286c084f" memory=2048 maxmem=2048 vcpus=2 on_poweroff="destroy" on_reboot="destroy" on_crash="destroy" localtime=0 keymap="de" builder="linux" kernel="/tmp/kernel.PDLID9" ramdisk="/tmp/install-initrd.IlthEQ" extra=" install=hd:/dev/xvdb " disk=[ 'file:/var/lib/xen/images/OS_13.1_RC1.raw,xvda,w', 'file:/var/lib/xen/images/openSUSE-13.1-DVD-Build0041-x86_64.iso,xvdb:cdrom,r', ] vif=[ 'mac=00:16:3e:22:03:7e,bridge=br0', ] vfb=['type=vnc,vncunused=1'] Starting this config with command :xl create OS13.1RC1 gives the result : Parsing config from OS13.1RC1 libxl: error: libxl_dom.c:353:libxl__build_pv: xc_dom_kernel_file failed: No such file or directory libxl: error: libxl_create.c:900:domcreate_rebuild_done: cannot (re-)build domain: -3 -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c1
--- Comment #1 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c
Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c
Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c2
Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c3
--- Comment #3 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c
Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c4
--- Comment #4 from James Fehlig
After solving the problem of broken virtual machine manager (VMM) in case of not runnimg libvirtd, because qemu has not been installed by yast,
Currently, qemu should not be a requirement for Xen. If virt-manager wont work on a Xen-only configuration, we need to fix that.
( see picture Error2.png).
Missing attachment?
1.installing qemu - Universal CPU emulator, libvirt-daemon-qemu, libvirt-daemon-driver-qemu and other packages needed for libvirtd.
These should not be needed to run libvirtd on a Xen host. The -xen packages should be used, e.g. libvirt-daemon-xen, libvirt-daemon-driver-libxl, libvirt-daemon-driver-xen.
Starting this config with command :xl create OS13.1RC1 gives the result : Parsing config from OS13.1RC1 libxl: error: libxl_dom.c:353:libxl__build_pv: xc_dom_kernel_file failed: No
Probably no kernel/initrd at /tmp/kernel.PDLID9 and tmp/install-initrd.IlthEQ -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c5
--- Comment #5 from Thomas E. Schreiner
From first line to line 19 you find the messages without QEMU. Line 20 to 23 are from installing QEMU. Rest of file are messages after installing QEMU.
-- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c6
--- Comment #6 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c7
--- Comment #7 from James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c8
James Fehlig
Rest of file are messages after installing QEMU.
As noted above, the important messages are from apparmor 2013-10-13T17:29:39.251481+00:00 tes04 kernel: [ 891.942476] type=1400 audit(1381685379.244:32): apparmor="DENIED" operation="exec" parent=5851 profile="/usr/sbin/libvirtd" name="/usr/lib/xen/bin/qemu-system-i386" pid=5852 comm="libvirtd" requested_mask="x" denied_mask="x" fsuid=0 ouid=0 Fix coming up... You can test it locally with the following patch to /etc/apparmor.d/usr.sbin.libvirtd, followed by 'rcapparmor restart' /usr/lib/xen/bin/qemu-dm Ux, + /usr/lib/xen/bin/qemu-system-i386 Ux, /usr/lib/PolicyKit/polkit-read-auth-helper Px, -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c9
--- Comment #9 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c10
--- Comment #10 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c11
--- Comment #11 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c12
--- Comment #12 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c13
--- Comment #13 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c14
Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c15
--- Comment #15 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c16
--- Comment #16 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c17
--- Comment #17 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c18
--- Comment #18 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c19
--- Comment #19 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c20
--- Comment #20 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c21
--- Comment #21 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c22
--- Comment #22 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c23
--- Comment #23 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c24
Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c25
--- Comment #25 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c26
--- Comment #26 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c27
--- Comment #27 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c
Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c28
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c29
--- Comment #29 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c30
--- Comment #30 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c31
--- Comment #31 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c32
--- Comment #32 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c33
--- Comment #33 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c34
--- Comment #34 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c35
Stefan Tschiesche
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c36
--- Comment #36 from James Fehlig
Is the problem fixed in the final release of openSUSE 13.1?
Have you tried the libvirt packages that have been submitted for a 13.1 update? http://download.opensuse.org/repositories/Virtualization:/openSUSE13.1/openS... I'm able to install both PV and HVM guests on libxl with these packages.
Did you need more infos to fix that problem or what kind of infos do you need?
I'd like to know if libvirt packages from the above repo work for you. I'm not sure why they don't work for Thomas, but should have time to investigate his issue next week. He has provided lots of info to dig through :). -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c37
--- Comment #37 from Stefan Tschiesche
(In reply to comment #35)
Is the problem fixed in the final release of openSUSE 13.1?
Have you tried the libvirt packages that have been submitted for a 13.1 update?
http://download.opensuse.org/repositories/Virtualization:/openSUSE13.1/openS...
I'm able to install both PV and HVM guests on libxl with these packages.
Yes I tried these packages last night on a fresh installation.
Did you need more infos to fix that problem or what kind of infos do you need?
I'd like to know if libvirt packages from the above repo work for you. I'm not sure why they don't work for Thomas, but should have time to investigate his issue next week. He has provided lots of info to dig through :).
They work well with a little workaround. The creating process of a new VM starts only correctly when I release a connect to localhost before. If I don't do that I'm not able to create a new VM. -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c38
--- Comment #38 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c39
--- Comment #39 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c40
--- Comment #40 from James Fehlig
They work well with a little workaround. The creating process of a new VM
What creating process? virt-install (the default) or the optional vm-install?
starts only correctly when I release a connect to localhost before. If I don't do that I'm not able to create a new VM.
Just to clarify, you must close your 'localhost (xen)' connection in virt-manager before virt-install (or vm-install) will work? If so, what errors do you get? Please provide output of ~/.virt-manager/virt-manager.log when reproducing the problem. -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c41
--- Comment #41 from James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c42
--- Comment #42 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c43
--- Comment #43 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c44
--- Comment #44 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c45
--- Comment #45 from James Fehlig
journalctrl is'nt installed on my machines, I have to look for an rpm.
Opps, I meant 'journalctl', which is part of the systemd package - so I think you have it :). -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c46
--- Comment #46 from James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c47
--- Comment #47 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c48
--- Comment #48 from Thomas E. Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c49
--- Comment #49 from Stefan Tschiesche
(In reply to comment #37)
They work well with a little workaround. The creating process of a new VM
What creating process? virt-install (the default) or the optional vm-install?
Today I tested it again (a new fresh complete install with the additional virt. repo) and now it works correctly (install over virt-install and vm-install)!
starts only correctly when I release a connect to localhost before. If I don't do that I'm not able to create a new VM.
Just to clarify, you must close your 'localhost (xen)' connection in virt-manager before virt-install (or vm-install) will work? If so, what errors do you get? Please provide output of ~/.virt-manager/virt-manager.log when reproducing the problem.
No, the problem was that I must create the first connect to localhost manually and then I can install a new vm. But now it works... although I don't no why. But I have/found another problem. When I create a new vm over vm-install (opensuse 13 template, pv and installation over local media (e.g. dvd)) and I tried to disconnect the cd/dvd-drive in the vm settings after finished the vm can't start again... or did the vm need the cd/dvd to run correctly? -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c50
--- Comment #50 from Charles Arnold
But I have/found another problem. When I create a new vm over vm-install (opensuse 13 template, pv and installation over local media (e.g. dvd)) and I tried to disconnect the cd/dvd-drive in the vm settings after finished the vm can't start again... or did the vm need the cd/dvd to run correctly?
Which tool or command did you use to disconnect the cd/dvd and which tool or command did you use to start the VM after disconnecting? -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c51
--- Comment #51 from Stefan Tschiesche
(In reply to comment #49)
But I have/found another problem. When I create a new vm over vm-install (opensuse 13 template, pv and installation over local media (e.g. dvd)) and I tried to disconnect the cd/dvd-drive in the vm settings after finished the vm can't start again... or did the vm need the cd/dvd to run correctly?
Which tool or command did you use to disconnect the cd/dvd and which tool or command did you use to start the VM after disconnecting?
I try to look quick to describe from my head. I used the "YAST2 GUI", so I can find in YAST2 under Virtualization -> VM Manager (or similar) and then right-click on the vm -> open -> detail -> dvd/cd and here "disconnect". Than I run it with the run button in VM Manager, right-click on the vm. -- 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=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c52
Olaf Martens
https://bugzilla.novell.com/show_bug.cgi?id=845648
https://bugzilla.novell.com/show_bug.cgi?id=845648#c53
--- Comment #53 from James Fehlig
Maybe the two bugs should be merged?
I don't think so, at least not at this point. Stefan is now able to create domains, but has a problem disconnecting the install cd/dvd afterwords - which should really be handled in a new bug. Apparently you and Thomas (original reporter of this bug) are still not able to create domains, but Thomas does not experience a segfault. -- 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