cloud-init uses a deprecated metadata path for GCE instance SSH keys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Dan Watkins | ||
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
=== Begin SRU Template ===
[Impact]
This code path is only exercised on GCE datasources and in such cases get_data
would have not configured GCE-configured authorized ssh keys for the default user.
[Test Case]
Launch an instance on GCE
Update cloud-init deb
run sudo cloud-init single -n cc_ntp
curl -H "Metadata-Flavor: Google" http://
validate .ssh/authorized
[Regression Potential]
GCE instances which don't support instance/
to configure ssh access via #cloud-config ssh declarations.
[Other Info]
Upstream commit:
https:/
GCE metadata docs:
https:/
=== End SRU Template ===
~
Related branches
- Scott Moser: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 35 lines (+3/-3)2 files modifiedcloudinit/sources/DataSourceGCE.py (+1/-1)
tests/unittests/test_datasource/test_gce.py (+2/-2)
Changed in cloud-init (Ubuntu): | |
status: | New → In Progress |
Changed in cloud-init: | |
assignee: | nobody → Dan Watkins (daniel-thewatkins) |
Changed in cloud-init (Ubuntu): | |
assignee: | Dan Watkins (daniel-thewatkins) → nobody |
status: | In Progress → New |
Changed in cloud-init: | |
status: | New → In Progress |
Changed in cloud-init (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in cloud-init: | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in cloud-init (Ubuntu Yakkety): | |
status: | New → Confirmed |
Changed in cloud-init (Ubuntu Zesty): | |
status: | New → Confirmed |
Changed in cloud-init (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Zesty): | |
importance: | Undecided → Medium |
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
description: | updated |
description: | updated |
This bug was fixed in the package cloud-init - 0.7.9-153- g16a7302f- 0ubuntu1
--------------- 153-g16a7302f- 0ubuntu1) artful; urgency=medium
cloud-init (0.7.9-
* New upstream snapshot. _list_with_ none
- net: fix reading and rendering addresses in cidr format.
[Dimitri John Ledkov] (LP: #1689346, #1684349)
- disk_setup: udev settle before attempting partitioning or fs creation.
[Scott Moser] (LP: #1692093)
- GCE: Update the attribute used to find instance SSH keys.
[Daniel Watkins] (LP: #1693582)
- nplan: For bonds, allow dashed or underscore names of keys.
[Dimitri John Ledkov] (LP: #1690480)
- python2.6: fix unit tests usage of assertNone and format.
- test: update docstring on test_configured
- fix tools/ds-identify to not write None twice.
- tox/build: do not package depend on style requirements.
- cc_ntp: Restructure cc_ntp unit tests. [Chad Smith] (LP: #1692794)
-- Scott Moser <email address hidden> Fri, 26 May 2017 15:11:48 -0400