]
Jeff Johnston commented on JBIDE-24899:
---------------------------------------
I have posted a patch for Docker Tooling core that will allow a tag specifying a registry
if there is an image with such a tag in the local registry. I don't have access to
the CDK code so this will just get past the image not found exception that was once shown.
The image info will be returned successfully from getImageInfo(). The patch will be
found in Linux Tools 2019-12 RC1 to be released next week.
Deploy Docker Image wizard: Image not found
-------------------------------------------
Key: JBIDE-24899
URL:
https://issues.jboss.org/browse/JBIDE-24899
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdk, docker, openshift
Affects Versions: 4.5.1.AM1
Reporter: Josef Kopriva
Priority: Major
Labels: deploy_docker_wizard, openshift_v3
Fix For: 4.14.x
Attachments: image-2017-08-29-09-50-20-927.png
Exception in Error log:
{code:java}
Failed to inspect image: '172.30.1.1:5000/test/hola:latest'
com.spotify.docker.client.exceptions.ImageNotFoundException: Image not found:
172.30.1.1:5000/test/hola:latest
at
com.spotify.docker.client.DefaultDockerClient.inspectImage(DefaultDockerClient.java:1330)
at
org.eclipse.linuxtools.internal.docker.core.DockerConnection.getImageInfo(DockerConnection.java:896)
at
org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.lookupImageMetadata(DeployImageWizardModel.java:655)
at
org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.initializeContainerInfo(DeployImageWizardModel.java:354)
at
org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImagePage$1ImageValidatorJob.run(DeployImagePage.java:154)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: com.spotify.docker.client.exceptions.DockerRequestException: Request error:
GET
https://192.168.42.121:2376/images/172.30.1.1:5000/test/hola:latest/json: 404
at
com.spotify.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:2084)
at com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:2023)
at
com.spotify.docker.client.DefaultDockerClient.inspectImage(DefaultDockerClient.java:1326)
... 5 more
Caused by: javax.ws.rs.NotFoundException: HTTP 404 Not Found
at
org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:1008)
at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816)
at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92)
at org.glassfish.jersey.client.JerseyInvocation$5.completed(JerseyInvocation.java:773)
at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:198)
at org.glassfish.jersey.client.ClientRuntime.access$300(ClientRuntime.java:79)
at org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:180)
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:340)
at org.glassfish.jersey.client.ClientRuntime$3.run(ClientRuntime.java:210)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
eclipse.buildId=11.1.0.AM1-v20170824-1835-B873
java.version=1.8.0_141
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.jboss.devstudio.core.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product
com.jboss.devstudio.core.product
{code}