Hide Forgot
Description of problem: when defining a RBD disk option using virsh one needs to add monitor_ip and secret key, this option is not required when starting the vm using qemu-kvm cli on ceph client, Also sometimes mon ip's can change, I believe this option should be simplified and one should just provide the rbd disk image name in case of ceph clients. <disk type='network' device='disk'> <source protocol='rbd' name='libvirt-pool/new-libvirt-image'> <host name='{monitor-host}' port='6789'/> </source> <target dev='vda' bus='virtio'/> </disk> </source> <auth username='libvirt'> <secret type='ceph' uuid='9ec59067-fdbc-a6c0-03ff-df165c0587b8'/> </auth> <target ... Version-Release number of selected component (if applicable): 1.2.17 How reproducible: n/a
I think that would not be a desired thing to do. Allowing to use the defaults for ceph that are taken from the system-wide config file will make configurations unstable when the config file changes or the machines are migrated to a different host with a different config. Keeping the data in libvirt enforces that the configuration of a VM is stable in regard to external influence. I'm closing this as WONTFIX.