Use the default queue when calling create_deployment_plan
This change happened in tripleoclient[1], but never in instack-undercloud. Using a uuid queue name means a queue is left in Zaqar but never used - we don't consume the messages from it or delete the queue. [1]: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=1bd1620eadf23f2ee755a32a8167d9a5386a392e Closes-Bug: #1757387 Change-Id: I5d39200e7292a5c1750601ec0669f462e7b1c164
This commit is contained in:
parent
af24acef45
commit
6a016a6214
|
@ -1068,7 +1068,6 @@ class TestPostConfig(BaseTestCase):
|
|||
'tripleo.plan_management.v1.create_deployment_plan',
|
||||
workflow_input={
|
||||
'container': 'overcloud',
|
||||
'queue_name': mock.ANY,
|
||||
'use_default_templates': True,
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1877,7 +1877,6 @@ def _run_validation_groups(groups=[], mistral_url='', timeout=540,
|
|||
|
||||
def _create_default_plan(mistral, plans, timeout=360):
|
||||
plan_name = 'overcloud'
|
||||
queue_name = str(uuid.uuid4())
|
||||
|
||||
if plan_name in plans:
|
||||
LOG.info('Not creating default plan "%s" because it already exists.',
|
||||
|
@ -1888,7 +1887,6 @@ def _create_default_plan(mistral, plans, timeout=360):
|
|||
'tripleo.plan_management.v1.create_deployment_plan',
|
||||
workflow_input={
|
||||
'container': plan_name,
|
||||
'queue_name': queue_name,
|
||||
'use_default_templates': True,
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue