Skip to content

Conversation

@murali-reddy
Copy link
Contributor

@murali-reddy murali-reddy commented Aug 24, 2016

As pointed out in CLOUDSTACK-9339, in case of multiple public IP's from different public IP ranges are associated with VR, VR functionality is broken from 4.6. Below are the brief list of problems specific to non-VPC networks addressed in the PR. This PR handles both VPC and non-VPC scenarios.

  • reverse traffic for the connections accepted on the eth3 and above public interfaces are getting blocked. Need a rule for e.g "-A FORWARD -i eth3 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT" in the FORWARD chain of filter table to permit reverse path traffic for established connections.
  • outbound public traffic from eth0 to eth3 (or for interfaces above like eth4 eth5 etc) needs rule to run through FW_OUTBOUND chain in the filter table
  • network stats on public interfaces eth3 are getting gathered
  • default gateway is missing in the device specific routing table, resulting in traffic to be looked up in main routing table
  • creating a device specific route table is generating "from all lookup Table_eth3" in the
    ip rules, resulting in rest of the traffic getting blocked.

Picked few commits from #1519 from dsclose (#1519) submitted for 4.7

Marvin tests are added to test below

  • Static NAT works on the public interfaces above eth2, in case non-vpc networks
  • Portforwarding works on the public interfaces above eth2, in case non-vpc networks
  • Route tables are configured as expected for the device specific table for the public interfaces above eth2, in case non-vpc networks
  • IP tables rules are as expected for the traffic from and to the public interfaces above eth2, in case non-vpc networks

"-A PREROUTING -s %s/32 -m state --state NEW -j MARK --set-xmark 0x%s/0xffffffff" % \
(rule["internal_ip"], device[len("eth"):])])
self.fw.append(["mangle", "",
"-A PREROUTING -s %s/32 -m state --state NEW -j CONNMARK --save-mark --nfmask 0xffffffff --ctmask 0xffffffff" % \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there value in extracting the 0xffffffff to a constant?

@QuiteClose
Copy link
Contributor

@murali-reddy - thank you for picking this up. Let me know when you think it's appropriate to close PR #1519 and I shall do so.

@jburwell
Copy link
Contributor

@dsclose what is your opinion of the changes in this PR relative to your work? Do you see any gaps or missing pieces?

@jburwell
Copy link
Contributor

@murali-reddy Looking through the Marvin tests, there is a lot of boilerplate code and duplicated setup in test cases. It feels like there is an opportunity to introduce one or more base classes that would not only reduce the duplication/boilerplate, but make building future VR test cases easier. Do you agree?

@jburwell
Copy link
Contributor

@murali-reddy what is the status of addressing the review feedback. Also, have addressed the VPC-related issues as well?

@murali-reddy
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@murali-reddy a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-20

@murali-reddy
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

@murali-reddy a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been kicked to run smoke tests

@blueorangutan
Copy link

Trillian test result (#21)
Environment: vmware-55u3 (x2), Advanced Networking
Total time taken: 27908s
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1659-t21-vmware-55u3.zip
Test completed. 45 look ok, 8 have errors

Test Result Time (s)
test_04_rvpc_privategw_static_routes Failure 382.998
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Failure 598.977
test_03_vpc_privategw_restart_vpc_cleanup Failure 202.177
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Failure 120.997
test_03_RVR_Network_check_router_state Failure 308.858
test_02_vpc_privategw_static_routes Failure 207.177
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Failure 631.260
test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false Failure 565.425
test_01_vpc_privategw_acl Failure 111.862
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Failure 430.487
test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Failure 464.304
test_router_dhcphosts Error 834.237
test_isolate_network_password_server Error 829.874
test_02_routervm_iptables_policies Error 888.488
test_01_vpc_site2site_vpn Error 485.994
test_01_vpc_remote_access_vpn Error 0.075
test_01_test_vm_volume_snapshot Error 191.106
test_01_single_VPC_iptables_policies Error 1026.261
test_01_redundant_vpc_site2site_vpn Error 716.864
ContextSuite context=TestRouterDHCPHosts>:teardown Error 855.313
test_router_dns_guestipquery Success 76.640
test_router_dns_externalipquery Success 0.054
test_reboot_router Success 629.192
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 76.555
test_network_rules_acquired_public_ip_2_nat_rule Success 61.441
test_network_rules_acquired_public_ip_1_static_nat_rule Success 124.970
test_network_acl Success 151.231
test_deployvm_userdata_post Success 30.430
test_deployvm_userdata Success 211.457
test_deploy_vm_from_iso Success 458.299
test_createRegion Success 0.041
test_assign_and_removal_lb Success 148.691
test_10_destroy_cpvm Success 261.579
test_10_attachAndDetach_iso Success 71.746
test_09_destroy_ssvm Success 244.470
test_08_reboot_cpvm Success 156.414
test_07_reboot_ssvm Success 158.193
test_06_stop_cpvm Success 176.587
test_06_download_detached_volume Success 55.413
test_05_stop_ssvm Success 173.415
test_05_rvpc_multi_tiers Success 684.340
test_04_rvpc_network_garbage_collector_nics Success 880.461
test_04_restart_network_wo_cleanup Success 5.583
test_04_extract_template Success 10.176
test_04_extract_Iso Success 5.132
test_04_cpvm_internals Success 1.087
test_04_change_offering_small Success 96.901
test_03_ssvm_internals Success 3.339
test_03_delete_vm_snapshots Success 275.207
test_03_delete_iso Success 95.118
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 736.715
test_02_revert_vm_snapshots Success 227.063
test_02_redundant_VPC_default_routes Success 651.796
test_02_port_fwd_on_non_src_nat Success 55.453
test_02_isolate_network_FW_PF_default_routes_egress_false Success 321.366
test_02_edit_iso Success 0.066
test_02_deploy_vm_root_resize Success 6.193
test_02_create_lb_rule_non_nat Success 207.381
test_02_attach_volume Success 48.971
test_02_VPC_default_routes Success 324.804
test_01_snapshot_root_disk Success 146.564
test_01_router_internal_basic Success 0.488
test_01_port_fwd_on_src_nat Success 111.674
test_01_nic Success 795.582
test_01_isolate_network_FW_PF_default_routes_egress_true Success 306.420
test_01_deploy_vm_root_resize Success 6.179
test_01_create_volume Success 512.345
test_01_create_vm_snapshots Success 161.679
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1372.001
test_01_create_lb_rule_src_nat Success 207.685
test_01_create_iso Success 66.303
test_01_VPC_nics_after_destroy Success 674.828
test_00_deploy_vm_root_resize Success 6.339
test_deploy_vgpu_enabled_vm Skipped 0.004
test_08_resize_volume Skipped 5.092
test_07_resize_fail Skipped 10.196
test_06_copy_template Skipped 0.000
test_01_primary_storage_iscsi Skipped 0.028

@jburwell
Copy link
Contributor

@murali-reddy 8 errors occurred in the VMware test run. Could you please investigate these failures?

@murali-reddy
Copy link
Contributor Author

@jburwell i am investigating them. Just so you know, blueorangutan is running full smoke test suite. Similar failures are seen in other PR as well. So some of the tests may have been failing for some time and need to be fixed.

From the above list of failures test_router_dhcphosts are due to test errors that is being addressed by #1683

I have addressed below two test failures. support for internal LB was not added in the logic creating ips.json databag, I made a fix for that as well.

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80

rest of the failures i am investigating if they are regressions, and test failures.

@ustcweizhou
Copy link
Contributor

@murali-reddy FYI

diff --git a/systemvm/patches/debian/config/opt/cloud/bin/merge.py b/systemvm/patches/debian/config/opt/cloud/bin/merge.py
index c6ed190..7f3dbbc 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/merge.py
+++ b/systemvm/patches/debian/config/opt/cloud/bin/merge.py
@@ -217,6 +217,9 @@ class updateDataBag:
         elif (self.qFile.data['cmd_line']['type'] == "dhcpsrvr"):
             self.processCLItem('0', "guest")
             self.processCLItem('1', "control")
+        elif (self.qFile.data['cmd_line']['type'] == "ilbvm"):
+            self.processCLItem('0', "guest")
+            self.processCLItem('1', "control")
         return cs_cmdline.merge(dbag, self.qFile.data)

     def processCLItem(self, num, nw_type):

@murali-reddy
Copy link
Contributor Author

@ustcweizhou thanks, i have fixed it earlier today and tested, am trying to fix other test failures and re-run the CI

@jburwell
Copy link
Contributor

#1692 has been opened that replaces #1683 to address the ping test issue on the 4.8, 4.9, and master branches rather just master for the original PR. Testing the PR now.



firewall_rule.delete(self.apiclient)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think creating and validating a firewall rule can be moved to net utility class, as this has possibilities to be reused.

@jburwell
Copy link
Contributor

jburwell commented Dec 1, 2016

@blueorangutan test centos7 xenserver-65sp1

@blueorangutan
Copy link

@jburwell a Trillian-Jenkins test job (centos7 mgmt + xenserver-65sp1) has been kicked to run smoke tests

@blueorangutan
Copy link

Trillian test result (tid-533)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35604 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1659-t533-xenserver-65sp1.zip
Test completed. 46 look ok, 2 have error(s)

Test Result Time (s) Test File
test_05_rvpc_multi_tiers Failure 618.66 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Failure 1390.72 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 669.12 test_vpc_redundant.py
test_04_rvpc_privategw_static_routes Failure 883.45 test_privategw_acl.py
test_01_vpc_site2site_vpn Success 396.07 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 156.21 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 687.83 test_vpc_vpn.py
test_02_VPC_default_routes Success 484.63 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 702.60 test_vpc_router_nics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 993.18 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 1097.71 test_vpc_redundant.py
test_09_delete_detached_volume Success 15.61 test_volumes.py
test_08_resize_volume Success 90.70 test_volumes.py
test_07_resize_fail Success 100.72 test_volumes.py
test_06_download_detached_volume Success 20.26 test_volumes.py
test_05_detach_volume Success 100.24 test_volumes.py
test_04_delete_attached_volume Success 10.19 test_volumes.py
test_03_download_attached_volume Success 15.20 test_volumes.py
test_02_attach_volume Success 10.77 test_volumes.py
test_01_create_volume Success 388.38 test_volumes.py
test_03_delete_vm_snapshots Success 280.20 test_vm_snapshots.py
test_02_revert_vm_snapshots Success 186.32 test_vm_snapshots.py
test_01_create_vm_snapshots Success 105.88 test_vm_snapshots.py
test_deploy_vm_multiple Success 247.51 test_vm_life_cycle.py
test_deploy_vm Success 0.02 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.02 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 41.73 test_vm_life_cycle.py
test_09_expunge_vm Success 125.13 test_vm_life_cycle.py
test_08_migrate_vm Success 75.91 test_vm_life_cycle.py
test_07_restore_vm Success 0.09 test_vm_life_cycle.py
test_06_destroy_vm Success 10.12 test_vm_life_cycle.py
test_03_reboot_vm Success 20.17 test_vm_life_cycle.py
test_02_start_vm Success 30.23 test_vm_life_cycle.py
test_01_stop_vm Success 35.22 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 162.03 test_templates.py
test_08_list_system_templates Success 0.02 test_templates.py
test_07_list_public_templates Success 0.03 test_templates.py
test_05_template_permissions Success 0.04 test_templates.py
test_04_extract_template Success 5.47 test_templates.py
test_03_delete_template Success 5.10 test_templates.py
test_02_edit_template Success 90.13 test_templates.py
test_01_create_template Success 85.63 test_templates.py
test_10_destroy_cpvm Success 261.56 test_ssvm.py
test_09_destroy_ssvm Success 259.12 test_ssvm.py
test_08_reboot_cpvm Success 161.57 test_ssvm.py
test_07_reboot_ssvm Success 143.90 test_ssvm.py
test_06_stop_cpvm Success 171.81 test_ssvm.py
test_05_stop_ssvm Success 199.34 test_ssvm.py
test_04_cpvm_internals Success 1.13 test_ssvm.py
test_03_ssvm_internals Success 3.56 test_ssvm.py
test_02_list_cpvm_vm Success 0.09 test_ssvm.py
test_01_list_sec_storage_vm Success 0.09 test_ssvm.py
test_01_snapshot_root_disk Success 31.33 test_snapshots.py
test_04_change_offering_small Success 121.07 test_service_offerings.py
test_03_delete_service_offering Success 0.03 test_service_offerings.py
test_02_edit_service_offering Success 0.04 test_service_offerings.py
test_01_create_service_offering Success 0.06 test_service_offerings.py
test_02_sys_template_ready Success 0.10 test_secondary_storage.py
test_01_sys_vm_start Success 0.13 test_secondary_storage.py
test_01_scale_vm Success 5.13 test_scale_vm.py
test_09_reboot_router Success 75.41 test_routers.py
test_08_start_router Success 60.34 test_routers.py
test_07_stop_router Success 15.14 test_routers.py
test_06_router_advanced Success 0.04 test_routers.py
test_05_router_basic Success 0.03 test_routers.py
test_04_restart_network_wo_cleanup Success 5.51 test_routers.py
test_03_restart_network_cleanup Success 135.74 test_routers.py
test_02_router_internal_adv Success 0.83 test_routers.py
test_01_router_internal_basic Success 0.46 test_routers.py
test_router_dns_guestipquery Success 48.84 test_router_dns.py
test_router_dns_externalipquery Success 0.04 test_router_dns.py
test_router_dhcphosts Success 112.59 test_router_dhcphosts.py
test_router_dhcp_opts Success 31.30 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.06 test_resource_detail.py
test_01_reset_vm_on_reboot Success 115.67 test_reset_vm_on_reboot.py
test_createRegion Success 0.03 test_regions.py
test_create_pvlan_network Success 5.18 test_pvlan.py
test_dedicatePublicIpRange Success 0.28 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 932.63 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 667.63 test_privategw_acl.py
test_01_vpc_privategw_acl Success 132.50 test_privategw_acl.py
test_01_primary_storage_nfs Success 40.11 test_primary_storage.py
test_01_primary_storage_iscsi Success 83.27 test_primary_storage.py
test_createPortablePublicIPRange Success 15.33 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.29 test_portable_publicip.py
test_isolate_network_password_server Success 69.24 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.09 test_over_provisioning.py
test_oobm_zchange_password Success 30.50 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 11.26 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.21 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.27 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 10.53 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.28 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.24 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.24 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 77.13 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 0.11 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.11 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 0.11 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.10 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.06 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.06 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 29.32 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.25 test_non_contigiousvlan.py
test_01_nic Success 649.93 test_nic.py
test_releaseIP Success 277.97 test_network.py
test_reboot_router Success 544.28 test_network.py
test_public_ip_user_account Success 10.33 test_network.py
test_public_ip_admin_account Success 40.26 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 86.61 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 76.31 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 101.06 test_network.py
test_delete_account Success 252.93 test_network.py
test_02_port_fwd_on_non_src_nat Success 70.70 test_network.py
test_01_port_fwd_on_src_nat Success 84.14 test_network.py
test_nic_secondaryip_add_remove Success 232.68 test_multipleips_per_nic.py
login_test_saml_user Success 21.81 test_login.py
test_assign_and_removal_lb Success 148.82 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 207.53 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 208.22 test_loadbalance.py
test_03_list_snapshots Success 0.05 test_list_ids_parameter.py
test_02_list_templates Success 0.03 test_list_ids_parameter.py
test_01_list_volumes Success 0.02 test_list_ids_parameter.py
test_07_list_default_iso Success 0.06 test_iso.py
test_05_iso_permissions Success 0.06 test_iso.py
test_04_extract_Iso Success 5.15 test_iso.py
test_03_delete_iso Success 95.18 test_iso.py
test_02_edit_iso Success 0.04 test_iso.py
test_01_create_iso Success 21.31 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 544.57 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 323.65 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 1018.41 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 675.04 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.20 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.10 test_global_settings.py
test_rolepermission_lifecycle_update Success 6.36 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.24 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 6.31 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 6.21 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 6.33 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 6.19 test_dynamicroles.py
test_role_lifecycle_update Success 6.25 test_dynamicroles.py
test_role_lifecycle_list Success 6.17 test_dynamicroles.py
test_role_lifecycle_delete Success 11.21 test_dynamicroles.py
test_role_lifecycle_create Success 6.23 test_dynamicroles.py
test_role_inuse_deletion Success 6.17 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 7.58 test_dynamicroles.py
test_role_account_acls Success 7.71 test_dynamicroles.py
test_default_role_deletion Success 6.25 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.05 test_disk_offerings.py
test_03_delete_disk_offering Success 0.03 test_disk_offerings.py
test_02_edit_disk_offering Success 0.04 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.05 test_disk_offerings.py
test_01_create_disk_offering Success 0.06 test_disk_offerings.py
test_deployvm_userdispersing Success 40.49 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 105.77 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 211.50 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 20.32 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 136.48 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 6.16 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 6.33 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 6.24 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 177.24 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 357.02 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_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.01 test_deploy_vgpu_enabled_vm.py

@blueorangutan
Copy link

Trillian test result (tid-532)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35829 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1659-t532-vmware-55u3.zip
Test completed. 44 look ok, 4 have error(s)

Test Result Time (s) Test File
test_01_redundant_vpc_site2site_vpn Failure 475.07 test_vpc_vpn.py
test_04_rvpc_privategw_static_routes Failure 982.62 test_privategw_acl.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Failure 216.66 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Failure 126.29 test_internal_lb.py
test_01_vpc_site2site_vpn Error 543.04 test_vpc_vpn.py
test_05_rvpc_multi_tiers Error 132.69 test_vpc_redundant.py
test_01_vpc_remote_access_vpn Success 177.06 test_vpc_vpn.py
test_02_VPC_default_routes Success 340.74 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 814.99 test_vpc_router_nics.py
test_04_rvpc_network_garbage_collector_nics Success 1554.98 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 725.91 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 727.82 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1509.99 test_vpc_redundant.py
test_09_delete_detached_volume Success 31.12 test_volumes.py
test_06_download_detached_volume Success 95.77 test_volumes.py
test_05_detach_volume Success 105.30 test_volumes.py
test_04_delete_attached_volume Success 15.25 test_volumes.py
test_03_download_attached_volume Success 25.46 test_volumes.py
test_02_attach_volume Success 63.85 test_volumes.py
test_01_create_volume Success 549.55 test_volumes.py
test_03_delete_vm_snapshots Success 275.17 test_vm_snapshots.py
test_02_revert_vm_snapshots Success 200.26 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Success 368.24 test_vm_snapshots.py
test_01_create_vm_snapshots Success 159.06 test_vm_snapshots.py
test_deploy_vm_multiple Success 309.06 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.86 test_vm_life_cycle.py
test_09_expunge_vm Success 125.22 test_vm_life_cycle.py
test_08_migrate_vm Success 86.36 test_vm_life_cycle.py
test_07_restore_vm Success 0.11 test_vm_life_cycle.py
test_06_destroy_vm Success 10.15 test_vm_life_cycle.py
test_03_reboot_vm Success 5.15 test_vm_life_cycle.py
test_02_start_vm Success 25.28 test_vm_life_cycle.py
test_01_stop_vm Success 10.15 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 287.25 test_templates.py
test_08_list_system_templates Success 0.04 test_templates.py
test_07_list_public_templates Success 0.05 test_templates.py
test_05_template_permissions Success 0.07 test_templates.py
test_04_extract_template Success 15.27 test_templates.py
test_03_delete_template Success 5.12 test_templates.py
test_02_edit_template Success 90.15 test_templates.py
test_01_create_template Success 141.01 test_templates.py
test_10_destroy_cpvm Success 322.22 test_ssvm.py
test_09_destroy_ssvm Success 274.20 test_ssvm.py
test_08_reboot_cpvm Success 156.75 test_ssvm.py
test_07_reboot_ssvm Success 158.57 test_ssvm.py
test_06_stop_cpvm Success 201.97 test_ssvm.py
test_05_stop_ssvm Success 178.60 test_ssvm.py
test_04_cpvm_internals Success 1.36 test_ssvm.py
test_03_ssvm_internals Success 3.40 test_ssvm.py
test_02_list_cpvm_vm Success 0.22 test_ssvm.py
test_01_list_sec_storage_vm Success 0.14 test_ssvm.py
test_01_snapshot_root_disk Success 71.72 test_snapshots.py
test_04_change_offering_small Success 122.06 test_service_offerings.py
test_03_delete_service_offering Success 0.04 test_service_offerings.py
test_02_edit_service_offering Success 0.08 test_service_offerings.py
test_01_create_service_offering Success 0.13 test_service_offerings.py
test_02_sys_template_ready Success 0.14 test_secondary_storage.py
test_01_sys_vm_start Success 0.19 test_secondary_storage.py
test_09_reboot_router Success 141.00 test_routers.py
test_08_start_router Success 110.79 test_routers.py
test_07_stop_router Success 25.25 test_routers.py
test_06_router_advanced Success 0.08 test_routers.py
test_05_router_basic Success 0.05 test_routers.py
test_04_restart_network_wo_cleanup Success 5.72 test_routers.py
test_03_restart_network_cleanup Success 186.45 test_routers.py
test_02_router_internal_adv Success 1.14 test_routers.py
test_01_router_internal_basic Success 0.61 test_routers.py
test_router_dns_guestipquery Success 77.47 test_router_dns.py
test_router_dns_externalipquery Success 0.06 test_router_dns.py
test_router_dhcphosts Success 126.07 test_router_dhcphosts.py
test_router_dhcp_opts Success 21.76 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.17 test_resource_detail.py
test_01_reset_vm_on_reboot Success 70.74 test_reset_vm_on_reboot.py
test_createRegion Success 0.04 test_regions.py
test_create_pvlan_network Success 5.27 test_pvlan.py
test_dedicatePublicIpRange Success 0.52 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 1242.68 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 779.89 test_privategw_acl.py
test_01_vpc_privategw_acl Success 199.00 test_privategw_acl.py
test_01_primary_storage_nfs Success 37.35 test_primary_storage.py
test_createPortablePublicIPRange Success 15.18 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.97 test_portable_publicip.py
test_isolate_network_password_server Success 64.16 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.15 test_over_provisioning.py
test_oobm_zchange_password Success 31.10 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.32 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.28 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 10.39 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.33 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.31 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.35 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.38 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.79 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.16 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.13 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.18 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.11 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.09 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.07 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 29.49 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.31 test_non_contigiousvlan.py
test_01_nic Success 778.13 test_nic.py
test_releaseIP Success 299.16 test_network.py
test_reboot_router Success 606.19 test_network.py
test_public_ip_user_account Success 10.25 test_network.py
test_public_ip_admin_account Success 40.26 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 76.99 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.73 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 125.46 test_network.py
test_delete_account Success 288.85 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.80 test_network.py
test_nic_secondaryip_add_remove Success 264.16 test_multipleips_per_nic.py
login_test_saml_user Success 24.89 test_login.py
test_assign_and_removal_lb Success 149.45 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 207.27 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 209.22 test_loadbalance.py
test_03_list_snapshots Success 0.08 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.06 test_iso.py
test_04_extract_Iso Success 5.17 test_iso.py
test_03_delete_iso Success 95.21 test_iso.py
test_02_edit_iso Success 0.06 test_iso.py
test_01_create_iso Success 22.01 test_iso.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 434.52 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 833.80 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.28 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.36 test_global_settings.py
test_rolepermission_lifecycle_update Success 7.17 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.89 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 6.79 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 6.97 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 7.04 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 6.86 test_dynamicroles.py
test_role_lifecycle_update Success 11.96 test_dynamicroles.py
test_role_lifecycle_list Success 7.04 test_dynamicroles.py
test_role_lifecycle_delete Success 11.86 test_dynamicroles.py
test_role_lifecycle_create Success 6.83 test_dynamicroles.py
test_role_inuse_deletion Success 6.83 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 9.35 test_dynamicroles.py
test_role_account_acls Success 9.15 test_dynamicroles.py
test_default_role_deletion Success 6.93 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.08 test_disk_offerings.py
test_03_delete_disk_offering Success 0.04 test_disk_offerings.py
test_02_edit_disk_offering Success 0.05 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.06 test_disk_offerings.py
test_01_create_disk_offering Success 0.11 test_disk_offerings.py
test_deployvm_userdispersing Success 131.46 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 55.87 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 191.70 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 101.34 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 136.26 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 6.76 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 6.78 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 6.90 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 223.75 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 257.51 test_affinity_groups.py
test_08_resize_volume Skipped 5.11 test_volumes.py
test_07_resize_fail Skipped 10.37 test_volumes.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.02 test_staticroles.py
test_01_scale_vm Skipped 66.36 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.04 test_primary_storage.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.00 test_deploy_vgpu_enabled_vm.py

@rohityadavcloud
Copy link
Member

Test lgtm, @murali-reddy are we good on this PR? I'm seeing some failures though not sure if they related to your changes. /cc @jburwell @abhinandanprateek

@rohityadavcloud
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@rohityadavcloud
Copy link
Member

@murali-reddy @abhinandanprateek let me know any help needed from my end?

@blueorangutan
Copy link

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-323

@rohityadavcloud
Copy link
Member

@blueorangutan test matrix

@blueorangutan
Copy link

@rhtyd a Trillian-Jenkins matrix job (centos6 mgmt + xs65sp1, centos7 mgmt + vmware55u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan
Copy link

Trillian test result (tid-581)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 28738 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1659-t581-kvm-centos7.zip
Test completed. 45 look ok, 3 have error(s)

Test Result Time (s) Test File
test_02_redundant_VPC_default_routes Failure 860.01 test_vpc_redundant.py
test_04_rvpc_privategw_static_routes Failure 463.64 test_privategw_acl.py
test_01_create_template Error 70.62 test_templates.py
test_01_vpc_site2site_vpn Success 135.36 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 86.44 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 258.72 test_vpc_vpn.py
test_02_VPC_default_routes Success 250.02 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 566.53 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 521.44 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1543.24 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 566.83 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1300.59 test_vpc_redundant.py
test_09_delete_detached_volume Success 15.91 test_volumes.py
test_08_resize_volume Success 15.42 test_volumes.py
test_07_resize_fail Success 20.49 test_volumes.py
test_06_download_detached_volume Success 15.62 test_volumes.py
test_05_detach_volume Success 100.29 test_volumes.py
test_04_delete_attached_volume Success 10.25 test_volumes.py
test_03_download_attached_volume Success 15.38 test_volumes.py
test_02_attach_volume Success 74.61 test_volumes.py
test_01_create_volume Success 681.63 test_volumes.py
test_deploy_vm_multiple Success 304.30 test_vm_life_cycle.py
test_deploy_vm Success 0.03 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.03 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.65 test_vm_life_cycle.py
test_09_expunge_vm Success 125.18 test_vm_life_cycle.py
test_08_migrate_vm Success 35.96 test_vm_life_cycle.py
test_07_restore_vm Success 0.16 test_vm_life_cycle.py
test_06_destroy_vm Success 130.89 test_vm_life_cycle.py
test_03_reboot_vm Success 125.87 test_vm_life_cycle.py
test_02_start_vm Success 10.18 test_vm_life_cycle.py
test_01_stop_vm Success 35.32 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 126.28 test_templates.py
test_08_list_system_templates Success 0.03 test_templates.py
test_07_list_public_templates Success 0.04 test_templates.py
test_05_template_permissions Success 0.06 test_templates.py
test_04_extract_template Success 5.16 test_templates.py
test_03_delete_template Success 5.12 test_templates.py
test_02_edit_template Success 90.15 test_templates.py
test_10_destroy_cpvm Success 131.46 test_ssvm.py
test_09_destroy_ssvm Success 168.60 test_ssvm.py
test_08_reboot_cpvm Success 131.38 test_ssvm.py
test_07_reboot_ssvm Success 103.47 test_ssvm.py
test_06_stop_cpvm Success 101.52 test_ssvm.py
test_05_stop_ssvm Success 133.51 test_ssvm.py
test_04_cpvm_internals Success 1.06 test_ssvm.py
test_03_ssvm_internals Success 3.20 test_ssvm.py
test_02_list_cpvm_vm Success 0.14 test_ssvm.py
test_01_list_sec_storage_vm Success 0.14 test_ssvm.py
test_01_snapshot_root_disk Success 16.54 test_snapshots.py
test_04_change_offering_small Success 235.00 test_service_offerings.py
test_03_delete_service_offering Success 0.04 test_service_offerings.py
test_02_edit_service_offering Success 0.06 test_service_offerings.py
test_01_create_service_offering Success 0.11 test_service_offerings.py
test_02_sys_template_ready Success 0.14 test_secondary_storage.py
test_01_sys_vm_start Success 0.19 test_secondary_storage.py
test_09_reboot_router Success 35.32 test_routers.py
test_08_start_router Success 30.32 test_routers.py
test_07_stop_router Success 10.16 test_routers.py
test_06_router_advanced Success 0.06 test_routers.py
test_05_router_basic Success 0.04 test_routers.py
test_04_restart_network_wo_cleanup Success 5.60 test_routers.py
test_03_restart_network_cleanup Success 55.54 test_routers.py
test_02_router_internal_adv Success 0.85 test_routers.py
test_01_router_internal_basic Success 0.50 test_routers.py
test_router_dns_guestipquery Success 76.97 test_router_dns.py
test_router_dns_externalipquery Success 0.11 test_router_dns.py
test_router_dhcphosts Success 243.84 test_router_dhcphosts.py
test_router_dhcp_opts Success 21.64 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.09 test_resource_detail.py
test_01_reset_vm_on_reboot Success 131.02 test_reset_vm_on_reboot.py
test_createRegion Success 0.05 test_regions.py
test_create_pvlan_network Success 5.24 test_pvlan.py
test_dedicatePublicIpRange Success 0.45 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 472.53 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 438.33 test_privategw_acl.py
test_01_vpc_privategw_acl Success 88.62 test_privategw_acl.py
test_01_primary_storage_nfs Success 35.85 test_primary_storage.py
test_createPortablePublicIPRange Success 15.24 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 20.55 test_portable_publicip.py
test_isolate_network_password_server Success 59.44 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.26 test_over_provisioning.py
test_oobm_zchange_password Success 30.87 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.46 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.33 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.52 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.54 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.41 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.41 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 10.42 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 87.92 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.21 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.12 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 0.20 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.12 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.10 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.09 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 29.68 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.43 test_non_contigiousvlan.py
test_01_nic Success 537.43 test_nic.py
test_releaseIP Success 244.01 test_network.py
test_reboot_router Success 389.56 test_network.py
test_public_ip_user_account Success 10.27 test_network.py
test_public_ip_admin_account Success 40.28 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 66.86 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.59 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 123.80 test_network.py
test_delete_account Success 263.87 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.70 test_network.py
test_01_port_fwd_on_src_nat Success 111.86 test_network.py
test_nic_secondaryip_add_remove Success 203.78 test_multipleips_per_nic.py
login_test_saml_user Success 25.73 test_login.py
test_assign_and_removal_lb Success 133.20 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 187.24 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 217.67 test_loadbalance.py
test_03_list_snapshots Success 0.08 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.08 test_iso.py
test_05_iso_permissions Success 0.08 test_iso.py
test_04_extract_Iso Success 5.69 test_iso.py
test_03_delete_iso Success 95.17 test_iso.py
test_02_edit_iso Success 0.07 test_iso.py
test_01_create_iso Success 22.23 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 239.17 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 189.26 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 527.23 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 436.38 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.31 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.17 test_global_settings.py
test_rolepermission_lifecycle_update Success 7.41 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 7.32 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 7.06 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 6.91 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 7.11 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 7.17 test_dynamicroles.py
test_role_lifecycle_update Success 12.19 test_dynamicroles.py
test_role_lifecycle_list Success 6.95 test_dynamicroles.py
test_role_lifecycle_delete Success 12.05 test_dynamicroles.py
test_role_lifecycle_create Success 7.02 test_dynamicroles.py
test_role_inuse_deletion Success 7.40 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 9.51 test_dynamicroles.py
test_role_account_acls Success 9.85 test_dynamicroles.py
test_default_role_deletion Success 7.17 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.09 test_disk_offerings.py
test_03_delete_disk_offering Success 0.05 test_disk_offerings.py
test_02_edit_disk_offering Success 0.08 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.09 test_disk_offerings.py
test_01_create_disk_offering Success 0.12 test_disk_offerings.py
test_deployvm_userdispersing Success 71.21 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 20.96 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 50.77 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 5.50 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 45.88 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 6.97 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 7.06 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 284.48 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 203.77 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 61.08 test_affinity_groups.py
test_03_delete_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_02_revert_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Skipped 0.00 test_vm_snapshots.py
test_01_create_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.03 test_staticroles.py
test_01_scale_vm Skipped 0.00 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.04 test_primary_storage.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.01 test_deploy_vgpu_enabled_vm.py

@blueorangutan
Copy link

Trillian test result (tid-591)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 6
Total time taken: 34361 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1659-t591-xenserver-65sp1.zip
Test completed. 43 look ok, 5 have error(s)

Test Result Time (s) Test File
test_05_rvpc_multi_tiers Failure 507.47 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Failure 1382.51 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 565.36 test_vpc_redundant.py
test_04_rvpc_privategw_static_routes Failure 772.68 test_privategw_acl.py
ContextSuite context=TestSnapshotRootDisk>:teardown Error 57.32 test_snapshots.py
test_router_dns_guestipquery Error 5.23 test_router_dns.py
ContextSuite context=TestRouterDHCPOpts>:teardown Error 107.60 test_router_dhcphosts.py
test_01_vpc_site2site_vpn Success 331.78 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 167.16 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 583.93 test_vpc_vpn.py
test_02_VPC_default_routes Success 321.44 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 714.76 test_vpc_router_nics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 926.95 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 1054.20 test_vpc_redundant.py
test_09_delete_detached_volume Success 20.79 test_volumes.py
test_08_resize_volume Success 111.21 test_volumes.py
test_07_resize_fail Success 121.33 test_volumes.py
test_06_download_detached_volume Success 25.41 test_volumes.py
test_05_detach_volume Success 100.29 test_volumes.py
test_04_delete_attached_volume Success 10.25 test_volumes.py
test_03_download_attached_volume Success 20.39 test_volumes.py
test_02_attach_volume Success 10.74 test_volumes.py
test_01_create_volume Success 387.57 test_volumes.py
test_03_delete_vm_snapshots Success 280.32 test_vm_snapshots.py
test_02_revert_vm_snapshots Success 224.58 test_vm_snapshots.py
test_01_create_vm_snapshots Success 130.87 test_vm_snapshots.py
test_deploy_vm_multiple Success 243.93 test_vm_life_cycle.py
test_deploy_vm Success 0.03 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.03 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 27.06 test_vm_life_cycle.py
test_09_expunge_vm Success 125.27 test_vm_life_cycle.py
test_08_migrate_vm Success 66.30 test_vm_life_cycle.py
test_07_restore_vm Success 0.14 test_vm_life_cycle.py
test_06_destroy_vm Success 10.19 test_vm_life_cycle.py
test_03_reboot_vm Success 20.28 test_vm_life_cycle.py
test_02_start_vm Success 25.33 test_vm_life_cycle.py
test_01_stop_vm Success 30.34 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 126.16 test_templates.py
test_08_list_system_templates Success 0.03 test_templates.py
test_07_list_public_templates Success 0.07 test_templates.py
test_05_template_permissions Success 0.09 test_templates.py
test_04_extract_template Success 5.19 test_templates.py
test_03_delete_template Success 5.13 test_templates.py
test_02_edit_template Success 90.20 test_templates.py
test_01_create_template Success 60.70 test_templates.py
test_10_destroy_cpvm Success 226.81 test_ssvm.py
test_09_destroy_ssvm Success 234.24 test_ssvm.py
test_08_reboot_cpvm Success 171.73 test_ssvm.py
test_07_reboot_ssvm Success 184.10 test_ssvm.py
test_06_stop_cpvm Success 166.78 test_ssvm.py
test_05_stop_ssvm Success 174.09 test_ssvm.py
test_04_cpvm_internals Success 1.15 test_ssvm.py
test_03_ssvm_internals Success 3.68 test_ssvm.py
test_02_list_cpvm_vm Success 0.15 test_ssvm.py
test_01_list_sec_storage_vm Success 0.14 test_ssvm.py
test_01_snapshot_root_disk Success 16.73 test_snapshots.py
test_04_change_offering_small Success 129.25 test_service_offerings.py
test_03_delete_service_offering Success 0.05 test_service_offerings.py
test_02_edit_service_offering Success 0.11 test_service_offerings.py
test_01_create_service_offering Success 0.11 test_service_offerings.py
test_02_sys_template_ready Success 0.15 test_secondary_storage.py
test_01_sys_vm_start Success 0.19 test_secondary_storage.py
test_01_scale_vm Success 5.28 test_scale_vm.py
test_09_reboot_router Success 65.58 test_routers.py
test_08_start_router Success 65.59 test_routers.py
test_07_stop_router Success 20.37 test_routers.py
test_06_router_advanced Success 0.07 test_routers.py
test_05_router_basic Success 0.05 test_routers.py
test_04_restart_network_wo_cleanup Success 5.59 test_routers.py
test_03_restart_network_cleanup Success 141.48 test_routers.py
test_02_router_internal_adv Success 0.83 test_routers.py
test_01_router_internal_basic Success 0.53 test_routers.py
test_router_dns_externalipquery Success 0.09 test_router_dns.py
test_router_dhcphosts Success 112.98 test_router_dhcphosts.py
test_router_dhcp_opts Success 31.81 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.12 test_resource_detail.py
test_01_reset_vm_on_reboot Success 95.93 test_reset_vm_on_reboot.py
test_createRegion Success 0.06 test_regions.py
test_create_pvlan_network Success 5.28 test_pvlan.py
test_dedicatePublicIpRange Success 0.59 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 871.08 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 700.68 test_privategw_acl.py
test_01_vpc_privategw_acl Success 165.11 test_privategw_acl.py
test_01_primary_storage_nfs Success 39.09 test_primary_storage.py
test_01_primary_storage_iscsi Success 78.54 test_primary_storage.py
test_createPortablePublicIPRange Success 15.26 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.62 test_portable_publicip.py
test_isolate_network_password_server Success 36.19 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.18 test_over_provisioning.py
test_oobm_zchange_password Success 30.90 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.46 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.32 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 10.66 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.46 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.46 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.44 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 16.18 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 88.53 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 0.23 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.14 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.25 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.14 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.09 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.10 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 23.59 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.48 test_non_contigiousvlan.py
test_01_nic Success 673.08 test_nic.py
test_releaseIP Success 300.11 test_network.py
test_reboot_router Success 652.72 test_network.py
test_public_ip_user_account Success 10.35 test_network.py
test_public_ip_admin_account Success 40.57 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 87.08 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 76.86 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 101.51 test_network.py
test_delete_account Success 269.67 test_network.py
test_02_port_fwd_on_non_src_nat Success 71.01 test_network.py
test_01_port_fwd_on_src_nat Success 84.21 test_network.py
test_nic_secondaryip_add_remove Success 219.21 test_multipleips_per_nic.py
login_test_saml_user Success 25.13 test_login.py
test_assign_and_removal_lb Success 149.67 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 207.87 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 209.91 test_loadbalance.py
test_03_list_snapshots Success 0.13 test_list_ids_parameter.py
test_02_list_templates Success 0.05 test_list_ids_parameter.py
test_01_list_volumes Success 0.04 test_list_ids_parameter.py
test_07_list_default_iso Success 0.09 test_iso.py
test_05_iso_permissions Success 0.07 test_iso.py
test_04_extract_Iso Success 5.25 test_iso.py
test_03_delete_iso Success 95.28 test_iso.py
test_02_edit_iso Success 0.07 test_iso.py
test_01_create_iso Success 22.11 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 537.50 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 361.10 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 1036.98 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 710.20 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.36 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.18 test_global_settings.py
test_rolepermission_lifecycle_update Success 7.43 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 7.19 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 6.91 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 6.97 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 7.18 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 7.00 test_dynamicroles.py
test_role_lifecycle_update Success 12.13 test_dynamicroles.py
test_role_lifecycle_list Success 7.08 test_dynamicroles.py
test_role_lifecycle_delete Success 12.06 test_dynamicroles.py
test_role_lifecycle_create Success 6.99 test_dynamicroles.py
test_role_inuse_deletion Success 6.99 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 9.57 test_dynamicroles.py
test_role_account_acls Success 9.86 test_dynamicroles.py
test_default_role_deletion Success 7.19 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.09 test_disk_offerings.py
test_03_delete_disk_offering Success 0.07 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.09 test_disk_offerings.py
test_01_create_disk_offering Success 0.14 test_disk_offerings.py
test_deployvm_userdispersing Success 56.45 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 121.60 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 182.09 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 20.57 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 136.74 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 6.89 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 6.87 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 7.24 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 194.24 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 207.19 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.03 test_staticroles.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.01 test_deploy_vgpu_enabled_vm.py

@abhinandanprateek
Copy link
Contributor

LGTM on code review and testing @murali-reddy @rhtyd

@murali-reddy
Copy link
Contributor Author

Can this merged now? test failures are specific to redundent VR/VPC VR which have been failing in 4.8/4.9/master.

@rohityadavcloud
Copy link
Member

@blueorangutan help

@blueorangutan
Copy link

@rhtyd I understand these words: "help", "hello", "thanks", "package", "test"
Test command usage: test [mgmt os] [hypervisor] [additional tests]
Mgmt OS options: ['centos6', 'centos7', 'ubuntu']
Hypervisor options: ['kvm-centos6', 'kvm-centos7', 'kvm-ubuntu', 'xenserver-65sp1', 'xenserver-62sp1', 'vmware-60u2', 'vmware-55u3', 'vmware-51u1', 'vmware-50u1']
Additional tests: list of comma separated tests with paths relative to the test/integration directory, for example: component/test_acl_listvm.py, component/test_volumes.py
Note: when additional tests are passed, you need to specify mgmt server os and hypervisor or use the matrix command.

Blessed contributors for kicking Trillian test jobs: ['rhtyd', 'jburwell', 'murali-reddy', 'abhinandanprateek', 'PaulAngus', 'borisstoyanov', 'karuturi']

@borisstoyanov
Copy link
Contributor

Yes I think test failures does not seem to be caused by this PR, LGTM based on code review.

@rohityadavcloud
Copy link
Member

Thanks @murali-reddy @borisstoyanov I'll proceed with merging this now. @murali-reddy do you want to run the component test on this PR or on 1753/1754?

@murali-reddy
Copy link
Contributor Author

@rhtyd please proceed with merge. I have not added the test suite(test_multiple_public_interfaces.py) part of this PR as smoke tests, because it takes around an hour for execution so they are best fit for component testing. Also tests need routable additional public IP range for the test case to succeed.

I will run component test against 1753/1754 and report back results.

@blueorangutan
Copy link

Trillian test result (tid-597)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36723 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1659-t597-vmware-55u3.zip
Test completed. 45 look ok, 3 have error(s)

Test Result Time (s) Test File
test_04_rvpc_privategw_static_routes Failure 864.65 test_privategw_acl.py
test_01_vpc_site2site_vpn Error 507.04 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Error 738.72 test_vpc_vpn.py
test_CreateTemplateWithDuplicateName Error 5.15 test_templates.py
test_01_create_template Error 5.14 test_templates.py
ContextSuite context=TestTemplates>:setup Error 220.60 test_templates.py
test_01_vpc_remote_access_vpn Success 161.94 test_vpc_vpn.py
test_02_VPC_default_routes Success 366.75 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 747.33 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 721.74 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1570.62 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 724.84 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 660.56 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1366.28 test_vpc_redundant.py
test_09_delete_detached_volume Success 30.88 test_volumes.py
test_06_download_detached_volume Success 60.56 test_volumes.py
test_05_detach_volume Success 100.26 test_volumes.py
test_04_delete_attached_volume Success 10.21 test_volumes.py
test_03_download_attached_volume Success 20.32 test_volumes.py
test_02_attach_volume Success 58.75 test_volumes.py
test_01_create_volume Success 519.61 test_volumes.py
test_03_delete_vm_snapshots Success 275.24 test_vm_snapshots.py
test_02_revert_vm_snapshots Success 229.81 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Success 146.24 test_vm_snapshots.py
test_01_create_vm_snapshots Success 161.69 test_vm_snapshots.py
test_deploy_vm_multiple Success 268.71 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.84 test_vm_life_cycle.py
test_09_expunge_vm Success 125.18 test_vm_life_cycle.py
test_08_migrate_vm Success 81.15 test_vm_life_cycle.py
test_07_restore_vm Success 0.10 test_vm_life_cycle.py
test_06_destroy_vm Success 5.11 test_vm_life_cycle.py
test_03_reboot_vm Success 5.14 test_vm_life_cycle.py
test_02_start_vm Success 20.25 test_vm_life_cycle.py
test_01_stop_vm Success 10.15 test_vm_life_cycle.py
test_10_destroy_cpvm Success 236.87 test_ssvm.py
test_09_destroy_ssvm Success 238.85 test_ssvm.py
test_08_reboot_cpvm Success 306.81 test_ssvm.py
test_07_reboot_ssvm Success 158.44 test_ssvm.py
test_06_stop_cpvm Success 176.95 test_ssvm.py
test_05_stop_ssvm Success 208.94 test_ssvm.py
test_04_cpvm_internals Success 1.19 test_ssvm.py
test_03_ssvm_internals Success 4.11 test_ssvm.py
test_02_list_cpvm_vm Success 0.13 test_ssvm.py
test_01_list_sec_storage_vm Success 0.14 test_ssvm.py
test_01_snapshot_root_disk Success 61.45 test_snapshots.py
test_04_change_offering_small Success 97.73 test_service_offerings.py
test_03_delete_service_offering Success 0.04 test_service_offerings.py
test_02_edit_service_offering Success 0.08 test_service_offerings.py
test_01_create_service_offering Success 0.11 test_service_offerings.py
test_02_sys_template_ready Success 0.13 test_secondary_storage.py
test_01_sys_vm_start Success 0.19 test_secondary_storage.py
test_09_reboot_router Success 176.43 test_routers.py
test_08_start_router Success 115.88 test_routers.py
test_07_stop_router Success 20.42 test_routers.py
test_06_router_advanced Success 0.06 test_routers.py
test_05_router_basic Success 0.04 test_routers.py
test_04_restart_network_wo_cleanup Success 5.65 test_routers.py
test_03_restart_network_cleanup Success 196.65 test_routers.py
test_02_router_internal_adv Success 1.02 test_routers.py
test_01_router_internal_basic Success 0.55 test_routers.py
test_router_dns_guestipquery Success 106.80 test_router_dns.py
test_router_dns_externalipquery Success 0.06 test_router_dns.py
test_router_dhcphosts Success 149.55 test_router_dhcphosts.py
test_router_dhcp_opts Success 21.62 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.09 test_resource_detail.py
test_01_reset_vm_on_reboot Success 30.35 test_reset_vm_on_reboot.py
test_createRegion Success 0.04 test_regions.py
test_create_pvlan_network Success 5.21 test_pvlan.py
test_dedicatePublicIpRange Success 0.43 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 1104.72 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 703.98 test_privategw_acl.py
test_01_vpc_privategw_acl Success 188.96 test_privategw_acl.py
test_01_primary_storage_nfs Success 37.39 test_primary_storage.py
test_createPortablePublicIPRange Success 15.20 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.46 test_portable_publicip.py
test_isolate_network_password_server Success 94.22 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.14 test_over_provisioning.py
test_oobm_zchange_password Success 30.90 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.41 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.23 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.32 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.34 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.35 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.33 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.33 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 82.61 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 0.12 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 29.45 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.32 test_non_contigiousvlan.py
test_01_nic Success 597.33 test_nic.py
test_releaseIP Success 284.07 test_network.py
test_reboot_router Success 667.53 test_network.py
test_public_ip_user_account Success 10.40 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 76.90 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.64 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 125.25 test_network.py
test_delete_account Success 530.31 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.65 test_network.py
test_01_port_fwd_on_src_nat Success 111.83 test_network.py
test_nic_secondaryip_add_remove Success 223.63 test_multipleips_per_nic.py
login_test_saml_user Success 24.71 test_login.py
test_assign_and_removal_lb Success 148.84 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 207.38 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 208.78 test_loadbalance.py
test_03_list_snapshots Success 0.08 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.06 test_iso.py
test_04_extract_Iso Success 5.16 test_iso.py
test_03_delete_iso Success 95.21 test_iso.py
test_02_edit_iso Success 0.06 test_iso.py
test_01_create_iso Success 21.97 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 581.00 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 414.83 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 1144.72 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 929.71 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.27 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.14 test_global_settings.py
test_rolepermission_lifecycle_update Success 7.09 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.99 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 6.78 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 6.75 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 6.89 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 6.85 test_dynamicroles.py
test_role_lifecycle_update Success 11.89 test_dynamicroles.py
test_role_lifecycle_list Success 7.18 test_dynamicroles.py
test_role_lifecycle_delete Success 11.83 test_dynamicroles.py
test_role_lifecycle_create Success 6.95 test_dynamicroles.py
test_role_inuse_deletion Success 6.76 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 8.97 test_dynamicroles.py
test_role_account_acls Success 9.29 test_dynamicroles.py
test_default_role_deletion Success 6.86 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.07 test_disk_offerings.py
test_03_delete_disk_offering Success 0.05 test_disk_offerings.py
test_02_edit_disk_offering Success 0.05 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 85.99 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 101.28 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 201.57 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 30.55 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 171.47 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 6.85 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 6.91 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 6.88 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 233.50 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 181.68 test_affinity_groups.py
test_08_resize_volume Skipped 5.11 test_volumes.py
test_07_resize_fail Skipped 15.32 test_volumes.py
test_static_role_account_acls Skipped 0.02 test_staticroles.py
test_01_scale_vm Skipped 66.31 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.04 test_primary_storage.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.01 test_deploy_vgpu_enabled_vm.py

@murali-reddy
Copy link
Contributor Author

component test results. If any one wish to run component test test_multiple_public_interfaces.py, add a new public ip range in the test_daya.py, in the 'publiciprange' dict object.

Test iptable rules in case we have IP associated with a network which is in ... === TestName: test_iptable_rules | Status : SUCCESS ===
ok
Test for port forwarding on a IP which is in pubic IP range different ... === TestName: test_port_forwarding_on_ip_from_non_src_nat_ip_range | Status : SUCCESS ===
ok
Test routing table in case we have IP associated with a network which is in ... === TestName: test_routing_tables | Status : SUCCESS ===
ok
Test for static nat on a IP which is in pubic IP range different ... === TestName: test_static_nat_on_ip_from_non_src_nat_ip_range | Status : SUCCESS ===
ok
Test Create VPC PF rules on acquired public ip when VpcVirtualRouter is Running ... === TestName: test_network_services_VPC_CreatePF | Status : SUCCESS ===
ok
Test Create VPC PF rules on acquired public ip when VpcVirtualRouter is Running ... === TestName: test_network_services_VPC_CreatePF | Status : SUCCESS ===
ok


Ran 6 tests in 1539.183s

OK

…es correctly

  -when processing static nat rule, add a mangle table rule, to mark the traffic
   from the guest vm when it has associated static nat rule so that traffic gets
   routed using the route tabe of the device which has public ip associated

  -fix the case where nic_device_id is empty when ip is getting disassociated
   resulting in empty deviceid in ips.json

  -add utility methods in CsRule, and CsRoute to add 'ip rule' and 'ip route' rules respectivley

  -ensure traffic from all public interfaces are connection marked with device number, and restored
   for the reverse traffic. use the connection marked number to do device specific routing table lookup
   fill the device specific routing table with default route

  -component tests for testing multiple public interfaces of VR
@rohityadavcloud
Copy link
Member

Travis failure is to do with a test_volumes failures in one of the component tests, not related to this PR. Will merge, and handle the Travis failure separately.

asfgit pushed a commit that referenced this pull request Dec 7, 2016
…non_vpc

CLOUDSTACK-9339 Virtual Routers don't handle Multiple Public Interfaces correctlyAs pointed out in CLOUDSTACK-9339, in case of multiple public IP's from different public IP ranges are associated with VR, VR functionality is broken from 4.6. Below are the brief list of problems specific to non-VPC networks addressed in the PR. This PR handles both VPC and non-VPC scenarios.
- reverse traffic for the connections accepted on the eth3 and above public interfaces are getting blocked. Need a rule for e.g "-A FORWARD -i  eth3 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT" in the FORWARD chain of filter table to permit reverse path traffic for established connections.
- outbound public traffic from eth0 to eth3 (or for interfaces above like eth4 eth5 etc) needs rule to run through FW_OUTBOUND chain in the filter table
- network stats on public interfaces eth3 are getting gathered
- default gateway is missing in the device specific routing table, resulting in traffic to be looked up in main routing table
- creating a device specific route table is generating "from all lookup Table_eth3" in the
  ip rules, resulting in rest of the traffic getting blocked.

Picked few commits from #1519 from dsclose (#1519) submitted for 4.7

Marvin tests are added to test below
- Static NAT works on the public interfaces above eth2, in case non-vpc networks
- Portforwarding works on the public interfaces above eth2, in case non-vpc networks
- Route tables are configured as expected for the device specific table for the public interfaces above eth2, in case non-vpc networks
- IP tables rules are as expected for the traffic from and to the public interfaces above eth2, in case non-vpc networks

* pr/1659:
  CLOUDSTACK-9339 Virtual Routers don't handle Multiple Public Interfaces correctly

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@asfgit asfgit merged commit 6749785 into apache:4.9 Dec 7, 2016
@milamberspace
Copy link
Contributor

@murali-reddy @rhtyd Possible regression introduce by the PR1659 see https://issues.apache.org/jira/browse/CLOUDSTACK-9770

@rohityadavcloud
Copy link
Member

@murali-reddy @abhinandanprateek @DaanHoogland can you comment on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants