Ask Your Question
0

Cannot Create VM in Kilo

asked 2015-05-07 16:10:01 -0500

Rabiul gravatar image

updated 2015-05-17 14:19:33 -0500

dbaxps gravatar image

I am not able to create VM on my Kilo setup. It is a 3-VM setup. I got the this error message .

Message

No valid host was found. There are not enough hosts available.
Code
500
Details
File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 671, in build_instances request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", line 337, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 52, in select_destinations context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 34, in select_destinations context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 117, in select_destinations request_spec=request_spec, filter_properties=filter_properties) File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 156, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 350, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 341, in _send raise result
Created
May 7, 2015, 9:03 p.m.
edit retag flag offensive close merge delete

Comments

Whats the error that you see in nova-scheduler.log? This should help point to why it does not think there is no valid host.

jdexter gravatar imagejdexter ( 2015-05-08 10:17:56 -0500 )edit

There is a possibility that, nova/compute does not have enough resouce (Memory, Hard Drive, vCPU etc,) to create VM with flavor you mentioned while creating a VM(I have seen this error in my setup due to not having enough compute resource.). you can try creating VM with smallest flavor.

hardik italia gravatar imagehardik italia ( 2015-05-08 18:56:10 -0500 )edit

Having issue to attach log here

Rabiul gravatar imageRabiul ( 2015-05-08 19:10:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-08 13:36:28 -0500

jdiaz9 gravatar image

If you can provide us with the output of the following commands then we can get a better idea as to what is going on:

nova service-list

nova hypervisor-stats

neutron agent-list

glance image-show <image ID of your image>

and lastly if you can provide us the output of your nova-scheduler.log located in /var/log/nova/nova-scheduler.log

then we can provide you with more details on the matter.

edit flag offensive delete link more

Comments

root@controller:~# nova service-list +----+------------------+------------+----------+---------+-------+----------------------------+-----------------+ | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | +----+------------------+------------+----------+---------+-------+----------------------------+-----------------+ | 1 | nova-cert | controller | internal | enabled | up | 2015-05-08T21:30:11.000000 | - | | 2 | nova-consoleauth | controller | internal | enabled | up | 2015-05-08T21:30:11.000000 | - | | 3 | nova-scheduler | controller | internal | enabled | up | 2015-05-08T21:30:09.000000 | - | | 4 | nova-conductor | controller | internal | enabled | up | 2015-05-08T21:30:08.000000 | - | | 7 | nova-compute | compute1 | nova | enabled | up | 2015-05-08T21:30:14.000000 | - | | 8 | nova-compute | compute2 | nova | enabled | up | 2015-05-08T21:30:06.000000 | - | +----+------------------+------------+----------+---------+-------+----------------------------+-----------------+ root@controller:~#

Rabiul gravatar imageRabiul ( 2015-05-08 16:30:42 -0500 )edit

facing similar issue

pl33g0r gravatar imagepl33g0r ( 2015-10-02 18:54:43 -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-05-07 16:10:01 -0500

Seen: 1,621 times

Last updated: May 17 '15