Verify Enabling maintenance mode
- Navigate to the Hosts page and select the node
- Click Maintenance Mode
Expected Results
- The existing VM should get migrated to other nodes.
- Verify the CRDs to see the maintenance mode is enabled.
- Needs other test cases to be added
- If VM migration fails
- How does live migration work
- What happens if there are no schedulable resources on nodes
- Check CRDs on hosts
- On going into maintenance mode
- kubectl get virtualmachines –all-namespaces
- Kubectl get virtualmachines/name -o yaml
- On coming out of maintenance mode
- kubectl get virtualmachines –all-namespaces
- Kubectl get virtualmachines/name -o yaml
- Check that maintenance mode host isn’t schedulable
- Fully provision all nodes and try to create a VM
- It should fail
- Migration with maintenance mode
- What if migration gets stuck, can you cancel
- VMs going to different hosts
- Canceling maintenance mode
- P1
- Put in maintenance mode
- Check migration of VMs
- Check status of VMs
- modify filesystem on VMs
- Check status of host
- Take host out of maintenance mode
- Check status of host
- Migrate VMs back to host
- Check filesystem
- Create new VMs on host
- Check status of VMs