Bug 529351

Summary: OS variant 'rhel6; does not exist in our dictionary for OS type 'linux'
Product: [Fedora] Fedora Reporter: Alexander Todorov <atodorov>
Component: python-virtinstAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: berrange, crobinso, hbrock, jforbes, virt-maint, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.400.3-12.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-29 02:54:26 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 Alexander Todorov 2009-10-16 10:22:33 UTC
Description of problem:

Installing a RHEL6 KVM guest with virt-manager in F11 leads to traceback when it tries to autodetect the OS type (autodetect is on by default):

ERROR (create:1515) Unable to complete install '<type 'exceptions.ValueError'> OS variant 'rhel6; does not exist in our dictionary for OS type 'linux'
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1497, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 539, in start_install
    self._prepare_install(meter)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 594, in _prepare_install
    meter = meter)
  File "/usr/lib/python2.6/site-packages/virtinst/DistroInstaller.py", line 233, in prepare
    self._prepare_kernel_and_initrd(guest, distro, meter)
  File "/usr/lib/python2.6/site-packages/virtinst/DistroInstaller.py", line 192, in _prepare_kernel_and_initrd
    guest.os_variant = os_variant
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 240, in set_os_variant
    {'var' : val, 'ty' : self._os_type}
ValueError: OS variant 'rhel6; does not exist in our dictionary for OS type 'linux'


Version-Release number of selected component (if applicable):
virt-manager-0.7.0-7.fc11.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Start install of new RHEL6 guest
2. When entering the tree URL (http) leave autodetect checked on
3. When pressing the finish button there's a traceback
  
Additional info:

Comment 1 Fedora Update System 2009-10-27 06:25:52 UTC
python-virtinst-0.400.3-12.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update python-virtinst'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10715

Comment 2 Fedora Update System 2009-10-29 02:54:03 UTC
python-virtinst-0.400.3-12.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.