Github user karuturi commented on the pull request:
https://github.com/apache/cloudstack/pull/1006#issuecomment-152493863
Manual Testing:
Before:
ssh_keypairs
```
mysql> select * from ssh_keypairs;
+----+------------+-----------+--------------+-------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | account_id | domain_id | keypair_name | fingerprint
| public_key
|
+----+------------+-----------+--------------+-------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 1 | 60 | 3 | rajani |
60:f3:cb:9b:c4:b8:c1:cd:36:13:3a:28:17:26:01:b2 | ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgQDo6DcY9r8Br56JUD2Vv33KNiieElPQV0+Qepz+8lGHlIlYn8I2ubXcVOrGBtET6JGlHqVlSmjKEjeHXcvILPZsxxMjGX4skPQtBVOaH1kQcYU2YpYxxm5piQPpOo263AkWmQrfBb/W0n8ChWfOuBSYvbpzdqATsQUGnNCQuthBKQ==
|
| 3 | 62 | 3 | bharat |
69:72:47:63:10:aa:76:37:d9:fc:c2:51:66:1e:b9:93 | ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgQDo6DcY9r8Br56JUD2Vv33KNiieElPQV0+Qepz+8lGHlIlYn8I2ubXcVOrGBtET6JGlHqVlSmjKEjeHXcvILPZsxxMjGX4skPQtBVOaH1kQcYU2YpYxxm5piQPpOo263AkWmQrfBb/W0n8ChWfOuBSYvbpzdqATsQUGnNCQuthBKQ==
|
+----+------------+-----------+--------------+-------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
```
user_vm_view;
```
mysql> select id,name,account_name,keypair_name from user_vm_view;
+----+------+--------------+--------------+
| id | name | account_name | keypair_name |
+----+------+--------------+--------------+
| 67 | rvm1 | rajanik | rajani |
| 68 | bvm1 | bharatk | rajani |
| 67 | rvm1 | rajanik | bharat |
| 68 | bvm1 | bharatk | bharat |
+----+------+--------------+--------------+
```
Ui vm screenshot:

1. checked out the PR
2. did mvn clean install -Pdeveloper,systemvm on an existing setup
3. manually ran the drop view and create view query
4. start jetty mvn -pl client jetty:run -o
After the change.
```
user_vm_view
mysql> select id,name,account_name,keypair_name from user_vm_view;
+----+------+--------------+--------------+
| id | name | account_name | keypair_name |
+----+------+--------------+--------------+
| 67 | rvm1 | rajanik | rajani |
| 68 | bvm1 | bharatk | bharat |
+----+------+--------------+--------------+
2 rows in set (0.00 sec)
```
UI Vm screenshot

:+1:
Can you create an issue for this in jira and add it to the commit message
please?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---