Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1620020

Summary: Namespace reservation does not work
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: MasterAssignee: Stefan Schimanski <sttts>
Status: CLOSED ERRATA QA Contact: Xingxing Xia <xxia>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.11.0CC: aos-bugs, decarr, jokerman, maszulik, mfojtik, mmccomas, scheng, xtian, yinzhou
Target Milestone: ---Keywords: Regression
Target Release: 4.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-04 10:40:34 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 Xingxing Xia 2018-08-22 08:34:42 UTC
Description of problem:
Following the latest https://github.com/openshift/kubernetes-namespace-reservation , namespace reservation does not work.

Version-Release number of selected component (if applicable):
openshift v3.11.0-0.19.0
kubernetes v1.11.0+d4cacc0

How reproducible:
Always

Steps to Reproduce:
Follow https://github.com/openshift/kubernetes-namespace-reservation

Actual results:
`kubectl create namespace deads` or `oc new-project deads` can succeed

Expected results:
Should fail and produce "Error from server (Forbidden): "deads" is reserved"

Additional info:

Comment 1 David Eads 2018-08-22 12:04:29 UTC
Possibly an enablement thing.

Comment 2 Stefan Schimanski 2018-08-23 14:35:38 UTC
Towards enabling webhooks by default:
- https://github.com/openshift/origin/pull/20743
- https://github.com/openshift/origin/pull/20744

Comment 3 Stefan Schimanski 2018-09-12 15:21:43 UTC
https://github.com/openshift/origin/pull/20953 and https://github.com/openshift/origin/pull/20945 still have to merge into release-3.11.

Comment 6 Xingxing Xia 2018-11-12 06:57:09 UTC
Verified in v4.0.0-0.52.0 per https://jira.coreos.com/browse/MSTR-199 comment I added. Please move this bug to ON_QA. Thx

Comment 9 errata-xmlrpc 2019-06-04 10:40:34 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-2019:0758