[jbosstools-issues] [JBoss JIRA] (ERT-366) Error shows when running a "deleted" image [EBZ#497912]

Nick Boldt (JIRA) issues at jboss.org
Thu Jul 28 12:13:00 EDT 2016


Nick Boldt created ERT-366:
------------------------------

             Summary: Error shows when running a "deleted" image [EBZ#497912]
                 Key: ERT-366
                 URL: https://issues.jboss.org/browse/ERT-366
             Project: Eclipse Release Train
          Issue Type: Task
          Components: Linux Tools
            Reporter: Nick Boldt
            Priority: Minor


When I have two connections in Explorer View to the same Docker instance, it shown error when I try to run image deleted in other connection.

Steps to reproduce:
1. Have two connections to the same instance of Docker: one with TCP, one with Linux socket.
2. Delete image from socket connection.
3. Image is still showing in TCP connection.
4. When I click on run on "deleted" image an error is shown in error log, but the Wizard for running an image is shown.
Error description from error log:
Failed to inspect container 'sha256:6b362a9f73eb8c33b48c95f4fcce1b6637fc25646728cf7fb0679b2da273c3f4'

Stacktrace:
com.spotify.docker.client.ImageNotFoundException: Image not found: sha256:6b362a9f73eb8c33b48c95f4fcce1b6637fc25646728cf7fb0679b2da273c3f4
	at com.spotify.docker.client.DefaultDockerClient.inspectImage(DefaultDockerClient.java:949)
	at org.eclipse.linuxtools.internal.docker.core.DockerConnection.getImageInfo(DockerConnection.java:777)
	at org.eclipse.linuxtools.internal.docker.ui.jobs.FindImageInfoRunnable.run(FindImageInfoRunnable.java:24)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: com.spotify.docker.client.DockerRequestException: Request error: GET unix://localhost:80/images/sha256:6b362a9f73eb8c33b48c95f4fcce1b6637fc25646728cf7fb0679b2da273c3f4/json: 404
	at com.spotify.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:1306)
	at com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:1255)
	at com.spotify.docker.client.DefaultDockerClient.inspectImage(DefaultDockerClient.java:945)
	... 3 more
Caused by: javax.ws.rs.NotFoundException: HTTP 404 Not Found
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:956)
	at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:795)
	at org.glassfish.jersey.client.JerseyInvocation.access$500(JerseyInvocation.java:91)
	at org.glassfish.jersey.client.JerseyInvocation$5.completed(JerseyInvocation.java:756)
	at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:189)
	at org.glassfish.jersey.client.ClientRuntime.access$300(ClientRuntime.java:74)
	at org.glassfish.jersey.client.ClientRuntime$1.run(ClientRuntime.java:171)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:320)
	at org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:201)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
 
5. When I click on Run, an error dialog is shown: Image not found.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list