The server has either erred or is incapable of performing the requested operation
Hello,
On a fresh juno installation, i see the below. I made sure to check all the logs and i dont see any issues except this. In the nova-api, i see issues due to the same.
I get below when i try to launch the instance from the command as per the juno installation documentation.
I have done extension debugging by enabling debugs as well and also looked in various forums. But couldnt find any resolution. I know few others were also hitting the same.
before i attempted to re-install, thought of posting this. Please help if any of you known the workaround/resolution.
Thanks.
DEBUG (connectionpool:430) "POST /v2/8dd7353b48f64586aa1e333482111e0f/servers HTTP/1.1" 500 128 RESP: [500] {'date': 'Fri, 27 Feb 2015 02:46:48 GMT', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-df609bc9-2c18-490a-b22d-552afed23265'} RESP BODY: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}
DEBUG (shell:803) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-df609bc9-2c18-490a-b22d-552afed23265) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 800, in main OpenStackComputeShell().main(argv) File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 730, in main args.func(self.cs, args) File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 470, in do_boot server = cs.servers.create(boot_args, *boot_kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 883, in create *boot_kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 546, in _boot return_raw=return_raw, *kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 100, in _create _resp, body = self.api.client.post(url, body=body) File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 490, in post return self._cs_request(url, 'POST', *kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 465, in _cs_request resp, body = self._time_request(url, method, *kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 439, in _time_request resp, body = self.request(url, method, **kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 433, in request raise exceptions.from_response(resp, body, url, method) ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-df609bc9-2c18-490a-b22d-552afed23265) ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-df609bc9-2c18-490a-b22d-552afed23265) root@controller:/var/log/nova#
Below is from the nova-api.log file.
2015-02-26 18:45:48.005 5489 TRACE nova.api.openstack MessagingTimeout: Timed out waiting for a reply to message ID db6ee462ad114f5895202813b60b6773 2015-02-26 18:45:48.005 5489 TRACE nova.api.openstack 2015-02-26 18:45:48.018 5489 INFO nova.api.openstack [req-48807e88-55f3-485a-bb5d-2eb3fb6b6c0f None] http://controller:8774/v2/8dd7353b48f64586aa1e333482111e0f/servers (http://controller:8774/v2/8dd7353b48f...) returned with HTTP 500 2015-02-26 18:45:48.019 5489 DEBUG nova.api.openstack.wsgi [req-48807e88-55f3-485a-bb5d-2eb3fb6b6c0f None] Returning 500 to user: The server has either erred or is incapable ...
Hi first see you all the nova services in smile or not ,then check all the nova service logs it will gives a accurate error to check
All services are up and running. In fact I dont see any error messages in the logs other than the above specified error stmts.
I have also rebooted all the instances. The services were up properply, but the instance is not launching due to the above reason.
if then check any typo error in the nova.conf file . check the all lines in nova.conf file which should be [default ],if its not under [default ] then bring the line under
I am pasting my config here. It not a big config, hence pasting here. I checked it couple of times and didnt find any mistakes. May be a third eye can something.
https://shrib.com/F7H2bpBz