Bug 1320582

Summary: openshift_master_extension_scripts doesn't copy files to master
Product: OpenShift Container Platform Reporter: Stefanie Forrester <dakini>
Component: InstallerAssignee: Jason DeTiberus <jdetiber>
Status: CLOSED WONTFIX QA Contact: Ma xiaoqiang <xiama>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: agrimm, aos-bugs, bleanhar, jokerman, mmccomas, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-05 18:47:55 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:
Bug Depends On:    
Bug Blocks: 1303130    

Description Stefanie Forrester 2016-03-23 14:35:47 UTC
Description of problem:

There are two installer options: openshift_master_extension_scripts and openshift_master_extension_stylesheets that don't copy the specified files to the master. In the openshift-ansible inventory, they're specified like this:

openshift_master_extension_scripts=['/path/to/script1.js','/path/to/script2.js']
openshift_master_extension_stylesheets=['/path/to/stylesheet1.css','/path/to/stylesheet2.css']

It sets the assetConfig properly in master-config.yaml:

assetConfig:
  extensionScripts:
    - /path/to/script1.js
    - /path/to/script2.js
  extensionStylesheets:
    - /path/to/stylesheet1.css
    - /path/to/stylesheet2.css

But, during installation, the master api fails to start, because the files are not present on masters.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

Master fails to start because files are not present. User would have to copy the files to master before installing openshift.

Expected results:

I expected this setting to be more like openshift_master_named_certificates, where it copies the file into place before trying to start master.

Additional info:

Comment 2 Brenton Leanhardt 2016-03-24 14:30:40 UTC
We're likely going to need to track this in trello.