Ask Your Question
1

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

asked 2015-10-28 04:33:44 -0500

anonymous user

Anonymous

updated 2015-11-02 07:09:49 -0500

Hi to all I am trying to lunch an instance like in the instruction book

nova boot --flavor m1.tiny --image cirros --nic net-id=778bbee4-56aa-4a08-a2d9-786f525f9a71 --security-group default --key-name demo-key demo-instance1

working in Virtual Box virt_type=qemu in the controller node

in the Log file the info was

File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 671, in build_instances request_spec, filter_properties) File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 337, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 52, in select_destinations context, request_spec, filter_properties) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 34, in select_destinations context, request_spec, filter_properties) File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 120, in select_destinations request_spec=request_spec, filter_properties=filter_properties) File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 156, in call retry=self.retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 350, in send retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 341, in _send raise result

all the services is running and active any Ideas , Thanks alot

this is the log file from scheduler in controller node

2015-11-02 14:48:34.253 859 INFO nova.scheduler.host_manager [req-44dbce56-d49e-4907-9e4b-149438c9ae34 - - - - -] The instance sync for host 'compute' did not match. Re-created its InstanceList.
2015-11-02 14:50:34.210 859 INFO nova.scheduler.host_manager [req-eb8186b1-7894-45b5-8426-f1a77f3cde0d - - - - -] Successfully synced instances from host 'compute'.
2015-11-02 14:52:34.211 859 INFO nova.scheduler.host_manager [req-b41e6322-67b3-49a0-a9f4-3000ca458922 - - - - -] Successfully synced instances from host 'compute'.
2015-11-02 14:54:38.216 859 INFO nova.scheduler.host_manager [req-49ac1c26-6a8f-428a-9837-b779c0b3bba9 - - - - -] Successfully synced instances from host 'compute'.
2015-11-02 14:56:38.207 859 INFO nova.scheduler.host_manager [req-93f89d0a-ad47-4a55-bf52-d527ac8e86b7 - - - - -] Successfully synced instances from host 'compute'.
2015-11-02 14:58:42.213 859 INFO nova.scheduler.host_manager [req-b2118756-48b7-4d52-afda-17a11e10769c - - - - -] Successfully synced instances from host 'compute'.
2015-11-02 15:00:45.204 859 INFO nova.scheduler.host_manager [req-157a53fa-dc1c-4352-8f7a-4d56d29c5816 - - - - -] Successfully synced instances from host 'compute'.
2015-11-02 15:02:50.224 859 INFO nova.scheduler.host_manager [req-33016af1-f576-4e4a-968a-9da119832edd - - - - -] Successfully synced instances from host 'compute'.
2015-11-02 15:04:52.211 859 INFO nova.scheduler.host_manager [req-4216d4de-b650-44bd-99b0-6567dee2570e - - - - -] Successfully synced instances from host 'compute'.
2015-11-02 15:06:52.246 859 INFO nova.scheduler.host_manager [req-be634e12-fe7c-4554-b0fb-9966dea61483 - - - - -] Successfully synced instances from host 'compute'.
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-31 02:12:47 -0500

dbaxps gravatar image

You wrote : working in Virtual Box virt_type=qemu in the controller node

virt_type=qemu is needed on Compute Node, where openstack-nova-compute is running
edit flag offensive delete link more

Comments

in the compute node it 's qemu ,, I set it in the controller node ,, should I?

majd.alshimali gravatar imagemajd.alshimali ( 2015-10-31 05:34:49 -0500 )edit

It doesn't matter on Controller there is no qemu-kvm processes running.

dbaxps gravatar imagedbaxps ( 2015-10-31 11:24:19 -0500 )edit

any other suggestions ??

majd.alshimali gravatar imagemajd.alshimali ( 2015-10-31 14:40:16 -0500 )edit
0

answered 2015-10-30 20:02:34 -0500

MIB gravatar image

please check neutron log as-well.

edit flag offensive delete link more

Comments

Are you using CentOS 7? If so there is a problem with libguestfs.

soumitrakarmakar gravatar imagesoumitrakarmakar ( 2015-11-01 23:19:40 -0500 )edit

yes I am Using CentosOs 7 ,, what 's that problem

majd.alshimali gravatar imagemajd.alshimali ( 2015-11-02 02:33:05 -0500 )edit

where should I put it ,, any extra information about this problem ??

majd.alshimali gravatar imagemajd.alshimali ( 2015-11-02 03:51:15 -0500 )edit

I put the Log file of schedular in the controller node

majd.alshimali gravatar imagemajd.alshimali ( 2015-11-02 07:10:31 -0500 )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

2 followers

Stats

Asked: 2015-10-28 04:33:44 -0500

Seen: 1,080 times

Last updated: Nov 02 '15