Bug 1538048 - project admins should be able to create and delete networkpolicies in their own project
Summary: project admins should be able to create and delete networkpolicies in their o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: Dan Winship
QA Contact: Meng Bo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-24 11:00 UTC by Hongan Li
Modified: 2018-03-28 14:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-03-28 14:22:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Origin (Github) 18372 0 None None None 2018-02-01 14:19:38 UTC
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:22:52 UTC

Description Hongan Li 2018-01-24 11:00:23 UTC
Description of problem:
project admins should create and delete networkpolicies in their own project, and this is allow from OCP 3.6, but it failed in latest OCP 3.9 build.

Version-Release number of selected component (if applicable):
openshift v3.9.0-0.23.0
kubernetes v1.9.1+a0ce1bc657
etcd 3.2.8

How reproducible:
always

Steps to Reproduce:
1. oc login -u hongli
2. oc new-project lha
3. oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/networking/networkpolicy/defaultdeny-v1-semantic.yaml

Actual results:
Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/networking/networkpolicy/defaultdeny-v1-semantic.yaml": networkpolicies.extensions is forbidden: User "hongli" cannot create networkpolicies.extensions in the namespace "lha": User "hongli" cannot create networkpolicies.extensions in project "lha"


Expected results:
should succeed  

Additional info:

Comment 1 Dan Winship 2018-01-31 18:53:35 UTC
https://github.com/openshift/origin/pull/18372

Comment 3 Hongan Li 2018-02-05 08:35:17 UTC
verified in openshift v3.9.0-0.36.0 and issue has been fixed.

Comment 6 errata-xmlrpc 2018-03-28 14:22:32 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-2018:0489


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