Stop using deprecated create_default_deployment_plan workflow
Use create_deployment_plan instead. Closes-bug: #1718429 Change-Id: I9e36e6710bd15406e9262610c398e4ee0456cba5
This commit is contained in:
@@ -815,10 +815,11 @@ class TestPostConfig(base.BaseTestCase):
|
||||
|
||||
undercloud._create_default_plan(mock_mistral, [])
|
||||
mock_mistral.executions.create.assert_called_once_with(
|
||||
'tripleo.plan_management.v1.create_default_deployment_plan',
|
||||
'tripleo.plan_management.v1.create_deployment_plan',
|
||||
workflow_input={
|
||||
'container': 'overcloud',
|
||||
'queue_name': mock.ANY
|
||||
'queue_name': mock.ANY,
|
||||
'use_default_templates': True,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -1585,8 +1585,12 @@ def _create_default_plan(mistral, plans, timeout=360):
|
||||
return
|
||||
|
||||
execution = mistral.executions.create(
|
||||
'tripleo.plan_management.v1.create_default_deployment_plan',
|
||||
workflow_input={'container': plan_name, 'queue_name': queue_name}
|
||||
'tripleo.plan_management.v1.create_deployment_plan',
|
||||
workflow_input={
|
||||
'container': plan_name,
|
||||
'queue_name': queue_name,
|
||||
'use_default_templates': True,
|
||||
}
|
||||
)
|
||||
timeout_at = time.time() + timeout
|
||||
fail_message = ("error creating the default Deployment Plan %s "
|
||||
|
||||
Reference in New Issue
Block a user