Unable to Attach a Volume With Error "libvirtError: XML error: invalid secret uuid
Problem
When attaching a new volume to an existing instance, the following error is observed in the pf9-ostackhost log located at /var/log/pf9/ostackhost.log
Environment
- Platform9 Managed OpenStack - All versions
- Nova
- Cinder
- Ceph
Cause
The error observed is due to an incorrect Cinder configuration.
Resolution
- Check the Nova configuration file located at /opt/pf9/etc/nova/conf.d/nova_override.conf.
- Check the Cinder configuration file located under /opt/pf9/etc/pf9-cindervolume-base/conf.d on the Cinder nodes.
- Modify the rbd_secret_uuid in the Cinder configuration to match what is observed in Nova config.
- Restart the pf9-cindervolume-base service for the changes to take effect.
Was this page helpful?