Ask Your Question
0

ERROR launching instances in OCATA

asked 2017-04-04 08:46:36 -0600

kibnelbachyr gravatar image

I am following Ocata installation guide. I have create controller, and compute1 I have set up the network, I have set up horizon. Nova Services are UP & RUNNING, Network Agents also .. I can do EVERYTHING (list images, create instances, etc.) - but I can't get it ACTIVE. I ALWAYS get "Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available." in the nova-conductor.log file, exactly after launching an instance..

https://ibb.co/bw2NLa (image description)

-------- Nova-conductor.log ---------------http://paste.openstack.org/show/605407/---------------------------------- 2017-04-04 09:22:16.278 6477 WARNING nova.scheduler.utils [req-ab5d99dc-cf52-4bf8-b615-f101bfdf284f 2aee1ca4e57643e984cc7f8c0bfe992d b827f2aca45246f8989c0d053cafe115 - - -] Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available. Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 218, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 98, in select_destinations dests = self.driver.select_destinations(ctxt, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 79, in select_destinations raise exception.NoValidHost(reason=reason)

NoValidHost: No valid host was found. There are not enough hosts available.

Any help please!? ..

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-04-05 04:41:23 -0600

kibnelbachyr gravatar image

updated 2017-04-05 14:45:52 -0600

Resolved by :

  • Using the OFFICIAL "nova.conf" file

  • Changing the compute VM (moving from 2GB to in 8GB RAM)

edit flag offensive delete link more

Comments

Can you please share where you got the "official" nova.conf and what is different to the "current" nova.conf?

nischaf gravatar imagenischaf ( 2017-04-06 05:17:11 -0600 )edit

where to change the compute VM from 2GB to 8GB? I am running devstack

adnavare gravatar imageadnavare ( 2017-04-26 19:35:36 -0600 )edit
0

answered 2017-04-04 09:21:07 -0600

timi gravatar image

what is the output of openstack hypervisor list ?

edit flag offensive delete link more

Comments

| ID | Hypervisor Hostname | Hypervisor Type | Host IP | State |

| 1 | compute1 | QEMU | 10.10.10.190 | up |

++++ ++++

Everything seems good.

kibnelbachyr gravatar imagekibnelbachyr ( 2017-04-04 14:19:47 -0600 )edit

are you running qemu or kvm ? also nova service-list commannd return anything?

timi gravatar imagetimi ( 2017-04-04 16:06:36 -0600 )edit

Running qemu..

nova-conductor, nova-api, nova-scheduler, nova-consoleauth, nova-vnc. are UP (Controller node) nova-compute is UP (Compute node)

same for the network agents !

kibnelbachyr gravatar imagekibnelbachyr ( 2017-04-04 16:16:19 -0600 )edit

did you check the nova-compute.log on selected hypervisor ? I had a simillar issue and the neutron was not configured correctly ...

timi gravatar imagetimi ( 2017-04-05 06:36:50 -0600 )edit

I have checked it before, no ERRORs :) ..

-- Resolved by :

Using the OFFICIAL "nova.conf" file and I have also changed the VM dedicated to the compute

Thank you @timi !

kibnelbachyr gravatar imagekibnelbachyr ( 2017-04-05 08:25:27 -0600 )edit

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

1 follower

Stats

Asked: 2017-04-04 08:46:36 -0600

Seen: 706 times

Last updated: Apr 05