No administrative way to delete an instance in state 'soft-delete'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
As an operator of openstack, if an instance is soft-deleted there's no way to forcefully remove a soft-deleted VM other than wait the appropriate amount of time before the VM is REALLY deleted. Until then it just sits on the hypervisor waiting for its own demise.
I wish there was a command
$ openstack server delete <UUID> --force
or equivalent to REALLY get rid of it from taking up space on a hypervisor.
```
openstack server list --all --deleted | grep SOFT
| 3b7760fe-
os server show 3b7760fe-
+------
| Field | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | soft-delete |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| addresses | ubuntu-
| config_drive | |
| created | 2021-02-
| flavor | takes-up-
| hostId | d706bd270e8211b
| id | 3b7760fe-
| image | Ubuntu-20.04 (6df2db60-
| key_name | None |
| name | sf290221-test1 |
| project_id | 83698d9807c5450
| properties | |
| status | SOFT_DELETED |
| updated | 2021-02-
| user_id | 83fd6e4c5a46430
| volumes_attached | |
+------
```
no longer affects: | charm-nova-compute |
workaround:
$ nova force-delete <instance>