Nova host evacuate fails when instance uses affinity policy

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content