Merge "Add the workflow name to the starting workflow message"

This commit is contained in:
Jenkins 2016-10-21 10:11:38 +00:00 committed by Gerrit Code Review
commit df4a41596d
2 changed files with 6 additions and 4 deletions

View File

@ -210,7 +210,8 @@ def configure(clients, **workflow_input):
ooo_client = clients.tripleoclient
queue_name = workflow_input['queue_name']
execution = workflow_client.executions.create(
execution = base.start_workflow(
workflow_client,
'tripleo.baremetal.v1.configure',
workflow_input=workflow_input
)
@ -233,7 +234,8 @@ def configure_manageable_nodes(clients, **workflow_input):
ooo_client = clients.tripleoclient
queue_name = workflow_input['queue_name']
execution = workflow_client.executions.create(
execution = base.start_workflow(
workflow_client,
'tripleo.baremetal.v1.configure_manageable_nodes',
workflow_input=workflow_input
)

View File

@ -30,7 +30,7 @@ def start_workflow(workflow_client, identifier, workflow_input):
workflow_input=workflow_input
)
print("Started Mistral Workflow. Execution ID: {}".format(
execution.id))
print("Started Mistral Workflow {}. Execution ID: {}".format(
identifier, execution.id))
return execution