Bug 1284501 - Missing "reconcile-cluster-role-bindings" for upgrade
Summary: Missing "reconcile-cluster-role-bindings" for upgrade
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Alex Dellapenta
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks: 1267746
TreeView+ depends on / blocked
 
Reported: 2015-11-23 13:46 UTC by Eduardo Minguez
Modified: 2016-09-28 11:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-28 11:38:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eduardo Minguez 2015-11-23 13:46:26 UTC
Document URL: https://docs.openshift.com/enterprise/3.1/install_config/upgrades.html#updating-policy-definitions

Section Number and Name: Updating Policy Definitions

Describe the issue: If you don't upgrade the cluster-role-bindings, there are some commands that will fail (oc logs, oc rsh)

Suggestions for improvement: Add how to reconcile cluster-role-bindings and sccs if needed

Additional information:

Comment 1 Jordan Liggitt 2015-11-23 15:03:09 UTC
For reference, this is the command ansible runs when upgrading. It updates role bindings, only adding permissions, and not adding any permissions to all users (authenticated or unauthenticated) by default:

oadm policy reconcile-cluster-role-bindings \
  --exclude-groups=system:authenticated \
  --exclude-groups=system:unauthenticated \
  --exclude-users=system:anonymous \
  --additive-only=true \
  --confirm

Comment 2 Alex Dellapenta 2015-11-24 14:39:03 UTC
This is being handled in https://github.com/openshift/openshift-docs/pull/1251.

Comment 3 Anping Li 2016-03-10 02:12:48 UTC
There is  oadm policy reconcile-cluster-role-bindings in openshift-docs. so move to Verified


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