Bug 1339921 - check syntax in openshift configuration files master-config.yaml and node-config.yaml
Summary: check syntax in openshift configuration files master-config.yaml and node-con...
Keywords:
Status: CLOSED DUPLICATE of bug 1321622
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Unknown
Version: 3.3.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-26 07:48 UTC by Elvir Kuric
Modified: 2016-06-02 10:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-02 10:58:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Elvir Kuric 2016-05-26 07:48:32 UTC
Description of problem:

If there is typo or misspelled configuration value in configuration files - restarting of service will not fail - even there is parameter in configuration file which is obviously wrong 


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

my test was with below packages 

atomic-openshift-clients-3.2.0.44-1.git.0.a4463d9.el7.x86_64
atomic-openshift-master-3.2.0.44-1.git.0.a4463d9.el7.x86_64
tuned-profiles-atomic-openshift-node-3.2.0.44-1.git.0.a4463d9.el7.x86_64
atomic-openshift-node-3.2.0.44-1.git.0.a4463d9.el7.x86_64
atomic-openshift-sdn-ovs-3.2.0.44-1.git.0.a4463d9.el7.x86_64
atomic-openshift-3.2.0.44-1.git.0.a4463d9.el7.x86_64


How reproducible:

Here is example of my test

- configure metrics following https://github.com/openshift/origin-metrics
- misspell metricsPublicURL and write it as metricsPublicUrl

- restart openshift master service - which will be successful 

- it is expected to see metrics tab in openshift interface - but it will not be there due to wrong parameter name in master configuration file 

Steps to Reproduce:
see above 

Actual results:

- systemctl restart atomic-openshift-master 
will work without error - thought there is wrong parameter in configuration file 

- metrics tab will not be visible in openshift web interface 

Expected results:

systemctl restart atomic-openshift-master 

to fail ( and eventually point out where bad line is ) 


Additional info:
none

Comment 1 Matt Wringe 2016-05-26 13:01:59 UTC
I am reassigning this as its not an issue with the metrics components but rather an issue with how OpenShift is started.

Comment 2 Dan McPherson 2016-06-02 10:58:54 UTC

*** This bug has been marked as a duplicate of bug 1321622 ***


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