Bug 1995433 - Router generates duplicate STATS_PASSWORD and ROUTER_CIPHERS env variables while running router creation task
Summary: Router generates duplicate STATS_PASSWORD and ROUTER_CIPHERS env variables wh...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 3.11.0
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
: 3.11.z
Assignee: Miciah Dashiel Butler Masters
QA Contact: Hongan Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-19 06:34 UTC by Vinu K
Modified: 2024-12-20 20:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-28 15:58:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-ansible pull 12351 0 None open Bug 1995433: Avoid duplicate env vars in router deploymentconfig 2021-09-14 16:55:22 UTC
Red Hat Product Errata RHSA-2021:3915 0 None None None 2021-10-28 15:58:27 UTC

Description Vinu K 2021-08-19 06:34:58 UTC
Description of problem:
During cluster installation, Router has generating duplicate STATS_PASSWORD and ROUTER_CIPHERS env variables other than specified.

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

How reproducible:
100%

Steps to Reproduce:
1. Install OpenShift 3.11 with the below in host file.
{u'action': u'update', u'key': u'spec.template.spec.containers[0].env', u'value': {u'name': u'ROUTER_CIPHERS', u'value': u'intermediate'}}, 
{u'action': u'update', u'key': u'spec.template.spec.containers[0].env', u'value': {u'name': u'STATS_PASSWORD', u'value': u'cheiP2zubach7phu'}},

2. Check the Router DC's env.

3.

Actual results:
It duplicates values

Expected results:
Router DC should reflect with the assigned values

Additional info:

Comment 2 Vinu K 2021-09-03 03:11:52 UTC
Hello Team,

Any update on this?

Thanks,
Vinu K

Comment 3 Etienne Simard 2021-09-14 16:55:01 UTC
(In reply to Vinu K from comment #2)
> Hello Team,
> 
> Any update on this?
> 
> Thanks,
> Vinu K

Hello Vinu, there is some work being done and you will be able to follow the PR link once posted. This ticket will also be updated after the fix is reviewed.

Thanks!

Comment 5 Hongan Li 2021-10-12 12:36:47 UTC
verified with openshift-ansible-3.11.531-1.git.0.f47c672 and passed

# oc get dc/router -oyaml
<---snip---->
        - name: ROUTER_CIPHERS
          value: intermediate
        - name: STATS_PASSWORD
          value: testtest

Comment 8 errata-xmlrpc 2021-10-28 15:58:21 UTC
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 (Moderate: OpenShift Container Platform 3.11.542 security update), 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-2021:3915


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