2.6 KiB
Failover
Verify that it is not possible to uninstall of Fuel NSXv plugin with deployed environment.
ID
nsxv_uninstall_negative
Description
It is not possible to remove plugin while at least one environment exists.
Complexity
smoke
Steps
Install NSXv plugin on master node.
Create a new environment with enabled plugin.
Try to delete plugin via cli from master node:
fuel plugins --remove nsxv==3.0.0
Expected result
Alert: "400 Client Error: Bad Request (Can't delete plugin which is enabled for some environment.)" should be displayed.
Shutdown primary controller and check plugin functionality.
ID
nsxv_shutdown_controller
Description
Check plugin functionality after shutdown primary controller.
Complexity
core
Steps
- Log in to Fuel with preinstalled plugin and deployed enviroment with 3 controllers.
- Log in to Horizon.
- Create VM and check connectivity to outside world from VM.
- Shutdown primary controller.
- Ensure that VIPs are moved to other controller.
- Ensure connectivity to outside world from created VM.
- Create a new network and attach it to router.
- Create a VM with new network and check network connectivity.
Expected result
Networking is working correct after failure of primary controller.
Check cluster functionality after reboot vcenter.
ID
nsxv_reboot_vcenter
Description
Verifies that system functionality is ok when vcenter has been rebooted.
Complexity
core
Steps
Log in to Fuel with preinstalled plugin and deployed enviroment.
Log in to Horizon.
Launch instance VM_1 with image TestVM-VMDK and flavor m1.tiny.
Launch instance VM_2 with image TestVM-VMDK and flavor m1.tiny.
Check connection between VMs, send ping from VM_1 to VM_2 and vice verse.
Reboot vcenter:
vmrun -T ws-shared -h https://localhost:443/sdk -u vmware -p pass reset "[standard] vcenter/vcenter.vmx"
Check that controller lost connection with vCenter.
Wait for vCenter.
Ensure that all instances from vCenter displayed in dashboard.
Ensure connectivity between vcenter1's and vcenter2's VM.
Run OSTF.
Expected result
Cluster should be deployed and all OSTF test cases should be passed. ping should get response.