Description of problem:
I ran "openstack project purge --project master" and got:
Deleting server : c4c98a24-781b-4fe4-bd27-5d4b4fa7a536
Deleting image : 16a0049f-200b-424b-ab18-431508d9abf0
Deleting volume : 59529490-ee07-46aa-87d3-b7e96d00af03
Failed to delete volume with ID '59529490-ee07-46aa-87d3-b7e96d00af03': Invalid volume: Volume must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer. (HTTP 400) (Request-ID: req-a3a72d12-373c-4a0e-8d5c-e8b345eaabf7)
1 of 1 volumes failed to delete.
Deleting project: a0e40562faa84db4aa71a7a82986080b
The volume was supposed to be deletable, as the instance it was attached to was already deleted by the purge. After the purge I manually deleted the volume and had no problem:
openstack volume delete 59529490-ee07-46aa-87d3-b7e96d00af03
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Deploy an overcloud and populate it with a project, networks, instances and volumes
2. Purge the project
The volume is still not deleted
I do not believe the 'openstack project purge' command is officially supported. Additionally we would need logs to further assist.