[
https://issues.jboss.org/browse/JBIDE-21829?page=com.atlassian.jira.plugi...
]
Jeff Cantrill commented on JBIDE-21829:
---------------------------------------
Please rebase on latest and enable tracing and post the rest client call here. I'm
interested in learning which namespace it says it is trying to list services.
Error while opening Eclipse with OpenShift Server Editor opened
---------------------------------------------------------------
Key: JBIDE-21829
URL:
https://issues.jboss.org/browse/JBIDE-21829
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.Beta2
Reporter: Xavier Coulon
Assignee: Jeff Cantrill
Fix For: 4.3.1.CR1
I get the following error when my runtime Eclipse starts with the Server Editor opened on
an OpenShift Server Adapter:
{code}
!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)
{code}
This error also happens when the editor is closed at start-up and opened later on.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)