GitHub user kansal opened a pull request:

    https://github.com/apache/cloudstack/pull/685

    CLOUDSTACK-8727: API call listVirtualMachines returns same keypair

    Currently the user can register same key with different names. Upon listing 
the VM's the name which got registered first is being returned and not the 
actual one. Anyhow this behavior is rare and not good. I have added a UNIQUE 
constraint on the ssh_keypairs table and also made sure that the previous 
registered keys(with duplicates) get deleted.  

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kansal/cloudstack CLOUDSTACK-8727

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/685.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #685
    
----
commit ee45f299f4df9b51ba3c530a9770392780a33dd5
Author: Kshitij Kansal <kshitij.kan...@citrix.com>
Date:   2015-08-12T12:07:48Z

    CLOUDSTACK-8727: API call listVirtualMachines returns same keypair

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to