pvc/daemon-common
Joshua Boniface 58db537093 Add memory and vCPU checks to VM define/modify
Ensures that a VM won't:

(a) Have provisioned more RAM than there is available on a given node.
Due to memory overprovisioning, this is simply a "is the VM memory count
more than the node count", and doesn't factor in free or used memory on
a node, total cluster usage, etc. So if a node has 64GB total RAM, the
VM limit is 64GB. It is up to an administrator to ensure sanity *below*
that value.

(b) Have provisioned more vCPUs than there are CPU cores on the node,
minus 2 to account for hypervisor/storage processes. Will ensure there
is no severe CPU contention caused by a single VM having more vCPUs than
there are actual execution threads available.

Closes #139
2021-09-13 01:51:21 -04:00
..
migrations/versions Implement node logging into Zookeeper 2021-07-18 17:11:43 -04:00
ceph.py Add pool size check when resizing volumes 2021-09-12 19:54:51 -04:00
cluster.py Add VM list filtering by tag 2021-07-14 00:59:20 -04:00
common.py Revamp tag handling and display 2021-07-13 22:39:52 -04:00
log.py Add retry to log writes 2021-07-19 13:11:28 -04:00
network.py Store PHY MAC for VFs and restore after free 2021-06-22 00:56:47 -04:00
node.py Add node log functions to API and CLI 2021-07-18 18:54:28 -04:00
vm.py Add memory and vCPU checks to VM define/modify 2021-09-13 01:51:21 -04:00
zkhandler.py Remove logs from schema validation 2021-07-20 00:00:37 -04:00