[JBoss JIRA] (JBIDE-26689) com.openshift.restclient.BadRequestException when using CRC and Openshift tooling
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26689?page=com.atlassian.jira.plugi... ]
Jeff MAURY reassigned JBIDE-26689:
----------------------------------
Assignee: Jeff MAURY (was: André Dietisheim)
> 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 Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26689?page=com.atlassian.jira.plugi... ]
Jeff MAURY commented on JBIDE-26689:
------------------------------------
Can you describe which template you are using so that I can check
> 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: André Dietisheim
> 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-26691) OpenShift Tooling: Cannot create server adapter for app running on CRC
by Josef Kopriva (Jira)
Josef Kopriva created JBIDE-26691:
-------------------------------------
Summary: 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
{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-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 reassigned JBIDE-26691:
-------------------------------------
Assignee: André Dietisheim
> 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-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 updated JBIDE-26691:
----------------------------------
Fix Version/s: 4.12.0.Final
> 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 updated JBIDE-26689:
----------------------------------
Environment: MacOS 10.14.5 (18F203) CSB, JDK11, CRC 0.87.0-alpha-4.1.0+3a5033a (was: MacOS 10.14.5 (18F203) CSB, JDK11, CRC)
> 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: André Dietisheim
> 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)
Josef Kopriva created JBIDE-26689:
-------------------------------------
Summary: 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
Reporter: Josef Kopriva
Assignee: André Dietisheim
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