openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #21614
Keypair name - unsupported chars?
Hi all,
I've just found that nova only accepts alphanumeric chars for keypair
name, but it's giving an unclear message when you try to create a
keypair using a non-alphanumeric char:
(cloud)antonio@kenny:~$ nova keypair-add a/b --pub-key ~/.ssh/id_dsa.pub
ERROR: Keypair data is invalid (HTTP 400) (Request-ID:
req-5617dbb4-1c92-435b-ba88-7bcee5684f21)
(cloud)antonio@kenny:~$ nova keypair-add a.b --pub-key ~/.ssh/id_dsa.pub
ERROR: Keypair data is invalid (HTTP 400) (Request-ID:
req-54078fcf-f8b1-4268-ba9e-3f20f79ce995)
(cloud)antonio@kenny:~$ nova keypair-add a,b --pub-key ~/.ssh/id_dsa.pub
ERROR: Keypair data is invalid (HTTP 400) (Request-ID:
req-29bc9b76-83b3-42e4-8af2-ff9dd28c9149)
(cloud)antonio@kenny:~$ nova keypair-add a:b --pub-key ~/.ssh/id_dsa.pub
ERROR: Keypair data is invalid (HTTP 400) (Request-ID:
req-87a32c9e-0f90-4fb9-b380-4d34c4f2df50)
is this a "knew" feature or should I open a bug?
This has been tested on folsom/ubuntu.
.a.
--
antonio.s.messina@xxxxxxxxx
GC3: Grid Computing Competence Center
http://www.gc3.uzh.ch/
University of Zurich
Winterthurerstrasse 190
CH-8057 Zurich Switzerland
Follow ups