Hello List,
It would be nice if somebody would write an up2date tutorial for this
since Stretch is now the official distro or provide packages with ceph
support on a separate repo.
I have to say that it's a big FAIL for them that this important support
functionality is not already included in the stock debian package!
I believe kvm itself has the support but not libvirt. These are the
stock packages:
oot@stretch-desktop:/home/peter/sources# dpkg --list | grep -i ceph
ii ceph 10.2.5-7.2
amd64 distributed storage and file system
ii ceph-base 10.2.5-7.2
amd64 common ceph daemon libraries and management tools
ii ceph-common 10.2.5-7.2
amd64 common utilities to mount and interact with a ceph
storage cluster
ii ceph-mon 10.2.5-7.2
amd64 monitor server for the ceph storage system
ii ceph-osd 10.2.5-7.2
amd64 OSD server for the ceph storage system
ii libcephfs1 10.2.5-7.2
amd64 Ceph distributed file system client library
ii python-cephfs 10.2.5-7.2
amd64 Python libraries for the Ceph libcephfs library
ii python-rados 10.2.5-7.2
amd64 Python libraries for the Ceph librados library
ii python-rbd 10.2.5-7.2
amd64 Python libraries for the Ceph librbd library
root@stretch-desktop:/home/peter/sources# dpkg --list | grep -i kvm
ii qemu-kvm 1:2.8+dfsg-6
amd64 QEMU Full virtualization on x86 hardware
root@stretch-desktop:/home/peter/sources# dpkg --list | grep -i libvirt
ii libvirt-daemon 3.0.0-4
amd64 Virtualization daemon
ii libvirt0 3.0.0-4
amd64 library for interfacing with different virtualization
systems
If I do:
qemu-img -h
Supported formats: blkdebug blkreplay blkverify bochs cloop dmg file ftp
ftps gluster host_cdrom host_device http https iscsi iser luks nbd nfs
null-aio null-co parallels qcow qcow2 qed quorum raw rbd replication
sheepdog ssh vdi vhdx vmdk vpc vvfat
shows that rbd is supported however when I try to start a VM:
error: Failed to start domain jessie
Unknown protocol 'rbd'
I would note that my ceph perfectly working with ceph -s and the secret
is ok as well.
I am following this tutorial:
http://ceph.com/geen-categorie/using-ceph-rbd-with-libvirt-on-debian-wheezy/
I have rebuilt KVM and LIBVIRT
which each create a bunch of metapackages:
qemu-2.8+dfsg qemu-system_2.8+dfsg-6_amd64.deb
qemu-system-sparc-dbgsym_2.8+dfsg-6_amd64.deb
qemu_2.8+dfsg-6_amd64.buildinfo
qemu-system-arm_2.8+dfsg-6_amd64.deb
qemu-system-x86_2.8+dfsg-6_amd64.deb
qemu_2.8+dfsg-6_amd64.changes
qemu-system-arm-dbgsym_2.8+dfsg-6_amd64.deb
qemu-system-x86-dbgsym_2.8+dfsg-6_amd64.deb
qemu_2.8+dfsg-6_amd64.deb
qemu-system-common_2.8+dfsg-6_amd64.deb
qemu-user_2.8+dfsg-6_amd64.deb
qemu_2.8+dfsg-6.debian.tar.xz
qemu-system-common-dbgsym_2.8+dfsg-6_amd64.deb
qemu-user-binfmt_2.8+dfsg-6_amd64.deb
qemu_2.8+dfsg-6.dsc qemu-system-mips_2.8+dfsg-6_amd64.deb
qemu-user-dbgsym_2.8+dfsg-6_amd64.deb
qemu_2.8+dfsg.orig.tar.xz
qemu-system-mips-dbgsym_2.8+dfsg-6_amd64.deb
qemu-user-static_2.8+dfsg-6_amd64.deb
qemu-block-extra_2.8+dfsg-6_amd64.deb
qemu-system-misc_2.8+dfsg-6_amd64.deb
qemu-user-static-dbgsym_2.8+dfsg-6_amd64.deb
qemu-block-extra-dbgsym_2.8+dfsg-6_amd64.deb
qemu-system-misc-dbgsym_2.8+dfsg-6_amd64.deb
qemu-utils_2.8+dfsg-6_amd64.deb
qemu-guest-agent_2.8+dfsg-6_amd64.deb
qemu-system-ppc_2.8+dfsg-6_amd64.deb
qemu-utils-dbgsym_2.8+dfsg-6_amd64.deb
qemu-guest-agent-dbgsym_2.8+dfsg-6_amd64.deb
qemu-system-ppc-dbgsym_2.8+dfsg-6_amd64.deb
qemu-kvm_2.8+dfsg-6_amd64.deb
qemu-system-sparc_2.8+dfsg-6_amd64.deb
libnss-libvirt_3.0.0-4_amd64.deb libvirt_3.0.0-4.debian.tar.xz
libvirt-daemon-system_3.0.0-4_amd64.deb
libnss-libvirt-dbgsym_3.0.0-4_amd64.deb libvirt_3.0.0-4.dsc
libvirt-daemon-system-dbgsym_3.0.0-4_amd64.deb
libvirt0_3.0.0-4_amd64.deb libvirt_3.0.0.orig.tar.xz
libvirt-dev_3.0.0-4_amd64.deb
libvirt0-dbgsym_3.0.0-4_amd64.deb libvirt-clients_3.0.0-4_amd64.deb
libvirt-doc_3.0.0-4_all.deb
libvirt-3.0.0 libvirt-clients-dbgsym_3.0.0-4_amd64.deb
libvirt-sanlock_3.0.0-4_amd64.deb
libvirt_3.0.0-4_amd64.buildinfo libvirt-daemon_3.0.0-4_amd64.deb
libvirt-sanlock-dbgsym_3.0.0-4_amd64.deb
libvirt_3.0.0-4_amd64.changes libvirt-daemon-dbgsym_3.0.0-4_amd64.deb
qemu-kvm
I have installed these on my Debian 9 and unfortunately no change I
still keep getting Unknown protocol 'rbd'.
Maybe this is not correct for libvirt:
cat libvirt-3.0.0/debian/optional-features
--with-storage-rbd
Claude
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com