Bug 1739229 - logging - redeploy certs did not update secret/logging-kibana-proxy oauth-secret
Summary: logging - redeploy certs did not update secret/logging-kibana-proxy oauth-secret
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.11.z
Assignee: ewolinet
QA Contact: Anping Li
URL:
Whiteboard:
: 1752517 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-08 19:27 UTC by Rich Megginson
Modified: 2019-09-18 08:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-03 15:56:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-ansible pull 11817 0 None closed Bug 1739229: Correctly update kibana proxy related secrets and certs 2020-12-01 21:22:20 UTC
Red Hat Knowledge Base (Solution) 4420271 0 None None None 2019-09-18 08:46:44 UTC
Red Hat Product Errata RHBA-2019:2580 0 None None None 2019-09-03 15:56:11 UTC

Description Rich Megginson 2019-08-08 19:27:55 UTC
Description of problem:

The "secret" in oauthclient/kibana-proxy did not match the one in the secret/logging-kibana-proxy file "oauth-secret".  The one in the /etc/origin/logging/oauth_secret matched the one in oauthclient/kibana-proxy.  The problem was fixed by changing secret/logging-kibana-proxy file "oauth-secret" to match the one in /etc/origin/logging/oauth_secret and "secret" in oauthclient/kibana-proxy.

I'm not sure if the problem was that the secret/logging-kibana-proxy file "oauth-secret" was not updated, or if that value was updated but not the file or the oauthclient.

Version-Release number of the following components:
3.11
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results:

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 3 Anping Li 2019-08-30 05:11:03 UTC
In 3.11.141, the oauthclient/kibana-proxy and oauth-secret/logging-kibana-proxy are same for both new-installaiton and redeploy certs.   (Note: to generate a new oauth-secret, you have to delete /etc/origin/logging in the first before run openshift-logging/redeploy-certificates.yml)

Comment 5 errata-xmlrpc 2019-09-03 15:56:03 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, 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/RHBA-2019:2580

Comment 6 German Parente 2019-09-18 08:46:44 UTC
*** Bug 1752517 has been marked as a duplicate of this bug. ***


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