[jbosstools-issues] [JBoss JIRA] (JBIDE-23822) Server adapter: is not working with oc v1.4.x

Andre Dietisheim (JIRA) issues at jboss.org
Tue Feb 7 11:23:00 EST 2017


    [ https://issues.jboss.org/browse/JBIDE-23822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13359910#comment-13359910 ] 

Andre Dietisheim edited comment on JBIDE-23822 at 2/7/17 11:22 AM:
-------------------------------------------------------------------

I can reproduce this with oc version v1.4.x+
I tested the github and enterprise versions and they all fail against the minishift cdk which is running:
{code}
openshift v3.4.0.39
kubernetes v1.4.0+776c994
{code}

* the ones that dont work:
** oc v3.4.1.2
** oc v3.4.0.40
** oc v1.4.0-alpha.1+f189ede
** oc v1.4.0+208f053
** oc v1.4.1+3f9807a
** oc v1.5.0-alpha.2+e4b43ee
* the ones that work:
** oc v3.3.1.7
** oc v1.3.3

the error output given by oc is that the auth info for <user> doesnt exist (the user that I am using on my minishift is `system`):
{code}
error: auth info "system" does not exist
{code}

The exact cmd line that I am running is 
{code}
oc rsync --user=system --token=<TOKEN> --server=https://192.168.99.100:8443 --insecure-skip-tls-verify=true --exclude='.git' nodejs-mongodb-example-1-i31y4:/opt/app-root/src/ -n gigu /Users/adietish/Documents/jboss-workspaces/jbosstools-github/runtime-openshift2/.metadata/.plugins/org.jboss.ide.eclipse.as.core/gigu at mongodb/deploy/
{code}


was (Author: adietish):
I can reproduce this with oc version v1.4.x+
I tested the github and enterprise versions and they all fail against the minishift cdk which is running:
{code}
openshift v3.4.0.39
kubernetes v1.4.0+776c994
{code}

* the ones that dont work:
** oc v3.4.1.2
** oc v3.4.0.40
** oc v1.4.0-alpha.1+f189ede
** oc v1.4.0+208f053
** oc v1.4.1+3f9807a
** oc v1.5.0-alpha.2+e4b43ee
* the ones that work:
** oc v3.3.1.7
** oc v1.3.3

the error output given by oc is that the auth info for <user> doesnt exist (the user that I am using on my minishift is `system`):
{code}
error: auth info "system" does not exist
{code}

> Server adapter: is not working with oc v1.4.x
> ---------------------------------------------
>
>                 Key: JBIDE-23822
>                 URL: https://issues.jboss.org/browse/JBIDE-23822
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.3.AM2
>         Environment: Devstudio 10.3.0.AM2.
> CDK 2.4 (OpenShift 3.4)
> oc v1.4.1
>            Reporter: Radim Hopp
>            Assignee: Andre Dietisheim
>            Priority: Critical
>              Labels: openshift_v3, server_adapter
>             Fix For: 4.4.3.Final
>
>
> {noformat}
> !ENTRY org.jboss.tools.openshift.core 2 0 2017-02-01 13:46:34.181
> !MESSAGE Error while publishing server eap-app at OpenShift 3 (10.1.2.2).  Could not sync all pods to folder /home/rhopp/workspace-iosdnfuiwne/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample-project at eap-app/deploy
> !STACK 1
> org.eclipse.core.runtime.CoreException: Error while publishing server eap-app at OpenShift 3 (10.1.2.2).  Could not sync all pods to folder /home/rhopp/workspace-iosdnfuiwne/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample-project at eap-app/deploy
> 	at org.jboss.tools.openshift.core.server.behavior.OpenShiftPublishController.publishStart(OpenShiftPublishController.java:83)
> 	at org.jboss.ide.eclipse.as.wtp.core.server.behavior.CachedPublisherProfileBehavior.publishStart(CachedPublisherProfileBehavior.java:47)
> 	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:942)
> 	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
> 	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3172)
> 	at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Contains: OpenShiftBinaryCapability process exited: error: auth info "openshift-dev" does not exist
> !SUBENTRY 1 org.jboss.tools.openshift.core 4 0 2017-02-01 13:46:34.181
> !MESSAGE Error while publishing server eap-app at OpenShift 3 (10.1.2.2).  Could not sync all pods to folder /home/rhopp/workspace-iosdnfuiwne/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample-project at eap-app/deploy
> !SUBENTRY 2 org.jboss.tools.openshift.core 4 0 2017-02-01 13:46:34.181
> !MESSAGE OpenShiftBinaryCapability process exited: error: auth info "openshift-dev" does not exist
> !ENTRY org.jboss.tools.openshift.core 4 0 2017-02-01 13:46:35.219
> !MESSAGE Could not sync /home/rhopp/workspace-iosdnfuiwne/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample-project at eap-app/deploy to all pods running the service eap-app
> !SUBENTRY 1 org.jboss.tools.openshift.core 4 0 2017-02-01 13:46:35.219
> !MESSAGE OpenShiftBinaryCapability process exited: error: auth info "openshift-dev" does not exist
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list