This article applies to OpenStack versions prior to Ocata.
For OpenStack Ocata or later, see OpenStack InfiniBox Volume Driver.
The default behavior of our volume driver is to raise an exception during startup if the pool defined in the volume backend configuration does not exist within InfiniBox.
This means that the volume backend won't show up in the UI and provision volumes with it, and in our opinion, it is better than showing it and having volume-create fail (without showing the root cause).
In case there are still volumes in the Cinder database that were provisioned with the volume backend, you won't be able to delete or force-delete them since the backend is not running.
You can change the behaviour of the driver by added
infinidat_allow_pool_not_found = true to the configuration; this will allow the driver to start even though the volume does not exist, so you could force-delete the volume from the Cinder APIs.
There's no option to set this parameter with infini-openstack (our command-line tool); this needs to be done manually by modifying the cinder configuration file (the default location is /etc/cinder/cinder.conf). Here's a sample diff when applying this change:
It doesn't matter if the value is True or true