Comment 5 for bug 925731

Revision history for this message
Sateesh Bodla (sateesh-bodla) wrote :

I am trying to reproduce the bug. I got 404 Not Found exception even when the key present. Please find below the traceball of my commands:

root@vmessex198:~# nova keypair-add key1
-----BEGIN RSA PRIVATE KEY-----
<Private Key Here>
-----END RSA PRIVATE KEY-----

root@vmessex198:~# nova keypair-list
+------+-------------------------------------------------+
| Name | Fingerprint |
+------+-------------------------------------------------+
| key1 | <fingerprint here> |
+------+-------------------------------------------------+
root@vmessex198:~# curl -i -H "X-Auth-Token: <my auth token>" http://10.233.53.198:8774/v1.1/cloudproject/os-keypairs/key1
HTTP/1.1 404 Not Found
Via: 1.1 HYSPROXY1
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 78
Date: Fri, 06 Apr 2012 12:04:18 GMT
Content-Type: application/json; charset=UTF-8

{"itemNotFound": {"message": "The resource could not be found.", "code": 404}}

Please let me know if I am going in correct way.

Regards,
Sateesh B.