Description of problem: Create a project from either Overview or Projects page. Version-Release number of selected component (if applicable): openshift3/registry-console:3.5 How reproducible: Always Steps to Reproduce: 1. Create a project from Overview page, refresh the page and try to delete it. 2. Create a project from Project page, refresh the page and try to delete it. 3. Create a project from Overview/Project page, don't refresh the page and delete it. Actual results: 1&2 Project can't be deleted. Error message shows as below """ User "xiaocwan2" cannot "deletecollection" "projectsxiaocwan2-p" with name "" in project "" """ 3. Project could be deleted. Expected results: 1&2. Project could be deleted. Additional info:
looks like a missing slash in the API URL building: "DELETE /oapi/v1/projectsxiaocwan2-p" will produce that message
Can the project be deleted if the page isn't refreshed manually? E.g. when you log in again and look at an existing project? If this requires manual refreshing to reproduce, I think the priority should be lower.
Login again also failed to delete the project, both below step 2.1 and 2.2 reproduce the issue. Steps: 1. Create project from Overview/Project page 2.1 Logout and login again or: 2.2 Do not logout, login from another browser 3. Try to delete project from Projects page (/registry#/projects)
> looks like a missing slash in the API URL building: This sounds like https://bugzilla.redhat.com/show_bug.cgi?id=1430427 and https://bugzilla.redhat.com/show_bug.cgi?id=1413997 all over again -- this crept into the latest RHEL update, and is fixed in Fedora 25's kubernetes already.
I verified that this does not happen on our OpenShift test image (Fedora 23 based, openshift v1.4.1+3f9807a, kubernetes v1.4.0+776c994). Can you please check which versions of openshift/kubernetes you have installed, so that we can be sure it's a duplicate? rpm -qa|grep kubernetes openshift version Thanks!
Reproduced on: openshift v3.5.0.50 kubernetes v1.5.2+43a9be4 openshift3/registry-console:3.5 Please make sure you refreshed the browser before deleted the project. Thanks!
You didn't mention the package versions, but I suppose this is RHEL 7.3? The Fedora fix (http://pkgs.fedoraproject.org/cgit/rpms/kubernetes.git/commit/?id=7222698b7c) still needs to land there, and "kubernetes v1.5.2+43a9be4" makes it pretty clear that this is a duplicate. Thanks! *** This bug has been marked as a duplicate of bug 1430427 ***