Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20514

cannot delete project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 4.3.0.CR1
    • None
    • openshift
    • None

      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:

      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
      

      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 ;/

            Unassigned Unassigned
            manderse@redhat.com Max Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: