Merge ~smoser/cloud-init:bug/1732964-kill-dhclient-on-ec2 into cloud-init:master
| Status: | Merged |
|---|---|
| Approved by: | Chad Smith on 2017-11-17 |
| Approved revision: | c0a23f6efe8002370abebdfff8607b36a711df19 |
| Merged at revision: | d3a0958c09c73a78fda6e922b749a1b98036e984 |
| Proposed branch: | ~smoser/cloud-init:bug/1732964-kill-dhclient-on-ec2 |
| Merge into: | cloud-init:master |
| Diff against target: |
69 lines (+16/-2) 2 files modified
cloudinit/net/dhcp.py (+8/-1) cloudinit/net/tests/test_dhcp.py (+8/-1) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Chad Smith | 2017-11-17 | Approve on 2017-11-17 | |
| Server Team CI bot | continuous-integration | Approve on 2017-11-17 | |
|
Review via email:
|
|||
Commit Message
EC2: Kill dhclient process used in sandbox dhclient.
dhclient runs, obtains a address and then backgrounds itself.
cloud-init did not take care to kill it after it was done with it.
After it has run and created the leases, we can kill it.
LP: #1732964
- c0a23f6... by Scott Moser on 2017-11-17
PASSED: Continuous integration, rev:c0a23f6efe8
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild:
https:/
| Chad Smith (chad.smith) wrote : | # |
This is good work, thanks for the fix. Tested EC2 across upgrade path and watched the pid read and kill of dhcp process.


FAILED: Continuous integration, rev:b383afc9f88 adba046f862bb62 ff90c4a6d22775 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 509/
https:/
Executed test runs:
SUCCESS: Checkout
FAILED: Unit & Style Tests
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 509/rebuild
https:/