[JBoss JIRA] (ERT-706) [Gtk] Regression: KeyEvent keyCode no longer set [EBZ#544296]
by Friendly Jira Robot (Jira)
Friendly Jira Robot created ERT-706:
---------------------------------------
Summary: [Gtk] Regression: KeyEvent keyCode no longer set [EBZ#544296]
Key: ERT-706
URL: https://issues.jboss.org/browse/ERT-706
Project: Eclipse Release Train
Issue Type: Task
Components: Platform
Reporter: Friendly Jira Robot
The keyCode in KeyEvent no longer has a value set, for example when pressing the '.' key.
Following the code in Widget.sendIMKeyEvent, the event parameter is 0, the ptr and state variables are set, but the event remains 0, which leads to calling setInputState instead of setKeyState.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Andre Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-26550:
------------------------------------------
[~jcantrill] When deleting via oc using --loglevel=9 I see the following:
{code}
I0211 16:33:44.890198 11592 loader.go:359] Config loaded from file /Users/adietish/.kube/config
I0211 16:33:44.891152 11592 loader.go:359] Config loaded from file /Users/adietish/.kube/config
I0211 16:33:44.894746 11592 loader.go:359] Config loaded from file /Users/adietish/.kube/config
I0211 16:33:44.907487 11592 loader.go:359] Config loaded from file /Users/adietish/.kube/config
I0211 16:33:44.908243 11592 loader.go:359] Config loaded from file /Users/adietish/.kube/config
I0211 16:33:44.909007 11592 loader.go:359] Config loaded from file /Users/adietish/.kube/config
I0211 16:33:44.909439 11592 request.go:897] Request Body: {"propagationPolicy":"Background"}
I0211 16:33:44.909543 11592 round_trippers.go:386] curl -k -v -XDELETE -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: oc/v1.11.0+d4cacc0 (darwin/amd64) kubernetes/d4cacc0" -H "Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" 'https://api.rh-us-east-1.openshift.com:443/api/v1/namespaces/testomat/pod...'
I0211 16:33:45.626015 11592 round_trippers.go:405] DELETE https://api.rh-us-east-1.openshift.com:443/api/v1/namespaces/testomat/pod... 200 OK in 716 milliseconds
I0211 16:33:45.626041 11592 round_trippers.go:411] Response Headers:
I0211 16:33:45.626047 11592 round_trippers.go:414] Content-Type: application/json
I0211 16:33:45.626052 11592 round_trippers.go:414] Date: Mon, 11 Feb 2019 15:33:45 GMT
I0211 16:33:45.626057 11592 round_trippers.go:414] Cache-Control: no-store
I0211 16:33:45.626154 11592 request.go:897] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"wfl14-7-7ghxt","generateName":"wfl14-7-","namespace":"testomat","selfLink":"/api/v1/namespaces/testomat/pods/wfl14-7-7ghxt","uid":"5e0e9422-2be4-11e9-98a4-02e0bae989b4","resourceVersion":"219932439","creationTimestamp":"2019-02-08T20:59:04Z","deletionTimestamp":"2019-02-11T15:34:15Z","deletionGracePeriodSeconds":30,"labels":{"app":"wfl14","deployment":"wfl14-7","deploymentconfig":"wfl14"},"annotations":{"kubernetes.io/limit-ranger":"LimitRanger plugin set: cpu, memory request for container wfl14; cpu, memory limit for container wfl14","openshift.io/deployment-config.latest-version":"7","openshift.io/deployment-config.name":"wfl14","openshift.io/deployment.name":"wfl14-7","openshift.io/scc":"restricted"},"ownerReferences":[{"apiVersion":"v1","kind":"ReplicationController","name":"wfl14-7","uid":"536fc17a-2bc5-11e9-8234-02fe3a6cfaba","controller":true,"blockOwnerDeletion":true}]},"spec":{"volumes":[{"name":"default-token-mmm4q","secret":{"secretName":"default-token-mmm4q","defaultMode":420}}],"containers":[{"name":"wfl14","image":"docker-registry.default.svc:5000/testomat/wfl14@sha256:337be230a0da54856b0a31ab61bf5bb1dddcef03a92d62ec19654d47d0e210f1","ports":[{"containerPort":8080,"protocol":"TCP"},{"name":"debug","containerPort":8787,"protocol":"TCP"}],"env":[{"name":"DEBUG","value":"true"},{"name":"DEBUG_PORT","value":"8787"}],"resources":{"limits":{"cpu":"1","memory":"512Mi"},"requests":{"cpu":"30m","memory":"409Mi"}},"volumeMounts":[{"name":"default-token-mmm4q","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","NET_RAW","SETGID","SETUID"]},"runAsUser":1167220000}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"type":"compute"},"serviceAccountName":"default","serviceAccount":"default","nodeName":"ip-172-31-63-199.ec2.internal","securityContext":{"seLinuxOptions":{"level":"s0:c409,c174"},"fsGroup":1167220000},"imagePullSecrets":[{"name":"default-dockercfg-tzskd"}],"schedulerName":"default-scheduler","tolerations":[{"key":"node.kubernetes.io/memory-pressure","operator":"Exists","effect":"NoSchedule"}],"priority":0},"status":{"phase":"Running","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2019-02-08T20:59:04Z"},{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2019-02-08T20:59:29Z"},{"type":"ContainersReady","status":"True","lastProbeTime":null,"lastTransitionTime":null},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2019-02-08T20:59:04Z"}],"hostIP":"172.31.63.199","podIP":"10.129.27.167","startTime":"2019-02-08T20:59:04Z","containerStatuses":[{"name":"wfl14","state":{"running":{"startedAt":"2019-02-08T20:59:29Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"docker-registry.default.svc:5000/testomat/wfl14@sha256:337be230a0da54856b0a31ab61bf5bb1dddcef03a92d62ec19654d47d0e210f1","imageID":"docker-pullable://docker-registry.default.svc:5000/testomat/wfl14@sha256:337be230a0da54856b0a31ab61bf5bb1dddcef03a92d62ec19654d47d0e210f1","containerID":"docker://04bd800320b245623ed957f84173591b68d4e33785b8cf0cdfc52d14fe684e1c"}],"qosClass":"Burstable"}}
pod "wfl14-7-7ghxt" deleted
I0211 16:33:45.626940 11592 round_trippers.go:386] curl -k -v -XGET -H "Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -H "Accept: application/json" -H "User-Agent: oc/v1.11.0+d4cacc0 (darwin/amd64) kubernetes/d4cacc0" 'https://api.rh-us-east-1.openshift.com:443/api/v1/namespaces/testomat/pod...'
I0211 16:33:45.750221 11592 round_trippers.go:405] GET https://api.rh-us-east-1.openshift.com:443/api/v1/namespaces/testomat/pod... 200 OK in 123 milliseconds
I0211 16:33:45.750257 11592 round_trippers.go:411] Response Headers:
I0211 16:33:45.750263 11592 round_trippers.go:414] Date: Mon, 11 Feb 2019 15:33:45 GMT
I0211 16:33:45.750269 11592 round_trippers.go:414] Cache-Control: no-store
I0211 16:33:45.750274 11592 round_trippers.go:414] Content-Type: application/json
I0211 16:33:45.750335 11592 request.go:897] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"wfl14-7-7ghxt","generateName":"wfl14-7-","namespace":"testomat","selfLink":"/api/v1/namespaces/testomat/pods/wfl14-7-7ghxt","uid":"5e0e9422-2be4-11e9-98a4-02e0bae989b4","resourceVersion":"219932439","creationTimestamp":"2019-02-08T20:59:04Z","deletionTimestamp":"2019-02-11T15:34:15Z","deletionGracePeriodSeconds":30,"labels":{"app":"wfl14","deployment":"wfl14-7","deploymentconfig":"wfl14"},"annotations":{"kubernetes.io/limit-ranger":"LimitRanger plugin set: cpu, memory request for container wfl14; cpu, memory limit for container wfl14","openshift.io/deployment-config.latest-version":"7","openshift.io/deployment-config.name":"wfl14","openshift.io/deployment.name":"wfl14-7","openshift.io/scc":"restricted"},"ownerReferences":[{"apiVersion":"v1","kind":"ReplicationController","name":"wfl14-7","uid":"536fc17a-2bc5-11e9-8234-02fe3a6cfaba","controller":true,"blockOwnerDeletion":true}]},"spec":{"volumes":[{"name":"default-token-mmm4q","secret":{"secretName":"default-token-mmm4q","defaultMode":420}}],"containers":[{"name":"wfl14","image":"docker-registry.default.svc:5000/testomat/wfl14@sha256:337be230a0da54856b0a31ab61bf5bb1dddcef03a92d62ec19654d47d0e210f1","ports":[{"containerPort":8080,"protocol":"TCP"},{"name":"debug","containerPort":8787,"protocol":"TCP"}],"env":[{"name":"DEBUG","value":"true"},{"name":"DEBUG_PORT","value":"8787"}],"resources":{"limits":{"cpu":"1","memory":"512Mi"},"requests":{"cpu":"30m","memory":"409Mi"}},"volumeMounts":[{"name":"default-token-mmm4q","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","NET_RAW","SETGID","SETUID"]},"runAsUser":1167220000}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"type":"compute"},"serviceAccountName":"default","serviceAccount":"default","nodeName":"ip-172-31-63-199.ec2.internal","securityContext":{"seLinuxOptions":{"level":"s0:c409,c174"},"fsGroup":1167220000},"imagePullSecrets":[{"name":"default-dockercfg-tzskd"}],"schedulerName":"default-scheduler","tolerations":[{"key":"node.kubernetes.io/memory-pressure","operator":"Exists","effect":"NoSchedule"}],"priority":0},"status":{"phase":"Running","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2019-02-08T20:59:04Z"},{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2019-02-08T20:59:29Z"},{"type":"ContainersReady","status":"True","lastProbeTime":null,"lastTransitionTime":null},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2019-02-08T20:59:04Z"}],"hostIP":"172.31.63.199","podIP":"10.129.27.167","startTime":"2019-02-08T20:59:04Z","containerStatuses":[{"name":"wfl14","state":{"running":{"startedAt":"2019-02-08T20:59:29Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"docker-registry.default.svc:5000/testomat/wfl14@sha256:337be230a0da54856b0a31ab61bf5bb1dddcef03a92d62ec19654d47d0e210f1","imageID":"docker-pullable://docker-registry.default.svc:5000/testomat/wfl14@sha256:337be230a0da54856b0a31ab61bf5bb1dddcef03a92d62ec19654d47d0e210f1","containerID":"docker://04bd800320b245623ed957f84173591b68d4e33785b8cf0cdfc52d14fe684e1c"}],"qosClass":"Burstable"}}
I0211 16:33:45.751162 11592 round_trippers.go:386] curl -k -v -XGET -H "Accept: application/json" -H "User-Agent: oc/v1.11.0+d4cacc0 (darwin/amd64) kubernetes/d4cacc0" -H "Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" 'https://api.rh-us-east-1.openshift.com:443/api/v1/namespaces/testomat/pod...'
I0211 16:33:45.870366 11592 round_trippers.go:405] GET https://api.rh-us-east-1.openshift.com:443/api/v1/namespaces/testomat/pod... 200 OK in 119 milliseconds
I0211 16:33:45.870392 11592 round_trippers.go:411] Response Headers:
I0211 16:33:45.870398 11592 round_trippers.go:414] Cache-Control: no-store
I0211 16:33:45.870403 11592 round_trippers.go:414] Content-Type: application/json
I0211 16:33:45.870407 11592 round_trippers.go:414] Date: Mon, 11 Feb 2019 15:33:45 GMT
{code}
I dont see the difference to the request that our client is sending:
{code}
Request{method=DELETE, url=https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pod..., tags={}}
{code}
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: error-deleting-pod-openshift-3_10.png, image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> 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}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Andre Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-26550:
------------------------------------------
[~jcantrill] thx for the quick response! If I get you right oapi (openshift api) is to completely go away? I'll further investigate and report back.
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> 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}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Andre Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-26550:
------------------------------------------
turns out that this isn't specific to 3.11 but is also already the case with OpenShift 3.10. Here's the error when trying to delete on an OpenShift 3.10:
!error-deleting-pod-openshift-3_10.png!
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: error-deleting-pod-openshift-3_10.png, image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> 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}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Andre Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-26550:
-------------------------------------
Attachment: error-deleting-pod-openshift-3_10.png
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: error-deleting-pod-openshift-3_10.png, image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> 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}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Jeff Cantrill (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Jeff Cantrill commented on JBIDE-26550:
---------------------------------------
The first thing that is suspicious to me is ""Project" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis" as "Project" is an openshift kind and not a Kubernetes kind. I'm not certain how one was transformed to the other. It could be that we need to move any types associated with 'oapi' to their equivalent 'apis/use_correct_group' since I don't know the timeline for completely removing 'oapi'. I'm not able to provide more guidance other then: 1. try delete with --loglevel=9 to see the rest calls, 2. walk the tree of known types and map them to the ones we care about.
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> 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}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Andre Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-26550:
------------------------------------------
I can actually reproduce the very same using cdk 3.70 which is based on the same OpenShift version 3.11.43 when deleting ex. a project:
{code}
Deleting OpenShift resources...
Error deleting Project named gigu.
Exception trying to DELETE https://192.168.64.65:8443/oapi/v1/projects/gigu response code: 500 no kind "Project" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
{code}
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> 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}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Andre Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-26550:
------------------------------------------
The thing that makes me rise my eyebrows is {quote}response code: 500{quote}
This indicates an internal server error.
Without knowing more I'd consider that this could also be a server installation problem since I would expect a **404** if we were making an illegal request.
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> 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}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month