heat/heat_integrationtests/common
Oleksii Chuprykov 584efe3329 Fix cancel update for nova server with defined port
This particular patch fixes a behaviour of cancel update for
nova server with defined port, so there are no ports manageable
by nova. We have these issues while restoring ports after rollback:
1) We doesn't detach any ports from current server, because we
doesn't save them to resoruce data. (we store this data after
succesfull create of the server)
2) Detaching an interface from current server will fail, if the server
will be in building state, so we need to wait until server will be
in active or in error state.
Refresh ports list to solve problem (1).
Wait until nova moves to active/error state to solve (2).
A functional test to prove the fix was added. Note, that this test is
skipped for convergence engine tests until cancel update will work
properly in convergence mode (see bug 1533176).
Partial-Bug: #1570908
Change-Id: If6fd916068a425eea6dc795192f286cb5ffcb794
2016-09-20 12:00:54 +00:00
..
__init__.py Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
clients.py Don't manipulate config for admin creds 2016-08-13 09:51:11 +12:00
config.py Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
exceptions.py Fix [H405] pep rule in heat_integrationtests 2015-10-08 15:13:52 +03:00
remote_client.py Fix [H405] pep rule in heat_integrationtests 2015-10-08 15:13:52 +03:00
test.py Fix cancel update for nova server with defined port 2016-09-20 12:00:54 +00:00