Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1364027

Summary: Space were removed for some options with '-' after upgrade
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: UpgradeAssignee: Scott Dodson <sdodson>
Status: CLOSED WONTFIX QA Contact: Anping Li <anli>
Severity: low Docs Contact:
Priority: low    
Version: 3.3.0CC: 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: 2017-08-25 15:51:49 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 Anping Li 2016-08-04 10:19:58 UTC
Description of problem:
After upgrade, checking master-config.yaml. The prefix spaces were for those options with '-'(For example: the options under corsAllowedOrigins).  compared with file before upgrade or fresh installation, it looks differently. The interesting is that Openshift still works well. 
I open this bug in case of potential risk.

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

How reproducible:
always

Steps to Reproduce:
1. checking the master-config.yaml after upgrade.

Actual results:

corsAllowedOrigins:
- 127.0.0.1
- localhost
- 192.168.0.180
- 10.66.147.182
- 172.30.0.1
- kubernetes.default
- kubernetes.default.svc.cluster.local
- kubernetes
- openshift.default
- openshift.default.svc
- openshift.default.svc.cluster.local
- kubernetes.default.svc
- openshift
- openshift-182.lab.eng.nay.redhat.com

etcdClientInfo:
  ca: ca.crt
  certFile: master.etcd-client.crt
  keyFile: master.etcd-client.key
  urls:
  - https://openshift-182.lab.eng.nay.redhat.com:4001


Expected Result:
corsAllowedOrigins:
  - 127.0.0.1
  - localhost
  - 192.168.0.180
  - 10.66.147.182
  - 172.30.0.1
  - kubernetes.default
  - kubernetes.default.svc.cluster.local
  - kubernetes
  - openshift.default
  - openshift.default.svc
  - openshift.default.svc.cluster.local
  - kubernetes.default.svc
  - openshift
  - openshift-182.lab.eng.nay.redhat.com
  
<---skip--->
<---skip--->

etcdClientInfo:
  ca: ca.crt
  certFile: master.etcd-client.crt
  keyFile: master.etcd-client.key
  urls:
    - https://openshift-182.lab.eng.nay.redhat.com:4001