Bug 743636

Summary: virt-install --prompt fails with object attribute errors
Product: [Fedora] Fedora Reporter: Mark Watts <markrwatts>
Component: python-virtinstAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: berrange, clalancette, codehotter, crobinso, dougsland, eblake, itamar, jforbes, laine, pbabinca, spacewar, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-virtinst-0.600.1-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-04 05:25:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Debug output of virt-install --prompt --debug none

Description Mark Watts 2011-10-05 15:21:11 UTC
libvirt-0.9.6-2.fc16.x86_64
libvirt-client-0.9.6-2.fc16.x86_64
libvirt-python-0.9.6-2.fc16.x86_64


[root@localhost ~]# service libvirtd status
libvirtd.service - LSB: daemon for libvirt virtualization API
	  Loaded: loaded (/etc/rc.d/init.d/libvirtd)
	  Active: active (running) since Wed, 05 Oct 2011 15:51:49 +0100; 25min ago
	Main PID: 1248 (libvirtd)
	  CGroup: name=systemd:/system/libvirtd.service
		  ├ 1248 libvirtd --daemon
		  └ 1353 /usr/sbin/dnsmasq --strict-order --bind-interfaces...

[root@localhost ~]# lsmod | grep kvm
kvm_intel             119162  0 
kvm                   328086  1 kvm_intel

[root@localhost ~]# virt-install --prompt
What is the name of your virtual machine? 
RHEL6.1-Test
How much RAM should be allocated (in megabytes)? 
1024

Starting install...
ERROR    'NoneType' object has no attribute 'startswith'
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start RHEL6.1-Test
otherwise, please restart your installation.

Comment 1 Fedora Admin XMLRPC Client 2011-11-30 19:32:33 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2011-11-30 19:36:13 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Admin XMLRPC Client 2011-11-30 19:43:27 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Admin XMLRPC Client 2011-11-30 19:53:53 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Eric Blake 2011-12-01 23:51:52 UTC
Reassigning to python-virtinst, as owner of virt-install.

Comment 6 Pavol Babinčák 2012-01-10 12:27:17 UTC
Created attachment 551824 [details]
Debug output of virt-install --prompt --debug

Comment 7 Pavol Babinčák 2012-01-10 12:29:35 UTC
I've got into same bug on python-virtinst-0.600.0-5.fc16.noarch. Attached debug output of command:

su -c "/usr/bin/virt-install --prompt --debug"

Comment 9 Eric Smith 2012-02-01 09:54:26 UTC
Any chance of an F16 update package incorporating the upstream fix?

Comment 10 Cole Robinson 2012-02-01 13:15:13 UTC
I just did a new upstream release yesterday, so packages will be built today or tomorrow.

Comment 11 Fedora Update System 2012-02-01 16:37:36 UTC
python-virtinst-0.600.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/python-virtinst-0.600.1-1.fc16

Comment 12 Fedora Update System 2012-02-02 17:22:16 UTC
Package python-virtinst-0.600.1-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-virtinst-0.600.1-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1163/python-virtinst-0.600.1-1.fc16
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2012-02-04 05:25:14 UTC
python-virtinst-0.600.1-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.