Bug 1340570

Summary: Service :Orchestration : Orchestration service request fail for Ec2
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: ProvisioningAssignee: Bill Wei <bilwei>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, gmccullo, jhardy, mfeifer, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ec2:stack:provision
Fixed In Version: 5.6.0.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 16:06:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs none

Description Shveta 2016-05-27 23:11:29 UTC
Created attachment 1162563 [details]
logs

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create an orchestration service request for ec2. 
2. request fails with error . logs attached.
3."unexpected value at params[:timeout] (MiqException::MiqOrchestrationProvisionError) "

Actual results:


Expected results:


Additional info:
Build : 5.6.0.8-rc1.20160524155303_f2a5a50

Comment 3 Bill Wei 2016-06-01 03:08:00 UTC
There were two bugs that failed the service provisioning. Please verify both scenarios.

1. Leave the timeout unfilled. Prior the fix error "unexpected value at params[:timeout]".

2. Give the timeout some valid number. Prior the fix error "unexpected value at params[:timeout]". 
Note the actual time when you get the error is longer than the timeout minutes because the provisioning has pre- and post-postvisioning steps. The provider also takes extra time to do the rollback after the normal stack creation times out.

Comment 4 CFME Bot 2016-06-01 16:05:52 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/d0c8a60af2c2675b3a8d97f492ed7c64fd40be93

commit d0c8a60af2c2675b3a8d97f492ed7c64fd40be93
Author:     Bill Wei <bilwei>
AuthorDate: Tue May 31 17:10:48 2016 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Tue May 31 17:10:55 2016 -0400

    Do not convert nil to 0 for automate_output_value
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1340570

 app/models/dialog_field_text_box.rb       |  1 +
 spec/models/dialog_field_text_box_spec.rb | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

Comment 5 CFME Bot 2016-06-01 16:05:57 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/ec0f6d52ebd98a649ff13b1874bd3396d0df9388

commit ec0f6d52ebd98a649ff13b1874bd3396d0df9388
Author:     Bill Wei <bilwei>
AuthorDate: Tue May 31 17:30:50 2016 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Tue May 31 17:30:58 2016 -0400

    change timeout to timeout_in_minutes due to sdk 2.0 upgrade
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1340570

 .../amazon/cloud_manager/orchestration_service_option_converter.rb  | 2 +-
 spec/models/service_orchestration/option_converter_spec.rb          | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

Comment 6 Shveta 2016-06-08 19:24:41 UTC
Fixed .
Verified in 5.6.0.10-rc2.1.20160607103248_d06c141

Comment 9 errata-xmlrpc 2016-06-29 16:06:39 UTC
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/RHBA-2016:1348