Bug 1302946
| Summary: | Sometime can't get token when access token/request api in v3 stage env | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | DeShuai Ma <dma> |
| Component: | apiserver-auth | Assignee: | Jordan Liggitt <jliggitt> |
| Status: | CLOSED ERRATA | QA Contact: | weiwei jiang <wjiang> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.1.0 | CC: | agrimm, aos-bugs, bleanhar, dma, erjones, jliggitt, lxia, misalunk, whearn, wsun |
| Target Milestone: | --- | Keywords: | TestBlocker |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-23 20:31:55 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1303130 | ||
|
Description
DeShuai Ma
2016-01-29 05:57:22 UTC
What is in the master logs when this occurs? (In reply to Jordan Liggitt from comment #1) > What is in the master logs when this occurs? We can't get the master logs, the env is provided by ops, we have no permission to access the master and node. When test on the env, this happened very often *** Bug 1304099 has been marked as a duplicate of this bug. *** Fix upstream in https://github.com/openshift/origin/pull/6982/ This bug test block our v3 stage test, high this bug. Until the fix is deployed, you can get a token by logging into the web console and running this in the javascript console:
prompt("Token",localStorage["LocalStorageUserStore.token"])
That token can be taken to the console for testing.
We have deployed a hotfix it should be working now. Verified this bug against v3 stage,now we could get token via accessing oauth/token/request page. Fix is in OSE in https://github.com/openshift/ose/commit/5d69528c759aceaed3ce3bebcee3da6deedd7592 I think that means it will be in the next 3.1.x update. *** Bug 1306351 has been marked as a duplicate of this bug. *** 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-2016:0293 |