Bug 980676
Summary: | Virt-manager will hang there while specify the disk during the rhel7 guest installation | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | zhenfeng wang <zhwang> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | acathrow, ajia, codong, dyuan, gsun, jjaburek, jtomko, lcui, lsu, mkletzan, mvadkert, mzhan, shyu, tzheng, ydu, zpeng, zsong |
Target Milestone: | beta | Keywords: | TestBlocker |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.1.1-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 13:16:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 717785 |
Description
zhenfeng wang
2013-07-03 02:41:01 UTC
If I have installed a guest,then try to add another disk to the guest,virt-manager will hang as described. Also I tried to use virsh to create a volume in the pool,it can create successfully. I reproduce it only with virsh command , so this is maybe a libvirt's bug. Same packages with commend 0 1.create two img for testing # qemu-img create -f raw /var/lib/libvirt/images/aaa.img 10M Formatting '/var/lib/libvirt/images/aaa.img', fmt=raw size=10485760 # qemu-img create -f raw /var/lib/libvirt/images/bbb.img 10M Formatting '/var/lib/libvirt/images/bbb.img', fmt=raw size=10485760 #virsh pool-refresh default Pool default refreshed 2.to reproduce the issue #virsh vol-key /var/lib/libvirt/images/aaa.img /var/lib/libvirt/images/aaa.img #virsh vol-key /var/lib/libvirt/images/bbb.img //hang here And all commands that related "vol" and "pool" will hang too. # virsh hostname localhost.localdomain #virsh pool-list --all //hang here I can reproduce it. Also, I met a similar problem "virsh vol-clone" will hang, after that, all commands related with "vol" and "pool" will hang too. 1.# virsh vol-list default Name Path ----------------------------------------- kvm-rhel6.3-x86_64-qcow2.img /var/lib/libvirt/images/kvm-rhel6.3-x86_64-qcow2.img 2. # virsh vol-clone /var/lib/libvirt/images/kvm-rhel6.3-x86_64-qcow2.img test.img // hang here // CTRL+c to cancel 3. # virsh list Id Name State ---------------------------------------------------- 2 kvm-rhel6.3-x86_64-qcow2-virtio running 4. # systemctl restart libvirtd.service //hang Does this the same problem as comment 0 ? As the bug block virt-manager installation testing, virsh command testing, set the TestBlocker on it Looks like libvirt-1.1.0 has few locking problems. However, this is not related to virt-manager, reassigning to libvirt. Upstream patch proposed: https://www.redhat.com/archives/libvir-list/2013-July/msg00291.html Now fixed upstream: commit fe89fd3b4071242ce9bbae6e1178fee30dc2f4f9 Author: Ján Tomko <jtomko> AuthorDate: 2013-07-04 14:41:46 +0200 Commit: Ján Tomko <jtomko> CommitDate: 2013-07-04 14:41:46 +0200 Unlock the storage volume object after looking it up Introduced by c930410. https://bugzilla.redhat.com/show_bug.cgi?id=980676 git describe: v1.1.0-50-gfe89fd3 *** Bug 985372 has been marked as a duplicate of this bug. *** Can reproduce this with build: libvirt-1.1.0-2.el7.x86_64 verify with libvirt-1.1.1-1.el7.x86_64 step: 1.create two img for testing # qemu-img create -f raw /var/lib/libvirt/images/aaa.img 10M Formatting '/var/lib/libvirt/images/aaa.img', fmt=raw size=10485760 # qemu-img create -f raw /var/lib/libvirt/images/bbb.img 10M Formatting '/var/lib/libvirt/images/bbb.img', fmt=raw size=10485760 #virsh pool-refresh default Pool default refreshed #virsh vol-key /var/lib/libvirt/images/aaa.img /var/lib/libvirt/images/aaa.img # virsh vol-key /var/lib/libvirt/images/bbb.img /var/lib/libvirt/images/bbb.img no hang occured. # virsh vol-clone /var/lib/libvirt/images/aaa.img test.img Vol test.img cloned from aaa.img # systemctl restart libvirtd.service no hang occured. worked as expect. move to verified. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |