Getting error "No valid host was found. There are not enough hosts available" while provisioning in Newton installed through RDO

asked 2016-12-17 10:15:54 -0600

nidhim gravatar image

Provisioning of instance failing with error "Error: Failed to perform requested operation on instance "swtest", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.]." In nova.conf, I have already made the ram_allocation_ratio=3, cpu_allocation_ratio=16.0, domaintype=kvm, virt_type = qemu but nothing seems to work.

Also the command "virt-host-validate" show status for "Checking for hardware virtualization" as Fail (Only emulated CPUs are available, performance will be significantly limited).

Can someone please help.

edit retag flag offensive close merge delete


We will need some more information from the nova-scheduler log file, there should be a line associated with the NoValidHost error which indicates exactly which filter failed out the host(s). Also, are you expecting that hardware virt is present? Check /proc/cpuinfo for svm or vmx.

sgordon gravatar imagesgordon ( 2016-12-17 10:52:17 -0600 )edit

Which version on CentOS 7.X you are on ?

dbaxps gravatar imagedbaxps ( 2016-12-18 01:42:22 -0600 )edit

I am facing the same issue and I am using RHEL 7.3

mkhan gravatar imagemkhan ( 2016-12-30 09:18:28 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-12-30 09:55:57 -0600

dbaxps gravatar image

updated 2016-12-30 10:02:00 -0600

Using field as comment. Possible reason of issue
Before running packstack make sure that on Compute Node :-

[root@ServerCentOS73 ~)]# virsh --connect qemu:///system
Welcome to virsh, the virtualization interactive terminal.
Type:  'help' for help with commands
      'quit' to quit
virsh # version
Compiled against library: libvirt 2.0.0
Using library: libvirt 2.0.0
Using API: QEMU 2.0.0
Running hypervisor: QEMU 2.6.0
Otherwise set cpu_mode=none in nova.conf to be able run with QEMU 2.3.0


Ignoring notice above will result Nova-Scheduler (RetryFilter) misleading error due to KVM/Libvirt failure "qemu-kvm: CPU feature arat not found" to boot VM on Compute Node

Details may be seen here: - RDO Newton (packstack) Set up for three Nodes (Controller+Network+Compute) ML2&OVS&VXLAN on CentOS 7.3

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2016-12-17 10:15:54 -0600

Seen: 1,248 times

Last updated: Dec 30 '16