Add breaks to for loops

This just adds breaks to a couple of matching for loops in instance.py.

Fixes: bug #1130898
Change-Id: Iacfa040ba3a400b506e4fbc63c513eb3e67ecb11
Fix unit tests for Instance IP

Don't try to test the IP addresses after the instance has been deleted.

Ref bug #1091497

Change-Id: I566c26a4707edc9d210bd422dcff8fbbcc2236d5
Signed-off-by: Zane Bitter <zbitter@redhat.com>
Split resource create into create and check_active

Change-Id: Ib8206f204e8805936defaa3431ecdf34b161e724
Signed-off-by: Zane Bitter <zbitter@redhat.com>
Merge "Add breaks to for loops"
Use oslo logging setup.

The one reason we kept our own version was because of the qpid
logging that is quite useful. But this is now easily done via
the "default_log_levels" option.

I have setup the api servers with:
 ampqlib,qpid.messaging,keystone,eventlet
and the engine with:
 ampqlib,qpid.messaging,keystone,eventlet,sqlalchemy

bug: 1143629
Change-Id: I04eeab469ab59da550e08188d53b2cfbb576c04d
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Move instance polling into check_active()

Don't poll for the instance status in handle_create(). Allow
Resource.create() to poll the resource using check_active().

Change-Id: I13a8fefcef6594d014e7e5a3131f9342521e367d
Signed-off-by: Zane Bitter <zbitter@redhat.com>
Separate public/private autoscaling adjust() APIs

Internal uses of adjust() have slightly different needs.

Change-Id: Ibb85425f08b7b2d78be2d9ef5c8a9f464b7eead1
Signed-off-by: Zane Bitter <zbitter@redhat.com>
Create autoscaling instances in parallel

Fixes bug #1136148

Change-Id: I02ea52df85c4ed7f0f16abcfd1ab24b35168a787
Signed-off-by: Zane Bitter <zbitter@redhat.com>
Remove unused import from test_nokey.py

test_nokey.py was recently merged into the source tree with an
unused import (copy.py).

Change-Id: I27b7040b5719ea21d1e0a79afe499bf7fa5a94e5
Fixes: Bug #1131275
Add pyflakes to test-requires

pyflakes needs to be installed in the venv

Change-Id: Ie7aada13da4e191108363c80daf719212d06d316
Fixes: Bug #1131275
Add N802 rule to hacking.py

Gate on commit headers < 50 characters

Change-Id: Ia6a616d8a9b0eabca05a23476e284f261108b43a
Fixes: Bug #1136386
heat engine : Disable stack rollback by default

Until the event-persistence BP is implemented, we should
disable stack rollback by default and make it opt-in.

fixes bug 1131303

Change-Id: I101e108c3959c4b7b4cfc68449ba2b989b157626
heat clients : Change --disable-rollback to --enable-rollback

Since the engine default is now rollback disabled, flip this
switch so the user can opt-in to rollback functionality via
the --enable-rollback cli option to heat-cfn/heat-boto

ref bug 1131303

Change-Id: I3965de9a2beb510d5623d0c7cd8ff3aea9d4364a
heat clients : Make heat-boto rollback disabled by default

The boto library always sends the DisableRollback parameter,
defaulted to False, which is the opposite of the engine
default now, so we have to set DisableRollback to True in
the boto client wrapper

ref bug 1131303

Change-Id: I4acbba7b37f24cb1a874292ff2323ae24b630edf
vpc_test: move DependsOn to the correct template section

found when fixing bug #1101098
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>

Change-Id: I7591111bcdf768119d265d0a9c901a0e189604d3
Merge "Use oslo logging setup."
Merge "Move instance polling into check_active()"
Merge "Separate public/private autoscaling adjust() APIs"
Merge "Create autoscaling instances in parallel"
Merge "Add N802 rule to hacking.py"