Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Virt-manager will hang there while specify the disk type qcow2 or select an existing disk during the rhel7 guest installation
Version-Release number of selected component (if applicable):
virt-manager-0.10.0-1.el7.noarch
libvirt-1.1.0-1.el7.x86_64
qemu-kvm-1.5.1-1.el7.x86_64
kernel-3.10.0-0.rc7.64.el7.x86_64
How reproducible:
100%
Steps
1.#virt-manager
2.select Network install
3.Input the correct url
http://download.englab.nay.redhat.com/pub/rhel/rel-eng/latest-RHEL-7/compose/Server/x86_64/os/
4.specify the guest's disk type qcow2 or select an existing disk, then the virt-manager will hang there after I type the forward button
select managed or other existing storage =>Browse=>New Volume=>specy the format qcow2=>finish=>choose the qcow2 disk=>forward
5.while the virt-manager hang there ,check the defalut vol-list ,this command will also hang there
# virsh vol-list defualt
^C
# virsh vol-dumpxml default guest.img
^C
6.The libvirtd service didn't hang there,other virsh command still works well
7.The guest can be installed successfully in libvirt-1.0.6-1.el7.x86_64
Actual results:
The guest can't be installed with the virt-manager in rhel7
Expected results:
The guest should be installed successfully with the virt-manager
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 ?
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
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.