Bug 1570932

Summary: For OCP v3.10, the openshift-scripts RPM can only install file resources under /etc/origin/master
Product: OpenShift Online Reporter: Justin Pierce <jupierce>
Component: WebsiteAssignee: Stefanie Forrester <dakini>
Status: CLOSED CURRENTRELEASE QA Contact: yasun
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.xCC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
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: 2018-07-30 15:37:50 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:

Description Justin Pierce 2018-04-23 18:41:33 UTC
Description of problem:
For v3.10, since the master processes are being containerized, master-config.yml referencing files outside of /etc/origin/master will cause master processes to fail.

Resources like the following need to be under /etc/origin/master:

- providerSelection: /etc/openshift-free/ui-extensions/custom-templates/provider-selection-int.html
- error:/etc/openshift-free/ui-extensions/custom-templates/oauth-error-int.html

I believe the oso-deployer may need to reflect these new file locations as well. 

Version-Release number of selected component (if applicable):
v3.10.X

How reproducible:
100% / By design in v3.10

Comment 1 Stefanie Forrester 2018-04-23 23:11:26 UTC
The console extensions (UI customizations) have already been moved to https://github.com/openshift/online-console-extensions. So those won't be needed in master-config anymore. I went ahead and removed them from config management today.

The next step will be moving the oauth customizations, which need to remain in master-config. I'll just have to move the file location to /etc/origin/master in oso_deployer.

Comment 4 Stefanie Forrester 2018-06-06 13:51:10 UTC
Fixed path across all of Online. (Dedicated will get this change after the 3.9 upgrade).

Comment 5 yasun 2018-07-16 02:25:06 UTC
verified on all of Online