diff --git a/mistral/resources/workflows/create_instance.yaml b/mistral/resources/workflows/create_instance.yaml index ad3f01758..b956f8a82 100644 --- a/mistral/resources/workflows/create_instance.yaml +++ b/mistral/resources/workflows/create_instance.yaml @@ -44,7 +44,7 @@ std.create_instance: security_groups: <% $.security_groups %> nics: <% $.nics %> publish: - vm_id: <% $.create_vm.id %> + vm_id: <% task(create_vm).result.id %> on-success: - search_for_ip @@ -52,7 +52,7 @@ std.create_instance: description: Gets first free ip from Nova floating IPs. action: nova.floating_ips_findall instance_id=null publish: - vm_ip: <% $.search_for_ip[0].ip %> + vm_ip: <% task(search_for_ip).result[0].ip %> on-success: - wait_vm_active @@ -63,7 +63,7 @@ std.create_instance: count: 10 delay: 10 publish: - status: <% $.wait_vm_active.status %> + status: <% task(wait_vm_active).result.status %> on-success: - associate_ip diff --git a/releasenotes/notes/workflow-create-instance-YaqlEvaluationException-e22afff26a193c4f.yaml b/releasenotes/notes/workflow-create-instance-YaqlEvaluationException-e22afff26a193c4f.yaml new file mode 100644 index 000000000..553a73ff6 --- /dev/null +++ b/releasenotes/notes/workflow-create-instance-YaqlEvaluationException-e22afff26a193c4f.yaml @@ -0,0 +1,3 @@ +--- +fixes: + - Fix for YaqlEvaluationException in std.create_instance workflow.