[JBoss JIRA] (JBIDE-24899) Deploy Docker Image wizard: Image not found
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-24899?page=com.atlassian.jira.plugi... ]
Josef Kopriva commented on JBIDE-24899:
---------------------------------------
[~adietish] Maybe I wanted to push same image into 2 different projects...
> Deploy Docker Image wizard: Image not found
> -------------------------------------------
>
> Key: JBIDE-24899
> URL: https://issues.jboss.org/browse/JBIDE-24899
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, docker, openshift
> Affects Versions: 4.5.1.AM1
> Reporter: Josef Kopriva
> Priority: Major
> Labels: deploy_docker_wizard, openshift_v3
> Fix For: 4.12.x
>
> Attachments: image-2017-08-29-09-50-20-927.png
>
>
> Exception in Error log:
> {code:java}
> Failed to inspect image: '172.30.1.1:5000/test/hola:latest'
> com.spotify.docker.client.exceptions.ImageNotFoundException: Image not found: 172.30.1.1:5000/test/hola:latest
> at com.spotify.docker.client.DefaultDockerClient.inspectImage(DefaultDockerClient.java:1330)
> at org.eclipse.linuxtools.internal.docker.core.DockerConnection.getImageInfo(DockerConnection.java:896)
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.lookupImageMetadata(DeployImageWizardModel.java:655)
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.initializeContainerInfo(DeployImageWizardModel.java:354)
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImagePage$1ImageValidatorJob.run(DeployImagePage.java:154)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
> Caused by: com.spotify.docker.client.exceptions.DockerRequestException: Request error: GET https://192.168.42.121:2376/images/172.30.1.1:5000/test/hola:latest/json: 404
> at com.spotify.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:2084)
> at com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:2023)
> at com.spotify.docker.client.DefaultDockerClient.inspectImage(DefaultDockerClient.java:1326)
> ... 5 more
> Caused by: javax.ws.rs.NotFoundException: HTTP 404 Not Found
> at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:1008)
> at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816)
> at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92)
> at org.glassfish.jersey.client.JerseyInvocation$5.completed(JerseyInvocation.java:773)
> at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:198)
> at org.glassfish.jersey.client.ClientRuntime.access$300(ClientRuntime.java:79)
> at org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:180)
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
> at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340)
> at org.glassfish.jersey.client.ClientRuntime$3.run(ClientRuntime.java:210)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> eclipse.buildId=11.1.0.AM1-v20170824-1835-B873
> java.version=1.8.0_141
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBIDE-26691) OpenShift Tooling: Cannot create server adapter for app running on CRC
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26691?page=com.atlassian.jira.plugi... ]
Josef Kopriva commented on JBIDE-26691:
---------------------------------------
[~jeffmaury] Templates from CRC, just changed context dir from kitchensink to helloworld
> OpenShift Tooling: Cannot create server adapter for app running on CRC
> ----------------------------------------------------------------------
>
> Key: JBIDE-26691
> URL: https://issues.jboss.org/browse/JBIDE-26691
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.12.0.Final
> Environment: MacOS 10.14.5 (18F203) CSB, JDK11, CRC 0.87.0-alpha-4.1.0+3a5033a
> Reporter: Josef Kopriva
> Assignee: André Dietisheim
> Priority: Critical
> Fix For: 4.12.0.Final
>
>
> {code:java}
> eclipse.buildId=12.12.0.GA-v20190623-2343-B4589
> java.version=11.0.2
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
> Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
> org.jboss.tools.openshift.core
> Error
> Tue Jun 25 07:30:16 CEST 2019
> Could not sync folder /Users/jkopriva/workspace_4589/.metadata/.plugins/org.jboss.ide.eclipse.as.core/123@eap-app/deploy to all pods.
> {code}
> {code:java}
> eclipse.buildId=12.12.0.GA-v20190623-2343-B4589
> java.version=11.0.2
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
> Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
> org.jboss.tools.openshift.core
> Error
> Tue Jun 25 07:30:16 CEST 2019
> OpenShiftBinaryCapability process exited: WARNING: cannot use rsync: rsync not available in container
> WARNING: cannot use tar: tar not available in container
> error: No available strategies to copy.
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBIDE-26689) com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26689?page=com.atlassian.jira.plugi... ]
Josef Kopriva commented on JBIDE-26689:
---------------------------------------
Resolving: I have used wrong template, I needed to change api from "v1" to "template.openshift.io/v1".
> com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-26689
> URL: https://issues.jboss.org/browse/JBIDE-26689
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.12.0.Final
> Environment: MacOS 10.14.5 (18F203) CSB, JDK11, CRC 0.87.0-alpha-4.1.0+3a5033a
> Reporter: Josef Kopriva
> Assignee: Josef Kopriva
> Priority: Critical
> Fix For: 4.12.0.Final
>
>
> When running ITests I get BadRequestException:
> {code:java}
> 06:54:45.926 DEBUG [WorkbenchTestable][AbstractWait] Waiting until Service named eap-app in project test-project gets available....
> !ENTRY org.jboss.tools.openshift.ui 4 -1 2019-06-25 06:54:45.934
> !MESSAGE the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> !STACK 0
> com.openshift.restclient.BadRequestException: https://api.crc.testing:6443/apis/template.openshift.io/v1/namespaces/tes... the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:104)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
> at okhttp3.RealCall.execute(RealCall.java:81)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:301)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:275)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:243)
> at com.openshift.internal.restclient.capability.server.ServerTemplateProcessing.process(ServerTemplateProcessing.java:42)
> at com.openshift.internal.restclient.capability.resources.ProjectTemplateProcessing.process(ProjectTemplateProcessing.java:53)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:75)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:1)
> at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:94)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob.doRun(CreateApplicationFromTemplateJob.java:69)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
> I am not sure if this is related to OpenShift tooling or CRC.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBIDE-26689) com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26689?page=com.atlassian.jira.plugi... ]
Josef Kopriva resolved JBIDE-26689.
-----------------------------------
Resolution: Done
> com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-26689
> URL: https://issues.jboss.org/browse/JBIDE-26689
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.12.0.Final
> Environment: MacOS 10.14.5 (18F203) CSB, JDK11, CRC 0.87.0-alpha-4.1.0+3a5033a
> Reporter: Josef Kopriva
> Assignee: Josef Kopriva
> Priority: Critical
> Fix For: 4.12.0.Final
>
>
> When running ITests I get BadRequestException:
> {code:java}
> 06:54:45.926 DEBUG [WorkbenchTestable][AbstractWait] Waiting until Service named eap-app in project test-project gets available....
> !ENTRY org.jboss.tools.openshift.ui 4 -1 2019-06-25 06:54:45.934
> !MESSAGE the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> !STACK 0
> com.openshift.restclient.BadRequestException: https://api.crc.testing:6443/apis/template.openshift.io/v1/namespaces/tes... the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:104)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
> at okhttp3.RealCall.execute(RealCall.java:81)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:301)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:275)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:243)
> at com.openshift.internal.restclient.capability.server.ServerTemplateProcessing.process(ServerTemplateProcessing.java:42)
> at com.openshift.internal.restclient.capability.resources.ProjectTemplateProcessing.process(ProjectTemplateProcessing.java:53)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:75)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:1)
> at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:94)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob.doRun(CreateApplicationFromTemplateJob.java:69)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
> I am not sure if this is related to OpenShift tooling or CRC.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBIDE-26689) com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26689?page=com.atlassian.jira.plugi... ]
Josef Kopriva updated JBIDE-26689:
----------------------------------
Priority: Minor (was: Critical)
> com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-26689
> URL: https://issues.jboss.org/browse/JBIDE-26689
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.12.0.Final
> Environment: MacOS 10.14.5 (18F203) CSB, JDK11, CRC 0.87.0-alpha-4.1.0+3a5033a
> Reporter: Josef Kopriva
> Assignee: Josef Kopriva
> Priority: Minor
> Fix For: 4.12.0.Final
>
>
> When running ITests I get BadRequestException:
> {code:java}
> 06:54:45.926 DEBUG [WorkbenchTestable][AbstractWait] Waiting until Service named eap-app in project test-project gets available....
> !ENTRY org.jboss.tools.openshift.ui 4 -1 2019-06-25 06:54:45.934
> !MESSAGE the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> !STACK 0
> com.openshift.restclient.BadRequestException: https://api.crc.testing:6443/apis/template.openshift.io/v1/namespaces/tes... the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:104)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
> at okhttp3.RealCall.execute(RealCall.java:81)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:301)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:275)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:243)
> at com.openshift.internal.restclient.capability.server.ServerTemplateProcessing.process(ServerTemplateProcessing.java:42)
> at com.openshift.internal.restclient.capability.resources.ProjectTemplateProcessing.process(ProjectTemplateProcessing.java:53)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:75)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:1)
> at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:94)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob.doRun(CreateApplicationFromTemplateJob.java:69)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
> I am not sure if this is related to OpenShift tooling or CRC.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBIDE-24899) Deploy Docker Image wizard: Image not found
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-24899?page=com.atlassian.jira.plugi... ]
André Dietisheim commented on JBIDE-24899:
------------------------------------------
[~jkopriva] I know that this is a very old issue, but do you remember why you had to select a different project when pushing?
> Deploy Docker Image wizard: Image not found
> -------------------------------------------
>
> Key: JBIDE-24899
> URL: https://issues.jboss.org/browse/JBIDE-24899
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, docker, openshift
> Affects Versions: 4.5.1.AM1
> Reporter: Josef Kopriva
> Priority: Major
> Labels: deploy_docker_wizard, openshift_v3
> Fix For: 4.12.x
>
> Attachments: image-2017-08-29-09-50-20-927.png
>
>
> Exception in Error log:
> {code:java}
> Failed to inspect image: '172.30.1.1:5000/test/hola:latest'
> com.spotify.docker.client.exceptions.ImageNotFoundException: Image not found: 172.30.1.1:5000/test/hola:latest
> at com.spotify.docker.client.DefaultDockerClient.inspectImage(DefaultDockerClient.java:1330)
> at org.eclipse.linuxtools.internal.docker.core.DockerConnection.getImageInfo(DockerConnection.java:896)
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.lookupImageMetadata(DeployImageWizardModel.java:655)
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.initializeContainerInfo(DeployImageWizardModel.java:354)
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImagePage$1ImageValidatorJob.run(DeployImagePage.java:154)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
> Caused by: com.spotify.docker.client.exceptions.DockerRequestException: Request error: GET https://192.168.42.121:2376/images/172.30.1.1:5000/test/hola:latest/json: 404
> at com.spotify.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:2084)
> at com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:2023)
> at com.spotify.docker.client.DefaultDockerClient.inspectImage(DefaultDockerClient.java:1326)
> ... 5 more
> Caused by: javax.ws.rs.NotFoundException: HTTP 404 Not Found
> at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:1008)
> at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816)
> at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92)
> at org.glassfish.jersey.client.JerseyInvocation$5.completed(JerseyInvocation.java:773)
> at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:198)
> at org.glassfish.jersey.client.ClientRuntime.access$300(ClientRuntime.java:79)
> at org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:180)
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
> at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340)
> at org.glassfish.jersey.client.ClientRuntime$3.run(ClientRuntime.java:210)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> eclipse.buildId=11.1.0.AM1-v20170824-1835-B873
> java.version=1.8.0_141
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBIDE-26691) OpenShift Tooling: Cannot create server adapter for app running on CRC
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26691?page=com.atlassian.jira.plugi... ]
Jeff MAURY commented on JBIDE-26691:
------------------------------------
Are you using the templates from CRC or your own templates ?
> OpenShift Tooling: Cannot create server adapter for app running on CRC
> ----------------------------------------------------------------------
>
> Key: JBIDE-26691
> URL: https://issues.jboss.org/browse/JBIDE-26691
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.12.0.Final
> Environment: MacOS 10.14.5 (18F203) CSB, JDK11, CRC 0.87.0-alpha-4.1.0+3a5033a
> Reporter: Josef Kopriva
> Assignee: André Dietisheim
> Priority: Critical
> Fix For: 4.12.0.Final
>
>
> {code:java}
> eclipse.buildId=12.12.0.GA-v20190623-2343-B4589
> java.version=11.0.2
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
> Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
> org.jboss.tools.openshift.core
> Error
> Tue Jun 25 07:30:16 CEST 2019
> Could not sync folder /Users/jkopriva/workspace_4589/.metadata/.plugins/org.jboss.ide.eclipse.as.core/123@eap-app/deploy to all pods.
> {code}
> {code:java}
> eclipse.buildId=12.12.0.GA-v20190623-2343-B4589
> java.version=11.0.2
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
> Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
> org.jboss.tools.openshift.core
> Error
> Tue Jun 25 07:30:16 CEST 2019
> OpenShiftBinaryCapability process exited: WARNING: cannot use rsync: rsync not available in container
> WARNING: cannot use tar: tar not available in container
> error: No available strategies to copy.
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBIDE-26689) com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26689?page=com.atlassian.jira.plugi... ]
Josef Kopriva commented on JBIDE-26689:
---------------------------------------
[~jeffmaury] I am looking into it, and it seems, that I have wrong template, I will investigate it further.
> com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-26689
> URL: https://issues.jboss.org/browse/JBIDE-26689
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.12.0.Final
> Environment: MacOS 10.14.5 (18F203) CSB, JDK11, CRC 0.87.0-alpha-4.1.0+3a5033a
> Reporter: Josef Kopriva
> Assignee: Jeff MAURY
> Priority: Critical
> Fix For: 4.12.0.Final
>
>
> When running ITests I get BadRequestException:
> {code:java}
> 06:54:45.926 DEBUG [WorkbenchTestable][AbstractWait] Waiting until Service named eap-app in project test-project gets available....
> !ENTRY org.jboss.tools.openshift.ui 4 -1 2019-06-25 06:54:45.934
> !MESSAGE the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> !STACK 0
> com.openshift.restclient.BadRequestException: https://api.crc.testing:6443/apis/template.openshift.io/v1/namespaces/tes... the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:104)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
> at okhttp3.RealCall.execute(RealCall.java:81)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:301)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:275)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:243)
> at com.openshift.internal.restclient.capability.server.ServerTemplateProcessing.process(ServerTemplateProcessing.java:42)
> at com.openshift.internal.restclient.capability.resources.ProjectTemplateProcessing.process(ProjectTemplateProcessing.java:53)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:75)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:1)
> at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:94)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob.doRun(CreateApplicationFromTemplateJob.java:69)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
> I am not sure if this is related to OpenShift tooling or CRC.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBIDE-26689) com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26689?page=com.atlassian.jira.plugi... ]
Josef Kopriva reassigned JBIDE-26689:
-------------------------------------
Assignee: Josef Kopriva (was: Jeff MAURY)
> com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-26689
> URL: https://issues.jboss.org/browse/JBIDE-26689
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.12.0.Final
> Environment: MacOS 10.14.5 (18F203) CSB, JDK11, CRC 0.87.0-alpha-4.1.0+3a5033a
> Reporter: Josef Kopriva
> Assignee: Josef Kopriva
> Priority: Critical
> Fix For: 4.12.0.Final
>
>
> When running ITests I get BadRequestException:
> {code:java}
> 06:54:45.926 DEBUG [WorkbenchTestable][AbstractWait] Waiting until Service named eap-app in project test-project gets available....
> !ENTRY org.jboss.tools.openshift.ui 4 -1 2019-06-25 06:54:45.934
> !MESSAGE the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> !STACK 0
> com.openshift.restclient.BadRequestException: https://api.crc.testing:6443/apis/template.openshift.io/v1/namespaces/tes... the API version in the data (v1) does not match the expected API version (template.openshift.io/v1)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:104)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
> at okhttp3.RealCall.execute(RealCall.java:81)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:301)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:275)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:243)
> at com.openshift.internal.restclient.capability.server.ServerTemplateProcessing.process(ServerTemplateProcessing.java:42)
> at com.openshift.internal.restclient.capability.resources.ProjectTemplateProcessing.process(ProjectTemplateProcessing.java:53)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:75)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:1)
> at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:94)
> at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob.doRun(CreateApplicationFromTemplateJob.java:69)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
> I am not sure if this is related to OpenShift tooling or CRC.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months