Bug 1264180 - heat-delete removed the vm, but the cinder volume still shows attached
Summary: heat-delete removed the vm, but the cinder volume still shows attached
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.0 (Juno)
Assignee: Gorka Eguileor
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-17 18:16 UTC by Jeremy
Modified: 2019-08-15 05:27 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-08 12:52:28 UTC
Target Upstream Version:
Embargoed:
jmelvin: needinfo+
geguileo: needinfo+


Attachments (Terms of Use)
templates (33.05 KB, application/zip)
2015-09-18 15:35 UTC, Jeremy
no flags Details
heat (21.49 KB, text/plain)
2015-09-18 15:36 UTC, Jeremy
no flags Details

Description Jeremy 2015-09-17 18:16:02 UTC
Description of problem:
A user issued a heat-delete.  Heat deleted the vm, but the cinder volume was not detached.  Attempts to delete the volume fail even with reset-state, delete, and force-delete.  Thus, the heat stack is in a "delete failed" state.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.create stack
2.delete stack
3. note failure

Actual results: did not detach cinder volume


Expected results: should detach cinder volume before deleting vm.


Additional info:

Comment 2 Zane Bitter 2015-09-17 19:56:21 UTC
Please attach the template used.

Comment 3 Jeremy 2015-09-18 15:35:25 UTC
Created attachment 1074978 [details]
templates

Comment 4 Jeremy 2015-09-18 15:36:22 UTC
Created attachment 1074979 [details]
heat

Comment 5 Jeremy 2015-09-18 15:36:49 UTC
As described by the user of the template:

All the files presented are part of instantiation.

FIcmd is just a script to start the stack.  It calls the HOT and environment file.
	heat stack-create -f ./wmm_field_config_data.hot.yaml -e ./LCPwmm.env.yaml -P "password=${OS_PASSWORD}" -t 30 me132

The hot file references the four resource templates.
	LCP-InternalNet.template.yaml
	LCP-SWconfig.template.yaml
	LCP-VMpair.template.yaml
	LCP-VMpairDRBD.template.yaml

Comment 13 Sergey Gotliv 2015-10-08 12:52:28 UTC
Customer case is closed, so I am closing that bug.


Note You need to log in before you can comment on or make changes to this bug.