Re: Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-10-21 Thread ASF Subversion and Git Services
/heads/master from Harikrishna Patnala [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=54e365d ] CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key) Changing the response object of register and list ssh keypairs APIs Signed-off-by: Koushik Das

Re: Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-10-21 Thread ASF Subversion and Git Services
/heads/4.2 from Harikrishna Patnala [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f973114 ] CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key) Changing the response object of register and list ssh keypairs APIs Signed-off-by: Koushik Das - ASF

Re: Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-10-21 Thread Koushik Das
t. 21, 2013, 5:14 a.m.) > > > Review request for cloudstack and Koushik Das. > > > Bugs: CLOUDSTACK-4493 > https://issues.apache.org/jira/browse/CLOUDSTACK-4493 > > > Repository: cloudstack-git > > > Description > --- > > CLOUDSTACK-4493: r

Re: Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-10-20 Thread Harikrishna Patnala
Das. Bugs: CLOUDSTACK-4493 https://issues.apache.org/jira/browse/CLOUDSTACK-4493 Repository: cloudstack-git Description --- CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key) Changing the response object of register and list ssh keypairs APIs

Re: Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-10-20 Thread Harikrishna Patnala
Das. Bugs: CLOUDSTACK-4493 https://issues.apache.org/jira/browse/CLOUDSTACK-4493 Repository: cloudstack-git Description --- CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key) Changing the response object of register and list ssh keypairs APIs

Re: Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-10-20 Thread Harikrishna Patnala
Das. Bugs: CLOUDSTACK-4493 https://issues.apache.org/jira/browse/CLOUDSTACK-4493 Repository: cloudstack-git Description --- CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key) Changing the response object of register and list ssh keypairs APIs

Re: Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-10-19 Thread Harikrishna Patnala
ated Oct. 18, 2013, 12:43 p.m.) > > > Review request for cloudstack and Koushik Das. > > > Bugs: CLOUDSTACK-4493 > https://issues.apache.org/jira/browse/CLOUDSTACK-4493 > > > Repository: cloudstack-git > > > Description > --- > > CLO

Re: Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-10-19 Thread Koushik Das
(Updated Oct. 18, 2013, 12:43 p.m.) > > > Review request for cloudstack and Koushik Das. > > > Bugs: CLOUDSTACK-4493 > https://issues.apache.org/jira/browse/CLOUDSTACK-4493 > > > Repository: cloudstack-git > > > Description > --- > > CLOUDST

Re: Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-10-18 Thread Harikrishna Patnala
Das. Bugs: CLOUDSTACK-4493 https://issues.apache.org/jira/browse/CLOUDSTACK-4493 Repository: cloudstack-git Description --- CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key) Changing the response object of register and list ssh keypairs APIs

Review Request 14305: CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key)

2013-09-23 Thread Harikrishna Patnala
Repository: cloudstack-git Description --- CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key) Changing the response object of register and list ssh keypairs APIs Diffs - api/src/org/apache/cloudstack/api/command/user/ssh/CreateSSHKeyPairCmd.java

Re: registerSSHKeyPair

2013-08-25 Thread Harikrishna Patnala
I have created a bug ticket for tracking https://issues.apache.org/jira/browse/CLOUDSTACK-4493 and this needs to be resolved. -Harikrishna On 23-Aug-2013, at 6:41 PM, Chip Childers wrote: > On Thu, Aug 22, 2013 at 08:33:42AM -0400, Sebastien Goasguen wrote: >> >> On Aug 22, 2013, at 7:57 AM,

Re: registerSSHKeyPair

2013-08-23 Thread Chip Childers
On Thu, Aug 22, 2013 at 08:33:42AM -0400, Sebastien Goasguen wrote: > > On Aug 22, 2013, at 7:57 AM, Harikrishna Patnala > wrote: > > > We generate docs based on the response object. Since we use the same > > response object for create/register ssh key pair APIs, doc shows same > > return val

Re: registerSSHKeyPair

2013-08-22 Thread Sebastien Goasguen
; it's not returned at all.. >> >> so even if it's stored as null in the db, the apidoc should not say it >> returns 'privatkey' >> >> thoughts ? >> >> On Aug 22, 2013, at 5:31 AM, Wei ZHOU wrote: >> >>> *privatekey is

Re: registerSSHKeyPair

2013-08-22 Thread Harikrishna Patnala
wrote: > >> *privatekey is set to null if registerSSHKeyPair >> * >> >> >> 2013/8/22 Sebastien Goasguen >> >>> Hi folks, >>> >>> I am troubled by: >>> >>> http://cloudstack.apache.org/docs/api/apidocs-4.1/user/regi

Re: registerSSHKeyPair

2013-08-22 Thread Sebastien Goasguen
it's not returned at all.. so even if it's stored as null in the db, the apidoc should not say it returns 'privatkey' thoughts ? On Aug 22, 2013, at 5:31 AM, Wei ZHOU wrote: > *privatekey is set to null if registerSSHKeyPair > * > > > 2013/8/22 Sebastien

Re: registerSSHKeyPair

2013-08-22 Thread Wei ZHOU
*privatekey is set to null if registerSSHKeyPair * 2013/8/22 Sebastien Goasguen > Hi folks, > > I am troubled by: > > http://cloudstack.apache.org/docs/api/apidocs-4.1/user/registerSSHKeyPair.html > > It says that it returns the private key . This can't be

Re: registerSSHKeyPair

2013-08-22 Thread Harikrishna Patnala
Hi, RegisterSSHKey API is used when we have SSH key pair and if we want to register that key pair in Cloudstack. So when we provide public key it just calculates fingerprint and registers the SSH key pair. CS doesn't know about private key. It just returns null as private key. Our doc is showi

Re: registerSSHKeyPair

2013-08-22 Thread Antonio Petrocelli
Hello, you have to use the keypair with: http://cloudstack.apache.org/docs/api/apidocs-4.1/domain_admin/resetSSHKeyForVirtualMachine.html for reset on vm Il 22/08/2013 10:51, Sebastien Goasguen ha scritto: Hi folks, I am troubled by: http://cloudstack.apache.org/docs/api/apidocs-4.1/user/reg

registerSSHKeyPair

2013-08-22 Thread Sebastien Goasguen
Hi folks, I am troubled by: http://cloudstack.apache.org/docs/api/apidocs-4.1/user/registerSSHKeyPair.html It says that it returns the private key . This can't be right. I tried it with cloudmonkey and it does not return the private key (does not know it..) Unless I am missing something with w