Ref:
- https://github.com/harvester/harvester/issues/1446
- https://github.com/harvester/harvester/issues/982
Verify Items
- Error message should displayed when VM can’t be scheduled
- VM’s state should be changed when host is down
Case: Create a VM that no Node can host it
- Install Harvester with any nodes
- download a image to create VM
- create a VM with over-commit (consider to over-provisioning feature, double or triple the host resource would be more reliable.)
- VM should shows Starting state, and an alart icon shows aside.
- hover to the icon, pop-up message should display messages like
0/N nodes are available: n insufficient ...
Case: VM’s state changed to Not Ready when the host is down
- Install Harvester with 2+ nodes
- Create an Image for VM creation
- Create a VM and wait until state becomes Running
- Reboot the node which hosting the VM
- Node’s State should be
In Progress
in Hosts page - VM’s State should be
Not Ready
in Virtual Machines page