cloudstack/test/integration/component
Rohit Yadav 212e5ccfa7 CLOUDSTACK-9782: Host HA and KVM HA provider
Host-HA offers investigation, fencing and recovery mechanisms for host that for
any reason are malfunctioning. It uses Activity and Health checks to determine
current host state based on which it may degrade a host or try to recover it. On
failing to recover it, it may try to fence the host.

The core feature is implemented in a hypervisor agnostic way, with two separate
implementations of the driver/provider for Simulator and KVM hypervisors. The
framework also allows for implementation of other hypervisor specific provider
implementation in future.

The Host-HA provider implementation for KVM hypervisor uses the out-of-band
management sub-system to issue IPMI calls to reset (recover) or poweroff (fence)
a host.

The Host-HA provider implementation for Simulator provides a means of testing
and validating the core framework implementation.

Signed-off-by: Abhinandan Prateek <abhinandan.prateek@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-30 18:06:48 +02:00
..
cpu_limits CLOUDSTACK-4934: Rename Limit resources tests so that they have unique names. 2013-11-08 10:25:39 +05:30
maint Merge pull request #1850 from sudhansu7/CLOUDSTACK-9694 2017-06-06 16:02:54 +05:30
__init__.py apply chip childers licensing patches for the test directory 2012-06-26 11:19:58 -04:00
find_hosts_for_migration.py BUG-ID: CLOUDSTACK-8484 - Hosts without tag are not listed while 2015-07-03 17:36:54 +05:30
test_VirtualRouter_alerts.py CLOUDSTACK-8582: Modifying tag for test cases which should not be run on simulator 2015-06-24 16:52:24 +05:30
test_accounts.py CLOUDSTACK-10014: fix components/test_accounts.py test_user_key_renew_same_account: use new api getUserKeys to get secrett key 2017-07-26 11:12:52 +02:00
test_acl_isolatednetwork.py Changing vlan to None since network offering being used has Specify Vlan set to False 2017-05-16 17:12:25 +05:30
test_acl_isolatednetwork_delete.py CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. 2014-10-12 23:38:53 -04:00
test_acl_listsnapshot.py test/integration: fix tearDown order in list_acl_ tests 2016-08-23 14:49:21 +05:30
test_acl_listvm.py test/integration: fix tearDown order in list_acl_ tests 2016-08-23 14:49:21 +05:30
test_acl_listvolume.py test/integration: fix tearDown order in list_acl_ tests 2016-08-23 14:49:21 +05:30
test_acl_sharednetwork.py CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. 2014-10-12 23:38:53 -04:00
test_acl_sharednetwork_deployVM-impersonation.py CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. 2014-10-12 23:38:53 -04:00
test_add_remove_network.py New test to validate starting vm after nic removal and attach Bug-Id: CLOUDSTACK-9219 2016-04-06 16:11:54 +05:30
test_advancedsg_networks.py CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
test_affinity_groups.py CLOUDSTACK-9631: API: affinitygroupids or affinitygroupnames must be given (#1798) 2017-07-28 10:29:30 +02:00
test_affinity_groups_projects.py CLOUDSTACK-6276 Removing unused parameter in integration test for projects 2015-11-28 20:46:24 -05:00
test_allocation_states.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_asa1000v_fw.py CLOUDSTACK-5925: Changes to regression tests as per new get_zone, get_pod etc definitions 2014-02-26 17:13:21 +05:30
test_assign_vm.py CLOUDSTACK-8509: Skip snapshot tests for LXC and Hyper-V 2015-05-25 18:03:14 +05:30
test_baremetal.py CLOUDSTACK-7135: test_baremetal.py - Tagging test case as invalid 2014-09-15 16:53:50 +05:30
test_base_image_updation.py CLOUDSTACK-9408: Fix download urls in sql and scripts 2017-04-20 12:33:33 +05:30
test_bigswitch_bcf.py CLOUDSTACK-6697: bigswitch networking plugin update 2015-04-09 13:02:02 +05:30
test_blocker_bugs.py CLOUDSTACK-9388: Remove string conversion in assertion statement 2016-05-25 14:57:29 +05:30
test_brocade_vcs.py CLOUDSTACK-7547: Brocade Device Data was hard coded, moved it to config file 2014-09-17 14:40:30 +05:30
test_browse_templates.py CLOUDSTACK-9408 for the move away from download.cloud.com 2017-04-20 11:35:36 +05:30
test_browse_templates2.py Moved test for CLOUDSTACK-8651 to a new .py file 2015-07-29 13:41:31 +05:30
test_browse_volumes.py CLOUDSTACK-9408 for the move away from download.cloud.com 2017-04-20 11:35:36 +05:30
test_concurrent_create_volume_from_snapshot.py CLOUDSTACK-9895 : Added support for parallel volume(s) creation from a volume snapshot 2017-05-31 11:27:30 +05:30
test_concurrent_snapshots_limit.py CLOUDSTACK-9603: concurrent.snapshots.threshold.perhost does not validate value given. 2017-02-24 15:42:37 +05:30
test_cpu_domain_limits.py Skip vm migration code from the test since it is not supported on LXC 2015-05-27 11:50:00 +05:30
test_cpu_limits.py CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
test_cpu_max_limits.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_cpu_project_limits.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_custom_hostname.py CLOUDSTACK-8153: Adding global setting value check for few test cases in test_custom_hostname.py 2015-02-03 17:58:42 +05:30
test_deploy_vgpu_vm.py Correcting a minor typo in test_deploy_vgpu_vm.py script 2015-02-03 17:57:33 +05:30
test_deploy_vm_userdata_multi_nic.py Marvin script for cloudstack-9365 2016-05-11 07:59:38 +02:00
test_deploy_vm_userdata_reg.py CLOUDSTACK-7433: removed hard coding for host credentials 2014-09-04 17:44:50 +05:30
test_dhcp_dns_offload.py CLOUDSTACK-8324: Added integration tests for dhcp dns offload feature 2015-07-10 09:49:32 +05:30
test_dynamic_compute_offering.py CLOUDSTACK-8161: disable template create and dynamic scaling tests for LXC 2015-02-13 15:47:19 +05:30
test_egress_fw_rules.py fix egress rule incorrect behavior 2016-09-20 16:56:06 +05:30
test_egress_rules.py CLOUDSTACK-7978 : Fixed the script 'test_egress_rules.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:32:46 -08:00
test_eip_elb.py CLOUDSTACK-7860: test_eip_elb.py - Move Netscler info out of the test case. Read it from config. Fix attribute error. Fix pep8 issues. Fix imports. 2014-11-14 16:39:55 +05:30
test_escalation_listTemplateDomainAdmin.py CLOUDSTACK-9594: API "list templates templatefilter=all" reveals all 2016-11-11 19:56:35 +05:30
test_escalations_instances.py Adressed review comment for automating bugs 9277 9276 9275 9274 9273 9179 9178 9177 2017-05-03 14:32:43 +05:30
test_escalations_ipaddresses.py More typos 2015-08-20 13:04:29 +01:00
test_escalations_isos.py CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests 2014-10-13 00:29:38 -04:00
test_escalations_networks.py CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests 2014-10-13 00:29:38 -04:00
test_escalations_routers.py CLOUDSTACK-8757:FTP modules are not loaded in VR 2015-08-21 18:04:19 +05:30
test_escalations_securitygroups.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_escalations_snapshots.py Snapshot tests are not supported on Hyper-v so skipping the tests 2015-05-27 14:19:43 +05:30
test_escalations_templates.py test case automated for list template pagination 2015-08-13 15:51:16 +05:30
test_escalations_vmware.py CLOUDSTACK-8830 VM snapshot fails for 12 min after instance creation 2017-07-23 17:24:05 +02:00
test_escalations_volumes.py CLOUDSTACK-8515: Skipping snapshots tests on HyperV and LXC hypervisors 2015-06-04 10:56:28 +05:30
test_escalations_vpncustomergateways.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_haproxy.py CLOUDSTACK-8514: test_haproxy.py - Verifying router state before validating network rules 2015-05-27 10:19:51 +05:30
test_host_ha.py CLOUDSTACK-9782: Host HA and KVM HA provider 2017-08-30 18:06:48 +02:00
test_host_ha.sh CLOUDSTACK-9782: Host HA and KVM HA provider 2017-08-30 18:06:48 +02:00
test_host_maintenance.py CLOUDSTACK-9323: Fix Cancel maintenance so that if maintenance is cancelled the host come back to normal state gracefully. 2016-04-25 15:28:32 +05:30
test_implicit_planner.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_interop_xd_ccp.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_invalid_gw_nm.py Automation for CLOUDSTACK-9214 , detect wrong GW or NM 2016-01-07 10:47:28 +05:30
test_ip_reservation.py CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly 2014-12-12 18:58:14 +05:30
test_lb_secondary_ip.py Modified test_lb_secondary_ip.py file: Local variable accessed as class variable 2015-06-02 12:33:06 +02:00
test_ldap.py More typos 2015-08-20 13:04:29 +01:00
test_ldap_auto_import.py LDAP : Auto Import and Trust AD 2017-05-19 11:29:13 +05:30
test_list_nics.py CLOUDSTACK-9630: Cannot use listNics API as advertised 2017-04-21 15:27:23 +05:30
test_list_pod.py CLOUDSTACK-9567 Difference in the api call outputs for CAPACITY_TYPE_CPU = 1 2017-03-01 13:28:22 +05:30
test_memory_limits.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_migrate_vol_to_maintained_pool.py Automation for CLOUDSTACK-9217 2017-05-10 15:56:11 +05:30
test_mm_domain_limits.py CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
test_mm_max_limits.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_mm_project_limits.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_multiple_ip_ranges.py CLOUDSTACK-8062: test_multiple_ip_ranges.py - Fix the test case to avoid using same vlan IP range in each test case 2014-12-11 17:54:32 +05:30
test_multiple_ips_per_nic.py Incorporated review comments provided in PR#183 2015-04-22 15:51:01 +05:30
test_multiple_public_interfaces.py CLOUDSTACK-9339 Virtual Routers don't handle Multiple Public Interfaces correctly 2016-12-07 14:33:24 +05:30
test_ncc_integration_dedicated.py CLOUDSTACK-8672 : NCC Integration with CloudStack. 2017-07-20 12:42:43 +05:30
test_ncc_integration_shared.py CLOUDSTACK-8672 : NCC Integration with CloudStack. 2017-07-20 12:42:43 +05:30
test_netscaler_configs.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_netscaler_lb.py CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
test_netscaler_lb_algo.py CLOUDSTACK-8532: Modification in setupClass to skip testcases rather than throwing an exception on "Exceeding connection limit to Netscaler device" 2015-06-03 15:19:04 +05:30
test_netscaler_lb_sticky.py CLOUDSTACK-8532: Modification in setupClass to skip testcases rather than throwing an exception on "Exceeding connection limit to Netscaler device" 2015-06-03 15:19:04 +05:30
test_netscaler_nw_off.py CLOUDSTACK-8214: test_netscaler_nw_off.py - Skip test if enough zones are not present instead of throwing exception 2015-02-05 15:50:51 +05:30
test_network_offering.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_non_contiguous_vlan.py CLOUDSTACK-8330: Adding dvs tag to test cases which can be run on DVS configuration on vmware 2015-03-31 12:37:39 +05:30
test_organization_states.py CLOUDSTACK-7732-[Automation] - Automate organization States Test Cases relating to enabling/disabling of zone,pod,host and cluster. 2014-11-21 12:32:14 -08:00
test_overcommit.py CLOUDSTACK-8439:Automation for feature CPU/Memory overcommit 2015-07-06 09:45:26 +05:30
test_persistent_networks.py CLOUDSTACK-8731-checking usage event for delete volume 2015-11-09 16:19:14 +05:30
test_portable_ip.py bug-id:CLOUDSTACK-8055cleaned up test tags, removed unecessary tags. 2015-01-20 10:23:15 +05:30
test_project_configs.py CLOUDSTACK-9408: Fix download urls in sql and scripts 2017-04-20 12:33:33 +05:30
test_project_limits.py Changes for Regression failures 2015-07-09 15:54:23 +05:30
test_project_resources.py automated 9277 9276 9275 9274 9273 9179 9178 9177 2017-05-03 14:32:24 +05:30
test_project_usage.py Modified further based on Travis failures 2017-05-05 14:04:35 +05:30
test_projects.py CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() 2015-05-06 16:25:32 +05:30
test_ps_domain_limits.py CLOUDSTACK-8582: Skipping unsuitable test cases for simulator 2015-07-16 10:30:14 +05:30
test_ps_limits.py CLOUDSTACK-8989 test_ps_limits.py tests can also be run on a basic setup. 2015-10-27 14:30:58 +01:00
test_ps_max_limits.py CLOUDSTACK-8626 :[Automation]fixing test/integration/component/test_ps_max_limits.py for lxc hypervisor 2015-07-16 10:21:28 +05:30
test_ps_project_limits.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_ps_resize_volume.py CLOUDSTACK-9604: Root disk resize support for VMware and XenServer. 2017-03-09 19:20:38 +05:30
test_ps_resource_limits_volume.py CLOUDSTACK-9080: Resource limits for Primary arent respected during attach. 2015-11-24 11:59:31 +05:30
test_recurring_snapshots.py CLOUDSTACK-8394: Skipping recurring snapshot test cases for Hyperv and LXC 2015-05-20 11:36:15 +05:30
test_redundant_router_cleanups.py Added new test to verify restart network after destorying master VR 2016-04-07 11:15:21 +05:30
test_redundant_router_services.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_redundant_router_upgrades.py CLOUDSTACK-8534: Fixed import and pep8 issues in test_redundant_router_upgrades.py 2015-06-02 15:52:11 +05:30
test_region_vpc.py CLOUDSTACK-7329: Fixed issues in test_region_vpc.py 2014-08-13 17:10:48 +05:30
test_regions.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_regions_accounts.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_reset_ssh_keypair.py Revert "Change references of people.apache.org to home.apache.org in the test code" 2015-11-26 12:07:49 +05:30
test_resource_limits.py Handling Basic zone failures in startVM with false condition 2015-07-09 15:54:35 +05:30
test_rootvolume_resize.py CLOUDSTACK-9604: Root-volume resize additional tests. 2017-03-14 15:39:49 +05:30
test_routers.py CLOUDSTACK-8259: Code improvement - test_routers.py 2015-02-17 18:23:34 +05:30
test_security_groups.py Tagging tests appropriately to pick them for running on basic zone 2015-09-14 16:52:13 +05:30
test_shared_networks.py CLOUDSTACK-8445: Keep only dvs tag for test case which tests the VCenter port groups 2015-05-26 12:13:42 +05:30
test_simultaneous_volume_attach.py changed the testcase skip code into setup method 2015-08-13 11:39:06 +05:30
test_snapshot_gc.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_snapshot_limits.py CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() 2015-05-06 16:25:32 +05:30
test_snapshots.py CLOUDSTACK-8492: Fix string case issue 2015-05-22 15:41:13 +05:30
test_snapshots_improvement.py CLOUDSTACK-8394: Skipping snapshots test cases for HyperV and LXC 2015-04-30 07:49:14 +05:30
test_ss_domain_limits.py CLOUDSTACK-8639:fixing calculation mistakes in component/test_ss_domain_limits.py 2015-07-20 14:41:52 +05:30
test_ss_limits.py Merge branch '4.5' after 4.5.1 vote passes 2015-05-07 16:03:26 +02:00
test_ss_max_limits.py CLOUDSTACK-8631 :changing if condition in component/test_ss_max_limits.py 2015-07-15 13:44:06 +05:30
test_ss_project_limits.py CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly 2014-12-12 18:39:24 +05:30
test_stopped_vm.py CLOUDSTACK-8862: Introduced new state attaching for volume. This will make sure that other attach operation on same volume will fail gracefully without calling access calls for managed storage like SolidFire 2017-04-17 15:40:02 +05:30
test_storage_motion.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_tags.py Incorporated review comments from the PR 2015-12-02 16:06:26 +05:30
test_template_from_snapshot_with_template_details CLOUDSTACK-9408: Fix download urls in sql and scripts 2017-04-20 12:33:33 +05:30
test_templates.py CLOUDSTACK-9408: Fix download urls in sql and scripts 2017-04-20 12:33:33 +05:30
test_update_vm.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_usage.py Modified further based on Travis failures 2017-05-05 14:04:35 +05:30
test_vm_passwdenabled.py Revert "Change references of people.apache.org to home.apache.org in the test code" 2015-11-26 12:07:49 +05:30
test_vmware_drs.py CLOUDSTACK-8240: Skipping test case in test_vmware_drs.py because the scenario is not testable through automation 2015-02-11 17:02:25 +05:30
test_volumes.py CLOUDSTACK-9584: Fix intermittent test failure in `test_volumes` 2016-12-08 16:25:40 +05:30
test_vpc.py complete implementation of the StrongSwan VPN feature 2017-02-02 16:18:06 -05:00
test_vpc_distributed_routing_offering.py CLOUDSTACK-7407: Skip tests if physical network does not have OVS provider support 2014-09-01 13:33:38 +05:30
test_vpc_network.py Merge branch '4.5' after 4.5.1 vote passes 2015-05-07 16:03:26 +02:00
test_vpc_network_internal_lbrules.py CLOUDSTACK-9321 : Multiple Internal LB rules (more than one Internal LB rule with same source IP address) are not getting resolved in the corresponding InternalLbVm instance's haproxy.cfg file 2016-11-22 15:51:22 +01:00
test_vpc_network_lbrules.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_vpc_network_pfrules.py Allow test to run on tiny linux templates using busybox 2015-06-10 22:00:54 +02:00
test_vpc_network_staticnatrule.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_vpc_offerings.py CLOUDSTACK-8935 - Clean up network resources in the right order 2015-10-23 16:00:09 +02:00
test_vpc_routers.py CLOUDSTACK-8527: Skipping VPC tests on HyperV 2015-06-18 12:12:46 +02:00
test_vpc_vm_life_cycle.py CLOUDSTACK-8445: Keep only dvs tag for test case which tests the VCenter port groups 2015-05-26 12:13:42 +05:30
test_vpc_vms_deployment.py CLOUDSTACK-7863: Fix the script 'test_vpc_vms_deployment.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs 2014-11-10 16:32:39 +05:30
test_vpn_service.py [CLOUDSTACK-9296] Start ipsec for client VPN 2016-05-26 11:25:09 -04:00
test_vpn_users.py CLOUDSTACK-10000: Fix vpn_users component test 2017-08-10 01:31:28 +02:00