Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1501795 - servingInfo.clientCA should be updated to ca.crt during upgrade
servingInfo.clientCA should be updated to ca.crt during upgrade
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Upgrade (Show other bugs)
3.7.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.7.0
Assigned To: Andrew Butcher
liujia
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-13 04:44 EDT by liujia
Modified: 2017-11-28 17:16 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:16:57 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description liujia 2017-10-13 04:44:55 EDT
Description of problem:
Upgrade v3.6 ocp to v3.7, servingInfo.clientCA in master.config should be updated to ca.crt from ca-bundle.crt due to setting servingInfo.clientCA to ca-bundle.crt can cause unwanted client cert popups in browser when hitting console(refer to bug1493276)

<--snip-->
servingInfo:
  bindAddress: 0.0.0.0:443
  bindNetwork: tcp4
  certFile: master.server.crt
  clientCA: ca-bundle.crt
  keyFile: master.server.key

fresh installation:
<--snip-->
servingInfo:
  bindAddress: 0.0.0.0:443
  bindNetwork: tcp4
  certFile: master.server.crt
  clientCA: ca.crt
  keyFile: master.server.key

Version-Release number of the following components:
openshift-ansible-3.7.0-0.150.0.git.0.15c09f1.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Install ocp v3.6
2. Upgrade v3.6 to v3.7
3.

Actual results:
servingInfo.clientCA was not updated to ca.crt.

Expected results:
servingInfo.clientCA should be updated to the same as fresh installation.

Additional info:
Please attach logs from ansible-playbook with the -vvv flag
Comment 3 liujia 2017-10-26 03:39:57 EDT
Version:
openshift-ansible-3.7.0-0.179.0.git.0.a2641b6.el7.noarch

Still hit the issue.

# cat /etc/origin/master/master-config.yaml |grep -A 7 "^servingInfo"
servingInfo:
  bindAddress: 0.0.0.0:8443
  bindNetwork: tcp4
  certFile: master.server.crt
  clientCA: ca-bundle.crt
  keyFile: master.server.key
  maxRequestsInFlight: 500
  requestTimeoutSeconds: 3600

# openshift version
openshift v3.7.0-0.178.0
kubernetes v1.7.6+a08f5eeb62
etcd 3.2.8


Seems the whole playbook master_config_upgrade.yml was not run.
Comment 4 Andrew Butcher 2017-10-26 15:13:49 EDT
https://github.com/openshift/openshift-ansible/pull/5875 should address the master_config_upgrade.yml not running during full upgrade.
Comment 6 liujia 2017-11-02 03:03:06 EDT
Verified on atomic-openshift-utils-3.7.0-0.189.0.git.0.d497c5e.el7.noarch.

before:
servingInfo:
  bindAddress: 0.0.0.0:8443
  bindNetwork: tcp4
  certFile: master.server.crt
  clientCA: ca-bundle.crt

after:
servingInfo:
  bindAddress: 0.0.0.0:8443
  bindNetwork: tcp4
  certFile: master.server.crt
  clientCA: ca.crt
Comment 9 errata-xmlrpc 2017-11-28 17:16:57 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:3188

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