magnum/magnum
Mark Goddard 88a6e3bab5 Don't poll heat if no stack exists
Cluster objects are created asynchronously from their underlying
heat stacks, meaning that the periodic update can sometimes end up
trying to poll a cluster's heat stack before the stack has been created.

This change checks whether the stack_id is None and skips polling heat
if so. This has the side effect of resolving bug 1682058, since we don't
try to use a trust and trustee that do not exist.

Change-Id: I73f039659250f1d5b69b23141835c4602c8e019a
Closes-Bug: #1682058
2017-07-28 07:46:47 +00:00
..
api Add swarm-mode driver 2017-07-18 10:47:23 +02:00
cmd Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00
common Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00
conductor Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00
conf Move to docker python SDK 2.x.x 2017-06-09 15:03:25 +00:00
db Allow docker_volume_size on cluster create 2017-06-23 11:31:27 +00:00
drivers Don't poll heat if no stack exists 2017-07-28 07:46:47 +00:00
hacking Fix typo in magnum/hacking/checks.py for consistency 2017-06-16 15:43:27 +08:00
objects Add swarm-mode driver 2017-07-18 10:47:23 +02:00
service Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00
servicegroup Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
tests Merge "Copy cluster nodes logs always whether tests pass or fail" 2017-07-19 12:10:52 +00:00
__init__.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
i18n.py Remove log translations 2017-03-30 17:05:10 +08:00
version.py Remove coding:utf-8 2015-08-03 23:28:22 +08:00