Deleting a server with volumes and delete_on_termination = true leaves running backups in creating state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Robert Hoffmann |
Bug Description
If you create a backup of a volume attached to a server with delete_
Can be reproduced by:
1. Create a server with volume attached and setting delete_
2. Create a backup on this volume: openstack volume backup create --force volume_id
+------
| Field | Value |
+------
| id | 12345678-
| name | None |
| volume_id | 98765432-
+------
3. Delete the server: openstack server delete server_id
4. Check server is gone: openstack server show server_id
No Server found for server_id
5. Check volume is gone: openstack volume show volume_id
No volume with a name or ID of 'volume_id' exists.
6. Check backup: openstack volume backup show 12345678-
+------
| Field | Value |
+------
...
| status | creating |
affects: | cinder → nova |
Changed in nova: | |
assignee: | nobody → Robert Hoffmann (roberthoffmann) |
Fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /919923
Review: https:/