[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 commented on JBIDE-26869:
------------------------------------------
[~kumarpraveen] thx for chiming in. I also believe that crc came up faulty when this happens. Here's the output:
{code}
$ crc status --log-level debug
CRC VM: Running
OpenShift: Running (v4.x)
Disk Usage: 11.16GB of 16.09GB (Inside the CRC VM)
Cache Usage: 10.75GB
Cache Directory: /Users/adietish/.crc/cache
{code}
> 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)
4 years, 12 months
[JBoss JIRA] (JBIDE-26697) Possible memory leak during Loading projects job when using CRC
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26697?page=com.atlassian.jira.plugi... ]
André Dietisheim commented on JBIDE-26697:
------------------------------------------
https://github.com/openshift/openshift-restclient-java/issues/394 should have resolved the leaks in the client library. There might be further ones in the Eclipse tooling.
> Possible memory leak during Loading projects job when using CRC
> ---------------------------------------------------------------
>
> Key: JBIDE-26697
> URL: https://issues.jboss.org/browse/JBIDE-26697
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.12.0.Final
> Environment: Mac 10.14.5 (18F203), Fedora 29, crstudio GA-v20190626-0604-B4591
> Reporter: Josef Kopriva
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> Exception in error log:
> {code:java}
> eclipse.buildId=12.12.0.GA-v20190626-0604-B4591
> 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 -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 -data file:/Users/jkopriva/workspace_B4591_3/ -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
> org.eclipse.core.jobs
> Error
> Wed Jun 26 14:36:11 CEST 2019
> An internal error occurred during: "Loading projects...".
> java.lang.OutOfMemoryError: Java heap space
> at org.jboss.dmr.JSONParser.yyParse(JSONParser.java:877)
> at org.jboss.dmr.ModelNode.fromJSONString(ModelNode.java:1472)
> at com.openshift.internal.restclient.ResourceFactory.create(ResourceFactory.java:100)
> at com.openshift.internal.restclient.ResourceFactory.createInstanceFrom(ResourceFactory.java:149)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:304)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:275)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:264)
> at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:171)
> at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:160)
> at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:151)
> at com.openshift.internal.restclient.capability.resources.ProjectTemplateListCapability.getCommonTemplates(ProjectTemplateListCapability.java:53)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.ApplicationSourceTreeItems$1.visit(ApplicationSourceTreeItems.java:121)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.ApplicationSourceTreeItems$1.visit(ApplicationSourceTreeItems.java:1)
> at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:94)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.ApplicationSourceTreeItems.loadTemplates(ApplicationSourceTreeItems.java:113)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.ApplicationSourceTreeItems.createChildren(ApplicationSourceTreeItems.java:61)
> at org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem.loadChildren(ObservableTreeItem.java:69)
> at org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem.load(ObservableTreeItem.java:56)
> at org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem.load(ObservableTreeItem.java:59)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.loadResources(NewApplicationWizardModel.java:247)
> at org.jboss.tools.openshift.internal.ui.wizard.common.AbstractProjectPage$3.doRun(AbstractProjectPage.java:255)
> 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)
4 years, 12 months
[JBoss JIRA] (JBIDE-26873) CRC server adapter: push secret label is not vertically centered
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26873?page=com.atlassian.jira.plugi... ]
André Dietisheim updated JBIDE-26873:
-------------------------------------
Description:
Steps:
# EXEC: launch server adapter wizard for CRC
Result:
The wizard pops up a form where you have to indicate the CRC binary and push secret. The push secret input field and it's label are not vertically centered.
!screenshot-1.png!
was:
Steps:
# EXEC: launch server adapter wizard for CRC
Result:
The wizard pops up a form where you have to indicate the CRC binary and push secret. The push secret input field and it's label are not vertically centered
> CRC server adapter: push secret label is not vertically centered
> -----------------------------------------------------------------
>
> Key: JBIDE-26873
> URL: https://issues.jboss.org/browse/JBIDE-26873
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
> Attachments: screenshot-1.png
>
>
> Steps:
> # EXEC: launch server adapter wizard for CRC
> Result:
> The wizard pops up a form where you have to indicate the CRC binary and push secret. The push secret input field and it's label are not vertically centered.
> !screenshot-1.png!
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 12 months
[JBoss JIRA] (JBIDE-26873) CRC server adapter: push secret label is not vertically centered
by André Dietisheim (Jira)
André Dietisheim created JBIDE-26873:
----------------------------------------
Summary: CRC server adapter: push secret label is not vertically centered
Key: JBIDE-26873
URL: https://issues.jboss.org/browse/JBIDE-26873
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: openshift
Affects Versions: 4.13.0.AM1
Reporter: André Dietisheim
Steps:
# EXEC: launch server adapter wizard for CRC
Result:
The wizard pops up a form where you have to indicate the CRC binary and push secret. The push secret input field and it's label are not vertically centered
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 12 months
[JBoss JIRA] (JBDS-4765) UnknownHostException: download.jboss.org after installation of software from central to devstudio
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBDS-4765?page=com.atlassian.jira.plugin.... ]
Jeff MAURY updated JBDS-4765:
-----------------------------
Fix Version/s: 12.14.0.AM1
(was: 12.13.0.AM1)
> UnknownHostException: download.jboss.org after installation of software from central to devstudio
> -------------------------------------------------------------------------------------------------
>
> Key: JBDS-4765
> URL: https://issues.jboss.org/browse/JBDS-4765
> Project: Red Hat CodeReady Studio (devstudio)
> Issue Type: Bug
> Components: central
> Affects Versions: 12.11.0.GA
> Reporter: Ondrej Dockal
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 12.14.0.AM1
>
>
> {code}
> eclipse.buildId=12.11.0.GA-v20190321-1925-B4244
> java.version=11.0.2
> 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
> org.eclipse.equinox.p2.transport.ecf
> Error
> Tue Mar 26 21:50:38 CET 2019
> Unknown Host: http://download.jboss.org/jbosstools/usage/installs/central-site/4.10.0-S...
> java.net.UnknownHostException: download.jboss.org
> at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:797)
> at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:883)
> at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1505)
> at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1364)
> at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1298)
> at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:263)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
> at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326)
> at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)
> at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
> at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
> at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
> at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263)
> at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 12 months
[JBoss JIRA] (JBIDE-26847) An internal error occurred during: "Identify jrt-fs.jar".
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26847?page=com.atlassian.jira.plugi... ]
Jeff MAURY reassigned JBIDE-26847:
----------------------------------
Assignee: Jeff MAURY
> An internal error occurred during: "Identify jrt-fs.jar".
> ---------------------------------------------------------
>
> Key: JBIDE-26847
> URL: https://issues.jboss.org/browse/JBIDE-26847
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.11.0.Final, 4.14.x, 4.12.0.Final
> Reporter: Banaan Banaan
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> I've installed
> JBoss Maven Integration 1.9.3.v20190827-1345 org.jboss.tools.maven.feature.feature.group Red Hat
> And when I open anything from the Java class library I get a popup with the message:
> *An internal error occurred during: "Identify jrt-fs.jar".*
> I don't have the full class library of the java runtime committed to my memory, so I have to look at the source quite often and this popup is getting literally in the way.
> {code:java}
> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
> at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.searchArtifactFromRemoteNexusRepository(NexusRepositoryIdentifier.java:96)
> at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.getArtifactFromRemoteNexusRepository(NexusRepositoryIdentifier.java:78)
> at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.identify(NexusRepositoryIdentifier.java:50)
> at org.jboss.tools.maven.core.internal.identification.FileIdentificationManager.identify(FileIdentificationManager.java:91)
> at org.jboss.tools.maven.sourcelookup.ui.actions.AttachSourcesActionDelegate$1.run(AttachSourcesActionDelegate.java:114)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext cannot be found by org.jboss.tools.maven.core_1.9.3.v20190827-1345
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:514)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:425)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:155)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> ... 6 more
> {code}
> It was reported in https://issues.jboss.org/browse/JBIDE-26571, apparently not fixed in https://issues.jboss.org/browse/JBIDE-26500 as the latest SNAPSHOT plugins still exhibit this error (in 2019.9)
> This is the set of JBoss Tools Maven plugins I have installed:
> JBoss Maven Integration 1.9.3.v20190827-1345 org.jboss.tools.maven.feature.feature.group Red Hat
> m2e - Maven Integration for Eclipse (includes Incubating components) 1.13.0.20190716-1624 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e
> m2e-wtp - Maven Integration for WTP 1.4.2.20190530-0057 org.eclipse.m2e.wtp.feature.feature.group Eclipse.org - m2e-wtp
> Maven SCM Handler for EGit 0.15.1.201806191431 org.sonatype.m2e.egit.feature.feature.group Sonatype, Inc.
> JBoss Tools Maven Packaging Configurator 1.9.3.v20190827-1345 org.jboss.tools.maven.jbosspackaging.feature.feature.group Red Hat
> JBoss Tools Maven Source Lookup 1.9.3.v20190827-1345 org.jboss.tools.maven.sourcelookup.feature.feature.group Red Hat
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 12 months
[JBoss JIRA] (JBIDE-26847) An internal error occurred during: "Identify jrt-fs.jar".
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26847?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-26847:
-------------------------------
Fix Version/s: 4.13.0.Final
> An internal error occurred during: "Identify jrt-fs.jar".
> ---------------------------------------------------------
>
> Key: JBIDE-26847
> URL: https://issues.jboss.org/browse/JBIDE-26847
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.11.0.Final, 4.14.x, 4.12.0.Final
> Reporter: Banaan Banaan
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> I've installed
> JBoss Maven Integration 1.9.3.v20190827-1345 org.jboss.tools.maven.feature.feature.group Red Hat
> And when I open anything from the Java class library I get a popup with the message:
> *An internal error occurred during: "Identify jrt-fs.jar".*
> I don't have the full class library of the java runtime committed to my memory, so I have to look at the source quite often and this popup is getting literally in the way.
> {code:java}
> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
> at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.searchArtifactFromRemoteNexusRepository(NexusRepositoryIdentifier.java:96)
> at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.getArtifactFromRemoteNexusRepository(NexusRepositoryIdentifier.java:78)
> at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.identify(NexusRepositoryIdentifier.java:50)
> at org.jboss.tools.maven.core.internal.identification.FileIdentificationManager.identify(FileIdentificationManager.java:91)
> at org.jboss.tools.maven.sourcelookup.ui.actions.AttachSourcesActionDelegate$1.run(AttachSourcesActionDelegate.java:114)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext cannot be found by org.jboss.tools.maven.core_1.9.3.v20190827-1345
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:514)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:425)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:155)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> ... 6 more
> {code}
> It was reported in https://issues.jboss.org/browse/JBIDE-26571, apparently not fixed in https://issues.jboss.org/browse/JBIDE-26500 as the latest SNAPSHOT plugins still exhibit this error (in 2019.9)
> This is the set of JBoss Tools Maven plugins I have installed:
> JBoss Maven Integration 1.9.3.v20190827-1345 org.jboss.tools.maven.feature.feature.group Red Hat
> m2e - Maven Integration for Eclipse (includes Incubating components) 1.13.0.20190716-1624 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e
> m2e-wtp - Maven Integration for WTP 1.4.2.20190530-0057 org.eclipse.m2e.wtp.feature.feature.group Eclipse.org - m2e-wtp
> Maven SCM Handler for EGit 0.15.1.201806191431 org.sonatype.m2e.egit.feature.feature.group Sonatype, Inc.
> JBoss Tools Maven Packaging Configurator 1.9.3.v20190827-1345 org.jboss.tools.maven.jbosspackaging.feature.feature.group Red Hat
> JBoss Tools Maven Source Lookup 1.9.3.v20190827-1345 org.jboss.tools.maven.sourcelookup.feature.feature.group Red Hat
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 12 months