Bug 1478546

Summary: virt-manager disk creation on remote KVM leads to "'NoneType' object has no attribute 'get_disk_type'"
Product: [Fedora] Fedora Reporter: Werner Gold <wgold>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: berrange, crobinso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-14 20:29:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Werner Gold 2017-08-04 18:56:46 UTC
Description of problem:

Disk creation or adding a disk for a virtual machine on a remote RHEL 6.9 host leads to the error:

'NoneType' object has no attribute 'get_disk_type'

Locally on the F26, it seems to work.

Version-Release number of selected component (if applicable):
virt-manager-1.4.1-2.fc26.noarch

Remote System:
libvirt-0.10.2-62.el6.x86_64

How reproducible:

At creation of new machine or at adding a HD to an existing machine.

Comment 1 Cole Robinson 2017-08-06 21:12:22 UTC
This is fixed upstream with this patch, will be doing a virt-manager release soon:

commit 713e07d4a2c4a1ef31bff2c6295df5e3934fd6eb
Author: Pavel Hrdina <phrdina>
Date:   Wed May 17 09:18:49 2017 +0200

    virtinst.diskbackend: set pool after creating StorageVolume

Comment 2 Fedora Update System 2017-08-13 04:04:14 UTC
virt-manager-1.4.2-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-78bdd17f19

Comment 3 Fedora Update System 2017-08-14 21:51:46 UTC
virt-manager-1.4.2-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.