#8582 I can't create a project in Communishift
Closed: Fixed 2 years ago by abompard. Opened 2 years ago by abompard.

I've recently been added to the communishift group, and I've tried logging in and creating a project. The project creation fails with the following error:

  projectrequests.project.openshift.io is forbidden: User "abompard" cannot create resource "projectrequests" in API group "project.openshift.io" at the cluster scope


Am I missing something? Is it not the recommended way to setup a project in Communishift?

➜ ~ for i in echo abompard
oc adm policy add-cluster-role-to-user self-provisioner $i
oc create clusterquota for-$i --project-annotation-selector openshift.io/requester=$i --hard pods=10 --hard persistentvolumeclaims=5
cluster role "self-provisioner" added: "abompard"
clusterresourcequota.quota.openshift.io/for-abompard created

You should be able to now?

Yes, it works now, thanks!
Now I have to understand how this new version works (the docs have been entirely reorganized, there is no developer guide anymore? :-/ )

Metadata Update from @abompard:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Attachments 1