cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-5198) Cannot register SSH key through the ReST API
Date Mon, 23 Mar 2015 09:39:11 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rohit Yadav closed CLOUDSTACK-5198.
-----------------------------------
    Resolution: Not a Problem

[~demarey] - register publickey API accepts publickey string arg and it should not have a
newline as it breaks . How are you registering user ssh keys, you may wrap your scripts to
use cloudmonkey to do the job for you? The way we handle API requests is generic so we cannot
fix it for a specific API, we may though fix for all APIs which can have side effects. I think
CloudStack API should not account for cleaning user arg/inputs. Reopen if you've a use-case
we should support.

> Cannot register SSH key through the ReST API
> --------------------------------------------
>
>                 Key: CLOUDSTACK-5198
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5198
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API, Management Server
>    Affects Versions: 4.1.0
>            Reporter: Christophe
>            Assignee: Rohit Yadav
>            Priority: Minor
>
> 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.3.4#6332)

Mime
View raw message