[jbosstools-issues] [JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11

Andre Dietisheim (Jira) issues at jboss.org
Mon Feb 11 05:43:09 EST 2019


    [ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693508#comment-13693508 ] 

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/wfl14-7-wg76m 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)


More information about the jbosstools-issues mailing list