Keypair creation fails when ssh public key comment contains spaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Davanum Srinivas (DIMS) |
Bug Description
In the Sahara project, we have been generating public keys to use with nova keypair creation for some time. These keys have a key comment of the form "Generated by Sahara"
This has worked until recently. However, it fails currently as follows:
$ more ~/public_key
ssh-rsa AAAAB3NzaC1yc2E
MpTWj7ZXRbKKD/
Generated by Sahara
(openstack) keypair create --public-key ~/public_key bob
ERROR: openstack Keypair data is invalid: failed to generate fingerprint (HTTP 400) (Request-ID: req-370e6a3a-
Removing or replacing the spaces in the key comment fixes the problem (or hides it)
This seems to be happening because usr/lib/
Changed in nova: | |
milestone: | none → liberty-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-rc1 → 12.0.0 |
Fix proposed to branch: master /review. openstack. org/208661
Review: https:/