Volume reserved after instance deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Description
===========
I created one instance boot from volume.
After deleting the instance when it's building,
the volume's status was reserved.
Steps to reproduce
==================
* I created one instance with `openstack server create --volume vol-for-vm1-50G --flavor ecs_2C4G50G_general --network xtt-net-1 vm1`
* then I deleted the instance when it's status was build
| 3aa10ae1-
* then I showed the status of volume
Expected result
===============
The volume's status is available.
Actual result
=============
The volume's status is reserved.
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://
# apt list --installed | grep nova
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
nova-api/
nova-common/
nova-conductor/
nova-consoleaut
nova-consolepro
nova-doc/
nova-placement-
nova-scheduler/
python-
python-
# apt list --installed | grep cinder
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
cinder-
cinder-
cinder-
cinder-
python-
python-
Do you see anything related in the logs like failing to unreserve the volume? If the server is not yet on a host the API will try to perform a "local delete" which should detach the volume:
https:/ /github. com/openstack/ nova/blob/ 17.0.7/ nova/compute/ api.py# L2085
Are you seeing warnings around that like it failed? Are there errors on the cinder side?