stack-delete doesn't cancel create_in_progress status

Bug #1289056 reported by Ryan Brady
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Expired
Undecided
Unassigned

Bug Description

Running heat stack-create and after it seems the stack is hanging or I otherwise want to cancel the stack-create, heat prevents me from deleting the stack. "ERROR: Stack overcloud already has an action (CREATE) in progress."

I know I want to stop the stack-create and tear it down, but is there a technical reason why heat will not delete the stack or is it a "feature"?

(undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
+--------------------------------------+------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+--------------------+----------------------+
| 8645f801-715b-49a7-8327-819d61fcb472 | overcloud | CREATE_IN_PROGRESS | 2014-03-06T23:01:27Z |
+--------------------------------------+------------+--------------------+----------------------+
(undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-delete overcloud
ERROR: Stack overcloud already has an action (CREATE) in progress.
(undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
+--------------------------------------+------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+--------------------+----------------------+
| 8645f801-715b-49a7-8327-819d61fcb472 | overcloud | CREATE_IN_PROGRESS | 2014-03-06T23:01:27Z |
+--------------------------------------+------------+--------------------+----------------------+
(undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
+--------------------------------------+------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+--------------------+----------------------+
| 8645f801-715b-49a7-8327-819d61fcb472 | overcloud | CREATE_IN_PROGRESS | 2014-03-06T23:01:27Z |
+--------------------------------------+------------+--------------------+----------------------+
(undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
+--------------------------------------+------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+--------------------+----------------------+
| 8645f801-715b-49a7-8327-819d61fcb472 | overcloud | CREATE_IN_PROGRESS | 2014-03-06T23:01:27Z |
+--------------------------------------+------------+--------------------+----------------------+
(undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
+--------------------------------------+------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+--------------------+----------------------+
| 8645f801-715b-49a7-8327-819d61fcb472 | overcloud | CREATE_IN_PROGRESS | 2014-03-06T23:01:27Z |
+--------------------------------------+------------+--------------------+----------------------+
(undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat --version
0.2.8
(undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
+--------------------------------------+------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+--------------------+----------------------+
| 8645f801-715b-49a7-8327-819d61fcb472 | overcloud | CREATE_IN_PROGRESS | 2014-03-06T23:01:27Z |
+--------------------------------------+------------+--------------------+----------------------+

Tags: icehouse
Ryan Brady (rbrady)
tags: added: icehouse
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

This was fixed recently. Are you running heat master or icehouse-3?

Revision history for this message
Ryan Brady (rbrady) wrote : Re: [Bug 1289056] Re: stack-delete doesn't cancel create_in_progress status
Download full text (4.6 KiB)

Icehouse-2. I'll update and try again.

thanks

----- Original Message -----
From: "Steve Baker" <email address hidden>
To: <email address hidden>
Sent: Thursday, March 6, 2014 7:20:24 PM
Subject: [Bug 1289056] Re: stack-delete doesn't cancel create_in_progress status

This was fixed recently. Are you running heat master or icehouse-3?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1289056

Title:
  stack-delete doesn't cancel create_in_progress status

Status in Orchestration API (Heat):
  New

Bug description:
  Running heat stack-create and after it seems the stack is hanging or I
  otherwise want to cancel the stack-create, heat prevents me from
  deleting the stack. "ERROR: Stack overcloud already has an action
  (CREATE) in progress."

  I know I want to stop the stack-create and tear it down, but is there
  a technical reason why heat will not delete the stack or is it a
  "feature"?

  (undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
  +--------------------------------------+------------+--------------------+----------------------+
  | id | stack_name | stack_status | creation_time |
  +--------------------------------------+------------+--------------------+----------------------+
  | 8645f801-715b-49a7-8327-819d61fcb472 | overcloud | CREATE_IN_PROGRESS | 2014-03-06T23:01:27Z |
  +--------------------------------------+------------+--------------------+----------------------+
  (undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-delete overcloud
  ERROR: Stack overcloud already has an action (CREATE) in progress.
  (undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
  +--------------------------------------+------------+--------------------+----------------------+
  | id | stack_name | stack_status | creation_time |
  +--------------------------------------+------------+--------------------+----------------------+
  | 8645f801-715b-49a7-8327-819d61fcb472 | overcloud | CREATE_IN_PROGRESS | 2014-03-06T23:01:27Z |
  +--------------------------------------+------------+--------------------+----------------------+
  (undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
  +--------------------------------------+------------+--------------------+----------------------+
  | id | stack_name | stack_status | creation_time |
  +--------------------------------------+------------+--------------------+----------------------+
  | 8645f801-715b-49a7-8327-819d61fcb472 | overcloud | CREATE_IN_PROGRESS | 2014-03-06T23:01:27Z |
  +--------------------------------------+------------+--------------------+----------------------+
  (undercloud)(undercloud)[rh@rhev-i24c-02 tripleo]$ heat stack-list
  +--------------------------------------+------------+--------------------+----------------------+
  | id | stack_name | stack_status | creation_time |
  +--------------------------------------+------------+--------------------+----------------------+
  | 8...

Read more...

Changed in heat:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for heat because there has been no activity for 60 days.]

Changed in heat:
status: Incomplete → Expired
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.