]
Dmitrii Bocharov commented on JBIDE-22686:
------------------------------------------
[~hardy.ferentschik] can you help me again, please?
I can do `vagrant ssh` without any problems
I can login:
{code:bash}
[dbocharo@dbocharo rhel-ose]$ oc login 10.1.2.2:8443 -u openshift-dev -p devel
Login successful.
Using project "sample-project".
[dbocharo@dbocharo rhel-ose]$ docker login -u openshift-dev -p `oc whoami -t` -e
foo(a)bar.com hub.openshift.rhel-cdk.10.1.2.2.xip.io
Flag --email has been deprecated, will be removed in 1.13.
Error response from daemon: Get
:
x509: certificate signed by unknown authority
{code}
successfully.
{code:bash}
[dbocharo@dbocharo rhel-ose]$ ping 10.1.2.2
PING 10.1.2.2 (10.1.2.2) 56(84) bytes of data.
64 bytes from 10.1.2.2: icmp_seq=1 ttl=64 time=0.427 ms
64 bytes from 10.1.2.2: icmp_seq=2 ttl=64 time=0.612 ms
64 bytes from 10.1.2.2: icmp_seq=3 ttl=64 time=0.381 ms
{code}
Can't push image to docker registry
-----------------------------------
Key: JBIDE-22686
URL:
https://issues.jboss.org/browse/JBIDE-22686
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: docker, openshift
Affects Versions: 4.4.0.Final
Environment: Fedora 23
Reporter: Dmitrii Bocharov
Assignee: Dmitrii Bocharov
Fix For: 4.4.1.AM2
Attachments: DeployDockerImageToOS.webm, DeployedSuccessfully.webm
The screencast of the last steps is attached.
Properties and settings of the cdk haven't been changed. Everything is dowloaded and
installed in a usual way.
Possibly something is with the dns - maybe it wasn't configured correctly while cdk
installation. Because we to push to the valid url, while OS connection only an IP in its
settings.
_exception:_
org.eclipse.linuxtools.docker.core.DockerException:
com.spotify.docker.client.DockerException:
org.eclipse.linuxtools.docker.core.DockerImagePushFailedException: Image push failed:
hub.openshift.rhel-cdk.10.1.2.2.xip.io/sample-project/aloha: unable to ping registry
endpoint
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/v0/
v2 ping attempt failed with error: Get
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/v2/: dial tcp 10.1.2.2:443: connection
refused
v1 ping attempt failed with error: Get
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/v1/_ping: dial tcp 10.1.2.2:443: connection
refused
at
org.eclipse.linuxtools.internal.docker.core.DockerConnection.pushImage(DockerConnection.java:1047)
at
org.jboss.tools.openshift.internal.ui.dockerutils.PushImageToRegistryJob.doRun(PushImageToRegistryJob.java:67)
at
org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.spotify.docker.client.DockerException:
org.eclipse.linuxtools.docker.core.DockerImagePushFailedException: Image push failed:
hub.openshift.rhel-cdk.10.1.2.2.xip.io/sample-project/aloha: unable to ping registry
endpoint
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/v0/
v2 ping attempt failed with error: Get
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/v2/: dial tcp 10.1.2.2:443: connection
refused
v1 ping attempt failed with error: Get
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/v1/_ping: dial tcp 10.1.2.2:443: connection
refused
at
org.eclipse.linuxtools.internal.docker.core.DockerProgressHandler.progress(DockerProgressHandler.java:42)
at com.spotify.docker.client.ProgressStream.tail(ProgressStream.java:74)
at com.spotify.docker.client.DefaultDockerClient.push(DefaultDockerClient.java:821)
at
org.eclipse.linuxtools.internal.docker.core.DockerConnection.pushImage(DockerConnection.java:1043)
... 3 more
Caused by: org.eclipse.linuxtools.docker.core.DockerImagePushFailedException: Image push
failed: hub.openshift.rhel-cdk.10.1.2.2.xip.io/sample-project/aloha: unable to ping
registry endpoint
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/v0/
v2 ping attempt failed with error: Get
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/v2/: dial tcp 10.1.2.2:443: connection
refused
v1 ping attempt failed with error: Get
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/v1/_ping: dial tcp 10.1.2.2:443: connection
refused
at
org.eclipse.linuxtools.internal.docker.ui.views.ImagePushProgressHandler.processMessage(ImagePushProgressHandler.java:49)
at
org.eclipse.linuxtools.internal.docker.core.DockerProgressHandler.progress(DockerProgressHandler.java:40)
... 6 more