Comment 2 for bug 1289056

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

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 |
  +--------------------------------------+------------+--------------------+----------------------+
  | 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 |
  +--------------------------------------+------------+--------------------+----------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/heat/+bug/1289056/+subscriptions