Ask Your Question
0

No valid host was found. Unable to launch instance in admin[KILO][UBUNTU 14.04]

asked 2015-10-01 14:54:51 -0500

anurag gravatar image

updated 2015-10-02 09:01:24 -0500

Searched through all questions but couldn't find an exact solution. Please help me.

neutron-server.log ------ ERROR neutron.plugins.ml2.managers Failed to bind port on host compute.

There is nothing in nova-logs. All it consists of connected to AMQP server.

nova-compute.log in compute node 2015-10-01 11:55:18.027 25570 TRACE nova.compute.manager [instance: 25e54f45-a3e1-4ce3-8ead-45fd731074f0] _("Unexpected vif_type=%s") % vif_type) 2015-10-01 11:55:18.027 25570 TRACE nova.compute.manager [instance: 25e54f45-a3e1-4ce3-8ead-45fd731074f0] NovaException: Unexpected vif_type=binding_failed 2015-10-01 11:55:18.027 25570 TRACE nova.compute.manager [instance: 25e54f45-a3e1-4ce3-8ead-45fd731074f0] 2015-10-01 11:59:20.589 25570 WARNING nova.compute.manager [req-ab950041-0ba0-4113-9d33-4db1ae302e74 - - - - -] Bandwidth usage not supported by hypervisor. 2015-10-01 12:29:20.584 25570 WARNING nova.virt.libvirt.imagecache [req-ab950041-0ba0-4113-9d33-4db1ae302e74 - - - - -] Unknown base file: /var/lib/nova/instances/_base/262dc0f95004a9ad83681be3235ce3f2bf4086cb

neutron.conf[DEFAULT] rpc_backend = rabbit auth_strategy = keystone core_plugin = ml2 service_plugins = router allow_overlapping_ips = True notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://controller:8774/v2

[database] connection = mysql://neutron:passwd@controller/neutron

[keystone_authtoken] auth_uri = http://controller:5000 auth_url = http://controller:35357 auth_plugin = password project_domain_id = default user_domain_id = default project_name = service username = neutron password = passwd

[nova] auth_url = http://controller:35357 auth_plugin = password project_domain_id = default user_domain_id = default region_name = RegionOne project_name = service username = nova password = passwd

[oslo_concurrency] lock_path = $state_path/lock

[oslo_messaging_rabbit] rabbit_host = controller rabbit_userid = openstack rabbit_password = passwd

ml2_conf.ini

[ml2] type_drivers = flat,vlan,gre,vxlan tenant_network_types = gre mechanism_drivers = openvswitch [ml2_type_gre] tunnel_id_ranges = 1:1000

[securitygroup] enable_security_group = True enable_ipset = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

But Launched instance in demo mode even though couldn't access the console. It said error not connected or unable to resolve dns address

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2016-03-23 07:45:43 -0500

wcu789 gravatar image

I have the same error,do you have soled it?could you help me?

edit flag offensive delete link more
0

answered 2015-11-25 12:37:54 -0500

Please check firewall on the controller node

edit flag offensive delete link more
0

answered 2015-10-01 15:07:41 -0500

Moe gravatar image

This Error "No Valid Host Found" is a very generic Error it occurs when the nova-scheduler can not find any proper hypervisor regarding to resources you wanted, Even if you request more cpu cores more that the maximum available cpu cores on a server and it will return no valid host found.

This specific Error which you get comes from network allocation, I have this error for a long time and revised all of my configurations , Please before mess up and change anything go to controller node and revise the neutron server configurations It may not have sense first but I am pretty sure you have to check configurations on /etc/neutron/neutron.conf and /etc/neutron/plugins/ml2_plugin.ini and make sure you have the right configurations there.

Good luck

edit flag offensive delete link more

Comments

lock_path = $state_path/lock.. This is the onlystatement I have doubt in neutron conf file. everything is correct. When i do echo $state_path, the output was empty. Is it supposed to be lock_path = /var/lib/nova/tmp ? is it correct

anurag gravatar imageanurag ( 2015-10-01 15:31:59 -0500 )edit

I have updated the question with neutron.conf & ml2_conf.ini of controller node.. Could you please check into those and tell me where I am wrong...

anurag gravatar imageanurag ( 2015-10-02 09:02:45 -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

1 follower

Stats

Asked: 2015-10-01 14:54:51 -0500

Seen: 779 times

Last updated: Mar 23 '16