Merge ~bbaude/cloud-init:azure_bounce into cloud-init:master
Proposed by
Brent Baude
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | 34b9adebdb26c1b3e68da5a3ad484d513c4e004d |
Merged at revision: | 86715c88aab8561e1ddadac95671f6095d16f9e7 |
Proposed branch: | ~bbaude/cloud-init:azure_bounce |
Merge into: | cloud-init:master |
Diff against target: |
121 lines (+47/-33) 2 files modified
cloudinit/sources/DataSourceAzure.py (+46/-32) cloudinit/sources/__init__.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Dan Watkins | Approve | ||
Review via email: mp+320411@code.launchpad.net |
Commit message
Bounce network interface for Azure
When deploying on Azure and using only cloud-init, you must "bounce"
the network interface to trigger a DDNS update. This allows dhclient
to register the hostname with Azure so that DNS works correctly on their
private networks (i.e. between vm and vm).
The agent path was already doing the bounce so this creates parity between the built-in path and the agent.
Description of the change
This PR adds the ability to set the hostname and bounce the network interfaces when provisioning in Azure with just cloud-init. The hostname must be set and network bounced in order for DNS to work correctly in Azure when communicating between azure vms.
To post a comment you must log in.
FAILED: Continuous integration, rev:3392d841335 cad4615381f2740 71729a9866e9a7 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 142/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/142/ console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/142/ console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 142/console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/142/ console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/142/ console
https:/
Executed test runs:
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 142/rebuild
https:/