Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No Valid host was found?

I install openstack on three node architecture and it is running with cirros cloud image. But when i use fedora/centos qcow2 images to run on the cloud these will generate a error and that error was

Message No valid host was found.

Code 500

Details

File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 616, in build_instances request_spec, filter_properties)

File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 49, in select_destinations context, request_spec, filter_properties)

File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 35, 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 108, in select_destinations request_spec=request_spec, filter_properties=filter_properties)

File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, 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 408, in send retry=retry)

File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send raise result

I also search on google and read some threads but no perfect solution I got.

And also i change in some values in /etc/nova/nova.conf file. these changes are virt_type = kvm --> qemu

ram_allocation_ratio = 1.5 --> 3

I didnot find any solution on that. Suggest me solution

Regards, Dheeraj

No Valid host was found?

I install openstack on three node architecture and it is running with cirros cloud image. But when i use fedora/centos qcow2 images to run on the cloud these will generate a error and that error was

Message No

 **Message**
    *No valid host was found. 

Code 500

Details

found.* **Code** *500* **Details** File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 616, in build_instances request_spec, filter_properties)

File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 49, in select_destinations context, request_spec, filter_properties)

File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 35, in __run_method return getattr(self.instance, __name)(args, *kwargs)

__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 108, in select_destinations request_spec=request_spec, filter_properties=filter_properties)

File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, 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 408, in send retry=retry)

File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send raise result

result

I also search on google and read some threads but no perfect solution I got.

And also i change in some values in /etc/nova/nova.conf file. these changes are virt_type

**virt_type = kvm --> qemu 

ram_allocation_ratio qemu** **ram_allocation_ratio = 1.5 --> 3

3**

I didnot find any solution on that. Suggest me solution

Regards, Dheeraj