Comment 1 for bug 1671422

Revision history for this message
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="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.