cloudstack/test/integration/smoke
Remi Bergsma ff89587fd1 Merge pull request #1277 from ekholabs/fix/4.7-rvpc-net-gc-CLOUDSTACK-9154
[4.7] Critical VPCVR issues fixed: CLOUDSTACK-9154; CLOUDSTACK-9187; and CLOUDSTACK-9188This PR applies the same fixes as in the PR #1259, but against branch 4.7.

Please refer to PR #1259 for the tests results and all the comments already made there.

Issues fixed are:

* CLOUDSTACK-9154: rVPC doesn't recover from cleaning up of network garbage collector
* CLOUDSTACK-9187: rVPC routers in Master/Master due to concurrency problem when writing the keepalivd.conf
* CLOUDSTACK-9188: NetworkGarbageCollector is not using gc.interval and gc.wait from settings

Those changes have been covered by 2 new tests added to ```smoke/test_vpc_redundant.py```:

* test_04_rvpc_network_garbage_collector_nics
* test_05_rvpc_multi_tiers

The test ```test_04_rvpc_network_garbage_collector_nics``` depends on the global settings for the network.gc.interval and gc.wait. If one wants the test to run quicker, please change the settings (default is 600 seconds for each) and restart the Management Server before running the tests. I would suggest to set it to 60 seconds.

In addition, the NetworkGarbageCollector was redefining the settings above mentioned and not reading their values through ConfigDao. Due to that, the settings were not being applied properly and the test was waiting to long to check the VPC routers.

* pr/1277:
  CLOUDSTACK-9154 - Sets the pub interface down when all guest nets are gone
  CLOUDSTACK-9187 - Makes code ready for more something like ethXXXX, if we ever get that far
  CLOUDSTACK-9188 -  Reads network GC interval and wait from configDao
  CLOUDSTACK-9187 - Fixes interface allocation to VRRP instances
  CLOUDSTACK-9187 - Adds test to cover multiple nics and nic removal
  CLOUDSTACK-9154 - Adds test to cover nics state after GC
  CLOUDSTACK-9154 - Returns the guest iterface that is marked as added

Signed-off-by: Remi Bergsma <github@remi.nl>
2016-01-17 19:12:43 +01:00
..
misc Adding new test which would verify the fix for issue "The ISO/Template is automatically deleted after URL expires" 2014-10-17 18:04:35 +05:30
__init__.py apply chip childers licensing patches for the test directory 2012-06-26 11:19:58 -04:00
test_affinity_groups.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_affinity_groups_projects.py CLOUDSTACK-6276 Fixing affinity groups for projects 2015-11-27 14:43:02 -05:00
test_deploy_vgpu_enabled_vm.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_deploy_vm_iso.py CLOUDSTACK-8286: Adding Basic validation test case to test deploying VM from ISO and correcting old regression test case to test HA VM from ISO 2015-03-12 11:10:08 +05:30
test_deploy_vm_root_resize.py Removed 'BugId' tag from tests for fixed bugs 2014-09-08 16:00:08 +05:30
test_deploy_vm_with_userdata.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_deploy_vms_with_varied_deploymentplanners.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_disk_offerings.py removed unnecessary pdb break point. 2015-02-09 11:56:33 +05:30
test_global_settings.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_guest_vlan_range.py Re-enabling fixed test cases 2014-06-25 18:02:04 +05:30
test_hosts.py Fixed Regression issues mentioned under CLOUDSTACK-6708 2014-07-11 20:49:00 +05:30
test_internal_lb.py CLOUDSTACK-9135 - Makes test compliant with Redundant VPCs 2015-12-11 15:03:50 +01:00
test_iso.py CLOUDSTACK-8755: xs-tools.iso missing from ISOs in CCP GUI 2015-09-02 11:46:28 +05:30
test_loadbalance.py CLOUDSTACK-8947 - Do not rely on the machine hostname to verify the test 2015-10-14 07:44:39 +02:00
test_multipleips_per_nic.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_network.py CLOUDSTACK-8991 - Process the IPs that have been removed 2015-10-28 19:51:57 +01:00
test_network_acl.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_nic.py CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() 2015-04-28 12:33:54 +05:30
test_nic_adapter_type.py CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() 2015-04-28 12:33:54 +05:30
test_non_contigiousvlan.py Re-enabling fixed test cases 2014-06-25 18:02:04 +05:30
test_over_provisioning.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_password_server.py CLOUDSTACK-9135 - Moves test into smoke directory 2015-12-10 13:27:53 +01:00
test_portable_publicip.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_primary_storage.py CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly 2014-11-25 18:30:33 +05:30
test_privategw_acl.py Add integration test for restartVPC with cleanup, and Private Gateway enabled. 2016-01-11 16:02:32 +01:00
test_public_ip_range.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_pvlan.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_quota.py CLOUDSTACK-8592: Implement Quota service 2015-12-07 23:02:48 +05:30
test_regions.py test fails unexplicalby while functionality is ok 2015-02-20 14:24:45 +01:00
test_reset_vm_on_reboot.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_resource_detail.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_router_dhcphosts.py CLOUDSTACK-9120 - Moves tests to the smoke directory 2015-12-08 20:28:07 +01:00
test_routers.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_routers_iptables_default_policy.py CLOUDSTACK-9120 - Moves tests to the smoke directory 2015-12-08 20:28:07 +01:00
test_routers_network_ops.py CLOUDSTACK-9120 - Moves tests to the smoke directory 2015-12-08 20:28:07 +01:00
test_scale_vm.py CLOUDSTACK-8924: Removed duplicate test from test_scale_vm.py 2015-09-30 15:23:30 +05:30
test_secondary_storage.py Extend wait before retry to states other than 'Starting' 2015-06-24 07:34:26 +02:00
test_service_offerings.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_snapshots.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_ssvm.py CLOUDSTACK-9021 - Add right interface when test is executed against HyperV/VMware 2015-11-03 11:18:11 +01:00
test_templates.py verify that when createTemplate is ued to create templates with same name, all of them fet unique_name under vm_template table so that templates with same name does not get deleted during template sync 2015-08-26 17:43:14 +05:30
test_usage_events.py CLOUDSTACK-8314: Add test case to validate VM.DESTROY event is logged when VM deployment fails 2015-03-12 16:43:08 +05:30
test_vm_life_cycle.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_vm_snapshots.py Modified test description 2015-09-23 11:52:10 +05:30
test_volumes.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_vpc_redundant.py CLOUDSTACK-9154 - Sets the pub interface down when all guest nets are gone 2015-12-22 14:52:08 +01:00
test_vpc_router_nics.py CLOUDSTACK-9120 - Moves tests to the smoke directory 2015-12-08 20:28:07 +01:00
test_vpc_vpn.py PEP8 of integration/smoke/test_vpc_vpn 2016-01-12 11:24:35 +01:00