Bug 752552

Summary: VM inspection fails when cdrom is attached to VM
Product: [Fedora] Fedora Reporter: Lars Sjöström <lars>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: berrange, crobinso, dougsland, dpierce, hbrock, jforbes, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-manager-0.9.1-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-05 21:50:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to exclude cdrom from vm inspection none

Description Lars Sjöström 2011-11-09 20:20:29 UTC
Created attachment 532660 [details]
Patch to exclude cdrom from vm inspection

Description of problem:
the new feature vm inspection fails when a cdrom is attached to the VM.


Version-Release number of selected component (if applicable):
virt-manager-0.9.0-7.fc16.noarch

How reproducible:
attach a ISO file to a VM and restart virt-manager.

Steps to Reproduce:
1. attach a ISO file to a VM. 
2. restart virt-manager with debug flag.
   #virt-manager --debug
3. VM inspeciton will try to open the ISO for inspection stead of the disk file.
  
Actual results:

2011-11-09 20:47:56,165 (inspection:126): qemu:///system:test-rhel61: processing started
2011-11-09 20:48:00,558 (inspection:247): detected operating system: linux rhel 6.0 (unknown)
2011-11-09 20:48:00,559 (inspection:248): hostname: unknown



Expected results:
2011-11-09 20:52:55,349 (inspection:133): qemu:///system:test-rhel61: processing done
2011-11-09 20:52:55,349 (inspection:126): qemu:///system:rhel61-base: processing started
2011-11-09 20:53:01,728 (inspection:248): detected operating system: linux rhel 6.1 (Red Hat Enterprise Linux Server release 6.1 (Santiago))
2011-11-09 20:53:01,746 (inspection:249): hostname: localhost.localdomain


Additional info:
see attachment for patch

Comment 1 Cole Robinson 2011-11-10 18:30:00 UTC
Thanks for the report, pushed your fix upstream:

http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=9d2119ab3ec006bab1fe7d8b1a5ecfc8265cc7bc

Comment 2 Fedora Update System 2012-02-01 17:06:37 UTC
virt-manager-0.9.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/virt-manager-0.9.1-1.fc16

Comment 3 Fedora Update System 2012-02-02 17:31:02 UTC
Package virt-manager-0.9.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 virt-manager-0.9.1-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1206/virt-manager-0.9.1-1.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-02-05 21:50:58 UTC
virt-manager-0.9.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.