Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1339921

Summary: check syntax in openshift configuration files master-config.yaml and node-config.yaml
Product: OpenShift Container Platform Reporter: Elvir Kuric <ekuric>
Component: UnknownAssignee: Dan McPherson <dmcphers>
Status: CLOSED DUPLICATE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aos-bugs, jeder, jokerman, mmccomas, tstclair
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-02 10:58:54 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 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 ***