Bug 752552 - VM inspection fails when cdrom is attached to VM
Summary: VM inspection fails when cdrom is attached to VM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 16
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: 2011-11-09 20:20 UTC by Lars Sjöström
Modified: 2012-02-05 21:50 UTC (History)
8 users (show)

Fixed In Version: virt-manager-0.9.1-1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-05 21:50:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to exclude cdrom from vm inspection (870 bytes, patch)
2011-11-09 20:20 UTC, Lars Sjöström
no flags Details | Diff

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.


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