Add converge parameter for stack update API and RPC call,
that allow triggering observe on reality. This will be
triggered by API call with converge argument (with True
or False value) within. This flag also works for resources
within nested stack.
Implements bp get-reality-for-resources
Change-Id: I151b575b714dcc9a5971a1573c126152ecd7ea93
monascaclient was recently migrated to
use 'osc' library. Due to that, exception
classes has been changed. This commit adjusts
the exception class to recently released
monascaclient==1.7.0
Change-Id: I9f8393b9980d13fca818a64bdbd44da3a3e461f2
- Call create_heat_accounts irrespective of whether keystone
is enabled or not.
- Use hardcoded auth_encryption_key
Change-Id: I03fab7f986ec2a9703044f4bff31d477e2e7fe6a
Update the security groups for server interfaces
if only 'network' is specified when update networks
of nova server, to make sure the security groups
info correctly.
Change-Id: I0635d50b52c430885cb3d7733fb565a5c113fad2
Closes-Bug: #1703279
This implements handle_<action>_cancel for SoftwareDeployment
to update the deployment to failed, when the resource fails due
to scheduler timeout or some other external reason.
Change-Id: Ibaa551d35e96f34cf950811a5b5a05e1cda6c364
Closes-Bug: #1585815
The floating ips will be detached from server when delete
the server. So we don't have to detach those floating ips
explicitly before calling server delete.
Change-Id: I7f85d7f12c58872d790ebfe565931985099ec846
Partial-Bug: #1700830
Eager load resource_properties_data in resources in the typical
resource-loading scenarios where properties data will be
accessed. Thus, we can save an extra db query per resource when
loading all the resources in a stack, for instance. Fall back to lazy
loading properties data in other scenarios.
Also, the resource object doesn't need to store a copy of its
ResourcePropertiesData object in self.rsrc_prop_data, so don't.
Change-Id: Ib7684af3fe06f818628fd21f1216de5047872948
Closes-Bug: #1665503
This patch will prevent when check update complete request got earlier
replied than the status change to update in progress in magnum.
This will cause the cluster failed in stack but completed in magnum.
The stack will not be able to take that cluster/bay back at this point.
Partial-Bug: #1702433
Change-Id: I0074b76e6ec925f80bb50a7e67a81cda9438941b
This patch set will add upgrades guideline for operators.
Change-Id: Ic61e4e11ec50c221038a007559bd67fe48a3ac65
Implements: blueprint heat-rolling-upgrades
Correct the logic of networks updating, to avoid
attach two interfaces to a server if update 'networks'
from [] to None. Also if user update 'networks' between
[] and None, we don't have to detach the old one and
attach a new one.
Closes-Bug: #1706830
Change-Id: I45679e83aacd07950a8fd980ed1f34e68a398356
There are some wrong tests of server networks update,
the old_networks is always None, so the tests are not
check the right logic.
Change-Id: Iff815c92b92661f303806ff319b535dd911e0ed3