2.7 KiB
Failover
Verify deleting of Fuel NSX-T plugin is impossible if it's used by created cluster.
ID
nsxt_uninstall_negative
Description
It is impossible to remove plugin while at least one environment exists.
Complexity
smoke
Steps
Install NSX-T plugin on master node.
Create a new environment with enabled NSX-T plugin.
Try to delete plugin via cli from master node:
fuel plugins --remove nsxt==1.0.0
Expected result
Alert: "400 Client Error: Bad Request (Can't delete plugin which is enabled for some environment.)" should be displayed.
Check plugin functionality after shutdown primary controller.
ID
nsxt_shutdown_controller
Description
Check plugin functionality after shutdown primary controller.
Complexity
core
Steps
- Log in to the Fuel with preinstalled plugin and deployed enviroment with 3 controllers and 1 compute.
- Log in to Horizon.
- Create vcenter VM and check connectivity to outside world from VM.
- Shutdown primary controller.
- Ensure that VIPs are moved to other controller.
- Ensure taht there is a connectivity to outside world from created VM.
- Create a new network and attach it to default router.
- Create a vcenter VM with new network and check network connectivity via ICMP.
Expected result
Networking works correct after failure of primary controller.
Check cluster functionality after reboot vcenter.
ID
nsxt_reboot_vcenter
Description
Test verifies that system functionality is ok when vcenter has been rebooted.
Complexity
core
Steps
Log in to the Fuel with preinstalled plugin and deployed enviroment.
Log in to Horizon.
Launch vcenter instance VM_1 with image TestVM-VMDK and flavor m1.tiny.
Launch vcenter 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 is online.
Ensure that all instances from vCenter are displayed in dashboard.
Ensure there is connectivity between vcenter1's and vcenter2's VMs.
Run OSTF.
Expected result
Cluster should be deployed and all OSTF test cases should be passed. Ping should get response.