Ask Your Question
0

No valid host was found, There are not enough hosts available ERROR nova.compute.manager Instance failed network setup after 1 attempts(s) in openstack mitaka

asked 2016-09-17 05:22:46 -0500

murugesan gravatar image

I have configured two controller ha setup

Both nodes are most identical configurations, i have setup endpoints using virtual ip for all services and all service db connection only controller nodes itself.

Database cluster replication and all services working fine.

I used following official documentation for setup ha controller

http://docs.openstack.org/ha-guide/

I have added two compute nodes to controllers using virtual ip successfully, services and neutron agents are live.

while i create instance i got the error:

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

i'm facing problem in creating instance on both compute nodes,i can identify issue in network based.

nova compute log:

2016-09-15 11:51:43.358 1102 INFO nova.compute.claims [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] [instance: 1507f525-69d0-4f31-8777-e74024d98f5f] Attempting claim: memory 512 MB, disk 1 GB, vcpus 1 CPU
2016-09-15 11:51:43.358 1102 INFO nova.compute.claims [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] [instance: 1507f525-69d0-4f31-8777-e74024d98f5f] Total memory: 3854 MB, used: 512.00 MB
2016-09-15 11:51:43.359 1102 INFO nova.compute.claims [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] [instance: 1507f525-69d0-4f31-8777-e74024d98f5f] memory limit: 5781.00 MB, free: 5269.00 MB
2016-09-15 11:51:43.359 1102 INFO nova.compute.claims [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] [instance: 1507f525-69d0-4f31-8777-e74024d98f5f] Total disk: 144 GB, used: 0.00 GB
2016-09-15 11:51:43.359 1102 INFO nova.compute.claims [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] [instance: 1507f525-69d0-4f31-8777-e74024d98f5f] disk limit: 144.00 GB, free: 144.00 GB
2016-09-15 11:51:43.359 1102 INFO nova.compute.claims [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] [instance: 1507f525-69d0-4f31-8777-e74024d98f5f] Total vcpu: 2 VCPU, used: 0.00 VCPU
2016-09-15 11:51:43.360 1102 INFO nova.compute.claims [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] [instance: 1507f525-69d0-4f31-8777-e74024d98f5f] vcpu limit not specified, defaulting to unlimited
2016-09-15 11:51:43.402 1102 INFO nova.compute.claims [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] [instance: 1507f525-69d0-4f31-8777-e74024d98f5f] Claim successful
2016-09-15 11:51:43.756 1102 WARNING nova.virt.osinfo [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2016-09-15 11:51:43.801 1102 WARNING nova.virt.osinfo [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2016-09-15 11:51:44.079 1102 WARNING nova.virt.osinfo [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2016-09-15 11:51:44.080 1102 INFO nova.virt.libvirt.driver [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] [instance: 1507f525-69d0-4f31-8777-e74024d98f5f] Creating image
2016-09-15 11:51:46.770 1102 ERROR nova.compute.manager [req-bf95dd71-a2ac-40d7-8b1b-b4acccc07279 b4e67734c638454fb127bac309a66975 38bcc94c4a88430d8271d47688f98f68 - - -] Instance failed network setup after 1 attempt(s)
2016-09-15 11:51:46.770 1102 ERROR nova.compute.manager Traceback (most recent call last):
2016-09-15 11:51:46.770 1102 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1570, in _allocate_network_async
2016-09-15 11:51:46.770 1102 ERROR nova.compute.manager     bind_host_id=bind_host_id)
2016-09-15 11:51:46.770 1102 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 668, in allocate_for_instance
2016-09-15 11:51:46.770 1102 ERROR nova.compute.manager     self._delete_ports ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-18 23:55:28 -0500

murugesan gravatar image

Linux bridge agent service not started in compute nodes due to some configuration was missing in neutron.conf other neutron configurations. After correcting configuration instance can launch without any issue on ha setup.

edit flag offensive delete link more

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: 2016-09-17 05:22:46 -0500

Seen: 429 times

Last updated: Sep 18 '16