Do not retry polling IMDS for reprovisiondata during timeout
Bug #1803598 reported by
Aswin Rajamannar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Azure retries polling IMDS for metadata and reprovisiondata when a timeout occurs. However this should not happen when polling for reprovisiondata as a timeout could indicate that the IP address has changed and that we should do a dhcp instead of polling, which is going to result in timeout during every poll.
Related branches
~chad.smith/cloud-init:ubuntu/devel
- Server Team CI bot: Approve (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 207 lines (+92/-15)5 files modifiedcloudinit/config/cc_resizefs.py (+7/-0)
cloudinit/sources/DataSourceAzure.py (+8/-1)
debian/changelog (+9/-0)
tests/unittests/test_datasource/test_azure.py (+28/-6)
tests/unittests/test_handler/test_handler_resizefs.py (+40/-8)
~chad.smith/cloud-init:bug/1803598-dont-retry-on-timeout-in-imds-poll
- Server Team CI bot: Approve (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 82 lines (+36/-7)2 files modifiedcloudinit/sources/DataSourceAzure.py (+8/-1)
tests/unittests/test_datasource/test_azure.py (+28/-6)
To post a comment you must log in.
This bug is fixed with commit 8f812a15 to cloud-init on branch master. /git.launchpad. net/cloud- init/commit/ ?id=8f812a15
To view that commit see the following URL:
https:/