Ask Your Question
0

The server has either erred or is incapable of performing the requested operation

asked 2015-02-26 20:54:33 -0500

ravjanga gravatar image

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 ... (more)

edit retag flag offensive close merge delete

Comments

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

madhank gravatar imagemadhank ( 2015-02-26 22:58:35 -0500 )edit

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.

ravjanga gravatar imageravjanga ( 2015-02-26 23:49:04 -0500 )edit

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

madhank gravatar imagemadhank ( 2015-02-27 00:38:00 -0500 )edit

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

ravjanga gravatar imageravjanga ( 2015-02-27 00:58:53 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
1

answered 2015-02-27 01:14:09 -0500

madhank gravatar image

updated 2015-02-27 01:14:45 -0500

yes third eye found

am not able to see this below lines on nova.conf file

please edit the below lines to make it work

[DEFAULT]

network_api_class = nova.network.neutronv2.api.API

security_group_api = neutron

linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver

firewall_driver = nova.virt.firewall.NoopFirewallDriver

[neutron]

url = http://controller:9696

auth_strategy = keystone

admin_auth_url = http://controller:35357/v2.0

admin_tenant_name = service

admin_username = neutron

admin_password = NEUTRON_PASS

edit flag offensive delete link more

Comments

Thank you. Not sure how i could miss this basic configuration. I was only focusing on what is present. Really appreciate your help.

ravjanga gravatar imageravjanga ( 2015-02-27 02:03:14 -0500 )edit

No problem (smile)

madhank gravatar imagemadhank ( 2015-02-27 02:36:22 -0500 )edit
0

answered 2016-08-18 08:32:19 -0500

nova-api.log is definitely the place to look for cause. in my case it was a combination of two things:

1) system-wide unique instance names are on. which is fine i guess nothing wrong
2) another tenant had an instance with the same name. which caused the error.

couldn't be more cryptic but i guess in multitenant its better than revealing the true cause. want your answer look in the logs.

edit flag offensive delete link more
0

answered 2015-09-16 15:21:45 -0500

naveen venkat gravatar image

This works

edit flag offensive delete link more

Comments

hi

i have the same issue. can you point what is the solution

bR Rushi.

rushi gravatar imagerushi ( 2016-05-03 15:08:40 -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

2 followers

Stats

Asked: 2015-02-26 20:54:33 -0500

Seen: 17,969 times

Last updated: Aug 18 '16