1
0
-1

I ran the script "docker pull aaionap/hbase" after aai2 started up, but got an error


root@onap-aai-inst2:/opt# docker pull aaionap/hbase
Using default tag: latest
latest: Pulling from aaionap/hbase
9fb6c798fa41: Pulling fs layer
3b61febd4aef: Pulling fs layer
9d99b9777eb0: Pulling fs layer
d010c8cf75d7: Waiting
7fac07fb303e: Waiting
65bb5f22b43d: Waiting
9ae95e311cf8: Waiting
fd8e67b3bd79: Waiting
8623c07ee9df: Waiting
a4b6fd70f83a: Waiting
c41957dda736: Waiting
error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/6b/6bccf7f59cbf006d4f5500a6059c81e42f844fedccce68068f3c63fe6a1795a0/data?Expires=1522269459&Signature=AZuKxhnjwKDQeRgTrz1cjHH0Ls6dBYROYmBeBWBY2Pm-BL~mIYqvZAN3n7JrKmMObQPCaHHj7TfMu5x-vWBnsjBesUhMfEVzPzuK2ReN8-9oF8AWTYvBl-Xxh4AGW1QXKAuvV80~XSW-FalcB7zeOZ313Yiz96GFv8oY0gGIaFI_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: net/http: TLS handshake timeout


I search the error in google and most of the workaround solutions are put the google dns 8.8.8.8 in front of /etc/resolv.conf. I tried but noting help.

I don't know whether the docker source is "https://hub.docker.com/r/aaionap/hbase/", I can find the image here. By running "curl https://hub.docker.com/r/aaionap/hbase/" in aai2, I can get the html tag of the page.


I got the ip of the site, none of them can reach by "ping"


root@onap-aai-inst2:/opt# nslookup hub.docker.com
Server: 8.8.8.8
Address: 8.8.8.8#53

Non-authoritative answer:
hub.docker.com canonical name = elb-default.us-east-1.aws.dckr.io.
elb-default.us-east-1.aws.dckr.io canonical name = us-east-1-elbdefau-1nlhaqqbnj2z8-140214243.us-east-1.elb.amazonaws.com.
Name: us-east-1-elbdefau-1nlhaqqbnj2z8-140214243.us-east-1.elb.amazonaws.com
Address: 54.209.25.207
Name: us-east-1-elbdefau-1nlhaqqbnj2z8-140214243.us-east-1.elb.amazonaws.com
Address: 34.236.167.46
Name: us-east-1-elbdefau-1nlhaqqbnj2z8-140214243.us-east-1.elb.amazonaws.com
Address: 52.22.228.13

root@onap-aai-inst2:/opt# ping 54.209.25.207
PING 54.209.25.207 (54.209.25.207) 56(84) bytes of data.
^C
--- 54.209.25.207 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 6999ms

root@onap-aai-inst2:/opt# ping 34.236.167.46
PING 34.236.167.46 (34.236.167.46) 56(84) bytes of data.
^C
--- 34.236.167.46 ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8064ms

root@onap-aai-inst2:/opt# ping 52.22.228.13
PING 52.22.228.13 (52.22.228.13) 56(84) bytes of data.
^C
--- 52.22.228.13 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5040ms



Did anyone know it? Any help is appreciate!

Thanks

ChangJun

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      I solved it by adding

      DOCKER_OPTS="$DOCKER_OPTS --registry-mirror=http://f2d6cb40.m.daocloud.io --dns 8.8.8.8 --mtu=1500"

      to /etc/default/docker

      It's an error that can't connect to the docker Hub site, so I change it a china sourse instead.

      The error can be found only in china..

        CommentAdd your comment...