Merge ~smoser/cloud-init:fix/1766401-ibmcloud-upgrade-xenial into cloud-init:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chad Smith | ||||
Approved revision: | 73864f648ea0de48eca36cfe3e214726d3891586 | ||||
Merge reported by: | Chad Smith | ||||
Merged at revision: | 11172924a48a47a7231d19d9cefe628dfddda8bf | ||||
Proposed branch: | ~smoser/cloud-init:fix/1766401-ibmcloud-upgrade-xenial | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
206 lines (+91/-14) 3 files modified
cloudinit/sources/DataSourceConfigDrive.py (+8/-3) tests/unittests/test_ds_identify.py (+71/-6) tools/ds-identify (+12/-5) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Chad Smith | Approve | ||
Review via email: mp+344784@code.launchpad.net |
Commit message
IBMCloud: Disable config-drive and nocloud only if IBMCloud is enabled.
Ubuntu images on IBMCloud for 16.04 have some seed data in
/var/lib/
IBMCloud enabled, we modified ds-identify detection to skip that seed
if the system was on IBMCloud. That change did not consider the
fact that IBMCloud might not be in the datasource list.
There was similar logic in the ConfigDrive datasource in ds-identify
and the datasource itself.
Config drive is now updated to only check and avoid IBMCloud if IBMCloud
is enabled. The check in ds-identify for nocloud was dropped. If a
user provides a nocloud seed on IBMCloud, then that can be used.
This means that systems running Xenial will continue to get their
old datasources.
LP: #1766401
Description of the change
see commit message
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:0b32d7c3195 23978e9bd568651 d5b68dfe663313 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 1073/
https:/
Executed test runs:
SUCCESS: Checkout
FAILED: Unit & Style Tests
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 1073/rebuild
https:/