diff --git a/cloudinit/sources/DataSourceLXD.py b/cloudinit/sources/DataSourceLXD.py index 9d7d7a1ad10..a85853ec44a 100644 --- a/cloudinit/sources/DataSourceLXD.py +++ b/cloudinit/sources/DataSourceLXD.py @@ -132,6 +132,13 @@ class LXDSocketAdapter(HTTPAdapter): def get_connection(self, url, proxies=None): return SocketConnectionPool(LXD_SOCKET_PATH) + # Fix for requests 2.32.2+: + # https://github.com/psf/requests/pull/6710 + def get_connection_with_tls_context( + self, request, verify, proxies=None, cert=None + ): + return self.get_connection(request.url, proxies) + def _raw_instance_data_to_dict(metadata_type: str, metadata_value) -> dict: """Convert raw instance data from str, bytes, YAML to dict diff --git a/tools/.github-cla-signers b/tools/.github-cla-signers index cafe0353bff..2b122f452a2 100644 --- a/tools/.github-cla-signers +++ b/tools/.github-cla-signers @@ -54,6 +54,7 @@ dermotbradley dhalturin dhensby Dorthu +eaglegai eandersson eb3095 ederst