Kilo - Adding second compute node
I am trying to make a second compute node operational. however, so far not succeeded in launching the instance. I followed similar steps to add a compute node from openstack documentation.
Error: Failed to perform requested operation on instance "Instancetest", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.].
below are few logs I noticed, can any one suggest what I could be missing?
[root@compute2 nova]# neutron agent-list
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
| 0cb8d0d4-140a-4446-add8-7881f0a07dda | DHCP agent | network | :-) | True | neutron-dhcp-agent |
| 2a164cb6-0c6d-418a-ab7d-f68a0f3a3032 | L3 agent | network | :-) | True | neutron-l3-agent |
| abbe20eb-8f49-43e6-a0d7-d2625ef07084 | Open vSwitch agent | network | :-) | True | neutron-openvswitch-agent |
| d4e1b8a7-f826-4213-9f5f-9ab936d4f004 | Open vSwitch agent | compute1 | :-) | True | neutron-openvswitch-agent |
| ec116376-6d3f-4623-b5b5-78736ac41a5a | Metadata agent | network | :-) | True | neutron-metadata-agent |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
From the nova conductor log on Controller:
2015-10-05 21:22:57.378 4737 WARNING nova.scheduler.utils [req-78fe3a75-24fc-48c8-8041-44414315acea 96771cdf5d2844ed919a172556dec532 e4b31c40067e473c8c07fe5ff1021ac7 - - -] [instance: 8e3ae49a-27e4-4c06-8813-c0b900c4b9e5] Setting instance to ERROR state.
2015-10-05 22:27:52.634 4738 ERROR nova.scheduler.utils [req-f335dd94-73fc-489d-b6bd-cb7187a79c1c 96771cdf5d2844ed919a172556dec532 e4b31c40067e473c8c07fe5ff1021ac7 - - -] [instance: baf256cf-3c0f-49ea-9535-f1aea5bb0827] Error from last host: compute2 (node compute2): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2235, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2381, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance baf256cf-3c0f-49ea-9535-f1aea5bb0827 was re-scheduled: Unexpected vif_type=binding_failed\n']
2015-10-05 22:27:52.652 4738 WARNING nova.scheduler.utils [req-f335dd94-73fc-489d-b6bd-cb7187a79c1c 96771cdf5d2844ed919a172556dec532 e4b31c40067e473c8c07fe5ff1021ac7 - - -] Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 142, in inner
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 86, in select_destinations
filter_properties)
File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 80, in select_destinations
raise exception.NoValidHost(reason=reason)
NoValidHost: No valid host was found. There are not enough hosts available.
2015-10-05 22:27:52.653 4738 WARNING nova.scheduler.utils [req-f335dd94-73fc-489d-b6bd-cb7187a79c1c 96771cdf5d2844ed919a172556dec532 e4b31c40067e473c8c07fe5ff1021ac7 - - -] [instance: baf256cf-3c0f-49ea-9535-f1aea5bb0827] Setting instance to ERROR state.
From /var/log/nova/nova-compute.log
2015-10-05 22:46:34.397 1092 INFO nova.scheduler.client.report [req-f107233e-76a4-4dd3-aa39-8739920e327f - - - - -] Compute_service record updated for ('compute2', 'compute2')
2015-10-05 22:46:34.397 1092 INFO nova.compute.resource_tracker [req-f107233e-76a4-4dd3-aa39-8739920e327f - - - - -] Compute_service record updated for compute2:compute2
2015-10-05 22:47:35.127 1092 INFO nova.compute.resource_tracker [req-f107233e-76a4-4dd3-aa39-8739920e327f - - - - -] Auditing locally available compute resources for node compute2
2015-10-05 22:47:35.313 1092 INFO nova.compute.resource_tracker [req-f107233e-76a4-4dd3-aa39-8739920e327f - - - - -] Total usable vcpus: 8, total allocated vcpus: 0
2015-10-05 22:47:35.313 1092 INFO nova.compute.resource_tracker [req-f107233e-76a4-4dd3-aa39-8739920e327f - - - - -] Final resource view: name=compute2 phys_ram=31986MB used_ram=5632MB phys_disk=464GB used_disk=42GB total_vcpus=8 used_vcpus=0 pci_stats=<nova.pci.stats.PciDeviceStats object at 0x5a43b10>
Hi, first : Please let us know about
on both controller and compute nodes
second : on both compute nodes you get this error?
Compute1 Logs looks clean:
Compute 2 however keep throwing this exception:
Is this a concerned message in the log?
Compute1: Auditing locally available compute resources for node compute1 2015-10-06 09:56:31.233 1079 INFO nova.compute.resource_tracker [req-152e1f80-6382-4d71-8fed-7b631c2eaf77 - - - - -] Total usable vcpus: 8, total allocated vcpus: 9 2015-10-06 09:56:31.234 1079 INFO nova.compute.resource_tr