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

Copy

Environment

  • Platform9 Managed OpenStack - All versions
  • Nova
  • Cinder
  • Ceph

Cause

The error observed is due to an incorrect Cinder configuration.

Resolution

  1. Check the Nova configuration file located at /opt/pf9/etc/nova/conf.d/nova_override.conf.
Copy
  1. Check the Cinder configuration file located under /opt/pf9/etc/pf9-cindervolume-base/conf.d on the Cinder nodes.
Copy
  1. Modify the rbd_secret_uuid in the Cinder configuration to match what is observed in Nova config.
Copy
  1. Restart the pf9-cindervolume-base service for the changes to take effect.
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard