Bug 1286843

Summary: Lost tenant dropdown entries in orchestration reconfiguration dialog
Product: Red Hat CloudForms Management Engine Reporter: Bill Wei <bilwei>
Component: ProvisioningAssignee: Bill Wei <bilwei>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: cpelland, dajohnso, jhardy, mfeifer, ngupta, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1293711 (view as bug list) Environment:
Last Closed: 2016-06-29 15:14:05 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: 1285755, 1289282    
Bug Blocks: 1293711    
Attachments:
Description Flags
Tenant list none

Description Bill Wei 2015-11-30 21:18:25 UTC
Description of problem:
Order an orchestration service for OpenStack provider with multiple tenants. Choose a non-default tenant. After the service completes, try to reconfigure the service. On the dialog the tenant shows <default> and is not changeable. 

What to expect is the tenant should be the one previously selected.

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-11-30 21:30:52 UTC
There are two causes for the problem.

Although the tenant selection does not look like a dropdown list, it is a disabled dynamic dropdown list. The script to provide entries to the dropdown does not work correctly for reconfiguration.

Secondly, the UI does not set the selection to the previously set value. The UI issue has been tracked by https://bugzilla.redhat.com/show_bug.cgi?id=1285755.

This BZ is to track the backend fix for the script to provide entries to the dropdown. The same problem is seen to other scripts to provision Azure related dynamic dropdown lists

Comment 3 Bill Wei 2015-12-21 21:20:57 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f2d5092796985d2147bff0d79b4145b781f7a842


commit f2d5092796985d2147bff0d79b4145b781f7a842
Author: Bill Wei <bilwei>
Date:   Mon Nov 30 15:11:49 2015 -0500

    Fix dynamic dropdown scripts for service reconfiguration

Comment 4 Shveta 2016-05-13 18:20:00 UTC
Created attachment 1157220 [details]
Tenant list

The reconfigure service does not show any field editable.
All are read only fields .

Comment 5 Bill Wei 2016-05-16 18:17:42 UTC
The tenant field suppose to be read only. Once a stack is deployment, the reconfiguration can change only the parameters.

Comment 6 Shveta 2016-05-16 18:37:08 UTC
Verified in 

5.6.0.6-beta2.5.20160511140943_ff75fb2

Comment 8 errata-xmlrpc 2016-06-29 15:14:05 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