diff --git a/cloudinit/sources/DataSourceOpenStack.py b/cloudinit/sources/DataSourceOpenStack.py index 915ed0c04d0..a07e355ccd4 100644 --- a/cloudinit/sources/DataSourceOpenStack.py +++ b/cloudinit/sources/DataSourceOpenStack.py @@ -18,7 +18,7 @@ LOG = logging.getLogger(__name__) # Various defaults/constants... -DEF_MD_URL = "http://169.254.169.254" +DEF_MD_URLS = ["http://[fe80::a9fe:a9fe]", "http://169.254.169.254"] DEFAULT_IID = "iid-dsopenstack" DEFAULT_METADATA = { "instance-id": DEFAULT_IID, @@ -74,7 +74,7 @@ def __str__(self): return mstr def wait_for_metadata_service(self): - urls = self.ds_cfg.get("metadata_urls", [DEF_MD_URL]) + urls = self.ds_cfg.get("metadata_urls", DEF_MD_URLS) filtered = [x for x in urls if util.is_resolvable_url(x)] if set(filtered) != set(urls): LOG.debug( @@ -85,7 +85,7 @@ def wait_for_metadata_service(self): urls = filtered else: LOG.warning("Empty metadata url list! using default list") - urls = [DEF_MD_URL] + urls = DEF_MD_URLS md_urls = [] url2base = {} @@ -100,6 +100,7 @@ def wait_for_metadata_service(self): urls=md_urls, max_wait=url_params.max_wait_seconds, timeout=url_params.timeout_seconds, + connect_synchronously=False, ) if avail_url: LOG.debug("Using metadata source: '%s'", url2base[avail_url]) diff --git a/tools/.github-cla-signers b/tools/.github-cla-signers index b107c07835c..5cb319d658b 100644 --- a/tools/.github-cla-signers +++ b/tools/.github-cla-signers @@ -98,6 +98,7 @@ rmhsawyer rongz609 s-makin SadeghHayeri +SRv6d sarahwzadara scorpion44 shaardie