Bug 488731 - Python exception provisioning new guest
Python exception provisioning new guest
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: python-virtinst (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Berrange
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-05 09:38 EST by Daniel Berrange
Modified: 2009-03-05 10:23 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-03-05 10:23:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Berrange 2009-03-05 09:38:37 EST
Description of problem:
# virt-install --ram 300 --location http://support-uk.fab.redhat.com/mrepo/www/f10-i386/disc1/ --hvm --vnc --noautoconsole --name demo --file /var/lib/libvirt/images/demo.img --file-size 1
ERROR    local variable 'cache' referenced before assignment
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 779, in <module>
    main()
  File "/usr/sbin/virt-install", line 600, in main
    options.sparse, options.nodisks, guest, ishvm, conn)
  File "/usr/sbin/virt-install", line 243, in get_disks
    is_file_path), disk, size)
  File "/usr/sbin/virt-install", line 243, in <lambda>
    is_file_path), disk, size)
  File "/usr/sbin/virt-install", line 195, in get_disk
    driverCache=cache)


Version-Release number of selected component (if applicable):
python-virtinst-0.400.2-1.fc11.noarch

How reproducible:
Always

Steps to Reproduce:
1. virt-install --ram 300 --location http://support-uk.fab.redhat.com/mrepo/www/f10-i386/disc1/ --hvm --vnc --noautoconsole --name demo --file /var/lib/libvirt/images/demo.img --file-size 1
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Cole Robinson 2009-03-05 10:23:46 EST
Damn. I wish pylint would have caught this, but then again I wish _I_ caught this.

Fixed in python-virtinst-0.400.2-3.fc11. Closing as RAWHIDE.

Note You need to log in before you can comment on or make changes to this bug.