Bug 1273804

Summary: Get 403 error when access "View Log" link on overview page
Product: OKD Reporter: Wei Sun <wsun>
Component: Management ConsoleAssignee: bpeterse
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, jforrest, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-23 21:17:39 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 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