heat/heat/tests/openstack
Oleksii Chuprykov 9ece778613 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
(cherry picked from commit 584efe3329)
2016-09-21 08:50:56 +05:30
..
aodh Merge "Aodh::Gnocchi resources observe reality implementation" 2016-08-30 11:05:13 +00:00
barbican Support 'conditions' section for templates 2016-08-03 09:17:31 +08:00
cinder Merge "Pre-validate cinder quotas with the real fact" 2016-09-12 10:51:17 +00:00
designate Merge "Designate::Domain observe reality implementation" 2016-04-14 11:04:12 +00:00
glance Add v2 glance image props 2016-08-18 16:47:18 +03:00
heat Handle outputs with an OutputDefinition class 2016-09-09 16:14:16 -04:00
keystone Delete RoleAssignment if user/group does not exist 2016-08-23 04:54:04 +00:00
magnum Clean up tests setup 2016-06-10 10:49:10 +03:00
manila Begin move of UpdateReplace back to its rightful location 2016-08-18 12:57:54 -04:00
mistral Begin move of UpdateReplace back to its rightful location 2016-08-18 12:57:54 -04:00
monasca Improve validation in OS::Monasca::Notification 2016-08-26 14:12:41 +03:00
neutron Allow update inplace for allowed_address_pairs 2016-09-19 07:14:26 +00:00
nova Fix cancel update for nova server with defined port 2016-09-21 08:50:56 +05:30
sahara Unit tests: Don't use ResourceDefinition as cfn snippet 2016-05-01 19:42:20 -05:00
senlin Merge "Check action status instead of cluster status for cluster creation" 2016-08-26 13:51:38 +00:00
swift Rename swift.py to container.py for swift container resource 2016-08-04 17:21:05 +08:00
trove Allow hyphens in OS::Trove::Instance database names 2016-09-06 17:01:05 -05:00
zaqar Begin move of UpdateReplace back to its rightful location 2016-08-18 12:57:54 -04:00
__init__.py Enable some unit tests back 2015-02-03 10:20:16 +08:00