summaryrefslogtreecommitdiff
path: root/tests/integration_tests/modules/test_cli.py
diff options
context:
space:
mode:
authorChris Patterson <cpatterson@microsoft.com>2023-05-12 03:21:14 -0700
committerGitHub <noreply@github.com>2023-05-12 12:21:14 +0200
commit9f8450368c2ae713de0a2308f5d3cb73de5b39f2 (patch)
treef143224ac7459a05f2e14e7aab4d90b91981caf0 /tests/integration_tests/modules/test_cli.py
parent60248d88f2d9e963a0bd0510180ec7b4d41cebd9 (diff)
downloadcloud-init-git-9f8450368c2ae713de0a2308f5d3cb73de5b39f2.tar.gz
azure/errors: introduce reportable errors for imds (#3647)
Always report failure to host, but report failure to fabric only outside of _check_if_nic_is_primary() which is expected to fail if nic is not primary. Add two types of reportable errors for IMDS metadata: - add ReportableErrorImdsUrlError() for url errors. - add ReportableErrorImdsMetadataParsingException() for parsing errors. Tweak ReportableError repr to be a bit friendlier. Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
Diffstat (limited to 'tests/integration_tests/modules/test_cli.py')
0 files changed, 0 insertions, 0 deletions