Large OpenStack Volumes Taking too Long to Delete

Problem

You are trying to delete large OpenStack volumes but the deletions are taking too long. The following log entries are observed in the /var/log/pf9/cindervolume-base.log file.

Javascript
Copy

Environment

  • Platform9 Managed OpenStack - All Versions
  • Cinder

Cause

The volume_clear parameter is set to zero. This will write a single pass of zeroes to the device before deleting it.

Resolution

  1. Edit the /opt/pf9/etc/pf9-cindervolume-base/conf.d/cinder_overrides.conf file and set the volume_clear property to none on all Cinder hosts.
Javascript
Copy
  1. Restart the pf9-cindervolume-base service on the Cinder host.
Javascript
Copy

Additional Information

https://docs.openstack.org/security-guide/block-storage/volume_wiping.html

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