diff options
author | Maxime Dufour <maxime.dufour@outscale.com> | 2022-09-03 00:21:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 16:21:56 -0600 |
commit | d469008d7316cc8c5e66112ee85c8bf27234ba1c (patch) | |
tree | 14ffa93fc27b4dd38d98d6eaaef4c7f5ca22cf5c /cloudinit/apport.py | |
parent | 071493220d6c453bb493013221330ca1076ad9b7 (diff) | |
download | cloud-init-git-d469008d7316cc8c5e66112ee85c8bf27234ba1c.tar.gz |
Identify 3DS Outscale Datasource as Ec2 (#1686)
Outscale has an Ec2-compatible metadata service and is detected
by:
DMI product name: 3DS Outscale VM
DMI vendor: 3DS Outscale
The difference between stock Ec2 IMDS and Outscale is that the tags
routes in their IMDS can return 404s if tags contain certain characters
which result in 404 errors in cloud-int logs (LP: #1988157)
To avoid errors in cloud-init on tag-related route 404s, add a parameter
to retrieval_exception_ignore_cb to helpers/ec2/_get_instance_metadata
to allow 404s on tag-related routes to be skipped.
Diffstat (limited to 'cloudinit/apport.py')
-rw-r--r-- | cloudinit/apport.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/apport.py b/cloudinit/apport.py index c28c4028..7cba0bf5 100644 --- a/cloudinit/apport.py +++ b/cloudinit/apport.py @@ -49,6 +49,7 @@ KNOWN_CLOUD_NAMES = [ "VMware", "Vultr", "ZStack", + "Outscale", "Other", ] |