summaryrefslogtreecommitdiff
path: root/cloudinit/apport.py
diff options
context:
space:
mode:
authorMaxime Dufour <maxime.dufour@outscale.com>2022-09-03 00:21:56 +0200
committerGitHub <noreply@github.com>2022-09-02 16:21:56 -0600
commitd469008d7316cc8c5e66112ee85c8bf27234ba1c (patch)
tree14ffa93fc27b4dd38d98d6eaaef4c7f5ca22cf5c /cloudinit/apport.py
parent071493220d6c453bb493013221330ca1076ad9b7 (diff)
downloadcloud-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.py1
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",
]