[Touch-packages] [Bug 1870074] Re: python-glanceclient ftbfs in focal

2020-04-08 Thread Launchpad Bug Tracker
This bug was fixed in the package python-glanceclient -
1:2.17.0-0ubuntu3

---
python-glanceclient (1:2.17.0-0ubuntu3) focal; urgency=medium

  * d/p/update-test-certificates.patch: Regenerate test certificates
to use algorithms that are considered secure by modern OpenSSL
versions resolving FTBFS (LP: #1870074).

 -- James Page   Tue, 07 Apr 2020 13:48:07 +0100

** Changed in: python-glanceclient (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  Invalid
Status in python-glanceclient package in Ubuntu:
  Fix Released

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
  httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
  self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
  conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
  self.sock = ssl_wrap_socket(

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
  return context.wrap_socket(sock)

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
  raise ssl.SSLError("bad handshake: %r" % e)

  ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
  resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
  retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
  raise MaxRetryError(_pool, url, error or ResponseError(cause))

  urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/common/http.py", line 269, in 
_request
  resp = self.session.request(method,

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
  resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
  r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
  raise SSLError(e, request=request)

  requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
  gc.images.get('image123')

File "/<>/glanceclient/v2/images.py", line 198, in get
  return self._get(image_id)

File "/<>/glanceclient/common/utils.py", line 598, in inner
  return RequestIdProxy(wrapped(*args, **kwargs))

File "/<>/glanceclient/v2/images.py", line 191, in _get
  resp, body = self.http_client.get(url, headers=header)

File "/<>/glanceclient/common/http.py", line 315, in get
  return self._request('GET', url, **kwargs)

File "/<>/glanceclient/common/http.py", line 282, in 
_request
  raise exc.CommunicationError(message=message)

  glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/mo

[Touch-packages] [Bug 1870074] Re: python-glanceclient ftbfs in focal

2020-04-07 Thread James Page
Uploaded to focal for release team review.

Also submitted upstream - https://review.opendev.org/718093

** Changed in: python-glanceclient (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  Invalid
Status in python-glanceclient package in Ubuntu:
  Fix Committed

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
  httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
  self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
  conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
  self.sock = ssl_wrap_socket(

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
  return context.wrap_socket(sock)

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
  raise ssl.SSLError("bad handshake: %r" % e)

  ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
  resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
  retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
  raise MaxRetryError(_pool, url, error or ResponseError(cause))

  urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/common/http.py", line 269, in 
_request
  resp = self.session.request(method,

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
  resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
  r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
  raise SSLError(e, request=request)

  requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
  gc.images.get('image123')

File "/<>/glanceclient/v2/images.py", line 198, in get
  return self._get(image_id)

File "/<>/glanceclient/common/utils.py", line 598, in inner
  return RequestIdProxy(wrapped(*args, **kwargs))

File "/<>/glanceclient/v2/images.py", line 191, in _get
  resp, body = self.http_client.get(url, headers=header)

File "/<>/glanceclient/common/http.py", line 315, in get
  return self._request('GET', url, **kwargs)

File "/<>/glanceclient/common/http.py", line 282, in 
_request
  raise exc.CommunicationError(message=message)

  glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in 
patched
  return func(*args, **keywargs)

File "/<>/glanceclient/tests/unit/test_ssl.py", line 128, 
in test_v2_requests_cert_verification
  self.fail('No certificate failure message is received')

File "/usr/lib/python3/dist-pac

[Touch-packages] [Bug 1870074] Re: python-glanceclient ftbfs in focal

2020-04-07 Thread James Page
Actually this resolved to be due to use of older algs in the certs which
are no longer considered strong.

** Changed in: openssl (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  Invalid
Status in python-glanceclient package in Ubuntu:
  In Progress

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
  httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
  self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
  conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
  self.sock = ssl_wrap_socket(

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
  return context.wrap_socket(sock)

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
  raise ssl.SSLError("bad handshake: %r" % e)

  ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
  resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
  retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
  raise MaxRetryError(_pool, url, error or ResponseError(cause))

  urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/common/http.py", line 269, in 
_request
  resp = self.session.request(method,

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
  resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
  r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
  raise SSLError(e, request=request)

  requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
  gc.images.get('image123')

File "/<>/glanceclient/v2/images.py", line 198, in get
  return self._get(image_id)

File "/<>/glanceclient/common/utils.py", line 598, in inner
  return RequestIdProxy(wrapped(*args, **kwargs))

File "/<>/glanceclient/v2/images.py", line 191, in _get
  resp, body = self.http_client.get(url, headers=header)

File "/<>/glanceclient/common/http.py", line 315, in get
  return self._request('GET', url, **kwargs)

File "/<>/glanceclient/common/http.py", line 282, in 
_request
  raise exc.CommunicationError(message=message)

  glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in 
patched
  return func(*args, **keywargs)

File "/<>/glanceclient/tests/unit/test_ssl.py", line 128, 
in test_v2_requests_cert_verification
  self.fail('No certificate failure message is received')

File "/usr/lib/python3/dist-packages/unittest2/case.py", 

[Touch-packages] [Bug 1870074] Re: python-glanceclient ftbfs in focal

2020-04-06 Thread James Page
Or this might be related to the default security level we set in Ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  New
Status in python-glanceclient package in Ubuntu:
  In Progress

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
  httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
  self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
  conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
  self.sock = ssl_wrap_socket(

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
  return context.wrap_socket(sock)

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
  raise ssl.SSLError("bad handshake: %r" % e)

  ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
  resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
  retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
  raise MaxRetryError(_pool, url, error or ResponseError(cause))

  urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/common/http.py", line 269, in 
_request
  resp = self.session.request(method,

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
  resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
  r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
  raise SSLError(e, request=request)

  requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
  gc.images.get('image123')

File "/<>/glanceclient/v2/images.py", line 198, in get
  return self._get(image_id)

File "/<>/glanceclient/common/utils.py", line 598, in inner
  return RequestIdProxy(wrapped(*args, **kwargs))

File "/<>/glanceclient/v2/images.py", line 191, in _get
  resp, body = self.http_client.get(url, headers=header)

File "/<>/glanceclient/common/http.py", line 315, in get
  return self._request('GET', url, **kwargs)

File "/<>/glanceclient/common/http.py", line 282, in 
_request
  raise exc.CommunicationError(message=message)

  glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in 
patched
  return func(*args, **keywargs)

File "/<>/glanceclient/tests/unit/test_ssl.py", line 128, 
in test_v2_requests_cert_verification
  self.fail('No certificate failure message is received')

File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in 
fail
  raise self.failureException(msg)

  AssertionError: No certificate failu

[Touch-packages] [Bug 1870074] Re: python-glanceclient ftbfs in focal

2020-04-06 Thread James Page
and

https://github.com/openssl/openssl/issues/11378

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  New
Status in python-glanceclient package in Ubuntu:
  In Progress

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
  httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
  self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
  conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
  self.sock = ssl_wrap_socket(

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
  return context.wrap_socket(sock)

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
  raise ssl.SSLError("bad handshake: %r" % e)

  ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
  resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
  retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
  raise MaxRetryError(_pool, url, error or ResponseError(cause))

  urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/common/http.py", line 269, in 
_request
  resp = self.session.request(method,

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
  resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
  r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
  raise SSLError(e, request=request)

  requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
  gc.images.get('image123')

File "/<>/glanceclient/v2/images.py", line 198, in get
  return self._get(image_id)

File "/<>/glanceclient/common/utils.py", line 598, in inner
  return RequestIdProxy(wrapped(*args, **kwargs))

File "/<>/glanceclient/v2/images.py", line 191, in _get
  resp, body = self.http_client.get(url, headers=header)

File "/<>/glanceclient/common/http.py", line 315, in get
  return self._request('GET', url, **kwargs)

File "/<>/glanceclient/common/http.py", line 282, in 
_request
  raise exc.CommunicationError(message=message)

  glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in 
patched
  return func(*args, **keywargs)

File "/<>/glanceclient/tests/unit/test_ssl.py", line 128, 
in test_v2_requests_cert_verification
  self.fail('No certificate failure message is received')

File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in 
fail
  raise self.failureException(msg)

  AssertionError: No certificate failure message is recei

[Touch-packages] [Bug 1870074] Re: python-glanceclient ftbfs in focal

2020-04-06 Thread James Page
https://github.com/urllib3/urllib3/issues/1825

** Bug watch added: github.com/urllib3/urllib3/issues #1825
   https://github.com/urllib3/urllib3/issues/1825

** Bug watch added: github.com/openssl/openssl/issues #11378
   https://github.com/openssl/openssl/issues/11378

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  New
Status in python-glanceclient package in Ubuntu:
  In Progress

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
  httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
  self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
  conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
  self.sock = ssl_wrap_socket(

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
  return context.wrap_socket(sock)

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
  raise ssl.SSLError("bad handshake: %r" % e)

  ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
  resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
  retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
  raise MaxRetryError(_pool, url, error or ResponseError(cause))

  urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/common/http.py", line 269, in 
_request
  resp = self.session.request(method,

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
  resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
  r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
  raise SSLError(e, request=request)

  requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
  gc.images.get('image123')

File "/<>/glanceclient/v2/images.py", line 198, in get
  return self._get(image_id)

File "/<>/glanceclient/common/utils.py", line 598, in inner
  return RequestIdProxy(wrapped(*args, **kwargs))

File "/<>/glanceclient/v2/images.py", line 191, in _get
  resp, body = self.http_client.get(url, headers=header)

File "/<>/glanceclient/common/http.py", line 315, in get
  return self._request('GET', url, **kwargs)

File "/<>/glanceclient/common/http.py", line 282, in 
_request
  raise exc.CommunicationError(message=message)

  glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in 
patched
  return func(*args, **keywargs)

File "/<>/glanceclient/tests/unit/test_ssl.py", line 128, 
in test_v2_requests_cert_verification
  self.fail('No certificat

[Touch-packages] [Bug 1870074] Re: python-glanceclient ftbfs in focal

2020-04-03 Thread James Page
Boiling those down from the package build log:


glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v2_requests_valid_cert_no_key

OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ca md
too weak')]

glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v1_requests_cert_verification

OpenSSL.SSL.SysCallError: (104, 'ECONNRESET')

glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v2_requests_cert_verification_no_compression
glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v1_requests_cert_verification_no_compression

OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v2_requests_cert_verification

OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  New
Status in python-glanceclient package in Ubuntu:
  In Progress

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
  httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
  self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
  conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
  self.sock = ssl_wrap_socket(

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
  return context.wrap_socket(sock)

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
  raise ssl.SSLError("bad handshake: %r" % e)

  ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
  resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
  retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
  raise MaxRetryError(_pool, url, error or ResponseError(cause))

  urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/common/http.py", line 269, in 
_request
  resp = self.session.request(method,

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
  resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
  r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
  raise SSLError(e, request=request)

  requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
  gc.images.get('image123')

File "/<>/glanceclient/v2/images.py", line 198, in get
  return self._get(image_id)

File "/<>/glanceclient/common/utils.py", line 598, in inner
  return RequestIdProxy(wrapped(*args, **kwargs))

File "/<>/glanceclient/v2/images.py", line 191, in _get
  resp, body = self.http_client.get(url, headers=header)

File "/<>/glanceclient/common/http.py", line 315, in get
  return self._request('GET', url, **kwargs)

File "/<>/glanceclient/common/http.py", line 282, in 
_request
  raise exc.CommunicationError(message=message)

  glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/

[Touch-packages] [Bug 1870074] Re: python-glanceclient ftbfs in focal

2020-04-03 Thread James Page
'ca md too weak' would indicate the signing alg is not good enough on
the ca.crt any longer:

Signature Algorithm: sha1WithRSAEncryption

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  New
Status in python-glanceclient package in Ubuntu:
  In Progress

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
  httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
  self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
  conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
  self.sock = ssl_wrap_socket(

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
  return context.wrap_socket(sock)

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
  raise ssl.SSLError("bad handshake: %r" % e)

  ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
  resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
  retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
  raise MaxRetryError(_pool, url, error or ResponseError(cause))

  urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/common/http.py", line 269, in 
_request
  resp = self.session.request(method,

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
  resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
  r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
  raise SSLError(e, request=request)

  requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
  gc.images.get('image123')

File "/<>/glanceclient/v2/images.py", line 198, in get
  return self._get(image_id)

File "/<>/glanceclient/common/utils.py", line 598, in inner
  return RequestIdProxy(wrapped(*args, **kwargs))

File "/<>/glanceclient/v2/images.py", line 191, in _get
  resp, body = self.http_client.get(url, headers=header)

File "/<>/glanceclient/common/http.py", line 315, in get
  return self._request('GET', url, **kwargs)

File "/<>/glanceclient/common/http.py", line 282, in 
_request
  raise exc.CommunicationError(message=message)

  glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in 
patched
  return func(*args, **keywargs)

File "/<>/glanceclient/tests/unit/test_ssl.py", line 128, 
in test_v2_requests_cert_verification
  self.fail('No certificate failure message is received')

File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in 
fail
  raise self.

[Touch-packages] [Bug 1870074] Re: python-glanceclient ftbfs in focal

2020-04-03 Thread James Page
glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v2_requests_valid_cert_no_key

glanceclient.exc.CommunicationError: SSL Error communicating with
https://0.0.0.0:58534/v2/images/image123: [('SSL routines',
'SSL_CTX_use_certificate', 'ca md too weak')]

** Also affects: openssl (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  New
Status in python-glanceclient package in Ubuntu:
  In Progress

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
  httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
  self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
  conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
  self.sock = ssl_wrap_socket(

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
  return context.wrap_socket(sock)

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
  raise ssl.SSLError("bad handshake: %r" % e)

  ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
  resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
  retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
  raise MaxRetryError(_pool, url, error or ResponseError(cause))

  urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/common/http.py", line 269, in 
_request
  resp = self.session.request(method,

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
  resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
  r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
  raise SSLError(e, request=request)

  requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/<>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
  gc.images.get('image123')

File "/<>/glanceclient/v2/images.py", line 198, in get
  return self._get(image_id)

File "/<>/glanceclient/common/utils.py", line 598, in inner
  return RequestIdProxy(wrapped(*args, **kwargs))

File "/<>/glanceclient/v2/images.py", line 191, in _get
  resp, body = self.http_client.get(url, headers=header)

File "/<>/glanceclient/common/http.py", line 315, in get
  return self._request('GET', url, **kwargs)

File "/<>/glanceclient/common/http.py", line 282, in 
_request
  raise exc.CommunicationError(message=message)

  glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

  
  During handling of the above exception, another exception occurred:

  
  Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in 
patched
  return func(*args, **keywargs)

File "/<>/glanceclient/tests/unit/test_ssl.py", line 128,