summaryrefslogtreecommitdiff
path: root/tests/unittests/sources/helpers/test_ec2.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: Drop httpretty in favor of responses (#1720)Alberto Contreras2022-09-191-80/+80
|
* Identify 3DS Outscale Datasource as Ec2 (#1686)Maxime Dufour2022-09-021-0/+50
| | | | | | | | | | | | | | 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.
* Misc module cleanup (#1418)Brett Holman2022-04-291-0/+277
- move datasource helpers to dedicated directory - drop unnecessary executable bit on shebangless python files