Bug 1372579

Summary: User can not get on /version/openshift with error code 403 on upgrade from 3.2.1
Product: OpenShift Container Platform Reporter: Liang Xia <lxia>
Component: MasterAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED ERRATA QA Contact: weiwei jiang <wjiang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, jliggitt, jokerman, mmccomas, tdawson, wsun, xxia, zhaliu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Access to new endpoints was not automatically added to existing discovery roles during an upgrade. Consequence: Checking the server version from the command line using `oc version` would display a forbidden error. Fix: Correctly add permission to the new endpoint during an upgrade. Result: `oc version` displays the server version as expected
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-27 09:47:14 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:

Comment 1 Jordan Liggitt 2016-09-02 14:10:02 UTC
This is an issue with non-resource-url reconciliation in roles

The additional allowed paths (/version/*) were not being added to the system:discovery role automatically

Comment 2 Jordan Liggitt 2016-09-02 21:50:10 UTC
fixed in https://github.com/openshift/origin/pull/10785

Comment 4 Liang Xia 2016-09-07 06:44:52 UTC
Currently the deploy is v3.3.0.29, Waiting for v3.3.0.30 to verify the bug

Comment 5 Troy Dawson 2016-09-07 13:11:47 UTC
This has been merged into ose and is in OSE v3.3.0.30 or newer.
The rpm's and images should be available now for testing.

Comment 9 errata-xmlrpc 2016-09-27 09:47:14 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-2016:1933