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

Copy

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.

Copy

When the cinder_auth_events.py attempts to run the following step the NULL value will break the code

Copy

Resolution

Ask the customer to delete the volume that has the NULL host value in the database.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard