nerc-project / operations

Issues related to the operation of the NERC OpenShift environment
2 stars 0 forks source link

OpenShift Virtualization testing—live migration between hosts #721

Open computate opened 1 month ago

naved001 commented 1 month ago

live migration from OpenStack

did you mean live migration between hosts IN openshift? because I don't think we can migrate VMs live from an openstack cluster to openshift.

jtriley commented 1 month ago

@naved001 yes that's what meant - I'll update the title.

jtriley commented 1 month ago

I've been reading up on this a bit here:

https://docs.redhat.com/en/documentation/openshift_container_platform/4.12/html/virtualization/live-migration#virt-configuring-vmi-eviction-strategy

This claims we need RWX storage in order for live migration to work which is odd - live migration on the OpenStack side does not require shared POSIX storage between the nodes AFAIK.

jtriley commented 1 month ago

Also, having live VMs on the ocp-test cluster and then doing recent machineconfigpool updates is hanging the process given that live migration isn't functional. I can see this when attempting to manually drain the node in order to see what's holding up the MCP from rolling out on a given node. It's clear from the error (which unfortunately is no longer in my scrollback) it's attempting to evict the pods via live migration but failing. I have to go and manually delete the VM pod which isn't ideal but works.

joachimweyl commented 3 weeks ago

Blocked on RWX