How do I handle a failure to create a virtual machine on Ceph Enterprise Edition Data Storage?
Symptom
When creating a virtual machine on Ceph Enterprise Edition Data Storage, the following error appears:
failed to start vm[uuid:09779ea6fb6e4ae2ad6b239bf7dce7ee name:test] on kvm host[uuid:8a769650069f40a7ac97c7b98ce650d5, ip:192.168.5.252], because Traceback (most recent call last): File "/var/lib/zstack/virtualenv/kvm/lib/python2.7/site-packages/kvmagent/plugins/vm_plugin.py", line 4708, in start_vm self._start_vm(cmd) File "/var/lib/zstack/virtualenv/kvm/lib/python2.7/site-packages/kvmagent/plugins/vm_plugin.py", line 4628, in _start_vm 'unable to start vm[uuid:%s, name:%s], libvirt error: %s' % (cmd.vmInstanceUuid, cmd.vmName, str(e))) KvmError: unable to start vm[uuid:09779ea6fb6e4ae2ad6b239bf7dce7ee, name:test], libvirt error: internal error: qemu unexpectedly closed the monitor: 2021-01-13T10:14:38.093540Z qemu-kvm: -drive file=rbd:pool-b35d1f59707e4c6aabdfe74457dacccf/7133ff2b026449f8987ec8c0a10dbdee:id=zstack:auth_supported=cephx\;none:mon_host=172.25.15.120\:6789\;172.25.15.163\:6789\;172.25.12.55\:6789,file.password-secret=virtio-disk0-secret0,format=raw,if=none,id=drive-virtio-disk0: error reading header from 7133ff2b026449f8987ec8c0a10dbdee: No such file or directoryCause
In Ceph Enterprise Edition, hosts other than Mon nodes are missing the gateway server role, which causes the virtual machine to be created successfully but fail to start.
Solution
- Log in to the Ceph Enterprise Edition management node and add the non-Mon hosts as gateway server role.
How do I resolve an issue where an outdated qemu-guest-agent version on an Ubuntu virtual machine prevents online password changes?
Previous Page
Why is the network unavailable on a Windows virtual machine but working normally on a Linux virtual machine, when both are created using a Distributed Port Group?
Next Page