peripherals: 0.909 KVM: 0.904 permissions: 0.898 virtual: 0.893 hypervisor: 0.868 TCG: 0.854 device: 0.850 vnc: 0.848 register: 0.847 network: 0.842 files: 0.840 VMM: 0.833 risc-v: 0.822 architecture: 0.818 graphic: 0.818 performance: 0.805 PID: 0.804 boot: 0.803 mistranslation: 0.799 debug: 0.783 ppc: 0.776 arm: 0.768 assembly: 0.763 user-level: 0.754 kernel: 0.721 semantic: 0.720 x86: 0.686 socket: 0.684 i386: 0.457 libivrtd fork qemu to create vm ,which start with ceph rbd device, after vm status:runing , the qemu stuck at booting from hard disk.... Description of problem: [root@ceph-client ceph]# virsh list --all Id Name State ---------------------------------------------------- 19 c7_ceph running the vm qemu stuck at booting from hard disk..... Steps to reproduce: 1. use ceph-deploy deploy a ceph distribute storage, which use to store vm's qcow2 files,this ceph has 3 osd node 2. refer the link https://docs.ceph.com/en/quincy/rbd/libvirt/ create a ceph user :client.libvirt 3. import a exists qcow2 file into ceph libvit-pool, then start vm [root@ceph-1 ~]# ceph -s cluster: id: 3fbbf51f-88fd-4883-9f24-595bf853c5f2 health: HEALTH_OK services: mon: 1 daemons, quorum ceph-1 mgr: ceph-1(active) osd: 3 osds: 3 up, 3 in data: pools: 1 pools, 128 pgs objects: 940 objects, 3.6 GiB usage: 31 GiB used, 209 GiB / 240 GiB avail pgs: 128 active+clean [root@ceph-1 ~]#ceph auth ls client.libvirt key: AQD/XwFkq7kHMhAA1OmPtKPVno6gjmZleOevOA== caps: [mon] allow r caps: [osd] allow class-read object_prefix rbd_children, allow rwx pool=libvirt-pool [root@ceph-client ceph]# cat ceph.conf [global] fsid = 3fbbf51f-88fd-4883-9f24-595bf853c5f2 mon_initial_members = ceph-1 mon_host = 172.24.193.62 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx osd_pool_default_size = 2 [root@ceph-client ceph]# [root@ceph-client ceph]# virsh start c7_ceph Domain c7_ceph started [root@ceph-client ceph]# [root@ceph-client ceph]# virsh list --all Id Name State ---------------------------------------------------- 19 c7_ceph running /usr/local/qemu-3.0/bin/qemu-system-x86_64
======================== [root@ceph-client ceph]# cat /run/libvirt/qemu/c7_ceph.xml Broadwell c7_ceph ff08671e-824c-4939-80ec-602235c0662e 4194304 4194304 2 /machine hvm Broadwell destroy restart destroy /usr/local/qemu-3.0/bin/qemu-system-x86_64