[Bug 703392] New: Virtualization/libvirt: Bug
https://bugzilla.novell.com/show_bug.cgi?id=703392 https://bugzilla.novell.com/show_bug.cgi?id=703392#c0 Summary: Virtualization/libvirt: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Critical Priority: P5 - None Component: 3rd party software AssignedTo: jfehlig@novell.com ReportedBy: aleromex@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- Hello, i connect to remote libvirt via virt-manager and ssh: qemu+ssh://root@server/system. After updating to latest libvirt, i can't start my VM via virt-manager and this connection. It say me: Error starting domain: internal error process exited while connecting to monitor: qemu-kvm: -drive file=/var/lib/libvirt/images/supportme.img,if=none,id=drive-ide0-0-0,format=qcow2: could not open disk image /var/lib/libvirt/images/supportme.img: Permission denied Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/engine.py", line 992, in asyncfunc vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 1114, in startup self._backend.create() File "/usr/lib/python2.7/site-packages/libvirt.py", line 365, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error process exited while connecting to monitor: qemu-kvm: -drive file=/var/lib/libvirt/images/supportme.img,if=none,id=drive-ide0-0-0,format=qcow2: could not open disk image /var/lib/libvirt/images/supportme.img: Permission denied If I uncomment #user = "root" and #group = "root" in my /etc/libvirt/qemu.conf file and restart libvirtd, so, I can start VM via virt-manager. I think it's happen after bnc#694883. For information: server:/etc/libvirt # l /var/lib/libvirt/images/|grep supportme lrwxrwxrwx 1 root root 41 Май 25 09:50 supportme.img -> /home/libvirt/qemu/supportme/supportme.img server:/etc/libvirt # l /home/libvirt/qemu/supportme/supportme.img -rw-rw---- 1 root root 4130865152 Июл 1 11:33 /home/libvirt/qemu/supportme/supportme.img What permissions whould I use? Or where is to see any notices about package changes that affects libvirt working? Thanks -- 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=703392
https://bugzilla.novell.com/show_bug.cgi?id=703392#c1
James Fehlig
What permissions whould I use? Or where is to see any notices about package changes that affects libvirt working?
Well, intention is for libvirt to still work after this change :). I want to ensure your issue is resolved before this change makes it to a released product (12.1). Thanks for testing and reporting! -- 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=703392
https://bugzilla.novell.com/show_bug.cgi?id=703392#c2
Alexander R
Can you try the latest packages from OBS Virtualization project? Built packages can be found here
http://download.opensuse.org/repositories/Virtualization/openSUSE_Factory/
I add this repo, and get error after trying to update libvirt: nothing libxml2.so.2 provides. Before, I always used this repo: http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4 So, what's original source of the libvirt package?
What permissions whould I use? Or where is to see any notices about package changes that affects libvirt working?
Well, intention is for libvirt to still work after this change :). I want to ensure your issue is resolved before this change makes it to a released product (12.1). Thanks for testing and reporting!
-- 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=703392
https://bugzilla.novell.com/show_bug.cgi?id=703392#c3
--- Comment #3 from James Fehlig
(In reply to comment #1)
Can you try the latest packages from OBS Virtualization project? Built packages can be found here
http://download.opensuse.org/repositories/Virtualization/openSUSE_Factory/
I add this repo, and get error after trying to update libvirt: nothing libxml2.so.2 provides.
Before, I always used this repo: http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4
Opps, sorry, I thought you were running a full Factory setup. The repo you were using is the correct one for 11.4. In Virtualization project, latest libvirt package is configured to build for 11.3, 11.4, and Factory, with results published to http://download.opensuse.org/repositories/Virtualization/{openSUSE_11.3,openSUSE_11.4,openSUSE_Factory}. At any rate, I made some changes to libvirt in Virtualization project last Friday and those were what I wanted you to test. In the meantime, I've updated libvirt in that project to 0.9.3. Perhaps you can give it a spin? Thanks. -- 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=703392
https://bugzilla.novell.com/show_bug.cgi?id=703392#c4
Alexander R
(In reply to comment #2)
(In reply to comment #1)
Can you try the latest packages from OBS Virtualization project? Built packages can be found here
http://download.opensuse.org/repositories/Virtualization/openSUSE_Factory/
I add this repo, and get error after trying to update libvirt: nothing libxml2.so.2 provides.
Before, I always used this repo: http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4
Opps, sorry, I thought you were running a full Factory setup. The repo you were using is the correct one for 11.4. In Virtualization project, latest libvirt package is configured to build for 11.3, 11.4, and Factory, with results published to http://download.opensuse.org/repositories/Virtualization/{openSUSE_11.3,openSUSE_11.4,openSUSE_Factory}.
At any rate, I made some changes to libvirt in Virtualization project last Friday and those were what I wanted you to test. In the meantime, I've updated libvirt in that project to 0.9.3. Perhaps you can give it a spin? Thanks.
Now, i've installed version 0.9.3 and can't connect to qemu+ssh://root@server/system from virt-manager: Cannot recv data: Received disconnect from 10.6.6.1: 2: Too many authentication failures for root : Connection reset by peer Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/connection.py", line 1055, in _try_open None], flags) File "/usr/lib/python2.7/site-packages/libvirt.py", line 102, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirtError: Cannot recv data: Received disconnect from 10.6.6.1: 2: Too many authentication failures for root : Connection reset by peer But from console i can login via "ssh root@server" -- 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=703392
https://bugzilla.novell.com/show_bug.cgi?id=703392#c5
--- Comment #5 from Alexander R
https://bugzilla.novell.com/show_bug.cgi?id=703392
https://bugzilla.novell.com/show_bug.cgi?id=703392#c6
James Fehlig
server:/etc/libvirt # l /home/libvirt/qemu/supportme/supportme.img -rw-rw---- 1 root root 4130865152 Июл 1 11:33 /home/libvirt/qemu/supportme/supportme.img
Do any of the directories in that path not have execute permissions? I've had similar reports against SLES11 SP2 and noticed that removing execute permissions along the path causes the error you mentioned: # ll /tmp/jim/test/images/sles11sp1-kvm/disk0.raw -rw------- 1 root root 8589934592 Aug 11 21:15 /tmp/jim/test/images/sles11sp1-kvm/disk0.raw # ll /tmp/jim/ total 104 drwxr-xr-x 2 root root 4096 Aug 5 09:31 rpms # virsh start sles11sp1-kvm error: Failed to start domain sles11sp1-kvm error: internal error process exited while connecting to monitor: qemu-kvm: -drive file=/tmp/jim/test/images/sles11sp1-kvm/disk0.raw,if=none,id=drive-virtio-disk0,format=raw: could not open disk image /tmp/jim/test/images/sles11sp1-kvm/disk0.raw: Permission denied # chmod +x /tmp/jim/test/ # ll /tmp/jim/ drwx--x--x 3 root root 4096 Aug 11 21:05 test # virsh start sles11sp1-kvm Domain sles11sp1-kvm started -- 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=703392
https://bugzilla.novell.com/show_bug.cgi?id=703392#c7
James Fehlig
participants (1)
-
bugzilla_noreply@novell.com