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

Error when starting an OpenShift Server immediately after workspace startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.3.1.CR1
    • 4.3.1.Beta2
    • openshift
    • None

      I get the following error when my runtime Eclipse starts with the Server Editor opened on an OpenShift Server Adapter:

      !ENTRY org.eclipse.core.jobs 4 2 2016-03-08 15:54:58.597
      !MESSAGE An internal error occurred during: "Setting connection, deploy project...".
      !STACK 0
      com.openshift.restclient.authorization.ResourceForbiddenException: User "test-admin" cannot list all services in the cluster
      	at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:477)
      	at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:152)
      	at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:133)
      	at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:128)
      	at org.jboss.tools.openshift.core.connection.Connection.retryList(Connection.java:434)
      	at org.jboss.tools.openshift.core.connection.Connection.getResources(Connection.java:377)
      	at org.jboss.tools.openshift.core.server.OpenShiftServerUtils.getService(OpenShiftServerUtils.java:267)
      	at org.jboss.tools.openshift.core.server.OpenShiftServerUtils.getService(OpenShiftServerUtils.java:256)
      	at org.jboss.tools.openshift.internal.ui.server.OpenShiftServerEditorSection$13.run(OpenShiftServerEditorSection.java:486)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

      This error also happens when the editor is closed at start-up and opened later on.

            jcantril@redhat.com Jeffrey Cantrill
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: