Merge ~smoser/cloud-init:bug/1717147-centos-cloudstack-dhclient into cloud-init:master
Proposed by
Scott Moser
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | da1db792b2721d94ef85df8c136e78012c49c6e5 | ||||
Proposed branch: | ~smoser/cloud-init:bug/1717147-centos-cloudstack-dhclient | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
149 lines (+100/-13) 2 files modified
cloudinit/sources/DataSourceCloudStack.py (+24/-10) tests/unittests/test_datasource/test_cloudstack.py (+76/-3) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Chad Smith | Approve | ||
Review via email: mp+330846@code.launchpad.net |
Commit message
CloudStack: consider dhclient lease files named with a hyphen.
A regression in 'get_latest_lease' made it ignore files starting
with 'dhclient-' rather than just 'dhclient.'. The fix here is
to allow those files to be considered.
There is a lot more we could do here to better ensure that we pick
the most recent lease, but this change fixes the regression.
LP: #1717147
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
FAILED: Continuous integration, rev:6b6dbcedb27 d9c1fb99430ae54 b217663933e4fc /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 306/
https:/
Executed test runs:
SUCCESS: Checkout
FAILED: Unit & Style Tests
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 306/rebuild
https:/