Bug 1273804 - Get 403 error when access "View Log" link on overview page
Summary: Get 403 error when access "View Log" link on overview page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: bpeterse
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-21 09:31 UTC by Wei Sun
Modified: 2015-11-23 21:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 21:17:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wei Sun 2015-10-21 09:31:51 UTC
Description of problem:
Start build and then browse overview page,click "View Log" on overview page,but get 403 error.

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

How reproducible:
Always

Steps to Reproduce:
1.Start build
2.Browse the overview page
3.Click "View Log"

Actual results:
3.Go to "project/wsuntest/browse/builds/nd/nd-1?tab=logs" , but get 403 error.
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "User \"system:anonymous\" cannot \"get\" on \"/project/wsuntest/browse/builds/nd/nd-1\"",
  "reason": "Forbidden",
  "details": {},
  "code": 403
}

Expected results:
Should view logs

Additional info:

Comment 1 Jessica Forrester 2015-10-21 12:40:53 UTC
Duplicate of this github issue https://github.com/openshift/origin/issues/5264

Comment 2 Wei Sun 2015-10-29 03:27:33 UTC
Verified on devenv-rhel7_2583

Now the "View Log" is pointing to logs page


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