← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1564613] Re: Update stack doesn't pause with pre-update hook set

 

Reviewed:  https://review.openstack.org/300214
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f65ff0fe912ba04f052aeff70eb26a6bdede5838
Submitter: Jenkins
Branch:    master

commit f65ff0fe912ba04f052aeff70eb26a6bdede5838
Author: Ying Zuo <yinzuo@xxxxxxxxx>
Date:   Thu Mar 31 13:58:56 2016 -0700

    Pass environment data to update stack action
    
    Change-Id: I7df7f1664ab067b287cffab4187c16a10ad4abba
    Closes-bug: #1564613


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1564613

Title:
  Update stack doesn't pause with pre-update hook set

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Steps to reproduce:
  1. Go to Project -> Orchestration panel
  2. Click launch a stack
  3. Enter the following in template source
  heat_template_version: 2015-04-30
  resources:
    test_resource_pause:
       type: OS::Heat::TestResource
       properties:
         action_wait_secs: {"delete": 5, "create": 5, "update": 5}
         client_name: openstack
  4. Enter the following in environment source
  resource_registry:
    resources:
       test_resource_pause:
          type: OS::Heat::TestResource
          hooks: pre-update
  5. Enter other stack information
  6. After the stack is created, click on update stack template 
  7. Enter the template and environment source as in step 3 and 4 and click update stack
  8. The stack was updated successfully right away

  Expect the update action will stay in progress until the pre-update
  hook is cleared.

  This issue appears to be a heat defect but it's actually caused by
  horizon not passing the environment data to the heat api.

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


References