2024-06-19 02:05:09,291 - url_helper.py[WARNING]: Exception(s) [UrlError("HTTPConnectionPool(host='fe80::a9fe:a9fe', port=80): Max retries exceeded with url: /openstack (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f345fd8e760>: Failed to establish a new connection: [Errno 22] Invalid argument'))"), UrlError("HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /openstack (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3460abf160>: Failed to establish a new connection: [Errno 101] Network is unreachable'))")] during request to http://169.254.169.254/openstack, raising last exception
Bug report
The IPv6 metadata address
http://[fe80::a9fe:a9fe]being a link-local address, requires an interface.Used as is urllib3 reports the address to be
an invalid argument.See e.g. #1805 (comment)
Steps to reproduce the problem
http://[fe80::a9fe:a9fe]will see theinvalid argumentexception from urllib3http://169.254.169.254will timeout, as there is no IPv4 connectivityEnvironment details
cloud-init logs