Skip to content

verify-maas does no longer work with Ubuntu 20.04 #738

@BjoernT

Description

@BjoernT

This needs to be investigated as the SSL error seems to imply that the HTTPS protocol gets dropped once it queries the url /v1.0/hybrid:xxx/views/overview

  File "/openstack/venvs/maas-22.4.0/lib/python3.8/site-packages/libcloud/common/base.py", line 837, in request
    self.connection.request(method=method, url=url, body=data,
  File "/usr/lib/python3.8/http/client.py", line 1256, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 951, in send
    self.connect()
  File "/openstack/venvs/maas-22.4.0/lib/python3.8/site-packages/libcloud/httplib_ssl.py", line 325, in connect
    raise exc
  File "/openstack/venvs/maas-22.4.0/lib/python3.8/site-packages/libcloud/httplib_ssl.py", line 317, in connect
    self.sock = self.tls_context.wrap_socket(
  File "/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.8/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL] internal error (_ssl.c:1131)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/rpc-maas-tools/rpc-maas-tool.py", line 856, in <module>
    cli = RpcMassCli()
  File "/opt/rpc-maas-tools/rpc-maas-tool.py", line 250, in __init__
    self.rpcm = RpcMaas(self.args.entitymatch,
  File "/opt/rpc-maas-tools/rpc-maas-tool.py", line 74, in __init__
    self._add_links()
  File "/opt/rpc-maas-tools/rpc-maas-tool.py", line 116, in _add_links
    for entry in self.overview:
  File "/openstack/venvs/maas-22.4.0/lib/python3.8/site-packages/libcloud/common/types.py", line 115, in __iter__
    self._load_all()
  File "/openstack/venvs/maas-22.4.0/lib/python3.8/site-packages/libcloud/common/types.py", line 140, in _load_all
    self._get_more(last_key=self._last_key,
  File "/openstack/venvs/maas-22.4.0/lib/python3.8/site-packages/rackspace_monitoring/drivers/rackspace.py", line 233, in _get_more
    response = self.connection.request(value_dict['url'], params)
  File "/openstack/venvs/maas-22.4.0/lib/python3.8/site-packages/rackspace_monitoring/drivers/rackspace.py", line 148, in request
    return super(RackspaceMonitoringConnection, self).request(
  File "/openstack/venvs/maas-22.4.0/lib/python3.8/site-packages/libcloud/common/openstack.py", line 222, in request
    return super(OpenStackBaseConnection, self).request(action=action,
  File "/openstack/venvs/maas-22.4.0/lib/python3.8/site-packages/libcloud/common/base.py", line 860, in request
    raise ssl.SSLError(str(e))
ssl.SSLError: ('[SSL] internal error (_ssl.c:1131)',)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions