CentOS7.6: Unable to launch vm directly from virsh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Austin Sun |
Bug Description
Brief Description
-----------------
Failed to launch vm with UEFI boot.
Severity
--------
Major
Steps to Reproduce
------------------
# ssh to compute host (baremetal)
# copy following guest xml file onto this host:
# cat orphan_guest.xml
<domain type='kvm'>
<name>
<uuid>
<memory>
<currentMemo
<vcpu>1</vcpu>
<os>
<type arch='x86_64' machine=
<boot dev='cdrom'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset=
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='disk'>
<source file='/
<target dev='hda' bus='ide'/>
</disk>
<disk type='file' device='cdrom'>
<source file='/
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
</devices>
</domain>
# define it in virsh
Send 'sudo virsh define orphan_guest.xml'
Domain orphan-6 defined from orphan_guest.xml
compute-3:~$
# start it in virsh
Send 'sudo virsh start orphan-6'
error: Failed to start domain orphan-6
error: internal error: qemu unexpectedly closed the monitor: 2019-02-
2019-02-
Is another process using the image?
compute-3:~$
Expected Behavior
------------------
VM successfully started directly from virsh
Actual Behavior
------------------
error: Failed to start domain orphan-6
error: internal error: qemu unexpectedly closed the monitor: 2019-02-
2019-02-
Is another process using the image?
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
f/centos76 as 2019/01/30
Timestamp/Logs
--------------
Easy to reproduce.
Changed in starlingx: | |
assignee: | nobody → Cindy Xie (xxie1) |
Similarly with https:/ /bugs.launchpad .net/starlingx/ +bug/1814335, could you share tis-centos- guest.img ? and does this img contain EFI boot feature ?
Thanks.