Bug 1509842

Summary: No configmap to select when adding environment variables for hooks
Product: OpenShift Container Platform Reporter: shahan <hasha>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas, spadgett
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-07 14:27:42 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:

Description shahan 2017-11-06 07:52:41 UTC
Description of problem:
 No config map to select  when adding environment variables for hooks
 
Version-Release number of selected component (if applicable):
 v3.7.0-0.191.0

How reproducible:
 Always

Steps to Reproduce:
1. oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json
  oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/configmap/configmap.yaml
2.Goto dc/frontend edit page, add environment variables for Pre/Post hooks. Click Add Value from Config Map or Secret under the Pre/Post hooks part, input env name and try to select above config map in dropdown list
3.

Actual results:
 There is no config map part in the dropdown list.

Expected results:
 Should find the existing config map in the dropdown list

Additional info:

Comment 1 Jessica Forrester 2017-11-06 12:52:29 UTC
This bug would have existed in 3.6 as well.

Comment 2 Jessica Forrester 2017-11-06 13:05:15 UTC
Fix is in https://github.com/openshift/origin-web-console/pull/2459

Comment 3 Jessica Forrester 2017-11-06 16:17:10 UTC
Fix moved to https://github.com/openshift/origin-web-console/pull/2461

Comment 5 shahan 2017-11-07 03:32:58 UTC
Check this issue on OCP v3.7.0-0.196.0,  will find the config map part when adding env for hooks, and the environment from config map will show in hooks on the configuration tab, looks like "foo set to key special.how in config map special-config ", Change status to verified.