failure to poll for server creation treated as failure to create

Bug #1276517 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Jason Dunsmore

Bug Description

I've a nova server that is flaking from time to time (long story, don't ask :)) - but its normal, if rare, to have nova give a 500 error.

After spawning a server though, if heat encounters an error - e.g.
| NovaCompute1 | 7fb1dc6e-eb5d-4593-b08b-07586877011f | ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-1ce55e04-e99b-479f-a418-9790df59e647) | CREATE_FAILED | 2014-02-05T10:15:04Z o|

it treats that as a failed creation rather than a failure to obtain information, which is all it is.

Changed in heat:
assignee: nobody → Jason Dunsmore (jasondunsmore)
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This affects TripleO quite a bit. 500 is "their problem" but it is not an indication of a permanent error, so I do think we should keep polling on 500's.

Changed in heat:
importance: Undecided → High
status: New → Triaged
Changed in heat:
assignee: Jason Dunsmore (jasondunsmore) → nobody
Changed in heat:
assignee: nobody → Jason Dunsmore (jasondunsmore)
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/71644

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

Reviewed: https://review.openstack.org/71644
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=1b63926d76afb167186d9049cb9ff6591350109d
Submitter: Jenkins
Branch: master

commit 1b63926d76afb167186d9049cb9ff6591350109d
Author: Jason Dunsmore <email address hidden>
Date: Thu Feb 6 12:57:09 2014 -0600

    Handle API 500 response in OS::Nova::Server

    novaclient raises a ClientException when a 500 response code is returned
    from the Nova API. Previously, this would cause the stack action to
    fail. Log a warning instead.

    Closes-Bug: #1276517
    Change-Id: I8f00d476c8d7166aca74fdcd3e0f2621c00d9802

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-3 → 2014.1
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.