cloudstack-issues mailing list archives

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

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

ASF GitHub Bot commented on CLOUDSTACK-8727:
--------------------------------------------

Github user kansal commented on the pull request:

    https://github.com/apache/cloudstack/pull/685#issuecomment-130539282
  
    @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: https://issues.apache.org/jira/browse/CLOUDSTACK-8727
>             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
(v6.3.4#6332)

Mime
View raw message