cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8727) API call listVirtualMachines returns same keypair
Date Thu, 13 Aug 2015 05:24:45 GMT


ASF GitHub Bot commented on CLOUDSTACK-8727:

Github user kansal commented on the pull request:
    @kishankavala  The current implementation of the createSSHKeyPair checks for the keypair-name
in the table ssh_keypairs and if that name exists it will return "A keypair with the <name>
exists." But at the time of inserting the keypairs it will not insert the same key once again
because of the UNIQUE constraint that is added in the above commit. So In a way the duplication
problem is automatically checked. 

> API call listVirtualMachines returns same keypair
> -------------------------------------------------
>                 Key: CLOUDSTACK-8727
>                 URL:
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Kshitij Kansal
> If you register 2 SSH keypairs with the same public key then listVirtualMachines API
call will only return the first keypair. Although its a very rare case and generally don't
make much sense by registering the same key with different name, still it can be fixed. 

This message was sent by Atlassian JIRA

View raw message