Bug 1320582 - openshift_master_extension_scripts doesn't copy files to master
Summary: openshift_master_extension_scripts doesn't copy files to master
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks: OSOPS_V3
TreeView+ depends on / blocked
 
Reported: 2016-03-23 14:35 UTC by Stefanie Forrester
Modified: 2016-07-04 00:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-05 18:47:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.