Bug 1378597

Summary: can't delete cinder volume attached to "None"
Product: Red Hat OpenStack Reporter: Aaron Thomas <aathomas>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED EOL QA Contact: Avi Avraham <aavraham>
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: ddomingo, eharney, jbiao, nlevinki, scohen, sgotliv, srevivo, tshefi, wlehman, yeylon
Target Milestone: Upstream M3Keywords: ZStream
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1171193 Environment:
Last Closed: 2017-06-30 13:32:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1171193    
Bug Blocks:    

Description Aaron Thomas 2016-09-22 20:44:30 UTC
+++ This bug was initially created as a clone of Bug #1171193 +++

Description of problem:
-----------------------------------------
Cisco has reporting the same behavior observed in BZ #1171193 and is requesting the feasibility of back-porting errata: RHEA-2015-0151 to OSP-5(Icehouse) on RHEL 7. Or at the very least the fix associated with BZ #1171193.


Version-Release number of selected component (if applicable):
-----------------------------------------
Icehouse on RHEL 7

How reproducible:
-----------------------------------------
The customer has reported this occurs under heavy load.

Steps to Reproduce:
1.create VM, create volume, delete VM, check volume status
2.
3.

Actual results:
-----------------------------------------
$ nova list | grep ERROR
| 1df7a985-6dcc-4269-a515-59ff0af3d789 | phgardne-cinder-test-172                   | ERROR   | deleting   | Running     | myeshwan-network=192.168.17.61  |
| c2c937ac-39c7-4a7a-bc45-e559698b5704 | phgardne-cinder-test-288                   | ERROR   | deleting   | Running     | myeshwan-network=192.168.17.135 |
| b311283b-a0f6-4e9a-9258-9349c8d8d8ec | phgardne-cinder-test-303                   | ERROR   | deleting   | Running     | myeshwan-network=192.168.17.143 |
| 2cd1307e-c146-4c04-a5a2-fc42100d2150 | phgardne-cinder-test-35                    | ERROR   | deleting   | NOSTATE     | myeshwan-network=192.168.17.254 |
| 6c92e34b-6006-4449-9217-ff0dd0c07351 | phgardne-cinder-test-502                   | ERROR   | deleting   | Running     | myeshwan-network=192.168.17.60  |
| f2e3aed0-f9fa-429a-af4a-d3e27c948892 | phgardne-cinder-test-564                   | ERROR   | deleting   | Running     | myeshwan-network=192.168.17.142 |
| 7cdd3794-1b90-4e46-8f2d-cfee3fdd6472 | phgardne-cinder-test-634                   | ERROR   | deleting   | Running     | myeshwan-network=192.168.17.136 |
| 8c9cf086-5222-4d54-a167-75561338c1d1 | phgardne-cinder-test-72                    | ERROR   | deleting   | NOSTATE     | myeshwan-network=192.168.17.179 |
| e4fc32e3-dd57-44de-9886-9fdfe1e1984c | phgardne-cinder-test-787                   | ERROR   | deleting   | Running     | myeshwan-network=192.168.17.213 |

$ cinder list
+--------------------------------------+-----------+------------------+------+-------------+----------+--------------------------------------+
|                  ID                  |   Status  |   Display Name   | Size | Volume Type | Bootable |             Attached to              |
+--------------------------------------+-----------+------------------+------+-------------+----------+--------------------------------------+
| 042e3ec0-7ed5-4f2f-83a9-4b2eee8e84e8 |   in-use  |       None       |  10  |   generic   |  false   | 1df7a985-6dcc-4269-a515-59ff0af3d789 |
| 090d397d-eb83-48e0-b647-3a906b7424e3 | available |   TC10157-vol    |  50  |   generic   |   true   |                                      |
| 228b7e86-921d-41c4-ac26-59845699d808 |   in-use  |       None       |  10  |   generic   |  false   | f2e3aed0-f9fa-429a-af4a-d3e27c948892 |
| 298165df-7bb6-42ee-88ac-9378a722a360 | available |   TC10160-vol    |  50  |   generic   |   true   |                                      |
| 4716b8a3-6437-4cba-8f79-c4192abe6b30 |   in-use  |       None       |  10  |   generic   |  false   | b311283b-a0f6-4e9a-9258-9349c8d8d8ec |
| 67d67535-22c6-4f8e-b71d-daeaa0a02736 |   in-use  |       None       |  10  |   generic   |  false   | c2c937ac-39c7-4a7a-bc45-e559698b5704 |
| 7a9ae341-94bc-4a4d-8137-34a4da8b2802 |   in-use  |       None       |  10  |   generic   |  false   | 6c92e34b-6006-4449-9217-ff0dd0c07351 |
| 8c0c1890-2543-4ebd-8c72-776a71f54abd |   in-use  |       None       |  10  |   generic   |  false   | 7cdd3794-1b90-4e46-8f2d-cfee3fdd6472 |
| bca6b844-227d-43f7-b832-45506b43790d | available | TC10160-snap-vol |  50  |   generic   |   true   |                                      |
| bf4333b0-4147-4635-8a92-dc2dbe2fbcdf |   in-use  |       None       |  10  |   generic   |  false   | e4fc32e3-dd57-44de-9886-9fdfe1e1984c |
| c9b546de-8905-4206-850c-a03f5f2794e3 | available | TC10157-snap-vol |  50  |   generic   |   true   |                                      |
+--------------------------------------+-----------+------------------+------+-------------+----------+--------------------------------------+

Expected results:
-----------------------------------------
The nova instance can be deleted along with the volume itself


Additional info:
-----------------------------------------
This BZ request was cloned from: 

  can't delete cinder volume attached to "None"
  -----------------------------------------
  https://bugzilla.redhat.com/show_bug.cgi?id=1171193.


Based on the following errata:

  Enhancement Advisory openstack-cinder enhancement advisory
  -----------------------------------------
  https://rhn.redhat.com/errata/RHEA-2015-0151.html

Comment 5 Scott Lewis 2017-06-30 13:32:58 UTC
Red Hat OpenStack Platform version 5 is now End-of-Life, and as such will not have further updates. See https://access.redhat.com/support/policy/updates/openstack/platform/ for full support lifecycle details.