<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000" data-mce-style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000;"><div><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;">I try doing use case with vitrage notification execute mistral but got a problem:</p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;"><br></p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;">In my use case, i try evacuate host with 2 instance "vm_1" and "vm_2" on it, when host have alarm -then evacuate instance:<br>```</p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;">condition: nova_compute_down_on_host and host_contain_instance<br>actions:</p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;"> - action:<br> action_type: execute_mistral<br> properties:<br> workflow: evacuate_vm<br> input:<br> vm_name: get_attr(instance, name)</p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;">```</p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;"><br></p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;">I expect m<span style="font-size: 12pt;" data-mce-style="font-size: 12pt;">istral workflow will then be: execute workflow 2 times with input:</span></p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;">```vm_name: vm_1``` and ```vm_name: vm_2``` </p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;"><br></p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;">But i alway get : mistral execute that workflow 2 times with input:</p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;"><br></p><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;">```vm_name: vm_1``` and ```vm_name: vm_1``` </p><div style="background-color: #ffffff;" data-mce-style="background-color: #ffffff;"><br></div><div style="background-color: #ffffff;" data-mce-style="background-color: #ffffff;">When i turn on debug log, to see the line "Function get_attr called with template_id..." follow<br>"<a href="https://github.com/openstack/vitrage/blob/stable/queens/vitrage/evaluator/template_functions/v2/functions.py" target="_blank" style="color: #336699; text-decoration-line: none; cursor: pointer;" data-mce-href="https://github.com/openstack/vitrage/blob/stable/queens/vitrage/evaluator/template_functions/v2/functions.py" data-mce-style="color: #336699; text-decoration-line: none; cursor: pointer;">https://github.com/openstack/vitrage/blob/stable/queens/vitrage/evaluator/template_functions/v2/functions.py</a>"<br>I saw that line appear only one time!</div><div style="background-color: #ffffff;" data-mce-style="background-color: #ffffff;">And after that scenario do-action, when i add another template with action "execute_mistral", all not work.<br><div><br></div>I don't know it is bug or not? please help me<br>(my vitrage in queens version)<br><div><br></div>Best regards.</div><div><br></div><p style="background-color: #ffffff; margin: 0px;" data-mce-style="background-color: #ffffff; margin: 0px;"><br></p></div></div></div></body></html>