Merge ~jasonzio/cloud-init:wireserverFallback into cloud-init:master
Proposed by
Jason Zions
Status: | Merged |
---|---|
Approved by: | Ryan Harper |
Approved revision: | 2e4c10e6d1868b004bc3e40dbac2216e895b90e5 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~jasonzio/cloud-init:wireserverFallback |
Merge into: | cloud-init:master |
Diff against target: |
64 lines (+18/-5) 2 files modified
cloudinit/sources/helpers/azure.py (+11/-3) tests/unittests/test_datasource/test_azure_helper.py (+7/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Harper | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+367233@code.launchpad.net |
Commit message
Azure: Return static fallback address as if failed to find endpoint
The Azure data source helper attempts to use information in the dhcp
lease to find the Wireserver endpoint (IP address). Under some unusual
circumstances, those attempts will fail. This change uses a static
address, known to be always correct in the Azure public and sovereign
clouds, when the helper fails to locate a valid dhcp lease. This
address is not guaranteed to be correct in Azure Stack environments;
it's still best to use the information from the lease whenever possible.
To post a comment you must log in.
PASSED: Continuous integration, rev:57dfd00f086 c34f761a905e23e 405b18be236dd1 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 715/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 715/rebuild
https:/