[JBoss JIRA] (JBIDE-25670) Delete Resources: replication controllers and pods are not deleted (on OpenShift Online)
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25670?page=com.atlassian.jira.plugi... ]
Josef Kopriva edited comment on JBIDE-25670 at 4/10/18 4:53 AM:
----------------------------------------------------------------
Hi [~adietish], I need to reopen this - against OpenShift.io this works, but against https://open.paas.redhat.com I am still getting similar error:
{code:java}
null
org.jboss.tools.openshift.core
Error
Tue Apr 10 10:46:10 CEST 2018
Error deleting Pod named eap-app-1-build.
com.openshift.restclient.NotFoundException: pods "eap-app-1-build" not found pods "eap-app-1-build" not found
at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:112)
at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:65)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
at okhttp3.RealCall.execute(RealCall.java:57)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:257)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:221)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:209)
at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:320)
at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:545)
at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
at org.jboss.tools.openshift.internal.core.job.DeleteResourcesJob.lambda$0(DeleteResourcesJob.java:46)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
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.core.job.DeleteResourcesJob.doRun(DeleteResourcesJob.java:47)
at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
{code}
Can you please look at this once again?
Also [~dgolovin] created relevant JIRA: JBIDE-25902 (this applies to me too).
Verified in:
Red Hat JBoss Developer Studio
Version: 11.3.0.GA
Build id: GA-v20180409-0537-B2335
Build date: 20180409-0537
was (Author: jkopriva):
Hi [~adietish], I need to reopen this - against OpenShift.io this works, but against https://open.paas.redhat.com I am still getting similar error:
{code:java}
null
org.jboss.tools.openshift.core
Error
Tue Apr 10 10:46:10 CEST 2018
Error deleting Pod named eap-app-1-build.
com.openshift.restclient.NotFoundException: pods "eap-app-1-build" not found pods "eap-app-1-build" not found
at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:112)
at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:65)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
at okhttp3.RealCall.execute(RealCall.java:57)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:257)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:221)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:209)
at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:320)
at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:545)
at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
at org.jboss.tools.openshift.internal.core.job.DeleteResourcesJob.lambda$0(DeleteResourcesJob.java:46)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
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.core.job.DeleteResourcesJob.doRun(DeleteResourcesJob.java:47)
at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
{code}
Can you please look at this once again?
Also [~dgolovin] created relevant JIRA: JBIDE-25902 (this applies to me too).
> Delete Resources: replication controllers and pods are not deleted (on OpenShift Online)
> ----------------------------------------------------------------------------------------
>
> Key: JBIDE-25670
> URL: https://issues.jboss.org/browse/JBIDE-25670
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.Final
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Labels: delete_resources
> Fix For: 4.5.3.Final
>
> Attachments: Screenshot_20180213_123635.png, image-2018-01-29-09-34-08-598.png
>
>
> This is most likely a timing issue, thus it is usually not observable when using a local CDK but always reproducible on OpenShift Online:
> steps:
> # ASSERT: have an application - with deployment configs, replication controllers, pods, etc.) running in OpenShift Online (ex. created via nodejs-mongo-persistent)
> # EXEC: launch "Delete Resources" wizard
> # ASSERT: you see deployment configs, replication controllers, pods etc.
> # EXEC: select all resources and hit "Finish"
> # ASSERT: wait for all removal jobs to be finished
> # EXEC: launch "Delete Resource" wizard again and inspect the resources that are still there
> Result:
> !image-2018-01-29-09-34-08-598.png!
> Replication controller(s) and pods are left in place, they were not deleted.
> Some pods may be in terminating state and disappear eventually.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25670) Delete Resources: replication controllers and pods are not deleted (on OpenShift Online)
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25670?page=com.atlassian.jira.plugi... ]
Josef Kopriva commented on JBIDE-25670:
---------------------------------------
Hi [~adietish], I need to reopen this - against OpenShift.io this works, but against https://open.paas.redhat.com I am still getting similar error:
{code:java}
null
org.jboss.tools.openshift.core
Error
Tue Apr 10 10:46:10 CEST 2018
Error deleting Pod named eap-app-1-build.
com.openshift.restclient.NotFoundException: pods "eap-app-1-build" not found pods "eap-app-1-build" not found
at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:112)
at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:65)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
at okhttp3.RealCall.execute(RealCall.java:57)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:257)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:221)
at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:209)
at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:320)
at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:545)
at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
at org.jboss.tools.openshift.internal.core.job.DeleteResourcesJob.lambda$0(DeleteResourcesJob.java:46)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
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.core.job.DeleteResourcesJob.doRun(DeleteResourcesJob.java:47)
at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
{code}
Can you please look at this once again?
Also [~dgolovin] created relevant JIRA: JBIDE-25902 (this applies to me too).
> Delete Resources: replication controllers and pods are not deleted (on OpenShift Online)
> ----------------------------------------------------------------------------------------
>
> Key: JBIDE-25670
> URL: https://issues.jboss.org/browse/JBIDE-25670
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.Final
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Labels: delete_resources
> Fix For: 4.5.3.Final
>
> Attachments: Screenshot_20180213_123635.png, image-2018-01-29-09-34-08-598.png
>
>
> This is most likely a timing issue, thus it is usually not observable when using a local CDK but always reproducible on OpenShift Online:
> steps:
> # ASSERT: have an application - with deployment configs, replication controllers, pods, etc.) running in OpenShift Online (ex. created via nodejs-mongo-persistent)
> # EXEC: launch "Delete Resources" wizard
> # ASSERT: you see deployment configs, replication controllers, pods etc.
> # EXEC: select all resources and hit "Finish"
> # ASSERT: wait for all removal jobs to be finished
> # EXEC: launch "Delete Resource" wizard again and inspect the resources that are still there
> Result:
> !image-2018-01-29-09-34-08-598.png!
> Replication controller(s) and pods are left in place, they were not deleted.
> Some pods may be in terminating state and disappear eventually.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-24023) Server adapter editor: I have no indication of what project the selected service is located in
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24023?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-24023.
---------------------------------
Closing - now it works as expected.
Verified in:
Red Hat JBoss Developer Studio
Version: 11.3.0.GA
Build id: GA-v20180409-0537-B2335
Build date: 20180409-0537
> Server adapter editor: I have no indication of what project the selected service is located in
> ----------------------------------------------------------------------------------------------
>
> Key: JBIDE-24023
> URL: https://issues.jboss.org/browse/JBIDE-24023
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.4.3.Final
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Labels: server_adapter_editor
> Fix For: 4.5.3.Final
>
> Attachments: image-2017-03-03-10-45-25-851.png, screenshot-1.png
>
>
> steps to reproduce:
> # ASSERT: have 2 nodejs (or eap- or any other) application running in 2 different projects, where you used the same template for both of them. Ex. "nodejs-example" in project "myPOC" and "nodejs-example" in project "myProject".
> # EXEC: create a server adapter for 1 of them
> # EXEC: open up the server adapter editor and look into "Service:"
> Result:
> You have no idea what service this adapter is publishing to, the one in "myPOC" or the one in "myProject"?
> !image-2017-03-03-10-45-25-851.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-16879) Explorer: context menu for cartridges opens away from cartridge
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16879?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-16879.
---------------------------------
Closing - I was not able to reproduce this issue on F28.
Feel free to reopen it the issue occurs.
Verified in:
Red Hat JBoss Developer Studio
Version: 11.3.0.GA
Build id: GA-v20180409-0537-B2335
Build date: 20180409-0537
> Explorer: context menu for cartridges opens away from cartridge
> ---------------------------------------------------------------
>
> Key: JBIDE-16879
> URL: https://issues.jboss.org/browse/JBIDE-16879
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift, upstream
> Affects Versions: 4.2.0.Beta1
> Environment: Fedora 19, 64-bit, java version "1.7.0_51", OpenJDK Runtime Environment (fedora-2.4.5.0.fc19-x86_64 u51-b31) GTK3
> Reporter: Michelle Murray
> Assignee: Andre Dietisheim
> Priority: Minor
> Labels: explorer, gtk3, openshift_v2, openshift_v3, upstream
> Fix For: 4.5.3.Final
>
> Attachments: OpenShift_conmenu.png
>
>
> In OpenShift Explorer view, expand tree down to cartridge level for an app. Right-click cartridge. The context menu opens away from mouse pointer rather than adjacent to it as it does for other tree items, like connection, domain or app.
> I can 100% of time reproduce it by first right-clicking app and then immediately right-clicking (twice) cartridge.
> I can't reproduce it by first right-clicking connection or domain and then immediately right-clicking (twice) cartridge.
> !OpenShift_conmenu.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25808) NullPointerException in NewApplicationWizard.init
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25808?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-25808.
---------------------------------
Closing - no steps to verify.
AERI record has been updated with auto-actions to reopen.
> NullPointerException in NewApplicationWizard.init
> -------------------------------------------------
>
> Key: JBIDE-25808
> URL: https://issues.jboss.org/browse/JBIDE-25808
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Reporter: Automated Error Reporting Bot
> Assignee: Dmitrii Bocharov
> Fix For: 4.5.3.Final
>
>
> The following problem was reported via the automated error reporting:
> Message: Unhandled event loop exception
> {noformat}
> java.lang.NullPointerException: null
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizard.init(NewApplicationWizard.java:115)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:281)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.internal.ui.handler.NewApplicationHandler.execute(NewApplicationHandler.java:34)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
> 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:498)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
> {noformat}
> Bundles:
> | org.eclipse.e4.core.di | 1.6.100.v20170421-1418 | 1.6.100.v20170421-1418 |
> | org.eclipse.ui | 3.109.0.v20170411-1742 | 3.109.0.v20170411-1742 |
> | org.jboss.tools.common.ui | 3.9.2.v20171116-1909 | 3.9.2.v20171116-1909 |
> | org.jboss.tools.openshift.ui | 3.4.2.v20180117-2230 | 3.4.2.v20180117-2230 |
> Operating Systems:
> | Linux | 4.15.3.fc27 | 4.15.6.fc27 |
> The above information is a snapshot of the collected data. Visit [this page|https://aer.ctrlflow.com/redhat/reviewers/#!/problems/5a9f3513e4b037...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-22245) Application Wizard: Resource label key has wrong label
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22245?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-22245.
---------------------------------
Closing: labels are correct and consistent.
Verified:
Red Hat JBoss Developer Studio
Version: 11.3.0.GA
Build id: GA-v20180409-0537-B2335
Build date: 20180409-0537
> Application Wizard: Resource label key has wrong label
> ------------------------------------------------------
>
> Key: JBIDE-22245
> URL: https://issues.jboss.org/browse/JBIDE-22245
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Priority: Minor
> Labels: application_wizard, openshift_v3, ux
> Fix For: 4.5.3.Final
>
> Attachments: resource-labels.png, screenshot-1.png, screenshot-2.png
>
>
> In New Application wizard on the page with labels, if I select to create/edit an existing label there is opened a dialog with label details. Label consists of key:value pair (it comes from kubernetes concept), but in this labels of text widgets are "Label:" and "Value:". I think we should have it labeled as "Key:" and "Value:" instead.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-22304) Server Editor: Pod deployment path is not shown
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22304?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-22304.
---------------------------------
Closing - Deployment path is working as it is mentioned in comments.
Verified in:
Red Hat JBoss Developer Studio
Version: 11.3.0.GA
Build id: GA-v20180409-0537-B2335
Build date: 20180409-0537
> Server Editor: Pod deployment path is not shown
> -----------------------------------------------
>
> Key: JBIDE-22304
> URL: https://issues.jboss.org/browse/JBIDE-22304
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.4.0.Alpha1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Labels: openshift_v3, server_editor
> Fix For: 4.5.3.Final
>
>
> In Server Adapter wizard is not shown Pod deployment path. Widget supposed to display the path is empty.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-24411) Explorer: Automatically refresh the connection after correcting credentials in "edit connection" wizard
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24411?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-24411.
---------------------------------
Closing this as it is marked as duplicate.
Please follow similar JIRAs: JBIDE-25909, JBIDE-25838, JBIDE-25590
> Explorer: Automatically refresh the connection after correcting credentials in "edit connection" wizard
> -------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-24411
> URL: https://issues.jboss.org/browse/JBIDE-24411
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.4.4.AM3
> Reporter: Aurélien Pupier
> Assignee: Andre Dietisheim
> Labels: explorer, openshift_v3
> Fix For: 4.5.3.Final
>
>
> Currently if I have an OpenSHift connection in OpenSHift Explorer which have bad credentials, if I expand it i have a little error message in the tree (which is nice)
> So I right-click -> Edit connection... I update my connection parameters and when I click finish, in the tree I still have the error. I need to manually right-click -> refresh.
> it would be nice to refresh automatically the tree when the connection has been edited
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months