Bug 1995433

Summary: Router generates duplicate STATS_PASSWORD and ROUTER_CIPHERS env variables while running router creation task
Product: OpenShift Container Platform Reporter: Vinu K <vkochuku>
Component: NetworkingAssignee: Miciah Dashiel Butler Masters <mmasters>
Networking sub component: router QA Contact: Hongan Li <hongli>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: low CC: aos-bugs, esimard, mmasters
Version: 3.11.0   
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 15:58:21 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 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