Feature #7546
closedtest qemu with rbd on rhel7
100%
Description
With a symlink from /usr/lib64/qemu/librbd.so to /usr/lib64/librbd.so, qemu (as installed in the qemu-kvm-rhev package) should be able to create/delete/show rbd images with qemu-img, and kvm should be able to boot from rbd and attach/detach additional rbd disks.
Updated by Ian Colle about 10 years ago
- Assignee set to Sandon Van Ness
Updated by Sandon Van Ness about 10 years ago
having a lot of trouble tracking down the qemu-kvm-rhev package even after adding the subscription...
Updated by Sandon Van Ness about 10 years ago
- % Done changed from 0 to 90
So finally got the packages and tested... I had no problems installing and accessing our long running cluster which is running pretty bleeding edge ceph (0.77-917-gd1f8742):
write(1, "Formatting 'rbd:libvirt-pool/3g'"..., 74) = 74
stat("/usr/lib64/qemu/librbd.so.1", {st_mode=S_IFREG|0755, st_size=996608, ...}) = 0
open("/usr/lib64/qemu/librbd.so.1", O_RDONLY|O_CLOEXEC) = 6
I also was able to start a VM with qemu-kvm and use a block device created with qemu-img. I was able to use/create a file-system. I am not sure how to do the on the fly attach-detach of the disk yet but so far things look good:
[root@vpm001 ~]# lsof -p 30837 | grep -i rbd
qemu-kvm 30837 root mem REG 253,1 996608 25776404 /usr/lib64/librbd.so.1.0.0
Updated by Ian Colle about 10 years ago
- Target version changed from sprint2 to sprint3
Updated by Sandon Van Ness about 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Finally got these completely tested and working without issues.