Ask Your Question
2

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 -0500

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

Comments

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 -0500 )edit

Which version on CentOS 7.X you are on ?

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

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

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

1 answer

Sort by ยป oldest newest most voted
0

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

dbaxps gravatar image

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

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

See https://bugzilla.redhat.com/show_bug....

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
http://dbaxps.blogspot.com/2016/12/rd...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 1,138 times

Last updated: Dec 30 '16