Bug ID 907319
Summary virt-manager: Unable to complete install: 'local variable 'distro_distro' referenced before assignment'
Classification openSUSE
Product openSUSE Factory
Version 201411*
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee carnold@suse.com
Reporter mpluskal@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 615103 [details]
virt-manager --debug

virt-manager crate vm fails with:
Unable to complete install: 'local variable 'distro_distro' referenced before
assignment'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in
cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1958, in
do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 409, in start_install
    self._prepare_install(meter, dry)
  File "/usr/share/virt-manager/virtinst/guest.py", line 283, in
_prepare_install
    self.installer.prepare(self, meter)
  File "/usr/share/virt-manager/virtinst/installer.py", line 200, in prepare
    self._prepare(guest, meter)
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 463, in
_prepare
    self._prepare_kernel_url(guest, fetcher)
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 371, in
_prepare_kernel_url
    store = self._get_store(guest, fetcher)
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 355, in
_get_store
    self._cached_store = urlfetcher.getDistroStore(guest, fetcher)
  File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 445, in
getDistroStore
    dist = _distroFromContent(fetcher, arch, _type)
  File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 372, in
_distroFromContent
    elif distro_distro:
UnboundLocalError: local variable 'distro_distro' referenced before assignment

# zypper info virt-manager|grep Version
Version: 1.1.0-2.1


You are receiving this mail because: