The compute service crashes after a redeploy

The nova-compute Pod is in CrashLoopBackOff after a redeploy because libvirt domains and compute data from the previous deployment remain on the host.

During the reconcile_openstack stage, the nova-compute Pod on one host is in CrashLoopBackOff. The container exits with code 0 right after it logs Starting compute node or could not initialize domain event timer.

Libvirt domain definitions (listed by virsh list --all), the file /var/lib/nova/compute_id, or directories under /var/lib/nova/instances/ remain on the host disk from a virtual machine that was booted before the redeploy.

Do a clean redeploy

Do a clean redeploy: re-provision the host operating system fully instead of tearing down the deployment partially.