Bug 1800638 - Windows VM Fails to boot after repetetive CD ROM attachment
Summary: Windows VM Fails to boot after repetetive CD ROM attachment
Keywords:
Status: CLOSED DUPLICATE of bug 1802001
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 2.4.0
Assignee: Petr Kotas
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-07 15:32 UTC by Radim Hrazdil
Modified: 2020-03-16 12:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-12 19:44:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
virt launcher log (278.48 KB, application/octet-stream)
2020-02-07 15:32 UTC, Radim Hrazdil
no flags Details

Description Radim Hrazdil 2020-02-07 15:32:59 UTC
Created attachment 1661716 [details]
virt launcher log

Description of problem:
When a user adds a CD to a windows machine and then removes it and decides to add a different one, the VM fails to boot with the following error:

Generated from virt-handler
server error. command SyncVMI failed: "LibvirtError(Code=67, Domain=10, Message='unsupported configuration: disk type 'virtio' of 'vdb' does not support ejectable media')"



Version-Release number of selected component (if applicable):
OCP 4.3
CNV 2.2

How reproducible:
100%

Steps to Reproduce:
1. Create a Windows VM
2. Attach a CD ROM, for example windows guest disk
 - registry.redhat.io/container-native-virtualization/virtio-win
3. Start the VM. Wait for VM to boot up. Stop the VM
4. Detach the CD ROM and attach a different one
 - for example container: kubevirt/virtio-container-disk
5. Start the VM

Actual results:
Error stated above

Expected results:
Successful boot

Additional info:

Comment 2 Petr Kotas 2020-03-10 08:44:49 UTC
Hi Radim, please do file the VM yaml.

@stu I do believe this would be related to the CDROM virtio error.

Comment 3 sgott 2020-03-12 19:44:59 UTC
Yes, this is the same issue as reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1802001

*** This bug has been marked as a duplicate of bug 1802001 ***

Comment 4 Radim Hrazdil 2020-03-16 08:38:54 UTC
After discussion with Petr Kotas, I have opened BZ1813198 for User interface to always attach CD-ROMs with sata bus.


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