Merge ~smoser/cloud-init:bug/1674861-ds-identify-gce into cloud-init:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Merged at revision: | 328fe5ab399b1f5b48d1985f41fc2ef66e368922 |
Proposed branch: | ~smoser/cloud-init:bug/1674861-ds-identify-gce |
Merge into: | cloud-init:master |
Diff against target: |
113 lines (+44/-2) 3 files modified
cloudinit/sources/DataSourceGCE.py (+18/-0) tests/unittests/test_datasource/test_gce.py (+13/-1) tools/ds-identify (+13/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email:
|
Commit message
GCE: Search GCE in ds-identify, consider serial number in check.
While documentation indicates that the smbios product name should
contain 'Google Compute Engine', experimentation and bug reports
indicate that is not always the case. The change here is to change
the check for GCE to also consider a serial number that starts with
'GoogleCompute-'.
Also, ds-identify was not currently searching for GCE if no config of
datasource_list was found. Most images have a datasource_list defined.
So update the list to include GCE.
LP: #1674861
To post a comment you must log in.
PASSED: Continuous integration, rev:222dd8f97d0 635cc17fcc2667e d9fa0ab40931c9 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 163/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/163 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/163 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 163 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/163 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/163
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 163/rebuild
https:/