Thanks! That command with ‘audit’ requires certain version. Is it possible to check version apis to ensure it is ok to upgrade nova manager to use that command? On Thu, Mar 14, 2024 at 4:50 AM Sylvain Bauza <sbauza@redhat.com> wrote:
Le jeu. 14 mars 2024 à 09:26, hai wu <haiwu.us@gmail.com> a écrit :
Sometimes there are zombie placement allocations records left for hypervisors, meaning there are no mapping VMs running on those hosts, but the placement allocation records still show up in the database.
Does this mean that nova conductor/scheduler would still think those resources have already been allocated, while in reality, there's no existing VMs mapped to those zombie placement allocations records?
The scheduler will indeed consider the resources as existing if there are orphaned allocations. That said, nova has a 'nova-manage placement audit' command that looks at orphaned allocations, so you can use it for checking whether those allocations are wrong and then delete them if you want.
-S