ds-identify does not find maas datasource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
High
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned |
Bug Description
=== Begin SRU Template ===
[Impact]
On Ubuntu core systems deployed with MAAS xenial and yakkety systems
would put a warning on the login screen stating that the datasource was
not found.
The issue only occurred on Ubuntu core. Ubuntu systems were not affected
as recent maas versions preseed cloud-init with 'datasource_list: [MAAS]'
which results in ds-identify just accepting the single entry as defined.
[Test Case]
The full test case involves
* deploying through MAAS
* enabling -proposed (without -proposed should show failure)
* setting curtin config to show:
system_upgrade: {enabled: True}}
[Regression Potential]
The changes that were done
a.) renamed some variables to make code more readable
b.) make searching for config less restrictive
due to 'a', there could be unintended bugs, but testing for
other datasources would likely have turned that up.
[Other Info]
=== End SRU Template ===
In ds-identify, the dscheck_MAAS calls check_config incorrectly, and as a result does not enable the MAAS datasource.
Related branches
- Ryan Harper: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 75 lines (+17/-16)1 file modifiedtools/ds-identify (+17/-16)
Changed in cloud-init: | |
status: | New → Fix Committed |
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in cloud-init: | |
importance: | Undecided → High |
Changed in cloud-init (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in cloud-init (Ubuntu Yakkety): | |
status: | New → Confirmed |
Changed in cloud-init (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: dsid |
tags: |
added: verification-done-xenial verification-needed-yakkety removed: dsid verification-needed |
This bug was fixed in the package cloud-init - 0.7.9-87- gd23543eb- 0ubuntu1
--------------- 87-gd23543eb- 0ubuntu1) zesty; urgency=medium
cloud-init (0.7.9-
* debian/ cloud-init. templates: add Bigstep to list of sources. (LP: #1676460)
* New upstream snapshot.
- net: in netplan renderer delete known image-builtin content.
(LP: #1675576)
- doc: correct grammar in capabilities.rst [David Tagatac]
- ds-identify: fix detecting of maas datasource. (LP: #1677710)
- netplan: remove debugging prints, add debug logging [Ryan Harper]
- ds-identify: do not write None twice to datasource_list.
- support resizing partition and rootfs on system booted without initramfs.
(LP: #1677376) [Steve Langasek]
- apt_configure: run only when needed. (LP: #1675185)
- OpenStack: identify OpenStack by product 'OpenStack Compute'.
(LP: #1675349)
- GCE: Search GCE in ds-identify, consider serial number in check.
(LP: #1674861)
- Add support for setting hashed passwords [Tore S. Lonoy] (LP: #1570325)
-- Scott Moser <email address hidden> Thu, 30 Mar 2017 16:46:43 -0400