Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Unable to Attach a Volume With Error "libvirtError: XML error: invalid secret uuid
Copy Markdown
Open in ChatGPT
Open in Claude
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
ERROR nova.virt.libvirt.driver [...] [instance: 701a918f-7aaf-4530-9d4e-a4e94c74fbc9] Failed to attach volume at mountpoint: /dev/sdb: libvirtError: XML error: invalid secret uuid 'http://images.platform9.com/centos-7.1-cloudinit.qcow2'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.
# less /opt/pf9/etc/nova/conf.d/nova_override.conf | grep rbdimages_type = rbdimages_rbd_pool = cinderimages_rbd_ceph_conf = /etc/ceph/ceph.confrbd_user = cinderrbd_secret_uuid = 0c3b58a3-a22e-4aa1-a917-999e13baa489- Check the Cinder configuration file located under /opt/pf9/etc/pf9-cindervolume-base/conf.d on the Cinder nodes.
Cinder-node01 ~ $ less /opt/pf9/etc/pf9-cindervolume-base/conf.d/cinder_override.conf | grep rbd_secret_uuidrbd_secret_uuid = http://images.platform9.com/centos-7.1-cloudinit.qcow2- Modify the rbd_secret_uuid in the Cinder configuration to match what is observed in Nova config.
Cinder-node01 ~ $ less /opt/pf9/etc/pf9-cindervolume-base/conf.d/cinder_override.conf | grep rbd_secret_uuidrbd_secret_uuid = 0c3b58a3-a22e-4aa1-a917-999e13baa489- Restart the pf9-cindervolume-base service for the changes to take effect.
xxxxxxxxxxsudo service pf9-cindervolume-base restartVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message