Bug 1368862

Summary: Open shift online Project creation error
Product: OpenShift Online Reporter: Guru <cgpartners.techsubscriptions1>
Component: ocAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: Xingxing Xia <xxia>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.xCC: abhgupta, aos-bugs, bingli, cgpartners.techsubscriptions1, jliggitt, jokerman, ljh0507, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-22 15:47:11 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:
Attachments:
Description Flags
Open shift online Project creation error none

Description Guru 2016-08-22 00:38:46 UTC
Created attachment 1192721 [details]
Open shift online Project creation error

Description of problem:

Open shift does not allow Project creation even when no projects are available.

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

Dev Preview Openshift online

How reproducible:

Always. 

Reproducible from CLI and online.

Steps to Reproduce:

XX:~ XX$ oc new-project <projectname> Error from server: projectrequests <projectname> is forbidden: user XX cannot create more than 1 project(s).

XX:~ XX$ oc delete project <projectname> Error from server: User "XX" cannot delete projects in project "test"

XX:~ XX$ oc status Error from server: User "XX" cannot get projects in project "default"

XX:~ XX$ oc get projects

Actual results:

Open shift does not allow Project creation.

Expected results:

The Project does not exist. So the system must allow me to create projects.

Additional info:

Refer to actual User and project in the screenshot from open shift online.

Comment 1 Jordan Liggitt 2016-08-22 01:27:03 UTC
Likely a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1367432, but I'd like to gather more information about how you ran into this bug.

1. Did you previously have a project you deleted? If so, do you remember the name of it?

2. Did you receive an error other than the "cannot create more than 1 project" error the first time you attempted to create this project? If so, do you remember what it was?

Comment 3 Guru 2016-08-22 01:47:39 UTC
Thanks Jordan. 

Yes. The Error message looks familiar as in Bug 1367432

1. Yes. I was deleting and recreating Project with the same name - ratescentral. I would have done it 5-6 times resulting in this state (no projects under my username but unable to create projects either). 

2. No. I was able to create Project without any errors previously. There used to be a temp state where the project seemed to be marked for deletion. But if i tried after some time, i would be able to create project with same name or some other name. 

* Please note that i am on Dev Preview there are restrictions on number of projects. 
Error exists in both CLI and Web login. Looks like the pod is stuck or cleanup did not happen correctly.

(In reply to Jordan Liggitt from comment #1)
> Likely a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1367432,
> but I'd like to gather more information about how you ran into this bug.
> 
> 1. Did you previously have a project you deleted? If so, do you remember the
> name of it?
> 
> 2. Did you receive an error other than the "cannot create more than 1
> project" error the first time you attempted to create this project? If so,
> do you remember what it was?

Comment 5 Abhishek Gupta 2016-08-22 15:47:11 UTC
The project has now been cleaned up and you should be able to create a new project. We are tracking the actual underlying issue in Bug 1367432

Comment 6 Guru 2016-08-22 21:57:34 UTC
Ok thanks. I am able to create project now.

Comment 7 LEEJOONGHO 2016-08-30 05:24:39 UTC
I have a same problem. How resolve this problem?