Managed OpenStack
Latest
Removal of the Block storage Role fails with 'NoneType' object has no attribute 'split'
Problem
While attempting to remove the block storage role from a host the following error is observed
DuConfigError: Failed to run on-DU authorization task: Auth event ‘on_deauth’ method failed to run from /etc/pf9/resmgr_roles/pf9-cindervolume/5.0.0-1491/cinder_auth_events.py: ‘NoneType’ object has no attribute ‘split’
Environment
Platform9 Managed OpenStack - v4.0 and Higher
MySQL
Cause
A volume (in an error state) has the Host value set to Null in the Cinder database.
"os-vol-host-attr:host": null
When the cinder_auth_events.py attempts to run the following step the NULL value will break the code
or volume in resp[“volumes”]: if volume[“os-vol-host-attr:host”].split(“@”)[0] == host_id: return True
Resolution
Ask the customer to delete the volume that has the NULL host value in the database.
Last updated on
Was this page helpful?
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered by
