Nova host evacuate fails when instance uses affinity policy
Issue
- When evacuating all instances from one failed compute node to another, some instances fail with "No valid host was found. There are not enough hosts available.".
- Looking at the Nova scheduler logs, it looks like the host was not found as a result of the
ServerGroupAffinityFilter
.
INFO nova.filters ... Filter ServerGroupAffinityFilter returned 0 hosts
- Server Group is set for instance and affinity policy is used.
Environment
- Red Hat OpenStack Platform 16.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.