6.8 KiB
Failover
Verify that it is not possible to uninstall Fuel DVS plugin with deployed environment.
ID
dvs_vcenter_uninstall
Description
Verify that it is not possible to uninstall Fuel DVS plugin with deployed environment.
Complexity
core
Steps
- Install DVS plugin on master node.
- Create a new environment with enabled plugin.
- Try to delete plugin via cli
Expected result
Alert: "400 Client Error: Bad Request (Can't delete plugin which is enabled for some environment.)" should be displayed.
Verify that vmclusters migrate after shutdown of controller.
ID
dvs_vcenter_shutdown_controller
Description
Verify that vcenter-vmcluster migrates after shutdown of controller.
Complexity
core
Steps
- Install DVS plugin on master node.
- Create a new environment with the following parameters:
- Compute: KVM/QEMU with vCenter
- Networking: Neutron with VLAN segmentation
- Storage: default
- Additional services: default
- Add nodes with following roles:
- Controller
- Controller
- Controller
- Compute
- Compute
- Configure interfaces on nodes.
- Configure network settings.
- Enable and configure DVS plugin.
- Configure VMware vCenter Settings. Add 2 vSphere clusters and configure Nova Compute instances on controllers.
- Verify networks.
- Deploy cluster.
- Run OSTF.
- Launch instances in nova and vcenter availability zones.
- Verify connection between instances: check that instances can ping each other.
- Shutdown controller with vmclusters.
- Check that vcenter-vmcluster migrates to another controller.
- Verify connection between instances: check that instances can ping each other.
Expected result
Vcenter-vmcluster should migrate to another controller. Ping is available between instances.
Check cluster functionality after reboot vcenter (Nova Compute on controllers).
ID
dvs_reboot_vcenter_1
Description
Check cluster functionality after reboot vcenter. Nova Compute instances are running on controller nodes.
Complexity
core
Steps
- Install DVS plugin on master node.
- Create a new environment with the following parameters:
- Compute: KVM/QEMU with vCenter
- Networking: Neutron with VLAN segmentation
- Storage: default
- Additional services: default
- Add nodes with following roles:
- Controller
- Compute
- Cinder
- CinderVMware
- Configure interfaces on nodes.
- Configure network settings.
- Enable and configure DVS plugin.
- Configure VMware vCenter Settings. Add 1 vSphere clusters and configure Nova Compute instances on controllers.
- Verify networks.
- Deploy cluster.
- Run OSTF.
- Launch instance VM_1 from image TestVM, with availability zone nova and flavor m1.micro.
- Launch instance VM_2 from image TestVM-VMDK, with availability zone vcenter and flavor m1.micro.
- Verify connection between instances: check that VM_1 and VM_2 can ping each other.
- Reboot vcenter.
- Check that controller lost connection with vCenter.
- Wait for vCenter.
- Ensure connectivity between instances.
- Run OSTF.
Expected result
Cluster should be deployed and all OSTF test cases should be passed. Ping should get response.
Check cluster functionality after reboot vcenter (Nova Compute on compute-vmware).
ID
dvs_reboot_vcenter_2
Description
Check cluster functionality after reboot vcenter. Nova Compute instances are running on compute-vmware nodes.
Complexity
core
Steps
- Install DVS plugin on master node.
- Create a new environment with following parameters:
- Compute: KVM/QEMU with vCenter
- Networking: Neutron with VLAN segmentation
- Storage: default
- Additional services: default
- Add nodes with following roles:
- Controller
- Compute
- Cinder
- CinderVMware
- ComputeVMware
- Configure interfaces on nodes.
- Configure network settings.
- Enable and configure DVS plugin.
- Configure VMware vCenter Settings. Add 1 vSphere clusters and configure Nova Compute instances on compute-vmware.
- Verify networks.
- Deploy cluster.
- Run OSTF.
- Launch instance VM_1 with image TestVM, nova availability zone and flavor m1.micro.
- Launch instance VM_2 with image TestVM-VMDK, vcenter availability zone and flavor m1.micro.
- Verify connection between instances: check that VM_1 and VM_2 can ping each other.
- Reboot vCenter.
- Check that ComputeVMware lost connection with vCenter.
- Wait for vCenter.
- Ensure connectivity between instances.
- Run OSTF.
Expected result
Cluster should be deployed and all OSTF test cases should be passed. Pings should get response.
Verify that vmclusters migrate after reset of controller.
ID
dvs_vcenter_reset_controller
Description
Verify that vcenter-vmcluster migrates after reset of controller.
Complexity
core
Steps
- Install DVS plugin on master node.
- Create a new environment with following parameters:
- Compute: KVM/QEMU with vCenter
- Networking: Neutron with VLAN segmentation
- Storage: default
- Additional services: default
- Add nodes with following roles:
- Controller
- Controller
- Controller
- Compute
- Compute
- Configure interfaces on nodes.
- Configure network settings.
- Enable and configure DVS plugin.
- Configure VMware vCenter Settings. Add 2 vSphere clusters and configure Nova Compute instances on controllers.
- Verify networks.
- Deploy cluster.
- Run OSTF.
- Launch instances in nova and vcenter availability zones.
- Verify connection between instances: check that instances can ping each other.
- Reset controller with vmclusters services.
- Check that vmclusters services migrate to another controller.
- Verify connection between instances: check that instances can ping each other.
Expected result
Vcenter-vmcluster should migrate to another controller. Ping is available between instances.