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 cb6a504ac..b51ec70d2 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 @@ -39,7 +39,7 @@ def check_provisioned(task, service) @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? + task.miq_request.user_message = @handle.root['ae_reason'] unless @handle.root['ae_reason'].blank? end end diff --git a/content/automate/ManageIQ/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/provision.rb b/content/automate/ManageIQ/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/provision.rb index f112c2095..d97b11b53 100644 --- a/content/automate/ManageIQ/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/provision.rb +++ b/content/automate/ManageIQ/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/provision.rb @@ -40,7 +40,7 @@ def run(task, service) rescue => err @handle.root['ae_result'] = 'error' @handle.root['ae_reason'] = err.message - task.miq_request.user_message = err.message.truncate(255) + task.miq_request.user_message = err.message @handle.log("error", "Template #{service.job_template.name} launching failed. Reason: #{err.message}") end end diff --git a/content/automate/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods.class/__methods__/check_provisioned.rb b/content/automate/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods.class/__methods__/check_provisioned.rb index b4775dc73..fe3428c7f 100644 --- a/content/automate/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods.class/__methods__/check_provisioned.rb +++ b/content/automate/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods.class/__methods__/check_provisioned.rb @@ -29,7 +29,7 @@ def main end unless @handle.root['ae_reason'].blank? - task.miq_request.user_message = @handle.root['ae_reason'].truncate(255) + task.miq_request.user_message = @handle.root['ae_reason'] end end diff --git a/content/automate/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods.class/__methods__/provision.rb b/content/automate/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods.class/__methods__/provision.rb index 4f3e0090b..7795274bb 100644 --- a/content/automate/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods.class/__methods__/provision.rb +++ b/content/automate/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods.class/__methods__/provision.rb @@ -25,7 +25,7 @@ def main rescue => err @handle.root['ae_result'] = 'error' @handle.root['ae_reason'] = err.message - task.miq_request.user_message = err.message.truncate(255) + task.miq_request.user_message = err.message @handle.log("error", "Stack #{service.stack_name} creation failed. Reason: #{err.message}") end end diff --git a/content/automate/ManageIQ/Cloud/Orchestration/Reconfiguration/StateMachines/Methods.class/__methods__/reconfigure.rb b/content/automate/ManageIQ/Cloud/Orchestration/Reconfiguration/StateMachines/Methods.class/__methods__/reconfigure.rb index 82622b9a1..6852a4f7b 100644 --- a/content/automate/ManageIQ/Cloud/Orchestration/Reconfiguration/StateMachines/Methods.class/__methods__/reconfigure.rb +++ b/content/automate/ManageIQ/Cloud/Orchestration/Reconfiguration/StateMachines/Methods.class/__methods__/reconfigure.rb @@ -13,6 +13,6 @@ rescue => err $evm.root['ae_result'] = 'error' $evm.root['ae_reason'] = err.message - task.miq_request.user_message = err.message.truncate(255) + task.miq_request.user_message = err.message $evm.log("error", "Stack #{service.stack_name} update failed. Reason: #{err.message}") end 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 ecc463039..317b315f1 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 @@ -32,7 +32,7 @@ def check_provisioned(task, service) @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? + task.miq_request.user_message = @handle.root['ae_reason'] unless @handle.root['ae_reason'].blank? end end diff --git a/content/automate/ManageIQ/ConfigurationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/provision.rb b/content/automate/ManageIQ/ConfigurationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/provision.rb index e83a430b9..c09ee37f6 100644 --- a/content/automate/ManageIQ/ConfigurationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/provision.rb +++ b/content/automate/ManageIQ/ConfigurationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision.class/__methods__/provision.rb @@ -32,7 +32,7 @@ def run(task, service) rescue => err @handle.root['ae_result'] = 'error' @handle.root['ae_reason'] = err.message - task.miq_request.user_message = err.message.truncate(255) + task.miq_request.user_message = err.message @handle.log("error", "Template #{service.job_template.name} launching failed. Reason: #{err.message}") end end