[Heat] Cinder volumes are not removed when using Heat

Bug #1281534 reported by Yaroslav Lobankov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
High
Sergey Reshetnyak

Bug Description

Reproduction steps:

1. Create cluster with attached volumes to cluster nodes.
2. Wait for "Active" cluster state.
3. Delete cluster.

EXPECTED RESULT:
Cluster nodes are deleted, volumes are deleted.

ACTUAL RESULT:
Any node cannot be removed. Some volumes have "in use" state but they are not attached to cluster nodes. Some volumes have "available" state and can be removed. The only way to remove volumes is to manually reset their state to "available" via cinder's CLI. After volume's state resetting Heat can successfully finish stack deletion.

This bug is reproduced practically always. It depends on speed of environment. The more nodes cluster has the more likely you will encounter it.

Tags: engine.heat
summary: - Cinder volumes are not deleted when using Heat as infrastructure engine
+ Cinder volumes are not removed when using Heat as infrastructure engine
for Savanna
description: updated
Changed in savanna:
status: New → Confirmed
importance: Undecided → High
Changed in savanna:
assignee: nobody → Alexander Ignatov (aignatov)
importance: High → Medium
milestone: none → icehouse-3
Changed in savanna:
milestone: icehouse-3 → icehouse-rc1
summary: - Cinder volumes are not removed when using Heat as infrastructure engine
- for Savanna
+ [Heat ]Cinder volumes are not removed when using Heat
tags: added: engine.heat
summary: - [Heat ]Cinder volumes are not removed when using Heat
+ [Heat] Cinder volumes are not removed when using Heat
Revision history for this message
Alexander Ignatov (aignatov) wrote :

Filed a bug in Heat https://bugs.launchpad.net/heat/+bug/1298350
This bug in Sahara should be revisited once bug in Heat is fixed.

Changed in sahara:
milestone: icehouse-rc1 → juno-1
importance: Medium → High
Changed in sahara:
milestone: juno-1 → juno-2
Revision history for this message
Alexander Ignatov (aignatov) wrote :

Bug in heat https://bugs.launchpad.net/heat/+bug/1298350 is fixed. The state of current bug should be revised.
Also I found that cinder volume detachment in Heat was affect by fix of https://bugs.launchpad.net/heat/+bug/1311533 .

Changed in sahara:
assignee: Alexander Ignatov (aignatov) → nobody
Changed in sahara:
milestone: juno-2 → juno-3
Changed in sahara:
assignee: nobody → Andrew Lazarev (alazarev)
Revision history for this message
Andrew Lazarev (alazarev) wrote :

We don't have environment with new heat yet.

Changed in sahara:
assignee: Andrew Lazarev (alazarev) → nobody
Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :

Not reproduced with Heat from master because bug 1298350 is fixed.

Revision history for this message
Alexander Ignatov (aignatov) wrote :

I'd prefer to close this bug only after heat job in integration tests passes tens of times

Changed in sahara:
assignee: nobody → Sergey Reshetnyak (sreshetniak)
Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :

Heat job in integration tests passes ~3 weeks. I closes this bug.

Changed in sahara:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.