Failed to create SRIOV instance because of "No valid host was found error message".

Solution Verified - Updated -

Issue

  • Not able to create SRIOV instance, it's going into ERROR state with message No valid host was found.
  • nova scheduler logs are filtering out all the compute nodes.
  • Sufficient CPUs are available on NUMA node to which SRIOV interface belong hence ruling out the possibility of Bug mentioned in Red Hat Solution.
  • nova flavor properties used in this scenario.
| extra_specs                | {"hw:cpu_model": "SandyBridge", "hw:numa_nodes": "1", "aggregate_instance_extra_spces:AZ1": "true", "hw:cpu_policy": "dedicated"} |
  • This issue may also arise when spawning instance without SRIOV ports because this issue is mainly happening due to metadata cpu_policy: dedicated.

Environment

  • Red Hat OpenStack Platform 10
  • Red Hat OpenStack Platform 9.0

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