now, I met similar issue on kolla-toolbox image, but this time the workaround is not effective.
I found a clue on kode4 , /var/log/messages has the following info. Feb 27 14:06:05 kode4 ansible-kolla_docker: Invoked with tls_key=None image=192.168.103.16:5000/bgi/centos-binary-kolla-toolbox:ocata-rc1-1 labels={} tls_verify=False pid_mode=None tls_cacert=None auth_password=None environment={'ANSIBLE_LIBRARY': '/usr/share/ansible', 'ANSIBLE_NOCOLOR': '1'} auth_registry=None volumes_from=None tls_cert=None privileged=True api_version=auto remove_on_exit=True restart_retries=10 detach=True auth_username=None name=kolla_toolbox security_opt=[] cap_add=[] restart_policy=None auth_email=None ipc_mode=None volumes=['/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro', '/etc/localtime:/etc/localtime:ro', '/dev/:/dev/', '/run/:/run/:shared', 'kolla_logs:/var/log/kolla/'] action=start_container common_options={'auth_email': None, 'restart_policy': 'unless-stopped', 'environment': {'KOLLA_CONFIG_STRATEGY': 'COPY_ALWAYS'}, 'auth_registry': '192.168.103.16:5000', 'restart_retries': '10', 'auth_password': None, 'auth_username': 'sam'} Feb 27 14:06:05 kode4 dockerd-current: time="2017-02-27T14:06:05.889807416+08:00" level=info msg="{Action=auth, Username=root, LoginUID=0, PID=10667}" Feb 27 14:06:05 kode4 dockerd-current: time="2017-02-27T14:06:05.892787982+08:00" level=info msg="Error logging in to v2 endpoint, trying next endpoint: Get https://192.168.103.16:5000/v2/: http: server gave HTTP response to HTTPS client" Feb 27 14:06:05 kode4 dockerd-current: time="2017-02-27T14:06:05.904874073+08:00" level=info msg="{Action=create, Username=root, LoginUID=0, PID=10667}" Feb 27 14:06:05 kode4 dockerd-current: time="2017-02-27T14:06:05.909848231+08:00" level=warning msg="Error getting v2 registry: Get https://192.168.103.16:5000/v2/: http: server gave HTTP response to HTTPS client" Feb 27 14:06:05 kode4 dockerd-current: time="2017-02-27T14:06:05.909889123+08:00" level=error msg="Attempting next endpoint for pull after error: Get https://192.168.103.16:5000/v2/: http: server gave HTTP response to HTTPS client" Feb 27 14:07:34 kode4 systemd-logind: Removed session 222.
now, I met similar issue on kolla-toolbox image, but this time the workaround is not effective.
I found a clue on kode4 , /var/log/messages has the following info. kolla_docker: Invoked with tls_key=None image=192. 168.103. 16:5000/ bgi/centos- binary- kolla-toolbox: ocata-rc1- 1 labels={} tls_verify=False pid_mode=None tls_cacert=None auth_password=None environment= {'ANSIBLE_ LIBRARY' : '/usr/share/ ansible' , 'ANSIBLE_NOCOLOR': '1'} auth_registry=None volumes_from=None tls_cert=None privileged=True api_version=auto remove_on_exit=True restart_retries=10 detach=True auth_username=None name=kolla_toolbox security_opt=[] cap_add=[] restart_policy=None auth_email=None ipc_mode=None volumes= ['/etc/ kolla// kolla-toolbox/ :/var/lib/ kolla/config_ files/: ro', '/etc/localtime :/etc/localtime :ro', '/dev/:/dev/', '/run/: /run/:shared' , 'kolla_ logs:/var/ log/kolla/ '] action= start_container common_ options= {'auth_ email': None, 'restart_policy': 'unless-stopped', 'environment': {'KOLLA_ CONFIG_ STRATEGY' : 'COPY_ALWAYS'}, 'auth_registry': '192.168. 103.16: 5000', 'restart_retries': '10', 'auth_password': None, 'auth_username': 'sam'} 02-27T14: 06:05.889807416 +08:00" level=info msg="{Action=auth, Username=root, LoginUID=0, PID=10667}" 02-27T14: 06:05.892787982 +08:00" level=info msg="Error logging in to v2 endpoint, trying next endpoint: Get https:/ /192.168. 103.16: 5000/v2/: http: server gave HTTP response to HTTPS client" 02-27T14: 06:05.904874073 +08:00" level=info msg="{Action= create, Username=root, LoginUID=0, PID=10667}" 02-27T14: 06:05.909848231 +08:00" level=warning msg="Error getting v2 registry: Get https:/ /192.168. 103.16: 5000/v2/: http: server gave HTTP response to HTTPS client" 02-27T14: 06:05.909889123 +08:00" level=error msg="Attempting next endpoint for pull after error: Get https:/ /192.168. 103.16: 5000/v2/: http: server gave HTTP response to HTTPS client"
Feb 27 14:06:05 kode4 ansible-
Feb 27 14:06:05 kode4 dockerd-current: time="2017-
Feb 27 14:06:05 kode4 dockerd-current: time="2017-
Feb 27 14:06:05 kode4 dockerd-current: time="2017-
Feb 27 14:06:05 kode4 dockerd-current: time="2017-
Feb 27 14:06:05 kode4 dockerd-current: time="2017-
Feb 27 14:07:34 kode4 systemd-logind: Removed session 222.