Merge ~smoser/cloud-init:test/ibmcloud-debug-build into cloud-init:master
Status: | Merged |
---|---|
Approved by: | Ryan Harper |
Approved revision: | 8264db518943c6260f904c7db95d7399cfcb6ca0 |
Merge reported by: | Ryan Harper |
Merged at revision: | 6ef92c98c3d2b127b05d6708337efc8a81e00071 |
Proposed branch: | ~smoser/cloud-init:test/ibmcloud-debug-build |
Merge into: | cloud-init:master |
Diff against target: |
373 lines (+175/-23) 5 files modified
cloudinit/sources/DataSourceIBMCloud.py (+29/-13) cloudinit/tests/helpers.py (+12/-1) tests/unittests/test_datasource/test_ibmcloud.py (+50/-0) tests/unittests/test_ds_identify.py (+64/-8) tools/ds-identify (+20/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Philip Roche (community) | Approve | ||
Ryan Harper | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+344546@code.launchpad.net |
Commit message
IBMCloud: recognize provisioning environment during debug boots.
When images are deployed from template in a production environment
the artifacts of the provisioning stage (provisioningCo
that cloud-init referenced are cleaned up. However, when provisioned
in "debug" mode (internal to IBM) the artifacts are left.
This changes the 'is_ibm_
ds-identify and in the IBM datasource to identify the provisioning
stage more correctly. The change is to consider provisioning only
if the provisioing file existed and there was no log file or
the log file was older than this boot.
LP: #1767166
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.
PASSED: Continuous integration, rev:60214a14f17 4178bc7d5297dec 176f0e4f904beb /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 1066/
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: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 1066/rebuild
https:/