Skip to content

Instantly share code, notes, and snippets.

@brennen
Created April 18, 2019 23:25
Show Gist options
  • Save brennen/ab3d046c8a9c02c3b7183551dc7c82f5 to your computer and use it in GitHub Desktop.
Save brennen/ab3d046c8a9c02c3b7183551dc7c82f5 to your computer and use it in GitHub Desktop.
brennen@inertia 16:57:39 ~/code/wmf/releng/dev-images (master 0/0) ▣ make
docker-pkg --info -c dockerfiles/config.yaml build dockerfiles
Traceback (most recent call last):
File "/home/brennen/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
cnx.do_handshake()
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1426, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1174, in _raise_ssl_error
_raise_current_error()
File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/brennen/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/home/brennen/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/home/brennen/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
conn.connect()
File "/home/brennen/.local/lib/python3.5/site-packages/urllib3/connection.py", line 344, in connect
ssl_context=context)
File "/home/brennen/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 357, in ssl_wrap_socket
return context.wrap_socket(sock)
File "/home/brennen/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/brennen/.local/lib/python3.5/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/home/brennen/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/brennen/.local/lib/python3.5/site-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192.168.39.250', port=2376): Max retries exceeded with url: /version (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/brennen/.local/lib/python3.5/site-packages/docker/api/client.py", line 207, in _retrieve_server_version
return self.version(api_version=False)["ApiVersion"]
File "/home/brennen/.local/lib/python3.5/site-packages/docker/api/daemon.py", line 181, in version
return self._result(self._get(url), json=True)
File "/home/brennen/.local/lib/python3.5/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/home/brennen/.local/lib/python3.5/site-packages/docker/api/client.py", line 230, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/home/brennen/.local/lib/python3.5/site-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/home/brennen/.local/lib/python3.5/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/home/brennen/.local/lib/python3.5/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/home/brennen/.local/lib/python3.5/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='192.168.39.250', port=2376): Max retries exceeded with url: /version (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/brennen/.local/bin/docker-pkg", line 11, in <module>
load_entry_point('docker-pkg', 'console_scripts', 'docker-pkg')()
File "/home/brennen/code/wmf/operations/docker-images/docker-pkg/docker_pkg/cli.py", line 131, in main
args.directory, config, select, nocache, pull)
File "/home/brennen/code/wmf/operations/docker-images/docker-pkg/docker_pkg/builder.py", line 181, in __init__
self.client = docker.from_env(version='auto', timeout=600)
File "/home/brennen/.local/lib/python3.5/site-packages/docker/client.py", line 85, in from_env
timeout=timeout, version=version, **kwargs_from_env(**kwargs)
File "/home/brennen/.local/lib/python3.5/site-packages/docker/client.py", line 40, in __init__
self.api = APIClient(*args, **kwargs)
File "/home/brennen/.local/lib/python3.5/site-packages/docker/api/client.py", line 190, in __init__
self._version = self._retrieve_server_version()
File "/home/brennen/.local/lib/python3.5/site-packages/docker/api/client.py", line 215, in _retrieve_server_version
'Error while fetching server API version: {0}'.format(e)
docker.errors.DockerException: Error while fetching server API version: HTTPSConnectionPool(host='192.168.39.250', port=2376): Max retries exceeded with url: /version (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 1
zsh: exit 2 make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment