[JBoss JIRA] (JBIDE-21807) Cannot publish changes to OpenShift 2 application
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21807?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-21807 at 3/3/16 2:23 PM:
------------------------------------------------------------------
[~mlabuda]I tried with vanilla Mars.2 (Version: Mars.2 Release (4.5.2)) and nightly JBT plugins (4.3.1-SNAPSHOT (CR1-v20160303-1233-B371)) and I couldnt reproduce this, publishing worked without any flaws. I believe that this is an issue in your installation.
was (Author: adietish):
[~mlabuda]I tried with vanilla Mars.2 (Version: Mars.2 Release (4.5.2)) and nightly JBT plugins (4.3.1-SNAPSHOT (CR1-v20160303-1233-B371)) and I couldnt reproduce this. I believe that this is an issue in your installation.
> Cannot publish changes to OpenShift 2 application
> -------------------------------------------------
>
> Key: JBIDE-21807
> URL: https://issues.jboss.org/browse/JBIDE-21807
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Priority: Blocker
> Labels: openshift_v2, server_adapter
> Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
>
> Cannot publish changes via OpenShift 2 server adapter to OpenShift 2 application. There is following stack in error log:
> {code}
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/eclipse/egit/core/AdaptableFileTreeIterator)
> at org.eclipse.swt.SWT.error(SWT.java:4491)
> at org.eclipse.swt.SWT.error(SWT.java:4406)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3794)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3433)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> 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(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> 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)
> Caused by: java.lang.NoClassDefFoundError: org/eclipse/egit/core/AdaptableFileTreeIterator
> at org.jboss.tools.openshift.express.internal.ui.server.CommitUI.commit(CommitUI.java:194)
> at org.jboss.tools.openshift.express.internal.ui.server.EGitUI$1.run(EGitUI.java:39)
> at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
> at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:154)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 24 more
> Caused by: java.lang.ClassNotFoundException: org.eclipse.egit.core.AdaptableFileTreeIterator cannot be found by org.jboss.tools.openshift.express.ui_3.1.0.CR1-v20160302-0336-B205
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 30 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21807) Cannot publish changes to OpenShift 2 application
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21807?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-21807:
------------------------------------------
I tried with vanilla Mars.2 (Version: Mars.2 Release (4.5.2)) and nightly JBT plugins (4.3.1-SNAPSHOT (CR1-v20160303-1233-B371)) and I couldnt reproduce this. I believe that this is an issue in your installation.
> Cannot publish changes to OpenShift 2 application
> -------------------------------------------------
>
> Key: JBIDE-21807
> URL: https://issues.jboss.org/browse/JBIDE-21807
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Priority: Blocker
> Labels: openshift_v2, server_adapter
> Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
>
> Cannot publish changes via OpenShift 2 server adapter to OpenShift 2 application. There is following stack in error log:
> {code}
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/eclipse/egit/core/AdaptableFileTreeIterator)
> at org.eclipse.swt.SWT.error(SWT.java:4491)
> at org.eclipse.swt.SWT.error(SWT.java:4406)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3794)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3433)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> 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(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> 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)
> Caused by: java.lang.NoClassDefFoundError: org/eclipse/egit/core/AdaptableFileTreeIterator
> at org.jboss.tools.openshift.express.internal.ui.server.CommitUI.commit(CommitUI.java:194)
> at org.jboss.tools.openshift.express.internal.ui.server.EGitUI$1.run(EGitUI.java:39)
> at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
> at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:154)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 24 more
> Caused by: java.lang.ClassNotFoundException: org.eclipse.egit.core.AdaptableFileTreeIterator cannot be found by org.jboss.tools.openshift.express.ui_3.1.0.CR1-v20160302-0336-B205
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 30 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBDS-3613) Support OpenShift 3.2
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBDS-3613?page=com.atlassian.jira.plugin.... ]
Andre Dietisheim edited comment on JBDS-3613 at 3/3/16 2:08 PM:
----------------------------------------------------------------
as in CDK, 3.2 will not be included in the upcoming Beta5 which will be out these days:
{quote}
Hardy Ferentschik
7:57 PM
@LalatenduMohanty Any ETA on the inclusion of OSE 3.2 in the CDK?
Lalatendu Mohanty
7:59 PM
@HardyFerentschik post beta5
{quote}
but nevertheless CDK team is doing efforts to provide something post Beta5 (out this monday):
{quote}
Hardy Ferentschik
8:03 PM
provided our scripts work as intended we should be able to configure an additional registry as part of the provisioning/startup
Lalatendu Mohanty
8:03 PM
@HardyFerentschik right
Hardy Ferentschik
8:04 PM
we would miss out on the image caching, but I guess everyone would rather live with some longer startup time than having to wait longer
once the images are available via brew we can cache them again and get better startup times again
Lalatendu Mohanty
8:05 PM
Sounds OK to me
Hardy Ferentschik
8:05 PM
+1
Hardy Ferentschik
8:05 PM
we can try to work out the details as soon as Beta5 is out. AFAIU that is tomorrow or Monday,right?
{quote}
was (Author: adietish):
as in CDK, 3.2 will not be included in the upcoming Beta5 which will be out these days:
{quote}
Hardy Ferentschik
7:57 PM
@LalatenduMohanty Any ETA on the inclusion of OSE 3.2 in the CDK?
Lalatendu Mohanty
7:59 PM
@HardyFerentschik post beta5
{quote}
> Support OpenShift 3.2
> ---------------------
>
> Key: JBDS-3613
> URL: https://issues.jboss.org/browse/JBDS-3613
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Epic
> Components: openshift
> Affects Versions: 9.1.0.Beta2
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 9.1.0.CR1
>
>
> CDK will GA with OpenShift 3.2 we will need to support 3.2 in OpenShift tooling.
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBDS-3613) Support OpenShift 3.2
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBDS-3613?page=com.atlassian.jira.plugin.... ]
Andre Dietisheim edited comment on JBDS-3613 at 3/3/16 2:08 PM:
----------------------------------------------------------------
as in CDK, 3.2 will not be included in the upcoming Beta5 which will be out these days:
{quote}
Hardy Ferentschik
7:57 PM
@LalatenduMohanty Any ETA on the inclusion of OSE 3.2 in the CDK?
Lalatendu Mohanty
7:59 PM
@HardyFerentschik post beta5
{quote}
but nevertheless CDK team is doing efforts to provide something post Beta5 (out this monday):
{quote}
Hardy Ferentschik
8:03 PM
provided our scripts work as intended we should be able to configure an additional registry as part of the provisioning/startup
Lalatendu Mohanty
8:03 PM
@HardyFerentschik right
Hardy Ferentschik
8:04 PM
we would miss out on the image caching, but I guess everyone would rather live with some longer startup time than having to wait longer
once the images are available via brew we can cache them again and get better startup times again
Lalatendu Mohanty
8:05 PM
Sounds OK to me
Hardy Ferentschik
8:05 PM
+1
Hardy Ferentschik
8:05 PM
we can try to work out the details as soon as Beta5 is out. AFAIU that is tomorrow or Monday,right?
{quote}
was (Author: adietish):
as in CDK, 3.2 will not be included in the upcoming Beta5 which will be out these days:
{quote}
Hardy Ferentschik
7:57 PM
@LalatenduMohanty Any ETA on the inclusion of OSE 3.2 in the CDK?
Lalatendu Mohanty
7:59 PM
@HardyFerentschik post beta5
{quote}
but nevertheless CDK team is doing efforts to provide something post Beta5 (out this monday):
{quote}
Hardy Ferentschik
8:03 PM
provided our scripts work as intended we should be able to configure an additional registry as part of the provisioning/startup
Lalatendu Mohanty
8:03 PM
@HardyFerentschik right
Hardy Ferentschik
8:04 PM
we would miss out on the image caching, but I guess everyone would rather live with some longer startup time than having to wait longer
once the images are available via brew we can cache them again and get better startup times again
Lalatendu Mohanty
8:05 PM
Sounds OK to me
Hardy Ferentschik
8:05 PM
+1
Hardy Ferentschik
8:05 PM
we can try to work out the details as soon as Beta5 is out. AFAIU that is tomorrow or Monday,right?
{quote}
> Support OpenShift 3.2
> ---------------------
>
> Key: JBDS-3613
> URL: https://issues.jboss.org/browse/JBDS-3613
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Epic
> Components: openshift
> Affects Versions: 9.1.0.Beta2
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 9.1.0.CR1
>
>
> CDK will GA with OpenShift 3.2 we will need to support 3.2 in OpenShift tooling.
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBDS-3613) Support OpenShift 3.2
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBDS-3613?page=com.atlassian.jira.plugin.... ]
Andre Dietisheim edited comment on JBDS-3613 at 3/3/16 2:04 PM:
----------------------------------------------------------------
as in CDK, 3.2 will not be included in the upcoming Beta5 which will be out these days:
{quote}
Hardy Ferentschik
7:57 PM
@LalatenduMohanty Any ETA on the inclusion of OSE 3.2 in the CDK?
Lalatendu Mohanty
7:59 PM
@HardyFerentschik post beta5
{quote}
was (Author: adietish):
as in CDK, 3.2 will not be included in the upcoming Beta5 which will be out these days:
{quote}
Hardy Ferentschik
7:57 PM
but one needs to get hold of the right images yet
3.2 is not officially released either afaik, so one would need to find pre release builds
@LalatenduMohanty Any ETA on the inclusion of OSE 3.2 in the CDK?
...
Lalatendu Mohanty
7:59 PM
@HardyFerentschik post beta5
{quote}
> Support OpenShift 3.2
> ---------------------
>
> Key: JBDS-3613
> URL: https://issues.jboss.org/browse/JBDS-3613
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Epic
> Components: openshift
> Affects Versions: 9.1.0.Beta2
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 9.1.0.CR1
>
>
> CDK will GA with OpenShift 3.2 we will need to support 3.2 in OpenShift tooling.
>
--
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 Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21731?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-21731:
------------------------------------------
as discussed in irc
{quote}
(07:51:59 PM) jcantril: adietisheim, it will solve the loading times, but it will work for images it can resolve. so if the image is on a remote dockerhub.. then it should get the infor for you. if you are waiting for an openshift build, this or any other mechanism will not help you
(07:52:35 PM) jcantril: adietisheim, and im not sure what happens in the case that the build gets pushed to the OS registry but not dockerhub
(07:52:44 PM) jcantril: that would be an interesting case to test
{quote}
> 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
[JBoss JIRA] (JBDS-3613) Support OpenShift 3.2
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBDS-3613?page=com.atlassian.jira.plugin.... ]
Andre Dietisheim commented on JBDS-3613:
----------------------------------------
as in CDK, 3.2 will not be included in the upcoming Beta5 which will be out these days:
{quote}
Hardy Ferentschik
7:57 PM
but one needs to get hold of the right images yet
3.2 is not officially released either afaik, so one would need to find pre release builds
@LalatenduMohanty Any ETA on the inclusion of OSE 3.2 in the CDK?
...
Lalatendu Mohanty
7:59 PM
@HardyFerentschik post beta5
{quote}
> Support OpenShift 3.2
> ---------------------
>
> Key: JBDS-3613
> URL: https://issues.jboss.org/browse/JBDS-3613
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Epic
> Components: openshift
> Affects Versions: 9.1.0.Beta2
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 9.1.0.CR1
>
>
> CDK will GA with OpenShift 3.2 we will need to support 3.2 in OpenShift tooling.
>
--
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:
-----------------------------------------------
[~jcantrill], to avoid unnecessary loading, a method is needed that by IService would find _first_ tag that provides deployment folder. If there is no such tag, but build is on, it may be reported with a specific exception to be caught, or the method may return a bean providing either found deployment folder or problem description.
> 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