Bug 1209720 - Install options missing for ppc64le host
Summary: Install options missing for ppc64le host
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-08 04:12 UTC by David Gibson
Modified: 2015-05-02 20:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-02 20:01:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Gibson 2015-04-08 04:12:17 UTC
Description of problem:

I have virt-manager running on an x86 laptop, but connecting to (amongst other things) a ppc64le qemu/kvm host.  With this host selected, clicking the install button gives a dialog with most options unavailable.

Version-Release number of selected component (if applicable):

virt-manager-1.1.0-5.git310f6527.fc21.noarch

How reproducible:

100%

Steps to Reproduce:
1. Add a connection to virt-manager with a qemu+ssh URL referring to a ppc64le host machine.
2. Select this connection
3. Click the "Create a new virtual machine" bitton

Actual results:

The first screen of the new VM wizard appears, but only the "Import existing disk" option is available.  The "Local install media", "Network install" and "Network boot" options are greyed out.

Expected results:

All normal install options available.

Additional info:

Comment 1 Cole Robinson 2015-04-08 13:31:56 UTC
Thanks for the report, fixed upstream now:

commit 68a11727a49f7c07bc3fbf14a71b65edb53a8dd7
Author: Cole Robinson <crobinso>
Date:   Wed Apr 8 09:31:07 2015 -0400

    create: Show proper install options for ppc64le (bz 1209720)

Comment 2 David Gibson 2015-04-13 06:49:34 UTC
What's the likely progression from upstream fix to Fedora?  I'm guessing at this stage it would probably end up in Fedora 23?

Comment 3 Cole Robinson 2015-04-13 16:11:02 UTC
I was planning on backporting to f21+

Comment 4 Fedora Update System 2015-04-13 22:43:49 UTC
virt-manager-1.1.0-6.git310f6527.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/virt-manager-1.1.0-6.git310f6527.fc21

Comment 5 Fedora Update System 2015-04-18 09:34:45 UTC
Package virt-manager-1.1.0-6.git310f6527.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-1.1.0-6.git310f6527.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-6281/virt-manager-1.1.0-6.git310f6527.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-04-18 20:49:16 UTC
virt-manager-1.1.0-7.git310f6527.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/virt-manager-1.1.0-7.git310f6527.fc21

Comment 7 David Gibson 2015-04-20 01:10:18 UTC
I downloaded and tried virt-manager-1.1.0-7.git310f6527.fc21.  The missing install options are now available.  However, I'm unable to proceed with the install, due to a similar error to that in bug 1209723 comment 7.

Upon cliking the "Finish" button at the end of the install wizard, an error message pops up:

Error starting installation: global name 'logging' is not defined

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1781, in finish
    self.customize(guest)
  File "/usr/share/virt-manager/virtManager/create.py", line 1813, in customize
    self.config_window = vmmDetails(virtinst_guest, self.topwin)
  File "/usr/share/virt-manager/virtManager/details.py", line 399, in __init__
    self.init_details()
  File "/usr/share/virt-manager/virtManager/details.py", line 784, in init_details
    domcaps = self.vm.get_domain_capabilities()
  File "/usr/share/virt-manager/virtManager/domain.py", line 513, in get_domain_capabilities
    self.get_xmlobj())
  File "/usr/share/virt-manager/virtinst/domcapabilities.py", line 103, in build_from_guest
    guest.emulator, guest.os.arch, guest.os.machine, guest.type)
  File "/usr/share/virt-manager/virtinst/domcapabilities.py", line 92, in build_from_params
    logging.debug("Error fetching domcapabilities XML",
NameError: global name 'logging' is not defined

Comment 8 Cole Robinson 2015-04-20 15:30:02 UTC
Sorry, messed up the backport. Fixed build coming shortly

Comment 9 Cole Robinson 2015-05-02 20:01:39 UTC
virt-manage-1.1.0-8 is in stable now


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