error raised when stack-show

Bug #1678037 reported by huangtianhua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
huangtianhua

Bug Description

1. create a stack with a nova server, snippet as following:
resources:
  my_server:
    type: OS::Nova::Server
    properties:
      flavor: {get_param: flavor}
      image: {get_resource: my_image}
  ... other resources
outputs:
  console_url:
    value: {get_attr: [my_server, console_urls]}
2. the server create failed: Flavor's disk is too small for requested image
3. stack-list the stack is in CREATE_FAILED
4. an error raised when stack-show:
    heatclient.exc.HTTPInternalServerError: ERROR: Remote error: Conflict Instance 76170ae3-263c-4ffa-b74f-63cd195c00b1 is not ready (HTTP 409) (Request-ID: req-c8a4df0e-f40d-4c5f-ae13-73cf5e2a5f1b)
5. we only catch exceptions.BadRequest and exceptions.UnsupportedConsoleType exceptions when get console url of the server

Changed in heat:
assignee: nobody → huangtianhua (huangtianhua)
importance: Undecided → Medium
milestone: none → pike-1
Rico Lin (rico-lin)
Changed in heat:
milestone: pike-1 → pike-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/462021

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/462021
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=4400dab447b6f1e332c63512ccda601891c72f16
Submitter: Jenkins
Branch: master

commit 4400dab447b6f1e332c63512ccda601891c72f16
Author: huangtianhua <email address hidden>
Date: Wed May 3 15:23:39 2017 +0800

    Catch all exceptions when getting console url attribute

    Catch all exceptions when getting server console
    urls to avoid error raised when stack-show.

    Change-Id: I7525beb8b5b7cfb38b4126dec764cf64b1dcc7c0
    Closes-Bug: #1678037

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 9.0.0.0b2

This issue was fixed in the openstack/heat 9.0.0.0b2 development milestone.

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.