Bug 642719
| Summary: | virt-install goes into indefinite loop looking up for a volume if the storage pool doesn't exist | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Gurhan Ozen <gozen> |
| Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1 | CC: | dallan, dyuan, jburke, kxiong, mhideo, xen-maint, zpeng |
| Target Milestone: | alpha | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
virt-install may go into an indefinite loop when looking up a volume if the specified storage pool did not exist. This issue has been addressed and fixed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:42:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Gurhan Ozen
2010-10-13 16:15:40 UTC
Can't find the exact commit, but this isn't reproducible upstream, so assuming it's fixed. Should be fixed in python-virtinst-0.500.5-1.el6 Verified with python-virtinst-0.500.5-1.el6 and libvirt-0.8.7-1.el6.x86_64
1. virt-install --name test1 --cdrom /root/Downloads/en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso --hvm --disk vol=ttt/test1.img,size=1 --ram 512 --debug
Wed, 19 Jan 2011 16:24:02 DEBUG Launched with command line:
/usr/sbin/virt-install --name test1 --cdrom /root/Downloads/en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso --hvm --disk vol=ttt/test1.img,size=1 --ram 512 --debug
Wed, 19 Jan 2011 16:24:02 DEBUG Requesting libvirt URI default
Wed, 19 Jan 2011 16:24:02 DEBUG Received libvirt URI qemu:///system
Wed, 19 Jan 2011 16:24:02 DEBUG Requesting virt method 'hvm', hv type 'default'.
Wed, 19 Jan 2011 16:24:02 DEBUG Received virt method 'hvm'
Wed, 19 Jan 2011 16:24:02 DEBUG Hypervisor name is 'kvm'
Wed, 19 Jan 2011 16:24:02 DEBUG DISPLAY is not set: defaulting to nographics.
Wed, 19 Jan 2011 16:24:02 DEBUG Parsed volume: as pool='ttt' vol='test1.img'
Wed, 19 Jan 2011 16:24:02 DEBUG parse_disk: returning {'format': None, 'bus': None, 'readOnly': False, 'volInstall': None, 'path': 'ttt/test1.img', 'device': 'disk', 'volName': ('ttt', 'test1.img'), 'conn': <libvirt.virConnect instance at 0x24dcc68>, 'size': 1.0, 'driverType': None, 'driverCache': None, 'shareable': False, 'driverName': None, 'sparse': True}
Wed, 19 Jan 2011 16:24:02 ERROR Error with storage parameters: Couldn't lookup volume object: Storage pool not found: no pool with matching name 'ttt'
Wed, 19 Jan 2011 16:24:02 DEBUG Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/virtinst/cli.py", line 612, in disk_prompt
dev = VirtualDisk(**arg_dict)
File "/usr/lib/python2.6/site-packages/virtinst/VirtualDisk.py", line 593, in __init__
volObject = _lookup_vol_name(conn, volName)
File "/usr/lib/python2.6/site-packages/virtinst/VirtualDisk.py", line 256, in _lookup_vol_name
raise ValueError(_("Couldn't lookup volume object: %s" % str(e)))
ValueError: Couldn't lookup volume object: Storage pool not found: no pool with matching name 'ttt'
NO indefinite loops of printing display
Verification is passed.
verified this bug with: Linux localhost.localdomain 2.6.32-130.el6.x86_64 #1 SMP Tue Apr 5 19:58:31 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux python-virtinst-0.500.5-3.el6.noarch libvirt-0.8.7-17.el6.x86_64 passed.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
* virt-install may go into an indefinite loop when looking up a volume if the specified storage pool did not exist. This issue has been addressed and fixed. (BZ#642719)
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1 @@
-* virt-install may go into an indefinite loop when looking up a volume if the specified storage pool did not exist. This issue has been addressed and fixed. (BZ#642719)+virt-install may go into an indefinite loop when looking up a volume if the specified storage pool did not exist. This issue has been addressed and fixed.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0636.html |