Open PC-Admin opened 1 year ago
as a temporary fix I'll move these back to their origin after lowering the RAM on the nodes that were successfully altered.
So I've had to distribute VMs away from the hosts that have MooseFS masters. We now have an asymmetry with how the worker nodes are distributed around EHI.
I can't really think of any neater way to do this then to have a dictionary variable in each inventories var file defining which Proxmox node each host is expected to be on. :shrug: (Could also have like a migrate.yml playbook in this repo to automatically migrate any hosts that don't match this dictionary)
I can't really think of any neater way to do this then to have a dictionary variable in each inventories var file defining which Proxmox node each host is expected to be on. 🤷 (Could also have like a migrate.yml playbook in this repo to automatically migrate any hosts that don't match this dictionary)
So, let's table it for now as this is so low priority as to be a non-issue and I don't like that as a solution. It's far too static and doesn't reflect our goals.
Good point, it would be nice to not have to manually update VMs however.
A fancy way of searching for where each host is before trying to create/update a VM could be a neater solution.
which Proxmox node each host is expected to be on
That's the issue, there should never be a situation where a node is expected to be on one particular host. If there is, we've failed. (Yes, I understand the Proxmox module is stupid and expects this)
Yeah it expects the VM to be on the exact same host it was spawned on, which won't always be the case: