[JBoss JIRA] (JBIDE-21811) Extend the timeout for CDK server start
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21811?page=com.atlassian.jira.plugi... ]
Fred Bricon updated JBIDE-21811:
--------------------------------
Description:
Starting the CDK for the 1st time on my win10 laptop (5yo thinkpad t510, 8GB ram, no SSD, dual Core i7) timed out after 900s.
We might want to double that timeout.
This is using the installer on windows.
was:
Starting the CDK for the 1st time on my win10 laptop (5yo thinkpad t510, 8GB ram, no SSD, dual Core i7) timed out after 900s.
We might want to double that timeout
> Extend the timeout for CDK server start
> ---------------------------------------
>
> Key: JBIDE-21811
> URL: https://issues.jboss.org/browse/JBIDE-21811
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
>
> Starting the CDK for the 1st time on my win10 laptop (5yo thinkpad t510, 8GB ram, no SSD, dual Core i7) timed out after 900s.
> We might want to double that timeout.
> This is using the installer on windows.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21795) [CDK Server Wizard] NPE when adding a new Username
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21795?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich updated JBIDE-21795:
------------------------------------------
Git Pull Request: https://github.com/jbosstools/jbosstools-base/pull/492 (was: https://github.com/jbosstools/jbosstools-base/pull/491)
> [CDK Server Wizard] NPE when adding a new Username
> ---------------------------------------------------
>
> Key: JBIDE-21795
> URL: https://issues.jboss.org/browse/JBIDE-21795
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.3.1.CR1
>
>
> The following incident was reported via the automated error reporting:
> The user(s) left the following comments:
> --- Fred Bricon wrote: ---
> Opened new Server wizard,
> selected CDK server,
> clicked on "Add..." button on username line
>
> code: 0
> plugin: org.eclipse.ui_3.107.0.v20150507-1945
> message: Unhandled event loop exception
> fingerprint: 9d325d266855ea6cd9425941c0fecec0
> exception class: java.lang.NullPointerException
> exception message: -
> number of children: 0
>
> java.lang.NullPointerException: null
> at java.lang.String.compareTo(String.java:1155)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:198)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:1)
> at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
> at java.util.TimSort.sort(TimSort.java:220)
> at java.util.Arrays.sort(Arrays.java:1512)
> at java.util.ArrayList.sort(ArrayList.java:1454)
> at java.util.Collections.sort(Collections.java:175)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel.getDomains(CredentialsModel.java:196)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.createDialogArea(NewCredentialUserDialog.java:118)
> at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:161)
> at org.eclipse.jface.window.Window.create(Window.java:430)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.create(NewCredentialUserDialog.java:84)
> at org.eclipse.jface.window.Window.open(Window.java:792)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.addUserPressed(ChooseCredentialComponent.java:130)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.access$1(ChooseCredentialComponent.java:126)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent$3.widgetSelected(ChooseCredentialComponent.java:121)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.eclipse.wst.server.ui.internal.cnf.ServersView2$1.widgetSelected(ServersView2.java:116)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1564)
> at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:6010)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(OS.java:-2)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
> at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
> at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2571)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(OS.java:-2)
> at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
> at org.eclipse.swt.widgets.Display.sleep(Display.java:4740)
> at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:368)
> at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:858)
> at org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:521)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1132)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
>
>
> General Information:
> reported-by: Fred Bricon
> anonymous-id: edd62de2-d4be-4d9f-8cab-817f6b18834d
> eclipse-build-id: 4.5.2.M20160113-1000
> eclipse-product: org.eclipse.platform.ide
> operating system: MacOSX 10.10.5 (x86_64) - cocoa
> jre-version: 1.8.0_65-b17
> The following plug-ins were present on the execution stack (*):
> 1. org.eclipse.core.databinding.observable_1.5.0.v20150422-0725
> 2. org.eclipse.core.databinding_1.5.0.v20150422-0725
> 3. org.eclipse.core.runtime_3.11.1.v20150903-1804
> 4. org.eclipse.e4.ui.workbench_1.3.1.v20160107-1220
> 5. org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621
> 6. org.eclipse.equinox.app_1.3.300.v20150423-1356
> 7. org.eclipse.equinox.launcher_1.3.100.v20150511-1540
> 8. org.eclipse.jface_3.11.0.v20151124-1540
> 9. org.eclipse.swt_3.104.1.v20160113-0811
> 10. org.eclipse.ui_3.107.0.v20150507-1945
> 11. org.eclipse.ui.ide.application_1.1.0.v20150422-0725
> 12. org.eclipse.ui.ide_3.11.0.v20150825-2158
> 13. org.eclipse.wst.server.ui_1.5.202.v201602111638
> 14. org.jboss.tools.foundation.core_1.2.1.qualifier
> 15. org.jboss.tools.foundation.ui_1.2.1.qualifier
> Please note that:
> * Messages, stacktraces, and nested status objects may be shortened.
> * Bug fields like status, resolution, and whiteboard are sent
> back to reporters.
> * The list of present bundles and their respective versions was
> calculated by package naming heuristics. This may or may not reflect reality.
> Other Resources:
> * Report: https://redhat.ctrlflow.com/committers/#/problems/56d47a21e4b0a0de48c2b252
> * Manual: https://redhat.ctrlflow.com/community/#/guide
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21811) Extend the timeout for CDK server start
by Fred Bricon (JIRA)
Fred Bricon created JBIDE-21811:
-----------------------------------
Summary: Extend the timeout for CDK server start
Key: JBIDE-21811
URL: https://issues.jboss.org/browse/JBIDE-21811
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdk
Affects Versions: 4.3.1.Beta2
Reporter: Fred Bricon
Starting the CDK for the 1st time on my win10 laptop (5yo thinkpad t510, 8GB ram, no SSD, dual Core i7) timed out after 900s.
We might want to double that timeout
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21810) Respect .cdk password
by Rob Stryker (JIRA)
Rob Stryker created JBIDE-21810:
-----------------------------------
Summary: Respect .cdk password
Key: JBIDE-21810
URL: https://issues.jboss.org/browse/JBIDE-21810
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: cdk
Affects Versions: 4.3.1.Beta2
Reporter: Rob Stryker
Respect the values in .cdk for password, and change default username/pass to openshift-dev/devel
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21731) Server Adapter: Error shown when image is not created/pushed yet, sould be more user friendly
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21731?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-21731:
-----------------------------------------------
Loading image tags now starts with creating and initializing DeploymentResourceMapper which describes rather complex relations between model objects. So, even if request for tags is to be done asynchronously, either we have to create and initialize DeploymentResourceMapper at each new service selection - which will make selection slower, or it should be preloaded as now, and only requests for image tags for the selected service will be postponed for the moment of selection. Will it actually decrease the time of waiting?
> Server Adapter: Error shown when image is not created/pushed yet, sould be more user friendly
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-21731
> URL: https://issues.jboss.org/browse/JBIDE-21731
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Labels: openshift_v3, server_adapter
> Fix For: 4.3.1.CR1
>
> Attachments: cannot_get_image.png
>
>
> When I create a new OS3 application and then I want to create a new server adapter, an image for this application has to be built and pushed to OpenShift's local image registry. If build is still running, what is often happening on internal OSE instance (it takes minutes - pushing of images), then there is an error message that loading of image failed. User without solid overview of OS3 background would not be able to figure out why it is happening, because even Image stream is shown, but the image is not there yet.
> Full error log:
> {code}
> com.openshift.restclient.OpenShiftException: Could not get resource django-example:latest in namespace image: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "imageStreamTag \"django-example:latest\" not found",
> "reason": "NotFound",
> "details": {
> "name": "django-example:latest",
> "kind": "imageStreamTag"
> },
> "code": 404
> }
> at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:481)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:306)
> at org.jboss.tools.openshift.core.connection.Connection.getResource(Connection.java:378)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.lambda$5(DeploymentResourceMapper.java:106)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.getImageStreamTagsFor(DeploymentResourceMapper.java:107)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.lambda$2(DeploymentResourceMapper.java:87)
> at java.util.stream.Collectors.lambda$toMap$213(Collectors.java:1321)
> at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
> at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.getAllImageStreamTags(DeploymentResourceMapper.java:85)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$ProjectImageStreamTags.createImageStreamsMap(ServerSettingsViewModel.java:334)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$ProjectImageStreamTags.<init>(ServerSettingsViewModel.java:327)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.lambda$1(ServerSettingsViewModel.java:279)
> at java.util.stream.Collectors.lambda$toMap$213(Collectors.java:1321)
> at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.createImageStreamTagsMap(ServerSettingsViewModel.java:277)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.loadResources(ServerSettingsViewModel.java:261)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.loadResources(ServerSettingsViewModel.java:255)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizardFragment$15.run(ServerSettingsWizardFragment.java:695)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: com.openshift.internal.restclient.http.NotFoundException: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "imageStreamTag \"django-example:latest\" not found",
> "reason": "NotFound",
> "details": {
> "name": "django-example:latest",
> "kind": "imageStreamTag"
> },
> "code": 404
> }
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:230)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:165)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:141)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:103)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:302)
> ... 36 more
> Caused by: java.io.FileNotFoundException: https://console.engint.openshift.com/oapi/v1/namespaces/image/imagestream...
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:161)
> ... 39 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month