cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5198) Cannot register SSH key through the ReST API
Date Tue, 19 Nov 2013 13:17:21 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826481#comment-13826481
] 

Christophe commented on CLOUDSTACK-5198:
----------------------------------------

I got the problem the publickey sent had a carriage return character at the end. This character
caused the error.
Checking keys to remove carriage returns before sending solves the problem.

Should carriage returns be also managed by CloudStack API?

> Cannot register SSH key through the ReST API
> --------------------------------------------
>
>                 Key: CLOUDSTACK-5198
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5198
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API, Management Server
>    Affects Versions: 4.1.0
>            Reporter: Christophe
>            Priority: Critical
>
> I get a strange error with CS 4.1: User Key Error : Received value for parameter publickey
is invalid, contains illegal ASCII non-printable characters
> I used that with CS 3. Is there any issue about ssk key registration through the rest
API?
> It looks like the problem was introduced by https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ed06c16
and quite similar to https://issues.apache.org/jira/browse/CLOUDSTACK-3362.
> Thanks for any help (fix, workaround),
> Christophe.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message