Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1614255 - Failed to show Kibana when redirect from console
Failed to show Kibana when redirect from console
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging (Show other bugs)
3.11.0
Unspecified Unspecified
unspecified Severity high
: ---
: 3.11.0
Assigned To: Jeff Cantrill
Anping Li
: OnlineStarter
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-09 05:26 EDT by Anping Li
Modified: 2018-10-16 13:44 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-16 13:44:37 EDT
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
Github openshift/origin-web-console/pull/3067 None None None 2018-08-28 10:56 EDT

  None (edit)
Description Anping Li 2018-08-09 05:26:49 EDT
Description of problem:
Failed to show Kibana when redirect from web-console->Applications->pods->$Pod->Logs->View Archive

It is redirected to https://kibana.apps.0809-f0i.qe.rhcloud.com/auth/token/. and report error "{"statusCode":404,"error":"Not Found"}"


Version-Release number of selected component (if applicable):
Logging:v3.11.0-0.11.0.0

How reproducible:
Always

Steps to Reproduce:
1. Login webconsole
2. Click Applications->pods->$Pod->Logs->View Archive

3.

Actual results:
it redirect to Kibana.

Expected results:
It redirect to https://kibana.apps.0809-f0i.qe.rhcloud.com/auth/token/ and print '{"statusCode":404,"error":"Not Found"}'


Additional info:
Comment 1 Jeff Cantrill 2018-08-27 13:46:08 EDT
The outcome of the fix will end up as a functionality change from prior releases due to the change in proxy usage:

* Modify console 'log archive' link to no longer post or provide your auth token
* Change necessitates users may have to login again
* Post 3.11 there will not be an archive link to Kibana because of the console arch changes and other.
* This is a minor regression from 3.10.

We made this change because of maintenance concerns related to the Fabric8 proxy; it was on 0.10.43 of Node which is considerably EOL.
Comment 2 openshift-github-bot 2018-08-28 10:46:51 EDT
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/1c83a2166ec21f1c9389d674298c29f6c5625707
bug 1614255. Remove posting token for use with oauth-proxy
Comment 3 openshift-github-bot 2018-08-28 10:49:36 EDT
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/5b005aaf6d7817915d60f660b520c85d62b533be
Revert "bug 1614255. Remove posting token for use with oauth-proxy"

This reverts commit 1c83a2166ec21f1c9389d674298c29f6c5625707.
Comment 5 openshift-github-bot 2018-08-30 12:16:00 EDT
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/d922cc2827304fb3315fc9690d757e9026785342
bug 1614255. Remove posting token for use with oauth-proxy
Comment 6 Michael Burke 2018-09-06 10:25:15 EDT
Added note to docs:
https://bugzilla.redhat.com/show_bug.cgi?id=1614255
Comment 7 Anping Li 2018-09-07 01:29:43 EDT
Verified and pass with logging:v3.11.0-0.28.0.0
Comment 8 Michael Burke 2018-09-07 14:59:00 EDT
Correct link to note in docs:
https://github.com/openshift/openshift-docs/commit/a8a5f6e8c9fba730044b46fba47a5ae38802be17

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