Bug 1276082 - [RFE] PV needs to be able to be secured down so that claims can auto bind to the available PVs for the namespace
Summary: [RFE] PV needs to be able to be secured down so that claims can auto bind to ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Bradley Childs
QA Contact: Johnny Liu
URL:
Whiteboard:
: 1273265 1296554 (view as bug list)
Depends On:
Blocks: 1267746 1276084
TreeView+ depends on / blocked
 
Reported: 2015-10-28 16:15 UTC by Ryan Howe
Modified: 2023-09-14 23:58 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1276084 (view as bug list)
Environment:
Last Closed: 2017-08-16 19:50:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ryan Howe 2015-10-28 16:15:14 UTC
Description of problem:

PV needs to be able to be secured down so that claims can auto bind to the available PVs for the namespace.

Admin are looking for a way to provision Persistent Volumes that are only available to a defined namespace. While at the same time allowing the user to provision their own PVCs.

https://docs.openshift.com/enterprise/3.0/rest_api/kubernetes_v1.html#v1-persistentvolume

Version-Release number of selected component (if applicable):
3.0.x

Comment 3 Ryan Howe 2015-10-29 18:49:18 UTC
Adding to this RFE: 

Ability to configure a PV to only serve a certain:

Namespace/Project 
Region of Nodes
Zone of Nodes
User


Also upping the Severity as this RFE is a show stopper for case 01531822.

Comment 5 Ryan Howe 2016-01-12 21:04:16 UTC
*** Bug 1273265 has been marked as a duplicate of this bug. ***

Comment 6 Mark Turansky 2016-01-13 13:46:20 UTC
The addition of PVSelector on Claim can solve some of this (where labels on a volume must match the selector on a claim).  This is new functionality that is in development.

Another new piece of functionality is the ability to restrict which namespaces can use which selectors, so as to limit who can claim what.

These are 2 "net new" RFEs.

Comment 8 Josep 'Pep' Turro Mauri 2016-01-18 15:19:49 UTC
(In reply to Mark Turansky from comment #6)
> The addition of PVSelector on Claim can solve some of this (where labels on
> a volume must match the selector on a claim).  This is new functionality
> that is in development.

I believe this is what Bug 1284994 is for.

> Another new piece of functionality is the ability to restrict which
> namespaces can use which selectors, so as to limit who can claim what.

So, this BZ would track that second part so that the goals on comment #0 & 3 can be met.

Comment 10 Dan McPherson 2016-04-13 21:41:05 UTC
*** Bug 1296554 has been marked as a duplicate of this bug. ***

Comment 21 Eric Paris 2017-08-16 19:50:37 UTC
In 3.6 a cluster admin can create multiple storage classes and put PVs in those storage classes. They can then the default quota for those storage classes to 0 and explicitly only allow certain namespaces something other than 0. Thus addressing this problem.

Comment 22 Red Hat Bugzilla 2023-09-14 23:58:39 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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