Unable to create key pair: Keypair data is invalid: failed to generate fingerprint (HTTP 400)
Hi,
I have installed rdo openstack (liberty) on a CentOS 7 VM. When i try to create a key pair it always fails with the error "Unable to create key pair: Keypair data is invalid: failed to generate fingerprint (HTTP 400)". I tried to create a key pair manually and import it but the result is same. I also do not have any special characters in the key name. This is the debug error i see. Can anyone point me to where the problem might be ?
============= Start of Error log =============
DEBUG (session:198) REQ: curl -g -i -X GET http://192.168.1.101:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:203) Starting new HTTP connection (1): 192.168.1.101
DEBUG (connectionpool:383) "GET /v2.0 HTTP/1.1" 200 230
DEBUG (session:215) RESP: [200] content-length: 230 content-encoding: gzip vary: X-Auth-Token,Accept-Encoding server: Apache/2.4.6 (CentOS) connection: close date: Sun, 20 Dec 2015 05:31:49 GMT content-type: application/json x-openstack-request-id: req-b0d0e036-271e-4645-9b88-72520cd6fde3
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://192.168.1.101:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
DEBUG (v2:86) Making authentication request to http://192.168.1.101:5000/v2.0/tokens
INFO (connectionpool:238) Resetting dropped connection: 192.168.1.101
DEBUG (connectionpool:383) "POST /v2.0/tokens HTTP/1.1" 200 987
DEBUG (session:198) REQ: curl -g -i -X GET http://192.168.1.101:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}568a80dbce1602644073a3c123c4018fb502afb0"
INFO (connectionpool:203) Starting new HTTP connection (1): 192.168.1.101
DEBUG (connectionpool:383) "GET /v2/ HTTP/1.1" 200 378
DEBUG (session:215) RESP: [200] date: Sun, 20 Dec 2015 05:31:50 GMT connection: keep-alive content-type: application/json content-length: 378 x-compute-request-id: req-37898050-ecc4-45df-94bd-3e0d2f7f7a3a
RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://192.168.1.101:8774/v2/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}
DEBUG (session:198) REQ: curl -g -i -X POST http://192.168.1.101:8774/v2/313b59f9fd764834bdf102d5ece898ac/os-keypairs -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}568a80dbce1602644073a3c123c4018fb502afb0" -d '{"keypair": {"name": "testadm"}}'
DEBUG (connectionpool:383) "POST /v2/313b59f9fd764834bdf102d5ece898ac/os-keypairs HTTP/1.1" 400 99
DEBUG (session:215) RESP: [400] date: Sun, 20 Dec 2015 05:31:50 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 99 x-compute-request-id: req-9de7cb8b-63d3-4bac-b338-66f783967bb6
RESP BODY: {"badRequest": {"message": "Keypair data is invalid: failed to generate fingerprint", "code": 400}}
DEBUG (shell:905) Keypair data is invalid: failed to generate fingerprint (HTTP 400) (Request-ID: req-9de7cb8b-63d3-4bac-b338-66f783967bb6)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 903, in main
OpenStackComputeShell().main(argv)
File "/usr/lib ...