Ask Your Question
0

Can not create keypair

asked 2013-02-26 22:00:01 -0500

dsx-a gravatar image

Hello

i don' create keypair.

This error :

2013-02-26 22:58:39 DEBUG nova.utils [-] Reloading cached file /etc/nova/policy.json from (pid=962) read_cached_file /usr/lib/python2.7/site-packages/nova/utils.py:1129 2013-02-26 22:58:39 INFO nova.api.openstack.wsgi [req-b5fead13-3ef7-4b7d-a01a-15ed8e8eec6c a3a617a7d5e44ef0b73156b14ed59884 f66770a2a3e64ce89455abf91ba2fa61] POST http://172.16.10.190:8774/v2/f66770a2a3e64ce89455abf91ba2fa61/os-keypairs (http://172.16.10.190:8774/v2/f66770a2...) 2013-02-26 22:58:39 DEBUG nova.utils [req-b5fead13-3ef7-4b7d-a01a-15ed8e8eec6c a3a617a7d5e44ef0b73156b14ed59884 f66770a2a3e64ce89455abf91ba2fa61] backend from (pid=962) __get_backend /usr/lib/python2.7/site-packages/nova/utils.py:494 2013-02-26 22:58:39 DEBUG nova.utils [req-b5fead13-3ef7-4b7d-a01a-15ed8e8eec6c a3a617a7d5e44ef0b73156b14ed59884 f66770a2a3e64ce89455abf91ba2fa61] Running cmd (subprocess): ssh-keygen -q -b 1024 -N -t rsa -f /tmp/tmpBc795C/temp -C Generated by Nova from (pid=962) execute /usr/lib/python2.7/site-packages/nova/utils.py:176 2013-02-26 22:58:39 ERROR nova.api.openstack [req-b5fead13-3ef7-4b7d-a01a-15ed8e8eec6c a3a617a7d5e44ef0b73156b14ed59884 f66770a2a3e64ce89455abf91ba2fa61] Caught error: [Errno 2] No such file or directory 2013-02-26 22:58:39 TRACE nova.api.openstack Traceback (most recent call last): 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 78, in __call__ 2013-02-26 22:58:39 TRACE nova.api.openstack return req.get_response(self.application) 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1053, in get_response 2013-02-26 22:58:39 TRACE nova.api.openstack application, catch_exc_info=False) 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1022, in call_application 2013-02-26 22:58:39 TRACE nova.api.openstack app_iter = application(self.environ, start_response) 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 159, in __call__ 2013-02-26 22:58:39 TRACE nova.api.openstack return resp(environ, start_response) 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystone/middleware/auth_token.py", line 278, in __call__ 2013-02-26 22:58:39 TRACE nova.api.openstack return self.app(env, start_response) 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 159, in __call__ 2013-02-26 22:58:39 TRACE nova.api.openstack return resp(environ, start_response) 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 159, in __call__ 2013-02-26 22:58:39 TRACE nova.api.openstack return resp(environ, start_response) 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 159, in __call__ 2013-02-26 22:58:39 TRACE nova.api.openstack return resp(environ, start_response) 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__ 2013-02-26 22:58:39 TRACE nova.api.openstack response = self.app(environ, start_response) 2013-02-26 22:58:39 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 159, in __call__ 2013-02-26 22:58:39 TRACE nova.api.openstack return resp(environ, start_response) 2013-02-26 22 ... (more)

edit retag flag offensive close merge delete

8 answers

Sort by » oldest newest most voted
0

answered 2013-02-27 23:59:10 -0500

zzs gravatar image

Are you sure the account has the privilege to access the /tmp and sub-directory.

edit flag offensive delete link more
0

answered 2013-02-28 00:45:49 -0500

zzs gravatar image

Please feel free to find some free free image hosting service and upload you image and put link here, everyone here are very glad to help.

edit flag offensive delete link more
0

answered 2013-02-28 01:21:28 -0500

zzs gravatar image

Sorry, Please skip the comment #5

edit flag offensive delete link more
0

answered 2013-02-28 07:35:39 -0500

dsx-a gravatar image

drwxrwxrwt 4 root root 4096 févr. 28 08:31 tmp

edit flag offensive delete link more
0

answered 2013-02-27 03:13:22 -0500

zzs gravatar image

When did you get this error, can you give more detail or background information?

edit flag offensive delete link more
0

answered 2013-02-27 07:26:49 -0500

dsx-a gravatar image

I get this error when I want to create a keypair by horizon

Do you think OpenStack not find my ssh-keygen?

How do I know? ssh-keygen is in my $ PATH environment variable

thanks

edit flag offensive delete link more
0

answered 2013-02-27 08:30:34 -0500

dsx-a gravatar image

error of horizon dashboard

http://i69.servimg.com/u/f69/17/74/93/50/2013-010.png (http://i69.servimg.com/u/f69/17/74/93...)

edit flag offensive delete link more
0

answered 2013-02-28 15:11:52 -0500

dsx-a gravatar image

it's ok

31627 execve("/bin/ssh-keygen", ["ssh-keygen", "-q", "-b", "1024", "-N", "", "-t", "rsa", "-f", "/tmp/tmpJvI4Vp/temp", "-C", "Generated by Nova"], [/* 24 vars /]) = -1 ENOENT (No such file or directory) 31627 execve("/usr/bin/ssh-keygen", ["ssh-keygen", "-q", "-b", "1024", "-N", "", "-t", "rsa", "-f", "/tmp/tmpJvI4Vp/temp", "-C", "Generated by Nova"], [/ 24 vars /]) = -1 ENOENT (No such file or directory) 31627 execve("/sbin/ssh-keygen", ["ssh-keygen", "-q", "-b", "1024", "-N", "", "-t", "rsa", "-f", "/tmp/tmpJvI4Vp/temp", "-C", "Generated by Nova"], [/ 24 vars /]) = -1 ENOENT (No such file or directory) 31627 execve("/usr/sbin/ssh-keygen", ["ssh-keygen", "-q", "-b", "1024", "-N", "", "-t", "rsa", "-f", "/tmp/tmpJvI4Vp/temp", "-C", "Generated by Nova"], [/ 24 vars */]) = -1 ENOENT (No such file or directory)

ln -s /opt/openssh/bin/ssh-keygen /usr/bin/ssh-keygen

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-02-26 22:00:01 -0500

Seen: 48 times

Last updated: Feb 28 '13