Volume Snapshot Deletion Fail After Upgrade

Problem

  • Deleting a snapshot of an existing volume ends in deleting state perpetually and never completes.
Copy
  • No activity can be seen in the Cinder volume logs /var/log/pf9/cindervolume-base.log.

Environment

  • Platform9 Managed OpenStack - v3.6.0

Cause

  • With PMO v3.6, the Cinder code base was upgraded to Pike. Since Ocata, the [DEFAULT] section with the driver-related options has no effect. Now all driver options are listed in [backend_defaults] section, that indicates that those options are effective only in this section and [[backend_name]] sections listed in enabled_backends
  • As a result, the backend names get renamed after the upgrade. However, the new backend names are not updated for the existing volumes

Resolution

  1. Update the existing volumes to point to the new backend.
Copy
  1. Forcefully delete the snapshot
Copy

Additional Information

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