Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20257

Manage projects wizard: Cannot create any new project via OpenShift Projects dialog

XMLWordPrintable

    • Hide

      ASSERT: Have a OpenShift v3 connection
      EXEC: Open OpenShift Projects dialog via context menu Manage Projects...
      EXEC: Click New button to create a new Project.
      EXEC: Fill in any project details and confirm

      RESULT: There is an error that project cannot be created on cluster scope.
      EXPECTED RESULT: Project is created correctly.

      Show
      ASSERT: Have a OpenShift v3 connection EXEC: Open OpenShift Projects dialog via context menu Manage Projects... EXEC: Click New button to create a new Project. EXEC: Fill in any project details and confirm RESULT: There is an error that project cannot be created on cluster scope. EXPECTED RESULT: Project is created correctly.
    • Workaround Exists
    • Hide

      Create Project from OpenShift CLI / WebConsole.

      Show
      Create Project from OpenShift CLI / WebConsole.

      In OpenShift Projects dialog opened via context menu of a v3 application, it is not possible to create a new project. There is a error that project is trying to be created in cluster scope. See full error description below:

      Could not create project "project01dsa": User "demo" cannot create projects at the cluster scope
      
      com.openshift.restclient.authorization.ResourceForbiddenException: User "demo" cannot create projects at the cluster scope
      	at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:393)
      	at com.openshift.internal.restclient.DefaultClient.create(DefaultClient.java:185)
      	at com.openshift.internal.restclient.DefaultClient.create(DefaultClient.java:169)
      	at org.jboss.tools.openshift.core.connection.Connection.createResource(Connection.java:316)
      	at org.jboss.tools.openshift.internal.ui.wizard.project.NewProjectWizardModel.createProject(NewProjectWizardModel.java:55)
      	at org.jboss.tools.openshift.internal.ui.wizard.project.NewProjectWizard$1.doRun(NewProjectWizard.java:46)
      	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

      This is happening also on locally running OpenShift v3 and also on staging v3 server.

              jcantril@redhat.com Jeffrey Cantrill
              mlabuda_jira Marián Labuda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: