Merge ~bbaude/cloud-init:azure_bounce into cloud-init:master
| Status: | Merged |
|---|---|
| Approved by: | Scott Moser on 2017-03-21 |
| 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 on 2017-03-21 | |
| Dan Watkins | 2017-03-20 | Approve on 2017-03-21 | |
|
Review via email:
|
|||
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.
PASSED: Continuous integration, rev:4e9065e46fa
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
| Joshua Powers (powersj) wrote : | # |
After adding commit 9040e78, this ran integration tests successfully:
https:/
| Dan Watkins (daniel-thewatkins) wrote : | # |
One step closer to killing the agent, I like it!
PASSED: Continuous integration, rev:34b9adebdb2
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/


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:/