[SRU] support SSH key value over fingerprint for Azure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
Vivid |
Fix Released
|
Medium
|
Unassigned | ||
Wily |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
SRU JUSTIFICATION
[BACKGROUND] Azure's meta-data source now supports the use of SSH key values in addition to fingerprints.
[IMPACT] Instances booted with out cloud-init support for SSH public key values will be inaccessable on boot via SSH.
[FIX] Backport of 15.10 SSH public key support. Starting with 15.10, cloud-init supports both values (preferred) or generating the SSH public key from a fingerprint.
[TEST CASE]
- Update cloud-init from proposed
- Capture instance
- Create instance using SSH fingerprint, confirm instance is accessible via SSH.
- Create instance using SSH public key value, confirm instance is accessible via SSH.
- Create instance using both SSH fingerprint and a different SSH public key value. Confirm that the instance is accessible via SSH only with SSH public key value (i.e. the fingerprint is ignored).
[ORIGINAL REPORT]
Azure is changing the ovf-env.xml file. Instead of passing a fingerprint to the key and obtaining it separately, the SSH public key itself is passed via a new "<Value>" parameters:
<SSH>
Related branches
- Ben Howard: Pending requested
-
Diff: 137 lines (+65/-21)2 files modifiedcloudinit/sources/DataSourceAzure.py (+12/-4)
tests/unittests/test_datasource/test_azure.py (+53/-17)
Changed in cloud-init: | |
assignee: | nobody → Ben Howard (utlemming) |
summary: |
- support SSH key value over fingerprint for Azure + [SRU] support SSH key value over fingerprint for Azure |
description: | updated |
Changed in cloud-init: | |
status: | New → Fix Released |
Changed in cloud-init (Ubuntu): | |
status: | New → In Progress |
Changed in cloud-init (Ubuntu Precise): | |
status: | New → In Progress |
Changed in cloud-init (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in cloud-init (Ubuntu Vivid): | |
status: | New → In Progress |
Changed in cloud-init (Ubuntu Wily): | |
status: | New → Fix Released |
Changed in cloud-init (Ubuntu Xenial): | |
status: | In Progress → Fix Released |
assignee: | nobody → Ben Howard (utlemming) |
Changed in cloud-init (Ubuntu Wily): | |
assignee: | nobody → Ben Howard (utlemming) |
Changed in cloud-init (Ubuntu Vivid): | |
assignee: | nobody → Ben Howard (utlemming) |
Changed in cloud-init (Ubuntu Trusty): | |
assignee: | nobody → Ben Howard (utlemming) |
Changed in cloud-init (Ubuntu Precise): | |
assignee: | nobody → Ben Howard (utlemming) |
Changed in cloud-init (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Vivid): | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Wily): | |
importance: | Undecided → Critical |
importance: | Critical → Medium |
Changed in cloud-init (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Backported changes and uploaded; pending acceptance into -proposed.