You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by karuturi <gi...@git.apache.org> on 2015/10/14 06:07:07 UTC

[GitHub] cloudstack pull request: [4.7] secure and hidden config values are...

GitHub user karuturi opened a pull request:

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

    [4.7] secure and hidden config values are returned as plaintext string

    secure and hidden config values are first unencrypted before returning
    them in the api. This is not desired as they are secure configs
    returning encrypted strings for secure and hidden configs if encryption
    is enabled.
    
    Will update the test results/testing later.

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

    $ git pull https://github.com/karuturi/cloudstack secure-configs

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

    https://github.com/apache/cloudstack/pull/927.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 #927
    
----
commit 1e4ea03fe86e976507929cb54dd0a3cba9f6bb13
Author: Rajani Karuturi <ra...@citrix.com>
Date:   2015-10-06T10:33:22Z

    secure and hidden config values are returned as plaintext string
    
    secure and hidden config values are first unencrypted before returning
    them in the api. This is not desired as they are secure configs
    returning encrypted strings for secure and hidden configs if encryption
    is enabled.

----


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by rhtyd <gi...@git.apache.org>.
Github user rhtyd commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    LGTM.


---
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.
---

[GitHub] cloudstack pull request: [4.7] secure and hidden config values are...

Posted by remibergsma <gi...@git.apache.org>.
Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/927#issuecomment-152284702
  
    @karuturi I tested the `test_vpc_site2site_vpn ` two more times, and it keeps failing. The same tests on master succeeds and also on other branches I recently tested. Can you please investigate?
    
    ```
    nosetests --with-marvin --marvin-config=${marvinCfg} -s -a tags=advanced,required_hardware=false smoke/test_vpc_vpn.py 
    ```
    
    Result:
    ```
    Test Remote Access VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS ===
    ok
    Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : FAILED ===
    FAIL
    
    ======================================================================
    FAIL: Test VPN in VPC
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/data/git/cs1/cloudstack/test/integration/smoke/test_vpc_vpn.py", line 691, in test_vpc_site2site_vpn
        self.assert_(int(packet_loss) == 0, "Ping did not succeed")
    AssertionError: Ping did not succeed
    ```
    
    ```
    paramiko.transport: DEBUG: [chan 0] EOF received (0)
    sshClient: DEBUG: {Cmd: /bin/ping -c 3 -t 10 10.1.1.220 |grep packet|cut -d ' ' -f 7| cut -f1 -d'%' via Host: 192.168.23.6} {returns: [u'100']}
    paramiko.transport: DEBUG: [chan 0] EOF sent (0)
    test_vpc_site2site_vpn (integration.smoke.test_vpc_vpn.TestVpcSite2SiteVpn): CRITICAL: FAILED: test_vpc_site2site_vpn: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/data/git/cs1/cloudstack/test/integration/smoke/test_vpc_vpn.py", line 691, in test_vpc_site2site_vpn\n    self.assert_(int(packet_loss) == 0, "Ping did not succeed")\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 462, in assertTrue\n    raise self.failureException(msg)\n', 'AssertionError: Ping did not succeed\n']
    --------------------- >> end captured logging << ---------------------
    
    ----------------------------------------------------------------------
    Ran 2 tests in 1556.005s
    
    FAILED (failures=1)
    ```


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by borisstoyanov <gi...@git.apache.org>.
Github user borisstoyanov commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    @blueorangutan package


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by blueorangutan <gi...@git.apache.org>.
Github user blueorangutan commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    @borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by blueorangutan <gi...@git.apache.org>.
Github user blueorangutan commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    @borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by karuturi <gi...@git.apache.org>.
Github user karuturi commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    @serg38 Thanks for filtering the error :) My tests run has been with encryption disabled. I think trillion runs with db encryption enabled. I will check on how I can decrypt the value in tests.


---
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.
---

[GitHub] cloudstack pull request: [4.7] secure and hidden config values are...

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/927#issuecomment-153688690
  
    I'm not sure the best to deal with it, but I would avoid putting extra security if that gets into the way of tuning the system.


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by serg38 <gi...@git.apache.org>.
Github user serg38 commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    @karuturi 
    
    Smoke test test_internal_lb.py  uses  a value of network.loadbalancer.haproxy.stats.auth which is encrypted for haproxy checks. 
    
    settings["username"], settings["password"] = Configurations.list(
                    self.apiclient, name="network.loadbalancer.haproxy.stats.auth")[0].value.split(":")
    
    Looks like the test needs to be reworked to support decryption. 
    
    test_04_rvpc_internallb_haproxy_stats_on_all_interfaces (tests.smoke.test_internal_lb.TestInternalLb): DEBUG: ========Sending GET Cmd : listConfigurations=======
    requests.packages.urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): 10.2.2.74
    requests.packages.urllib3.connectionpool: DEBUG: http://10.2.2.74:8080 "GET /client/api?apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=network.loadbalancer.haproxy.stats.auth&command=listConfigurations&signature=CIbKLFE4BGTK3QsvDeeO3Aux0nY%3D&response=json HTTP/1.1" 200 266
    test_04_rvpc_internallb_haproxy_stats_on_all_interfaces (tests.smoke.test_internal_lb.TestInternalLb): DEBUG: Response : [{category : u'Secure', name : u'network.loadbalancer.haproxy.stats.auth', value : u'fjtpluk/LdwnvDx4FKo1z1JRAZTaW1Td', description : u'Load Balancer(haproxy) authetication string in the format username:password'}]
    test_04_rvpc_internallb_haproxy_stats_on_all_interfaces (tests.smoke.test_internal_lb.TestInternalLb): CRITICAL: EXCEPTION: test_04_rvpc_internallb_haproxy_stats_on_all_interfaces: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_internal_lb.py", line 784, in test_04_rvpc_internallb_haproxy_stats_on_all_interfaces\n    self.execute_internallb_haproxy_tests(redundant_vpc_offering)\n', '  File "/marvin/tests/smoke/test_internal_lb.py", line 788, in execute_internallb_haproxy_tests\n    settings = self.get_lb_stats_settings()\n', '  File "/marvin/tests/smoke/test_internal_lb.py", line 714, in get_lb_stats_settings\n    self.fail("Failed to retrieve stats settings " % e)\n', 'TypeError: not all arguments converted during string formatting\n']


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by blueorangutan <gi...@git.apache.org>.
Github user blueorangutan commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    <b>Trillian test result (tid-816)</b>
    Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
    Total time taken: 34139 seconds
    Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr927-t816-kvm-centos7.zip
    Intermitten failure detected: /marvin/tests/smoke/test_internal_lb.py
    Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
    Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
    Test completed. 47 look ok, 2 have error(s)
    
    
    Test | Result | Time (s) | Test File
    --- | --- | --- | ---
    test_04_rvpc_privategw_static_routes | `Failure` | 335.42 | test_privategw_acl.py
    test_04_rvpc_internallb_haproxy_stats_on_all_interfaces | `Error` | 5.25 | test_internal_lb.py
    test_03_vpc_internallb_haproxy_stats_on_all_interfaces | `Error` | 5.25 | test_internal_lb.py
    test_01_vpc_site2site_vpn | Success | 164.87 | test_vpc_vpn.py
    test_01_vpc_remote_access_vpn | Success | 66.24 | test_vpc_vpn.py
    test_01_redundant_vpc_site2site_vpn | Success | 261.06 | test_vpc_vpn.py
    test_02_VPC_default_routes | Success | 272.02 | test_vpc_router_nics.py
    test_01_VPC_nics_after_destroy | Success | 537.68 | test_vpc_router_nics.py
    test_05_rvpc_multi_tiers | Success | 506.98 | test_vpc_redundant.py
    test_04_rvpc_network_garbage_collector_nics | Success | 1401.04 | test_vpc_redundant.py
    test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | Success | 553.90 | test_vpc_redundant.py
    test_02_redundant_VPC_default_routes | Success | 755.09 | test_vpc_redundant.py
    test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Success | 1279.89 | test_vpc_redundant.py
    test_09_delete_detached_volume | Success | 156.43 | test_volumes.py
    test_08_resize_volume | Success | 151.30 | test_volumes.py
    test_07_resize_fail | Success | 161.50 | test_volumes.py
    test_06_download_detached_volume | Success | 156.28 | test_volumes.py
    test_05_detach_volume | Success | 155.78 | test_volumes.py
    test_04_delete_attached_volume | Success | 151.21 | test_volumes.py
    test_03_download_attached_volume | Success | 156.29 | test_volumes.py
    test_02_attach_volume | Success | 94.50 | test_volumes.py
    test_01_create_volume | Success | 711.50 | test_volumes.py
    test_03_delete_vm_snapshots | Success | 275.20 | test_vm_snapshots.py
    test_02_revert_vm_snapshots | Success | 100.67 | test_vm_snapshots.py
    test_01_create_vm_snapshots | Success | 163.73 | test_vm_snapshots.py
    test_deploy_vm_multiple | Success | 247.47 | test_vm_life_cycle.py
    test_deploy_vm | Success | 0.03 | test_vm_life_cycle.py
    test_advZoneVirtualRouter | Success | 0.02 | test_vm_life_cycle.py
    test_10_attachAndDetach_iso | Success | 26.63 | test_vm_life_cycle.py
    test_09_expunge_vm | Success | 125.21 | test_vm_life_cycle.py
    test_08_migrate_vm | Success | 41.12 | test_vm_life_cycle.py
    test_07_restore_vm | Success | 0.15 | test_vm_life_cycle.py
    test_06_destroy_vm | Success | 125.76 | test_vm_life_cycle.py
    test_03_reboot_vm | Success | 125.78 | test_vm_life_cycle.py
    test_02_start_vm | Success | 10.16 | test_vm_life_cycle.py
    test_01_stop_vm | Success | 40.30 | test_vm_life_cycle.py
    test_CreateTemplateWithDuplicateName | Success | 45.49 | test_templates.py
    test_08_list_system_templates | Success | 0.03 | test_templates.py
    test_07_list_public_templates | Success | 0.03 | test_templates.py
    test_05_template_permissions | Success | 0.05 | test_templates.py
    test_04_extract_template | Success | 5.14 | test_templates.py
    test_03_delete_template | Success | 5.10 | test_templates.py
    test_02_edit_template | Success | 90.17 | test_templates.py
    test_01_create_template | Success | 40.41 | test_templates.py
    test_10_destroy_cpvm | Success | 161.77 | test_ssvm.py
    test_09_destroy_ssvm | Success | 138.62 | test_ssvm.py
    test_08_reboot_cpvm | Success | 101.53 | test_ssvm.py
    test_07_reboot_ssvm | Success | 133.47 | test_ssvm.py
    test_06_stop_cpvm | Success | 131.71 | test_ssvm.py
    test_05_stop_ssvm | Success | 163.59 | test_ssvm.py
    test_04_cpvm_internals | Success | 1.20 | test_ssvm.py
    test_03_ssvm_internals | Success | 3.23 | test_ssvm.py
    test_02_list_cpvm_vm | Success | 0.11 | test_ssvm.py
    test_01_list_sec_storage_vm | Success | 0.12 | test_ssvm.py
    test_01_snapshot_root_disk | Success | 11.24 | test_snapshots.py
    test_04_change_offering_small | Success | 240.58 | test_service_offerings.py
    test_03_delete_service_offering | Success | 0.06 | test_service_offerings.py
    test_02_edit_service_offering | Success | 0.05 | test_service_offerings.py
    test_01_create_service_offering | Success | 0.10 | test_service_offerings.py
    test_02_sys_template_ready | Success | 0.13 | test_secondary_storage.py
    test_01_sys_vm_start | Success | 0.17 | test_secondary_storage.py
    test_09_reboot_router | Success | 35.29 | test_routers.py
    test_08_start_router | Success | 30.26 | test_routers.py
    test_07_stop_router | Success | 10.18 | test_routers.py
    test_06_router_advanced | Success | 0.05 | test_routers.py
    test_05_router_basic | Success | 0.04 | test_routers.py
    test_04_restart_network_wo_cleanup | Success | 5.70 | test_routers.py
    test_03_restart_network_cleanup | Success | 60.55 | test_routers.py
    test_02_router_internal_adv | Success | 1.01 | test_routers.py
    test_01_router_internal_basic | Success | 0.58 | test_routers.py
    test_router_dns_guestipquery | Success | 76.73 | test_router_dns.py
    test_router_dns_externalipquery | Success | 0.07 | test_router_dns.py
    test_router_dhcphosts | Success | 278.32 | test_router_dhcphosts.py
    test_router_dhcp_opts | Success | 21.69 | test_router_dhcphosts.py
    test_01_updatevolumedetail | Success | 0.07 | test_resource_detail.py
    test_01_reset_vm_on_reboot | Success | 130.89 | test_reset_vm_on_reboot.py
    test_createRegion | Success | 0.04 | test_regions.py
    test_create_pvlan_network | Success | 5.23 | test_pvlan.py
    test_dedicatePublicIpRange | Success | 0.45 | test_public_ip_range.py
    test_03_vpc_privategw_restart_vpc_cleanup | Success | 490.25 | test_privategw_acl.py
    test_02_vpc_privategw_static_routes | Success | 370.07 | test_privategw_acl.py
    test_01_vpc_privategw_acl | Success | 92.12 | test_privategw_acl.py
    test_01_primary_storage_nfs | Success | 35.80 | test_primary_storage.py
    test_createPortablePublicIPRange | Success | 15.19 | test_portable_publicip.py
    test_createPortablePublicIPAcquire | Success | 15.43 | test_portable_publicip.py
    test_isolate_network_password_server | Success | 89.22 | test_password_server.py
    test_UpdateStorageOverProvisioningFactor | Success | 0.13 | test_over_provisioning.py
    test_oobm_zchange_password | Success | 30.72 | test_outofbandmanagement.py
    test_oobm_multiple_mgmt_server_ownership | Success | 16.32 | test_outofbandmanagement.py
    test_oobm_issue_power_status | Success | 10.24 | test_outofbandmanagement.py
    test_oobm_issue_power_soft | Success | 15.32 | test_outofbandmanagement.py
    test_oobm_issue_power_reset | Success | 15.32 | test_outofbandmanagement.py
    test_oobm_issue_power_on | Success | 15.33 | test_outofbandmanagement.py
    test_oobm_issue_power_off | Success | 15.39 | test_outofbandmanagement.py
    test_oobm_issue_power_cycle | Success | 15.33 | test_outofbandmanagement.py
    test_oobm_enabledisable_across_clusterzones | Success | 82.67 | test_outofbandmanagement.py
    test_oobm_enable_feature_valid | Success | 5.16 | test_outofbandmanagement.py
    test_oobm_enable_feature_invalid | Success | 0.09 | test_outofbandmanagement.py
    test_oobm_disable_feature_valid | Success | 5.17 | test_outofbandmanagement.py
    test_oobm_disable_feature_invalid | Success | 0.10 | test_outofbandmanagement.py
    test_oobm_configure_invalid_driver | Success | 0.08 | test_outofbandmanagement.py
    test_oobm_configure_default_driver | Success | 0.08 | test_outofbandmanagement.py
    test_oobm_background_powerstate_sync | Success | 23.48 | test_outofbandmanagement.py
    test_extendPhysicalNetworkVlan | Success | 15.30 | test_non_contigiousvlan.py
    test_01_nic | Success | 419.53 | test_nic.py
    test_releaseIP | Success | 268.14 | test_network.py
    test_reboot_router | Success | 413.62 | test_network.py
    test_public_ip_user_account | Success | 10.24 | test_network.py
    test_public_ip_admin_account | Success | 40.29 | test_network.py
    test_network_rules_acquired_public_ip_3_Load_Balancer_Rule | Success | 66.77 | test_network.py
    test_network_rules_acquired_public_ip_2_nat_rule | Success | 61.69 | test_network.py
    test_network_rules_acquired_public_ip_1_static_nat_rule | Success | 124.14 | test_network.py
    test_delete_account | Success | 272.87 | test_network.py
    test_02_port_fwd_on_non_src_nat | Success | 55.62 | test_network.py
    test_01_port_fwd_on_src_nat | Success | 111.76 | test_network.py
    test_nic_secondaryip_add_remove | Success | 212.53 | test_multipleips_per_nic.py
    login_test_saml_user | Success | 19.15 | test_login.py
    test_assign_and_removal_lb | Success | 138.09 | test_loadbalance.py
    test_02_create_lb_rule_non_nat | Success | 187.03 | test_loadbalance.py
    test_01_create_lb_rule_src_nat | Success | 217.54 | test_loadbalance.py
    test_03_list_snapshots | Success | 0.06 | test_list_ids_parameter.py
    test_02_list_templates | Success | 0.04 | test_list_ids_parameter.py
    test_01_list_volumes | Success | 0.03 | test_list_ids_parameter.py
    test_07_list_default_iso | Success | 0.06 | test_iso.py
    test_05_iso_permissions | Success | 0.10 | test_iso.py
    test_04_extract_Iso | Success | 5.17 | test_iso.py
    test_03_delete_iso | Success | 95.20 | test_iso.py
    test_02_edit_iso | Success | 0.08 | test_iso.py
    test_01_create_iso | Success | 21.01 | test_iso.py
    test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 | Success | 514.63 | test_internal_lb.py
    test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 | Success | 421.34 | test_internal_lb.py
    test_dedicateGuestVlanRange | Success | 10.50 | test_guest_vlan_range.py
    test_UpdateConfigParamWithScope | Success | 0.14 | test_global_settings.py
    test_rolepermission_lifecycle_update | Success | 6.16 | test_dynamicroles.py
    test_rolepermission_lifecycle_list | Success | 5.97 | test_dynamicroles.py
    test_rolepermission_lifecycle_delete | Success | 5.87 | test_dynamicroles.py
    test_rolepermission_lifecycle_create | Success | 6.01 | test_dynamicroles.py
    test_rolepermission_lifecycle_concurrent_updates | Success | 6.13 | test_dynamicroles.py
    test_role_lifecycle_update_role_inuse | Success | 5.93 | test_dynamicroles.py
    test_role_lifecycle_update | Success | 10.99 | test_dynamicroles.py
    test_role_lifecycle_list | Success | 5.89 | test_dynamicroles.py
    test_role_lifecycle_delete | Success | 10.92 | test_dynamicroles.py
    test_role_lifecycle_create | Success | 5.89 | test_dynamicroles.py
    test_role_inuse_deletion | Success | 5.86 | test_dynamicroles.py
    test_role_account_acls_multiple_mgmt_servers | Success | 8.11 | test_dynamicroles.py
    test_role_account_acls | Success | 8.50 | test_dynamicroles.py
    test_default_role_deletion | Success | 6.32 | test_dynamicroles.py
    test_04_create_fat_type_disk_offering | Success | 0.07 | test_disk_offerings.py
    test_03_delete_disk_offering | Success | 0.04 | test_disk_offerings.py
    test_02_edit_disk_offering | Success | 0.06 | test_disk_offerings.py
    test_02_create_sparse_type_disk_offering | Success | 0.07 | test_disk_offerings.py
    test_01_create_disk_offering | Success | 0.11 | test_disk_offerings.py
    test_deployvm_userdispersing | Success | 20.58 | test_deploy_vms_with_varied_deploymentplanners.py
    test_deployvm_userconcentrated | Success | 30.63 | test_deploy_vms_with_varied_deploymentplanners.py
    test_deployvm_firstfit | Success | 50.62 | test_deploy_vms_with_varied_deploymentplanners.py
    test_deployvm_userdata_post | Success | 20.45 | test_deploy_vm_with_userdata.py
    test_deployvm_userdata | Success | 55.77 | test_deploy_vm_with_userdata.py
    test_02_deploy_vm_root_resize | Success | 6.01 | test_deploy_vm_root_resize.py
    test_01_deploy_vm_root_resize | Success | 6.01 | test_deploy_vm_root_resize.py
    test_00_deploy_vm_root_resize | Success | 202.32 | test_deploy_vm_root_resize.py
    test_deploy_vm_from_iso | Success | 207.42 | test_deploy_vm_iso.py
    test_DeployVmAntiAffinityGroup | Success | 60.90 | test_affinity_groups.py
    test_01_test_vm_volume_snapshot | Skipped | 0.00 | test_vm_snapshots.py
    test_06_copy_template | Skipped | 0.00 | test_templates.py
    test_static_role_account_acls | Skipped | 0.02 | test_staticroles.py
    test_11_ss_nfs_version_on_ssvm | Skipped | 0.02 | test_ssvm.py
    test_01_scale_vm | Skipped | 0.00 | test_scale_vm.py
    test_01_primary_storage_iscsi | Skipped | 0.03 | test_primary_storage.py
    test_nested_virtualization_vmware | Skipped | 0.00 | test_nested_virtualization.py
    test_06_copy_iso | Skipped | 0.00 | test_iso.py
    test_deploy_vgpu_enabled_vm | Skipped | 0.03 | test_deploy_vgpu_enabled_vm.py
    test_3d_gpu_support | Skipped | 0.04 | test_deploy_vgpu_enabled_vm.py



---
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.
---

[GitHub] cloudstack pull request: [4.7] secure and hidden config values are...

Posted by bvbharatk <gi...@git.apache.org>.
Github user bvbharatk commented on the pull request:

    https://github.com/apache/cloudstack/pull/927#issuecomment-222581352
  
    ### ACS CI BVT Run
     **Sumarry:**
     Build Number 93
     Hypervisor xenserver
     NetworkType Advanced
     Passed=72
     Failed=1
     Skipped=3
    
    _Link to logs Folder (search by build_no):_ https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0
    
    
    **Failed tests:**
    * test_vpc_vpn.py
    
     * test_01_vpc_remote_access_vpn Failing since 2 runs
    
    
    **Skipped tests:**
    test_vm_nic_adapter_vmxnet3
    test_static_role_account_acls
    test_deploy_vgpu_enabled_vm
    
    **Passed test suits:**
    test_deploy_vm_with_userdata.py
    test_affinity_groups_projects.py
    test_portable_publicip.py
    test_over_provisioning.py
    test_global_settings.py
    test_scale_vm.py
    test_service_offerings.py
    test_routers_iptables_default_policy.py
    test_routers.py
    test_reset_vm_on_reboot.py
    test_snapshots.py
    test_deploy_vms_with_varied_deploymentplanners.py
    test_login.py
    test_list_ids_parameter.py
    test_public_ip_range.py
    test_multipleips_per_nic.py
    test_regions.py
    test_affinity_groups.py
    test_network_acl.py
    test_pvlan.py
    test_volumes.py
    test_nic.py
    test_deploy_vm_root_resize.py
    test_resource_detail.py
    test_secondary_storage.py
    test_vm_life_cycle.py
    test_disk_offerings.py


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by borisstoyanov <gi...@git.apache.org>.
Github user borisstoyanov commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    @blueorangutan test


---
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.
---

[GitHub] cloudstack pull request: [4.7] secure and hidden config values are...

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/927#issuecomment-153688514
  
    It might break compatibility as for some configs (global configs) people might be consuming global settings. With this change, list configuration API would return encrypted values which client or users won't know how to decrypt as they don't the encryption key.


---
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.
---

[GitHub] cloudstack pull request: [4.7] secure and hidden config values are...

Posted by rhtyd <gi...@git.apache.org>.
Github user rhtyd commented on the pull request:

    https://github.com/apache/cloudstack/pull/927#issuecomment-216197677
  
    @karuturi please rebase against latest master
    
    LGTM
    
    tag:easypr


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by cloudmonger <gi...@git.apache.org>.
Github user cloudmonger commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    ### ACS CI BVT Run
     **Sumarry:**
     Build Number 107
     Hypervisor xenserver
     NetworkType Advanced
     Passed=101
     Failed=2
     Skipped=4
    
    _Link to logs Folder (search by build_no):_ https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0
    
    
    **Failed tests:**
    * test_non_contigiousvlan.py
    
     * test_extendPhysicalNetworkVlan Failed
    
    * test_public_ip_range.py
    
     * test_dedicatePublicIpRange Failed
    
    
    **Skipped tests:**
    test_vm_nic_adapter_vmxnet3
    test_static_role_account_acls
    test_3d_gpu_support
    test_deploy_vgpu_enabled_vm
    
    **Passed test suits:**
    test_deploy_vm_with_userdata.py
    test_affinity_groups_projects.py
    test_portable_publicip.py
    test_over_provisioning.py
    test_global_settings.py
    test_scale_vm.py
    test_service_offerings.py
    test_routers_iptables_default_policy.py
    test_loadbalance.py
    test_routers.py
    test_reset_vm_on_reboot.py
    test_snapshots.py
    test_deploy_vms_with_varied_deploymentplanners.py
    test_network.py
    test_router_dns.py
    test_login.py
    test_deploy_vm_iso.py
    test_list_ids_parameter.py
    test_multipleips_per_nic.py
    test_regions.py
    test_affinity_groups.py
    test_network_acl.py
    test_pvlan.py
    test_volumes.py
    test_ssvm.py
    test_nic.py
    test_deploy_vm_root_resize.py
    test_resource_detail.py
    test_secondary_storage.py
    test_vm_life_cycle.py
    test_disk_offerings.py


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by blueorangutan <gi...@git.apache.org>.
Github user blueorangutan commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    Packaging result: \u2714centos6 \u2714centos7 \u2714debian. JID-481


---
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.
---

[GitHub] cloudstack pull request: [4.7] secure and hidden config values are...

Posted by koushik-das <gi...@git.apache.org>.
Github user koushik-das commented on the pull request:

    https://github.com/apache/cloudstack/pull/927#issuecomment-215366546
  
    @karuturi Any updates?


---
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.
---

[GitHub] cloudstack pull request: [4.7] secure and hidden config values are...

Posted by remibergsma <gi...@git.apache.org>.
Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/927#issuecomment-152116250
  
    Results of set of tests that I run on this branch (which I rebased myself first):
    
    ```
    nosetests --with-marvin --marvin-config=${marvinCfg} -s -a tags=advanced,required_hardware=true \
    component/test_vpc_redundant.py \
    component/test_routers_iptables_default_policy.py \
    component/test_routers_network_ops.py \
    component/test_vpc_router_nics.py \
    smoke/test_loadbalance.py \
    smoke/test_internal_lb.py \
    smoke/test_ssvm.py \
    smoke/test_network.py
    
    ```
    
    Result:
    
    ```
    Create a redundant VPC with two networks with two VMs in each network ... === TestName: test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Stat
    us : SUCCESS ===
    ok
    Create a redundant VPC with two networks with two VMs in each network and check default routes ... === TestName: test_02_redundant_VPC_default_route
    s | Status : SUCCESS ===
    ok
    Test iptables default INPUT/FORWARD policy on RouterVM ... === TestName: test_02_routervm_iptables_policies | Status : SUCCESS ===
    ok
    Test iptables default INPUT/FORWARD policies on VPC router ... === TestName: test_01_single_VPC_iptables_policies | Status : SUCCESS ===
    ok
    Stop existing router, add a PF rule and check we can access the VM ... === TestName: test_isolate_network_FW_PF_default_routes | Status : SUCCESS ===
    ok
    Test redundant router internals ... === TestName: test_RVR_Network_FW_PF_SSH_default_routes | Status : SUCCESS ===
    ok
    Create a VPC with two networks with one VM in each network and test nics after destroy ... === TestName: test_01_VPC_nics_after_destroy | Status : SUCCESS ===
    ok
    Create a VPC with two networks with one VM in each network and test default routes ... === TestName: test_02_VPC_default_routes | Status : SUCCESS ===
    ok
    Test to create Load balancing rule with source NAT ... === TestName: test_01_create_lb_rule_src_nat | Status : SUCCESS ===
    ok
    Test to create Load balancing rule with non source NAT ... === TestName: test_02_create_lb_rule_non_nat | Status : SUCCESS ===
    ok
    Test for assign & removing load balancing rule ... === TestName: test_assign_and_removal_lb | Status : SUCCESS ===
    ok
    Test to verify access to loadbalancer haproxy admin stats page ... === TestName: test02_internallb_haproxy_stats_on_all_interfaces | Status : SUCCESS ===
    ok
    Test create, assign, remove of an Internal LB with roundrobin http traffic to 3 vm's ... === TestName: test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 | Status : SUCCESS ===
    ok
    Test SSVM Internals ... === TestName: test_03_ssvm_internals | Status : SUCCESS ===
    ok
    Test CPVM Internals ... === TestName: test_04_cpvm_internals | Status : SUCCESS ===
    ok
    Test stop SSVM ... === TestName: test_05_stop_ssvm | Status : SUCCESS ===
    ok
    Test stop CPVM ... === TestName: test_06_stop_cpvm | Status : SUCCESS ===
    ok
    Test reboot SSVM ... === TestName: test_07_reboot_ssvm | Status : SUCCESS ===
    ok
    Test reboot CPVM ... === TestName: test_08_reboot_cpvm | Status : SUCCESS ===
    ok
    Test destroy SSVM ... === TestName: test_09_destroy_ssvm | Status : SUCCESS ===
    ok
    Test destroy CPVM ... === TestName: test_10_destroy_cpvm | Status : SUCCESS ===
    ok
    Test for port forwarding on source NAT ... === TestName: test_01_port_fwd_on_src_nat | Status : SUCCESS ===
    ok
    Test for port forwarding on non source NAT ... === TestName: test_02_port_fwd_on_non_src_nat | Status : SUCCESS ===
    ok
    Test for reboot router ... === TestName: test_reboot_router | Status : SUCCESS ===
    ok
    Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_1_static_nat_rule | Status : FAILED ===
    FAIL
    Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_2_nat_rule | Status : FAILED ===
    ----------------------------------------------------------------------
    Ran 27 tests in 12196.996s
    
    FAILED (failures=3)
    ```
    
    The 3 errors at the bottom are due to CLOUDSTACK-8991 and unrelated to this PR.
    
    And:
    
    ```
    nosetests --with-marvin --marvin-config=${marvinCfg} -s -a tags=advanced,required_hardware=false \
    smoke/test_routers.py \
    smoke/test_network_acl.py \
    smoke/test_privategw_acl.py \
    smoke/test_reset_vm_on_reboot.py \
    smoke/test_vm_life_cycle.py \
    smoke/test_vpc_vpn.py \
    smoke/test_service_offerings.py \
    component/test_vpc_offerings.py \
    component/test_vpc_routers.py
    ```
    
    Result:
    
    ```
    Test router internal advanced zone ... === TestName: test_02_router_internal_adv | Status : SUCCESS ===
    ok
    Test restart network ... === TestName: test_03_restart_network_cleanup | Status : SUCCESS ===
    ok
    Test router basic setup ... === TestName: test_05_router_basic | Status : SUCCESS ===
    ok
    Test router advanced setup ... === TestName: test_06_router_advanced | Status : SUCCESS ===
    ok
    Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS ===
    ok
    Test start router ... === TestName: test_08_start_router | Status : SUCCESS ===
    ok
    Test reboot router ... === TestName: test_09_reboot_router | Status : SUCCESS ===
    ok
    test_privategw_acl (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_privategw_acl | Status : SUCCESS ===
    ok
    Test reset virtual machine on reboot ... === TestName: test_01_reset_vm_on_reboot | Status : SUCCESS ===
    ok
    Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
    ok
    Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS ===
    ok
    Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
    ok
    Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS ===
    ok
    Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS ===
    ok
    Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS ===
    ok
    Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS ===
    ok
    Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS ===
    ok
    Test migrate VM ... === TestName: test_08_migrate_vm | Status : SUCCESS ===
    ok
    Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS ===
    ok
    Test Remote Access VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS ===
    ok
    Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : FAILED ===
    FAIL
    Test to create service offering ... === TestName: test_01_create_service_offering | Status : SUCCESS ===
    ok
    Test to update existing service offering ... === TestName: test_02_edit_service_offering | Status : SUCCESS ===
    ok
    Test to delete service offering ... === TestName: test_03_delete_service_offering | Status : SUCCESS ===
    ok
    Test for delete account ... === TestName: test_delete_account | Status : SUCCESS ===
    ok
    Test for Associate/Disassociate public IP address for admin account ... === TestName: test_public_ip_admin_account | Status : SUCCESS ===
    ok
    Test for Associate/Disassociate public IP address for user account ... === TestName: test_public_ip_user_account | Status : SUCCESS ===
    ok
    Test for release public IP address ... === TestName: test_releaseIP | Status : SUCCESS ===
    ok
    Test create VPC offering ... === TestName: test_01_create_vpc_offering | Status : SUCCESS ===
    ok
    Test VPC offering without load balancing service ... === TestName: test_03_vpc_off_without_lb | Status : SUCCESS ===
    ok
    Test VPC offering without static NAT service ... === TestName: test_04_vpc_off_without_static_nat | Status : SUCCESS ===
    ok
    Test VPC offering without port forwarding service ... === TestName: test_05_vpc_off_without_pf | Status : SUCCESS ===
    ok
    Test VPC offering with invalid services ... === TestName: test_06_vpc_off_invalid_services | Status : SUCCESS ===
    ok
    Test update VPC offering ... === TestName: test_07_update_vpc_off | Status : SUCCESS ===
    ok
    Test list VPC offering ... === TestName: test_08_list_vpc_off | Status : SUCCESS ===
    ok
    test_09_create_redundant_vpc_offering (integration.component.test_vpc_offerings.TestVPCOffering) ... === TestName: test_09_create_redundant_vpc_offering | Status : SUCCESS ===
    ok
    Test start/stop of router after addition of one guest network ... === TestName: test_01_start_stop_router_after_addition_of_one_guest_network | Status : SUCCESS ===
    ok
    Test reboot of router after addition of one guest network ... === TestName: test_02_reboot_router_after_addition_of_one_guest_network | Status : SUCCESS ===
    ok
    Test to change service offering of router after addition of one guest network ... === TestName: test_04_chg_srv_off_router_after_addition_of_one_guest_network | Status : SUCCESS ===
    ok
    Test destroy of router after addition of one guest network ... === TestName: test_05_destroy_router_after_addition_of_one_guest_network | Status : SUCCESS ===
    ok
    Test to stop and start router after creation of VPC ... === TestName: test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
    ok
    Test to reboot the router after creating a VPC ... === TestName: test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
    ok
    Tests to change service offering of the Router after ... === TestName: test_04_change_service_offerring_vpc | Status : SUCCESS ===
    ok
    Test to destroy the router after creating a VPC ... === TestName: test_05_destroy_router_after_creating_vpc | Status : SUCCESS ===
    ok
    ----------------------------------------------------------------------
    Ran 44 tests in 9414.460s
    
    FAILED (failures=1)
    ```
    
    The test `test_vpc_site2site_vpn` failed. Will run it again to be sure as I saw a report this test has an issue so is probably unrelated.


---
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.
---

[GitHub] cloudstack pull request: [4.7] secure and hidden config values are...

Posted by wido <gi...@git.apache.org>.
Github user wido commented on the pull request:

    https://github.com/apache/cloudstack/pull/927#issuecomment-149138303
  
    Code-wise it looks good, but is it possible that you add a unit test?


---
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.
---

[GitHub] cloudstack issue #927: secure and hidden config values are returned as plain...

Posted by sureshanaparti <gi...@git.apache.org>.
Github user sureshanaparti commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    Code changes looks good to me.


---
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.
---