As a quick fix I've tried adding the uuid for the nova-compute created secret to cinder (this is a global constant for the charms):
<disk type="network" device="disk"> <driver name="qemu" type="raw" cache="none"/> <source protocol="rbd" name="cinder-ceph/volume-bdff2036-c0da-438d-aa95-d882d408df92"> <host name="10.5.25.226" port="6789"/> <host name="10.5.25.227" port="6789"/> <host name="10.5.25.229" port="6789"/> </source> <auth username="cinder-ceph"> <secret type="ceph" uuid="514c9fca-8cbe-11e2-9c52-3bc8c7819472"/> </auth> <target bus="virtio" dev="vdb"/> <serial>bdff2036-c0da-438d-aa95-d882d408df92</serial> </disk>
results in the correct XML, however the username mismatches with the keys so the attach fails.
As a quick fix I've tried adding the uuid for the nova-compute created secret to cinder (this is a global constant for the charms):
<disk type="network" device="disk"> ceph/volume- bdff2036- c0da-438d- aa95-d882d408df 92"> "cinder- ceph"> 8cbe-11e2- 9c52-3bc8c78194 72"/> bdff2036- c0da-438d- aa95-d882d408df 92</serial>
<driver name="qemu" type="raw" cache="none"/>
<source protocol="rbd" name="cinder-
<host name="10.5.25.226" port="6789"/>
<host name="10.5.25.227" port="6789"/>
<host name="10.5.25.229" port="6789"/>
</source>
<auth username=
<secret type="ceph" uuid="514c9fca-
</auth>
<target bus="virtio" dev="vdb"/>
<serial>
</disk>
results in the correct XML, however the username mismatches with the keys so the attach fails.