Bug 1262973

Summary: Order service form shows <Script error> in the Tenant dropdown
Product: Red Hat CloudForms Management Engine Reporter: Bill Wei <bilwei>
Component: ProvisioningAssignee: Bill Wei <bilwei>
Status: CLOSED ERRATA QA Contact: Pete Savage <psavage>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: bilwei, jhardy, obarenbo
Target Milestone: GAFlags: psavage: automate_bug-
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:30:17 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:
Bug Depends On: 1275405    
Bug Blocks:    

Description Bill Wei 2015-09-14 19:20:59 UTC
Description of problem:
This issue was originally reported in https://github.com/ManageIQ/manageiq/issues/4288

To reproduce you can either remove Cloud/Orchestration/Operations/Methods from Datastore, or use the dialog for ordering non orchestration service.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Bill Wei 2015-09-14 19:28:14 UTC
PR https://github.com/ManageIQ/manageiq/pull/4342

Comment 3 CFME Bot 2015-09-14 20:50:50 UTC
New commit detected on ManageIQ/manageiq-appliance-build/master:
https://github.com/ManageIQ/manageiq-appliance-build/commit/16f3ef2c451edd2c18834bb49a9f43fef60665c3

commit 16f3ef2c451edd2c18834bb49a9f43fef60665c3
Author:     Bill Wei <bilwei>
AuthorDate: Mon Sep 14 15:24:34 2015 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Mon Sep 14 16:45:15 2015 -0400

    Fixes #4288: Prevent Available_Tenants script to throw errors
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1262973
    https://github.com/ManageIQ/manageiq/issues/4288

 .../Operations/Methods.class/__methods__/available_tenants.rb           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 CFME Bot 2015-09-17 20:33:40 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f208f6d2de70669af2faee484fc56367b8b638c0

commit f208f6d2de70669af2faee484fc56367b8b638c0
Author:     Bill Wei <bilwei>
AuthorDate: Mon Sep 14 15:24:34 2015 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Thu Sep 17 14:52:55 2015 -0400

    Prevent Available_Tenants script to throw errors
    
    Check orchestration_manager is valid.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1262973
    Fixes #4288

 .../Methods.class/__methods__/available_tenants.rb |  2 +-
 .../method_validation/available_tenants_spec.rb    | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+), 1 deletion(-)
 create mode 100644 spec/automation/unit/method_validation/available_tenants_spec.rb

Comment 6 Pete Savage 2015-10-26 20:06:07 UTC
How do I go about creating the dialog that is displayed in the GitHub PR 4288? I'm not seeing the details on how to create the tenant dropdown. I tried but I couldn't seem to create any dynamic dialog.

Comment 7 Bill Wei 2015-10-26 20:17:55 UTC
The dialog is tool generated. Go to Services/Catalogs/Orchestration Templates, select an existing CloudFormation or Heat template. From the Configuration dropdown, select Create Service Dialog from Orchestration Template.

If you are using the latest build, you may be blocked by another issue

https://bugzilla.redhat.com/show_bug.cgi?id=1275405

Comment 8 Pete Savage 2015-10-26 21:54:13 UTC
Yup blocked by it.....

Comment 9 Pete Savage 2015-11-20 13:09:25 UTC
Verified in 5.5.0.11

Comment 11 errata-xmlrpc 2015-12-08 13:30:17 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/RHSA-2015:2551