Description of problem: Simulate allows you to pass a message to Automate which is supposed to match the instance message in order to have the instance resolved. It looks like the message is not be passed. Steps to Reproduce: Navigate to Automate -> Simulate Object Details: System/Process Request Message Fred Request inspectme Submit Check the automation.log to see that the inspectme method ran. Sample output: INFO -- : <AEMethod inspectme> Root:<$evm.root> Attributes - Begin Attribute - ae_provider_category: unknown INFO -- : <AEMethod inspectme> Attribute - miq_group: #<MiqAeMethodService::MiqAeServiceMiqGroup:0x007f8c28a855f0> INFO -- : <AEMethod inspectme> Attribute - miq_server: #<MiqAeMethodService::MiqAeServiceMiqServer:0x007f8c2884ee58> INFO -- : <AEMethod inspectme> Attribute - miq_server_id: 1 INFO -- : <AEMethod inspectme> Attribute - object_name: Request INFO -- : <AEMethod inspectme> Attribute - request: inspectme INFO -- : <AEMethod inspectme> Attribute - service: #<MiqAeMethodService::MiqAeServiceService:0x007f8c28b2b6d0> INFO -- : <AEMethod inspectme> Attribute - service_id: 110 INFO -- : <AEMethod inspectme> Attribute - tenant: #<MiqAeMethodService::MiqAeServiceTenant:0x007f8c28e70660> INFO -- : <AEMethod inspectme> Attribute - user: #<MiqAeMethodService::MiqAeServiceUser:0x007f8c28d76480> INFO -- : <AEMethod inspectme> Attribute - user_id: 1 INFO -- : <AEMethod inspectme> Attribute - vmdb_object_type: service INFO -- : <AEMethod inspectme> Root:<$evm.root> Attributes - End Expected results: The inspectme method should not have run since the message passed was 'fred' and the message conditioning inspectme is 'create'.
Automation.log Instantiate log message should include message, but doesnt. Simulate: [----] I, [2016-11-09T11:47:19.141821 #4456:3fc61e2848fc] INFO -- : Instantiating [/SYSTEM/PROCESS/Request?MiqServer%3A%3Amiq_server=1&Service%3A%3Aservice=110&User%3A%3Auser=1&object_name=Request&request=inspectme&vmdb_object_type=service] Instantiate example showing message passed as object_message [----] I, [2016-11-07T13:39:06.817591 #49663:3fd041860208] INFO -- : Q-task_id([automation_task_312]) Instantiating [/SYSTEM/PROCESS/Request?AutomationTask%3A%3Aautomation_task=312&MiqServer%3A%3Amiq_server=1&User%3A%3Auser=1&attrs=%5B%5B%22namespace%22%2C%20%22%2Fsystem%22%5D%2C%20%5B%22class%22%2C%20%22request%22%5D%2C%20%5B%22instance%22%2C%20%22inspectme%22%5D%5D&instance_name=Request&object_message=create&object_name=Request&request=inspectme&target_class=Vm&target_id=2121&userid=admin&vmdb_object_type=automation_task]
https://github.com/ManageIQ/manageiq/pull/14221
I lied. Sorry. This one: https://github.com/ManageIQ/manageiq/pull/14237
New PR: https://github.com/ManageIQ/manageiq-ui-classic/pull/742
Verified in 5.8.0.8. The message is correctly passed into /System/Process/ instances
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1367