Bug 1508377 - Can't change OS file for CDROM option in custom configuration before install
Summary: Can't change OS file for CDROM option in custom configuration before install
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-01 10:32 UTC by mxie@redhat.com
Modified: 2018-10-13 15:26 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-13 15:26:52 UTC
Embargoed:


Attachments (Terms of Use)
virt-manager.log (32.80 KB, text/plain)
2017-11-01 10:32 UTC, mxie@redhat.com
no flags Details
screenshot1 (71.01 KB, image/png)
2017-11-01 10:35 UTC, mxie@redhat.com
no flags Details
screenshot2 (73.38 KB, image/png)
2017-11-01 10:35 UTC, mxie@redhat.com
no flags Details

Description mxie@redhat.com 2017-11-01 10:32:19 UTC
Created attachment 1346397 [details]
virt-manager.log

Description of problem:
Can't change OS file for CDROM option in custom configuration before install

Version-Release number of selected component (if applicable):
virt-manager-1.4.3-1.el7.noarch
libvirt-3.8.0-1.el7.x86_64
qemu-kvm-rhev-2.10.0-3.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Create a new guest in virt-manager
Open virt-manager-> create a new vm-> select a rhel7.4 iso image to install guest->default setting until select "custom configuration before install"-> change rhel7.4 iso file to rhel6.9 iso file in CDROM option ,we can see the rhel6.9 iso file is connected normally, pls refer to screenshot1 besides, virt-manager debug info also shows rhel6.9 iso file has added to guest xml

*******************
[Wed, 01 Nov 2017 18:27:09 virt-manager 25943] DEBUG (libvirtobject:73) Redefining <vmmDomainVirtinst name=rhel7.4 id=0x45deb40> with XML diff:
--- Original XML
+++ New XML
@@ -32,6 +32,8 @@
       <target dev="vda" bus="virtio"/>
     </disk>
     <disk type="file" device="cdrom">
+      <driver name="qemu" type="raw"/>
+      <source file="/root/RHEL-6.9-20170309.0-Server-x86_64-dvd1.iso"/>
       <target dev="hda" bus="ide"/>
       <readonly/>
     </disk>
*********************

2.Then click "begin installation", but Guest will show rhel7.4 installation interface after beginning installation and CDROM is connected with rhel7.4 iso file again,pls refer to screenshot2

Actual results:
As above description

Expected results:
Can change OS file for CDROM option in custom configuration before install

Additional info:

Comment 1 mxie@redhat.com 2017-11-01 10:35:08 UTC
Created attachment 1346398 [details]
screenshot1

Comment 2 mxie@redhat.com 2017-11-01 10:35:39 UTC
Created attachment 1346399 [details]
screenshot2

Comment 3 Cole Robinson 2018-10-13 15:26:52 UTC
Thanks for the report, fixed upstream now

commit 2e6093d6b6b39c3c7ddbfbc457bbdd23c0f96a53
Author: Cole Robinson <crobinso>
Date:   Sat Oct 13 10:11:26 2018 -0400

    create: Show inserted CDROM media in customize


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