From 8565b550910bd20c551c1cdee6021664453cc14c Mon Sep 17 00:00:00 2001 From: Boris Odnopozov Date: Sun, 24 Dec 2017 16:39:14 +0200 Subject: [PATCH] Refresh template if sealing failed Refresh the template if we catch an event from the provider on sealing failure. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511445 --- .../user_add_vm_template_seal_failure.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/user_add_vm_template_seal_failure.yaml diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/user_add_vm_template_seal_failure.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/user_add_vm_template_seal_failure.yaml new file mode 100644 index 000000000..8a8ca73f0 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/user_add_vm_template_seal_failure.yaml @@ -0,0 +1,12 @@ +--- +object_type: instance +version: 1.0 +object: + attributes: + display_name: + name: USER_ADD_VM_TEMPLATE_SEAL_FAILURE + inherits: + description: + fields: + - rel4: + value: "/System/event_handlers/event_action_refresh?target=src_vm"