diff --git a/content/automate/ManageIQ/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/check_provisioned.rb b/content/automate/ManageIQ/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/check_provisioned.rb index eb7ebcc2c..cb6a504ac 100644 --- a/content/automate/ManageIQ/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/check_provisioned.rb +++ b/content/automate/ManageIQ/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/check_provisioned.rb @@ -36,7 +36,7 @@ def check_provisioned(task, service) unless @handle.root['ae_result'] == 'retry' @handle.log("info", "AnsibleTower job finished. Status: #{@handle.root['ae_result']}, reason: #{@handle.root['ae_reason']}") - @handle.log("info", "Please examine job console output for more details") if @handle.root['ae_result'] == 'error' + @handle.log('error', 'Please examine job console output for more details') if @handle.root['ae_result'] == 'error' job.refresh_ems task.miq_request.user_message = @handle.root['ae_reason'].truncate(255) unless @handle.root['ae_reason'].blank? diff --git a/content/automate/ManageIQ/ConfigurationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/check_provisioned.rb b/content/automate/ManageIQ/ConfigurationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/check_provisioned.rb index 14bea4d74..ecc463039 100644 --- a/content/automate/ManageIQ/ConfigurationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/check_provisioned.rb +++ b/content/automate/ManageIQ/ConfigurationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/check_provisioned.rb @@ -29,7 +29,7 @@ def check_provisioned(task, service) unless @handle.root['ae_result'] == 'retry' @handle.log("info", "AnsibleTower job finished. Status: #{@handle.root['ae_result']}, reason: #{@handle.root['ae_reason']}") - @handle.log("info", "Please examine job console output for more details") if @handle.root['ae_result'] == 'error' + @handle.log('error', 'Please examine job console output for more details') if @handle.root['ae_result'] == 'error' job.refresh_ems task.miq_request.user_message = @handle.root['ae_reason'].truncate(255) unless @handle.root['ae_reason'].blank? diff --git a/content/automate/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/provision.rb b/content/automate/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/provision.rb index e987c05d8..40d4e8ebf 100644 --- a/content/automate/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/provision.rb +++ b/content/automate/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/provision.rb @@ -10,7 +10,7 @@ def check_state(finished, fail) $evm.root['ae_result'] = "ok" elsif fail $evm.root['ae_result'] = "error" - $evm.log(:info, "********* Provision failed ************") + $evm.log(:error, '********* Provision failed ************') else $evm.log(:info, "********* Provision isnt finished re-trying in 1 min ************") $evm.root['ae_result'] = 'retry' diff --git a/content/automate/ManageIQ/Service/Generic/StateMachines/GenericLifecycle.class/__methods__/execute.rb b/content/automate/ManageIQ/Service/Generic/StateMachines/GenericLifecycle.class/__methods__/execute.rb index bc0586a23..fbb904f78 100644 --- a/content/automate/ManageIQ/Service/Generic/StateMachines/GenericLifecycle.class/__methods__/execute.rb +++ b/content/automate/ManageIQ/Service/Generic/StateMachines/GenericLifecycle.class/__methods__/execute.rb @@ -22,7 +22,7 @@ def main rescue => err @handle.root['ae_result'] = 'error' @handle.root['ae_reason'] = err.message - @handle.log("info", "Error in execute: #{err.message}") + @handle.log('error', "Error in execute: #{err.message}") update_task(err.message) end end diff --git a/content/automate/ManageIQ/Service/Generic/StateMachines/GenericLifecycle.class/__methods__/preprocess.rb b/content/automate/ManageIQ/Service/Generic/StateMachines/GenericLifecycle.class/__methods__/preprocess.rb index 291c1bb21..da06d4b77 100644 --- a/content/automate/ManageIQ/Service/Generic/StateMachines/GenericLifecycle.class/__methods__/preprocess.rb +++ b/content/automate/ManageIQ/Service/Generic/StateMachines/GenericLifecycle.class/__methods__/preprocess.rb @@ -24,7 +24,7 @@ def main rescue => err @handle.root['ae_result'] = 'error' @handle.root['ae_reason'] = err.message - @handle.log(:info, "Error in preprocess: #{err.message}") + @handle.log(:error, "Error in preprocess: #{err.message}") update_task(err.message) end end