Bug 628721
Summary: | 'VirtualDisk' object has no attribute 'DRIVER_TYPE_AIO' | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Watts <markrwatts> | ||||
Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | berrange, cb20777, clalance, crobinso, itamar, jforbes, j, mike_parlett, veillard, virt-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-virtinst-0.500.6-1.fc14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-04-16 20:55:37 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: | |||||||
Attachments: |
|
Description
Mark Watts
2010-08-30 20:22:43 UTC
Thanks for the report, fixed upstream: http://hg.fedorahosted.org/hg/python-virtinst/rev/8c9af019b3ec *** Bug 636999 has been marked as a duplicate of this bug. *** if the upstream fix is this one 1.1 --- a/virtinst/Installer.py Mon Aug 30 17:01:46 2010 -0400 1.2 +++ b/virtinst/Installer.py Mon Aug 30 18:01:15 2010 -0400 1.3 @@ -342,7 +342,7 @@ 1.4 return True 1.5 1.6 if (disk.driver_type and 1.7 - disk.driver_type not in [disk.DRIVER_TYPE_AIO, 1.8 + disk.driver_type not in [disk.DRIVER_TYPE_RAW, 1.9 disk.DRIVER_TYPE_QEMU]): 1.10 # Might be a non-raw format 1.11 return True Then it just changes the error to: ERROR 'VirtualDisk' object has no attribute 'DRIVER_TYPE_RAW' when installing XP from .iso to a .img target Yeah, an additional fix and unit test was committed later: http://hg.fedorahosted.org/hg/python-virtinst/rev/71cf9a1113c8 Just checked the FC14 Release code and this update is not in I have tried the change as above and it certainly work for an XP install either from virt-install or console. its marked as post so fingers crossed I've also run into this problem on F14. How exactly do I get this update? Do I need to enable the "updates-testing" repo? Sorry, I should have "just done it" - then I would have seen that there is no update. Is the correct approach to just manually replace the single "Installer.py" file mentioned in Comment 4? Created attachment 467837 [details]
Patch for F14 code
There isn't an update yet. An interim fix is to download the attachment, then as root run
patch -p2 -d /usr/lib/python2.7/site-packages/virtinst < /path/to/the/downloaded/file.patch
If for some reason that makes thing worse, you can recover with
yum install yum-utils
yumdownloader python-virtinst
rpm -Uvh --force python-virtinst*.rpm
An update is coming soon-ish, I'm just trying to get some work done before I push an upstream release.
Thanks! I applied the F14 patch (in comment #8) and all is well :-) python-virtinst-0.500.6-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/python-virtinst-0.500.6-1.fc14 python-virtinst-0.500.4-2.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/python-virtinst-0.500.4-2.fc13 Package python-virtinst-0.500.4-2.fc13: * should fix your issue, * was pushed to the Fedora 13 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-virtinst-0.500.4-2.fc13' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/python-virtinst-0.500.4-2.fc13 then log in and leave karma (feedback). python-virtinst-0.500.4-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. python-virtinst-0.500.6-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |