cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karuturi <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Fixed user_vm_view to only display keypai...
Date Fri, 30 Oct 2015 10:52:00 GMT
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:
    ![screen shot 2015-10-30 at 3 30 01 pm](https://cloud.githubusercontent.com/assets/186833/10843914/f732beee-7f21-11e5-9682-c5207f3c4dfd.png)
    
    
    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
    ![screen shot 2015-10-30 at 3 37 13 pm](https://cloud.githubusercontent.com/assets/186833/10843965/374adcc8-7f22-11e5-8e06-65a22040e5d4.png)
    
    :+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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message