Browse Source

Merge "Don't check stack staus for already migrated stacks" into stable/train

changes/66/743966/1
Zuul 1 year ago
committed by Gerrit Code Review
parent
commit
4c22106f33
  1. 8
      heat/engine/service.py

8
heat/engine/service.py

@ -2293,15 +2293,15 @@ class EngineService(service.ServiceBase):
msg = _("Migration of nested stack %s") % stack_id
raise exception.NotSupported(feature=msg)
if parent_stack.status != parent_stack.COMPLETE:
raise exception.ActionNotComplete(stack_name=parent_stack.name,
action=parent_stack.action)
if parent_stack.convergence:
LOG.info("Convergence was already enabled for stack %s",
stack_id)
return
if parent_stack.status != parent_stack.COMPLETE:
raise exception.ActionNotComplete(stack_name=parent_stack.name,
action=parent_stack.action)
db_stacks = stack_object.Stack.get_all_by_root_owner_id(
ctxt, parent_stack.id)
stacks = [parser.Stack.load(ctxt, stack_id=st.id,

Loading…
Cancel
Save