Comment 1 for bug 1671422

James Page (james-page) wrote :

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="" port="6789"/>
    <host name="" port="6789"/>
    <host name="" port="6789"/>
  <auth username="cinder-ceph">
    <secret type="ceph" uuid="514c9fca-8cbe-11e2-9c52-3bc8c7819472"/>
  <target bus="virtio" dev="vdb"/>

results in the correct XML, however the username mismatches with the keys so the attach fails.