[jbosstools-issues] [JBoss JIRA] (JBIDE-20514) cannot delete project
Max Rydahl Andersen (JIRA)
issues at jboss.org
Wed Aug 26 06:18:43 EDT 2015
Max Rydahl Andersen created JBIDE-20514:
-------------------------------------------
Summary: cannot delete project
Key: JBIDE-20514
URL: https://issues.jboss.org/browse/JBIDE-20514
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Reporter: Max Rydahl Andersen
Priority: Critical
Since there is no way to delete an "app" but only a project I wanted to Delete project to clean up/shutdown my test instances.
When trying to delete a project then I got this error:
{code}
com.openshift.restclient.OpenShiftException: Could not delete resource test2: {
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "the server could not find the requested resource",
"reason": "NotFound",
"details": {},
"code": 404
}
at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:436)
at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:251)
at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:400)
at org.jboss.tools.openshift.internal.ui.job.DeleteResourceJob.doRun(DeleteResourceJob.java:47)
at org.jboss.tools.openshift.internal.ui.job.OpenShiftJobs$1.doRun(OpenShiftJobs.java:48)
at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
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": "the server could not find the requested resource",
"reason": "NotFound",
"details": {},
"code": 404
}
at com.openshift.internal.restclient.http.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:210)
at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:151)
at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:130)
at com.openshift.internal.restclient.http.UrlConnectionHttpClient.delete(UrlConnectionHttpClient.java:118)
at com.openshift.internal.restclient.http.UrlConnectionHttpClient.delete(UrlConnectionHttpClient.java:124)
at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:247)
... 5 more
Caused by: java.io.FileNotFoundException: https://console.qe.openshift.com/oapi/v1/namespaces/test2/projects/test2
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1834)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:147)
... 9 more
{code}
No info on how much if anything was actually managed to be deleted.
Deleting individual resources works, except I can't delete the Pod nor Services. No info/error given, they just pop up back again.
so I can't see a way for users actually stopping/replacing their created applications ;/
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jbosstools-issues
mailing list