[
https://issues.apache.org/jira/browse/CLOUDSTACK-9136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15054578#comment-15054578
]
ASF GitHub Bot commented on CLOUDSTACK-9136:
--------------------------------------------
Github user borisroman commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/1212#discussion_r47435698
--- Diff: server/test/com/cloud/user/AccountManagerImplTest.java ---
@@ -185,6 +186,8 @@
@Mock
GlobalLoadBalancerRuleDao _gslbRuleDao;
@Mock
+ SSHKeyPairDao _sshKeyPairDao;
--- End diff --
You've added _sshKeyPairDao here. Without using it! Could you please write
a test for the functionality you improved?
> SSH keypairs are left and cannot be removed after removing account
> ------------------------------------------------------------------
>
> Key: CLOUDSTACK-9136
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9136
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Wei Zhou
> Assignee: Wei Zhou
>
> When we remove an account who have some ssh keypairs created/registered, the
> keypairs are left in cloudstack, we can still list it in Account->SSH Keypair
> page, but cannot remove them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)