Bug 1508715 - virt-manager unable to add hardware
Summary: virt-manager unable to add hardware
Keywords:
Status: CLOSED DUPLICATE of bug 1505532
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: rawhide
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-02 02:39 UTC by Jeremy Linton
Modified: 2017-11-02 16:54 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-02 16:54:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jeremy Linton 2017-11-02 02:39:03 UTC
Description of problem: Running rawhide on aarch64/hikey I am trying to add additional hardware to a kvm guest.  When "Add Hardware" is clicked from the GUI, it displays "Error launching hardware dialog: 'NoneType' object is not iterable.



Version-Release number of selected component (if applicable): virt-manager-1.4.3-1.fc28.noarch

How reproducible: So far 100%, I tried it while running, stopped, and from a new instance.


Steps to Reproduce:
1. Install virt-manager/qemu/libvirt
2. run virt-manager, create new vm
3. From lightbulb/hardware config clikc "Add hardware"

Actual results:
Error launching hardware dialog: 'NoneType' object is not iterable

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 1407, in add_hardware
    self.addhw = vmmAddHardware(self.vm, self.is_customize_dialog)
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 120, in __init__
    self._set_initial_state()
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 320, in _set_initial_state
    self._build_panic_models(combo)
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 980, in _build_panic_models
    for m in
virtinst.VirtualPanicDevice.get_models(self.vm.get_xmlobj().os):
TypeError: 'NoneType' object is not iterable


Expected results:
I can add additional hd's/etc.

Comment 1 Jeremy Linton 2017-11-02 16:54:48 UTC

*** This bug has been marked as a duplicate of bug 1505532 ***


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