[JBoss JIRA] (JBIDE-26868) Connection wizard: errors when login to https://api.openshift4-crs.crs.codereadyqe.com
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26868?page=com.atlassian.jira.plugi... ]
Josef Kopriva reassigned JBIDE-26868:
-------------------------------------
Assignee: Josef Kopriva (was: André Dietisheim)
> Connection wizard: errors when login to https://api.openshift4-crs.crs.codereadyqe.com
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-26868
> URL: https://issues.jboss.org/browse/JBIDE-26868
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Environment: https://console-openshift-console.apps.openshift4-crs.crs.codereadyqe.com/
> (created with openshift installer on openstack)
> Reporter: André Dietisheim
> Assignee: Josef Kopriva
> Priority: Critical
> Labels: connection_wizard
> Fix For: 4.13.0.Final
>
>
> Steps:
> # EXEC: (VPN required) go to https://console-openshift-console.apps.openshift4-crs.crs.codereadyqe.com/ and login using: htpasswd > developer/developer
> # EXEC: once logged in, pick "Copy Login Command" from the menu in the top right corner - you'll have to log in again and hit "Display Token". You'll get a command displayed that you'll have to copy:
> {code}
> oc login --token=XXXXXX --server=https://api.openshift4-crs.crs.codereadyqe.com:6443
> {code}
> # EXEC: open connection wizard, hit "Paste Login Command" button & pick "Finish"
> Result:
> {code}
> com.openshift.restclient.authorization.ResourceForbiddenException: forbidden: User "system:anonymous" cannot get path "/apis" forbidden: User "system:anonymous" cannot get path "/apis"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:111)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
> at okhttp3.RealCall.execute(RealCall.kt:66)
> at com.openshift.internal.restclient.ApiTypeMapper.request(ApiTypeMapper.java:265)
> at com.openshift.internal.restclient.ApiTypeMapper.readEndpoint(ApiTypeMapper.java:257)
> at com.openshift.internal.restclient.ApiTypeMapper.getApiGroups(ApiTypeMapper.java:220)
> at com.openshift.internal.restclient.ApiTypeMapper.init(ApiTypeMapper.java:155)
> at com.openshift.internal.restclient.ApiTypeMapper.isSupported(ApiTypeMapper.java:84)
> at com.openshift.internal.restclient.URLBuilder.buildWithNamespaceInPath(URLBuilder.java:148)
> at com.openshift.internal.restclient.URLBuilder.build(URLBuilder.java:135)
> 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.DefaultClient.execute(DefaultClient.java:226)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:423)
> at com.openshift.internal.restclient.authorization.AuthorizationContext.isAuthorized(AuthorizationContext.java:63)
> at org.jboss.tools.openshift.core.connection.Connection.authorize(Connection.java:237)
> at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:226)
> at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPageModel.connect(ConnectionWizardPageModel.java:300)
> at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPage$ConnectJob.doRun(ConnectionWizardPage.java:434)
> 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}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26876) Explorer: Show In > Web Console for CRC fails with "unauthorized"
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugi... ]
André Dietisheim edited comment on JBIDE-26876 at 9/27/19 9:21 AM:
-------------------------------------------------------------------
there's another change: when opening the console for projects (which we support for OpenShift 3, the url now is also not *<host>/project/<name>/* any more but *<host>/k8s/cluster/namespaces/<name>/*. Similarly now all other resources like pods, services, builds, etc. are now at different urls.
was (Author: adietish):
there's another change: when opening the console for projects (which we support for OpenShift 3, the url now is also not *<host>/project/<name>/* any more but *<host>/k8s/cluster/namespaces/<name>/*
> Explorer: Show In > Web Console for CRC fails with "unauthorized"
> -----------------------------------------------------------------
>
> Key: JBIDE-26876
> URL: https://issues.jboss.org/browse/JBIDE-26876
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> Steps:
> # ASSERT: have a connection to a running crc instance
> # EXEC: in Explorer: select the connection and pick *Show In > Web Console*
> Result:
> Browser is opened to https://api.crc.testing:6443/console. Browser then displays:
> {code}
> {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {
>
> },
> "status": "Failure",
> "message": "forbidden: User \"system:anonymous\" cannot get path \"/console\"",
> "reason": "Forbidden",
> "details": {
>
> },
> "code": 403
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26876) Explorer: Show In > Web Console for CRC fails with "unauthorized"
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugi... ]
André Dietisheim edited comment on JBIDE-26876 at 9/27/19 9:18 AM:
-------------------------------------------------------------------
there's another change: when opening the console for projects (which we support for OpenShift 3, the url now is also not */project/<name>/* any more but *k8s/cluster/namespaces/<name>/*
was (Author: adietish):
there's another change: when opening the console for projects (which we support for OpenShift 3, the url now is also not */project/<name>/* and more but *k8s/cluster/namespaces/<name>/*
> Explorer: Show In > Web Console for CRC fails with "unauthorized"
> -----------------------------------------------------------------
>
> Key: JBIDE-26876
> URL: https://issues.jboss.org/browse/JBIDE-26876
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> Steps:
> # ASSERT: have a connection to a running crc instance
> # EXEC: in Explorer: select the connection and pick *Show In > Web Console*
> Result:
> Browser is opened to https://api.crc.testing:6443/console. Browser then displays:
> {code}
> {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {
>
> },
> "status": "Failure",
> "message": "forbidden: User \"system:anonymous\" cannot get path \"/console\"",
> "reason": "Forbidden",
> "details": {
>
> },
> "code": 403
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26876) Explorer: Show In > Web Console for CRC fails with "unauthorized"
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugi... ]
André Dietisheim edited comment on JBIDE-26876 at 9/27/19 9:18 AM:
-------------------------------------------------------------------
there's another change: when opening the console for projects (which we support for OpenShift 3, the url now is also not *<host>/project/<name>/* any more but *<host>/k8s/cluster/namespaces/<name>/*
was (Author: adietish):
there's another change: when opening the console for projects (which we support for OpenShift 3, the url now is also not */project/<name>/* any more but *k8s/cluster/namespaces/<name>/*
> Explorer: Show In > Web Console for CRC fails with "unauthorized"
> -----------------------------------------------------------------
>
> Key: JBIDE-26876
> URL: https://issues.jboss.org/browse/JBIDE-26876
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> Steps:
> # ASSERT: have a connection to a running crc instance
> # EXEC: in Explorer: select the connection and pick *Show In > Web Console*
> Result:
> Browser is opened to https://api.crc.testing:6443/console. Browser then displays:
> {code}
> {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {
>
> },
> "status": "Failure",
> "message": "forbidden: User \"system:anonymous\" cannot get path \"/console\"",
> "reason": "Forbidden",
> "details": {
>
> },
> "code": 403
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26875) Baseline comparison check fails for jbosstools-server
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26875?page=com.atlassian.jira.plugi... ]
Jeff MAURY commented on JBIDE-26875:
------------------------------------
Works for me (no errors) with an empty Maven repo.
> Baseline comparison check fails for jbosstools-server
> -----------------------------------------------------
>
> Key: JBIDE-26875
> URL: https://issues.jboss.org/browse/JBIDE-26875
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.13.0.Final
> Reporter: Josef Kopriva
> Priority: Blocker
>
> Build in jbosstools-server fails on baseline comparison:
> mvn clean install
> {code:java}
> [INFO] --- tycho-p2-extras-plugin:1.4.0:compare-version-with-baselines (default) @ org.jboss.tools.archives.scanner ---
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] jbosstools-server 4.5.0-SNAPSHOT ................... SUCCESS [ 0.553 s]
> [INFO] archives.all 3.6.202-SNAPSHOT ...................... SUCCESS [ 0.030 s]
> [INFO] archives.plugins 3.6.202-SNAPSHOT .................. SUCCESS [ 0.022 s]
> [INFO] org.jboss.tools.archives.scanner 3.6.202-SNAPSHOT .. FAILURE [ 14.904 s]
> [INFO] org.jboss.ide.eclipse.archives.core 3.6.202-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.archives.ui 3.6.202-SNAPSHOT . SKIPPED
> [INFO] org.jboss.ide.eclipse.archives.jdt.integration 3.6.202-SNAPSHOT SKIPPED
> [INFO] archives.test-framework 3.6.202-SNAPSHOT ........... SKIPPED
> [INFO] org.jboss.tools.archives.reddeer 3.6.202-SNAPSHOT .. SKIPPED
> [INFO] archives.tests 3.6.202-SNAPSHOT .................... SKIPPED
> [INFO] org.jboss.ide.eclipse.archives.test 3.6.202-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.archives.ui.test 3.6.202-SNAPSHOT SKIPPED
> [INFO] archives.features 3.6.202-SNAPSHOT ................. SKIPPED
> [INFO] org.jboss.tools.archives.scanner.feature 3.6.202-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.archives.feature 3.6.202-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.archives.test.feature 3.6.202-SNAPSHOT SKIPPED
> [INFO] as.all 3.8.0-SNAPSHOT .............................. SKIPPED
> [INFO] as.plugins 3.8.0-SNAPSHOT .......................... SKIPPED
> [INFO] org.jboss.ide.eclipse.as.dmr 3.8.0-SNAPSHOT ........ SKIPPED
> [INFO] org.jboss.ide.eclipse.as.wtp.core 3.8.0-SNAPSHOT ... SKIPPED
> [INFO] org.jboss.ide.eclipse.as.management.core 3.8.0-SNAPSHOT SKIPPED
> [INFO] jmx.all 1.10.6-SNAPSHOT ............................ SKIPPED
> [INFO] jmx.plugins 1.10.6-SNAPSHOT ........................ SKIPPED
> [INFO] org.jboss.tools.jmx.core 1.10.6-SNAPSHOT ........... SKIPPED
> [INFO] org.jboss.ide.eclipse.as.core 3.8.0-SNAPSHOT ....... SKIPPED
> [INFO] org.jboss.tools.jmx.ui 1.10.6-SNAPSHOT ............. SKIPPED
> [INFO] org.jboss.ide.eclipse.as.wtp.ui 3.8.0-SNAPSHOT ..... SKIPPED
> [INFO] org.jboss.tools.as.runtimes.integration 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.ui 3.8.0-SNAPSHOT ......... SKIPPED
> [INFO] org.jboss.ide.eclipse.as.classpath.core 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.archives.webtools 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.classpath.ui 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.doc.user 3.8.0-SNAPSHOT ... SKIPPED
> [INFO] org.jboss.ide.eclipse.as.ui.mbeans 3.8.0-SNAPSHOT .. SKIPPED
> [INFO] org.jboss.ide.eclipse.as.rse.core 3.8.0-SNAPSHOT ... SKIPPED
> [INFO] org.jboss.ide.eclipse.as.rse.ui 3.8.0-SNAPSHOT ..... SKIPPED
> [INFO] org.jboss.tools.jmx.jvmmonitor.core 1.10.6-SNAPSHOT SKIPPED
> [INFO] org.jboss.tools.jmx.jvmmonitor.tools 1.10.6-SNAPSHOT SKIPPED
> [INFO] org.jboss.tools.jmx.jvmmonitor.ui 1.10.6-SNAPSHOT .. SKIPPED
> [INFO] org.jboss.ide.eclipse.as.jmx.integration 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.management.as7 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.management.eap61plus 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.management.wildfly9 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.management.wf11 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.tools.as.catalog 3.8.0-SNAPSHOT .......... SKIPPED
> [INFO] as.test-framework 3.8.0-SNAPSHOT ................... SKIPPED
> [INFO] org.jboss.ide.eclipse.as.reddeer 3.8.0-SNAPSHOT .... SKIPPED
> [INFO] as.tests 3.8.0-SNAPSHOT ............................ SKIPPED
> [INFO] jmx.tests 1.10.6-SNAPSHOT .......................... SKIPPED
> [INFO] org.jboss.tools.jmx.core.test 1.10.6-SNAPSHOT ...... SKIPPED
> [INFO] org.jboss.tools.as.test.core 3.8.0-SNAPSHOT ........ SKIPPED
> [INFO] as.itests 3.8.0-SNAPSHOT ........................... SKIPPED
> [INFO] org.jboss.tools.as.itests 3.8.0-SNAPSHOT ........... SKIPPED
> [INFO] org.jboss.tools.as.management.itests 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.tools.as.ui.bot.itests 3.8.0-SNAPSHOT .... SKIPPED
> [INFO] jmx.test-framework 1.10.6-SNAPSHOT ................. SKIPPED
> [INFO] org.jboss.tools.jmx.reddeer 1.10.6-SNAPSHOT ........ SKIPPED
> [INFO] org.jboss.tools.as.jmx.ui.bot.itests 3.8.0-SNAPSHOT SKIPPED
> [INFO] as.features 3.8.0-SNAPSHOT ......................... SKIPPED
> [INFO] org.jboss.ide.eclipse.as.serverAdapter.wtp.feature 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.archives.integration.feature 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.tools.jmx.local 1.10.6-SNAPSHOT .......... SKIPPED
> [INFO] org.jboss.tools.jmx.jolokia 1.10.6-SNAPSHOT ........ SKIPPED
> [INFO] jmx.features 1.10.6-SNAPSHOT ....................... SKIPPED
> [INFO] org.jboss.tools.jmx.feature 1.10.6-SNAPSHOT ........ SKIPPED
> [INFO] org.jboss.ide.eclipse.as.jmx.integration.feature 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.server.rse.integration.feature 3.8.0-SNAPSHOT SKIPPED
> [INFO] org.jboss.ide.eclipse.as.feature 3.8.0-SNAPSHOT .... SKIPPED
> [INFO] org.jboss.ide.eclipse.as.test.feature 3.8.0-SNAPSHOT SKIPPED
> [INFO] wtp.all 1.3.202-SNAPSHOT ........................... SKIPPED
> [INFO] wtp.plugins 1.3.202-SNAPSHOT ....................... SKIPPED
> [INFO] org.jboss.tools.wtp.runtimes.tomcat 1.3.202-SNAPSHOT SKIPPED
> [INFO] org.jboss.tools.wtp.server.launchbar 1.3.202-SNAPSHOT SKIPPED
> [INFO] wtp.itests 1.3.202-SNAPSHOT ........................ SKIPPED
> [INFO] org.jboss.tools.wtp.runtimes.tomcat.itests 1.3.202-SNAPSHOT SKIPPED
> [INFO] wtp.features 1.3.202-SNAPSHOT ...................... SKIPPED
> [INFO] org.jboss.tools.wtp.runtimes.tomcat.feature 1.3.202-SNAPSHOT SKIPPED
> [INFO] org.jboss.tools.wtp.runtimes.tomcat.tests.feature 1.3.202-SNAPSHOT SKIPPED
> [INFO] org.jboss.tools.wtp.server.launchbar.feature 1.3.202-SNAPSHOT SKIPPED
> [INFO] org.jboss.tools.jmx.jolokia.test 1.10.6-SNAPSHOT ... SKIPPED
> [INFO] org.jboss.tools.jmx.ui.test 1.10.6-SNAPSHOT ........ SKIPPED
> [INFO] org.jboss.tools.jmx.test.feature 1.10.6-SNAPSHOT ... SKIPPED
> [INFO] server.site 4.5.0-SNAPSHOT ......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 51.145 s
> [INFO] Finished at: 2019-09-27T10:35:24+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-p2-extras-plugin:1.4.0:compare-version-with-baselines (default) on project org.jboss.tools.archives.scanner: Only qualifier changed for (org.jboss.tools.archives.scanner/3.6.202.v20190927-0834). Expected to have bigger x.y.z than what is available in baseline (3.6.202.v20181011-1445) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :org.jboss.tools.archives.scanner
> {code}
> NOTE: baseline comparison check is disabled in jbosstools-server master build job!
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26876) Explorer: Show In > Web Console for CRC fails with "unauthorized"
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugi... ]
André Dietisheim commented on JBIDE-26876:
------------------------------------------
there's another change: when opening the console for projects (which we support for OpenShift 3, the url now is also not */project/<name>/* and more but *k8s/cluster/namespaces/<name>/*
> Explorer: Show In > Web Console for CRC fails with "unauthorized"
> -----------------------------------------------------------------
>
> Key: JBIDE-26876
> URL: https://issues.jboss.org/browse/JBIDE-26876
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> Steps:
> # ASSERT: have a connection to a running crc instance
> # EXEC: in Explorer: select the connection and pick *Show In > Web Console*
> Result:
> Browser is opened to https://api.crc.testing:6443/console. Browser then displays:
> {code}
> {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {
>
> },
> "status": "Failure",
> "message": "forbidden: User \"system:anonymous\" cannot get path \"/console\"",
> "reason": "Forbidden",
> "details": {
>
> },
> "code": 403
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26869) CRC server adapter: OpenShift connection that is created is unusable at times
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26869?page=com.atlassian.jira.plugi... ]
André Dietisheim edited comment on JBIDE-26869 at 9/27/19 8:56 AM:
-------------------------------------------------------------------
weird enough, when this happens, a connection using the ip https://192.168.64.104:6443 works while connecting using the hostname https://crc.api.testing:6443 fails. After some time though, connecting to the hostname starts working.
was (Author: adietish):
weird enough, when this happens, a connection using the ip https://192.168.64.104:6444 works while connecting using the hostname https://crc.api.testing:6443 fails. After some time though, connecting to the hostname starts working.
> CRC server adapter: OpenShift connection that is created is unusable at times
> -----------------------------------------------------------------------------
>
> Key: JBIDE-26869
> URL: https://issues.jboss.org/browse/JBIDE-26869
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.13.0.Final
>
> Attachments: crc-connection-error.mp4
>
>
> *Steps* - not reproducibe at 100%, happens from time to time:
> # ASSERT: have ~/.crc folder killed
> # EXEC: create new CRC server adapter & Start it
> # ASSERT: OpenShift connection is created
> *Result:*
> Connection fails to authorize, reports that it cannot access resources using system:anonymous. Refreshing the connection doesn't help, so it's apparently not a timing issue (ex. creating the connection before the cluster is fully up and running)
> {code}
> com.openshift.restclient.authorization.ResourceForbiddenException: forbidden: User "system:anonymous" cannot get path "/oauth/authorize" forbidden: User "system:anonymous" cannot get path "/oauth/authorize"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:111)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
> at okhttp3.RealCall.execute(RealCall.kt:66)
> at com.openshift.internal.restclient.okhttp.OpenShiftAuthenticator.tryAuth(OpenShiftAuthenticator.java:109)
> at com.openshift.internal.restclient.okhttp.OpenShiftAuthenticator.authenticate(OpenShiftAuthenticator.java:62)
> at okhttp3.internal.http.RetryAndFollowUpInterceptor.followUpRequest(RetryAndFollowUpInterceptor.kt:213)
> at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:102)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:55)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
> at okhttp3.RealCall.execute(RealCall.kt:66)
> at com.openshift.internal.restclient.DefaultClient.request(DefaultClient.java:315)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:307)
> 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.DefaultClient.execute(DefaultClient.java:226)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:423)
> at com.openshift.internal.restclient.authorization.AuthorizationContext.isAuthorized(AuthorizationContext.java:63)
> at org.jboss.tools.openshift.core.connection.Connection.authorize(Connection.java:237)
> at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:226)
> at org.jboss.tools.openshift.internal.crc.server.core.listeners.ConfigureCRCFrameworksListener.configureOpenshift(ConfigureCRCFrameworksListener.java:102)
> at org.jboss.tools.openshift.internal.crc.server.core.listeners.ConfigureCRCFrameworksListener.configureFrameworks(ConfigureCRCFrameworksListener.java:73)
> at org.jboss.tools.openshift.internal.crc.server.core.listeners.ConfigureCRCFrameworksListener$1.run(ConfigureCRCFrameworksListener.java:66)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26869) CRC server adapter: OpenShift connection that is created is unusable at times
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26869?page=com.atlassian.jira.plugi... ]
André Dietisheim edited comment on JBIDE-26869 at 9/27/19 8:56 AM:
-------------------------------------------------------------------
interestingly, Eclipse is using a hostname that differs from what the crc binary would output when doing crc console:
It opens up a web browser pointing to https://console-openshift-console.apps-crc.testing while Eclipse is using https://api.crc.testing
was (Author: adietish):
interestingly, Eclipse is using a hostname that differs from what the crc binary would output when doing crc console:
It opens up a web browser pointing to *https://console-openshift-console.apps-crc.testing* while Eclipse is using https://api.crc.testing
> CRC server adapter: OpenShift connection that is created is unusable at times
> -----------------------------------------------------------------------------
>
> Key: JBIDE-26869
> URL: https://issues.jboss.org/browse/JBIDE-26869
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.13.0.Final
>
> Attachments: crc-connection-error.mp4
>
>
> *Steps* - not reproducibe at 100%, happens from time to time:
> # ASSERT: have ~/.crc folder killed
> # EXEC: create new CRC server adapter & Start it
> # ASSERT: OpenShift connection is created
> *Result:*
> Connection fails to authorize, reports that it cannot access resources using system:anonymous. Refreshing the connection doesn't help, so it's apparently not a timing issue (ex. creating the connection before the cluster is fully up and running)
> {code}
> com.openshift.restclient.authorization.ResourceForbiddenException: forbidden: User "system:anonymous" cannot get path "/oauth/authorize" forbidden: User "system:anonymous" cannot get path "/oauth/authorize"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:111)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
> at okhttp3.RealCall.execute(RealCall.kt:66)
> at com.openshift.internal.restclient.okhttp.OpenShiftAuthenticator.tryAuth(OpenShiftAuthenticator.java:109)
> at com.openshift.internal.restclient.okhttp.OpenShiftAuthenticator.authenticate(OpenShiftAuthenticator.java:62)
> at okhttp3.internal.http.RetryAndFollowUpInterceptor.followUpRequest(RetryAndFollowUpInterceptor.kt:213)
> at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:102)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:55)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
> at okhttp3.RealCall.execute(RealCall.kt:66)
> at com.openshift.internal.restclient.DefaultClient.request(DefaultClient.java:315)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:307)
> 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.DefaultClient.execute(DefaultClient.java:226)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:423)
> at com.openshift.internal.restclient.authorization.AuthorizationContext.isAuthorized(AuthorizationContext.java:63)
> at org.jboss.tools.openshift.core.connection.Connection.authorize(Connection.java:237)
> at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:226)
> at org.jboss.tools.openshift.internal.crc.server.core.listeners.ConfigureCRCFrameworksListener.configureOpenshift(ConfigureCRCFrameworksListener.java:102)
> at org.jboss.tools.openshift.internal.crc.server.core.listeners.ConfigureCRCFrameworksListener.configureFrameworks(ConfigureCRCFrameworksListener.java:73)
> at org.jboss.tools.openshift.internal.crc.server.core.listeners.ConfigureCRCFrameworksListener$1.run(ConfigureCRCFrameworksListener.java:66)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26842) Update 4.13.0.Final Target Platform (Docker tooling, ...) for 2019-09.GA
by stephane bouchet (Jira)
[ https://issues.jboss.org/browse/JBIDE-26842?page=com.atlassian.jira.plugi... ]
stephane bouchet edited comment on JBIDE-26842 at 9/27/19 8:43 AM:
-------------------------------------------------------------------
for the record, following are only repo url changes, no actual binary differences in bundles :
webtools R-3.15.0-20190830034720
was (Author: sbouchet-1):
As a side note, WTP final release is exactly same as RC1, no need to change this one.
> Update 4.13.0.Final Target Platform (Docker tooling, ...) for 2019-09.GA
> ------------------------------------------------------------------------
>
> Key: JBIDE-26842
> URL: https://issues.jboss.org/browse/JBIDE-26842
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: target-platform
> Affects Versions: 4.13.0.AM1
> Reporter: Jeff MAURY
> Assignee: stephane bouchet
> Priority: Major
> Fix For: 4.13.0.Final
>
> Attachments: p2diff_log_jbosstools_2019-09-24_11-48.txt
>
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month