Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to spin up VMs in some compute nodes

Enviroment: Openstack liberty is up and running with one controller and 3 compute nodes.

Scenario: Unable to spin the VM's in 2 compute nodes if I choose the availability zone as this nodes. But for one compute node I am able to spin up VMs with out any issue.

I compared all the configuration files in these compute nodes and it is same as the working one.

ERROR:

Error:Failed to perform requested operation on instance "123", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.].

From compute logs:

2017-01-10 23:01:04.269 34160 ERROR nova.network.neutronv2.api [req-f775168b-2ef9-4c14-81d7-eabef628b689 54140a2bd29e41b78a3e9145268d4f4f a9210aa2a7d14064b5a819c700ddc4ec - - -] Unable to clear device ID for port 'None'
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api Traceback (most recent call last):
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 412, in _unbind_ports
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     port_client.update_port(port_id, port_req_body)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 202, in wrapper
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     ret = obj(*args, **kwargs)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 102, in with_params
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     ret = self.function(instance, *args, **kwargs)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 549, in update_port
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     return self.put(self.port_path % (port), body=body)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 202, in wrapper
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     ret = obj(*args, **kwargs)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 302, in put
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     headers=headers, params=params)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 202, in wrapper
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     ret = obj(*args, **kwargs)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 270, in retry_request
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     headers=headers, params=params)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 202, in wrapper
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     ret = obj(*args, **kwargs)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 211, in do_request
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     self._handle_fault_response(status_code, replybody)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 202, in wrapper
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     ret = obj(*args, **kwargs)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     exception_handler_v20(status_code, des_error_body)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api     message=message)
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api NeutronClientException: 404 Not Found
2017-01-10 23:01:04.269 34160 TRACE nova.network.neutronv2.api

All the openstack services are running fine and there are enough resources available. If someone can shed some light on this it is much appreciated.

Regards, Anand TS