The server has either erred or is incapable of performing the requested operation. (HTTP 500)
Issue
Application deploy with Tosca fails because of:
The server has either erred or is incapable of performing the requested operation. (HTTP 500)
The problem happens also when launching instance directly from the OpenStack.
Note: On the same node with different tenant the instance launched successfully
REQ: curl -i 'http://10.43.50.11:8774/v2/28da3dc6e55b45f39ce7690467e7534f/servers' -X POST -H "X-Auth-Project-Id: CUSTOMER_7" -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: MIIPPwYJKoZIhv...ZPIqw==" -d '{"server": {"name": "test", "imageRef": "e169f3c4-34fb-4669-a36a-aee772e2346e", "availability_zone": "zone0", "flavorRef": "28426d99-3fd9-4c32-a2e7-cc5c441bfd55", "max_count": 1, "min_count": 1, "networks": [{"uuid": "1074af29-a7c4-42bc-b00e-3f09b09613d5"}], "security_groups": [{"name": "booboo"}]}}'
INFO (connectionpool:203) Starting new HTTP connection (1): 10.43.50.11
DEBUG (connectionpool:295) "POST /v2/28da3dc6e55b45f39ce7690467e7534f/servers HTTP/1.1" 500 128
RESP: [500] {'date': 'Tue, 18 Nov 2014 14:59:17 GMT', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-5e7d9619-c6be-49bb-bb5c-e506bcd5e2af'}
RESP BODY: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}
DEBUG (shell:783) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-5e7d9619-c6be-49bb-bb5c-e506bcd5e2af)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 780, in main
OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 716, in main
args.func(self.cs, args)
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/shell.py", line 433, in do_boot
server = cs.servers.create(*boot_args, **boot_kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 871, in create
**boot_kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 534, in _boot
return_raw=return_raw, **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 152, in _create
_resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 312, in post
return self._cs_request(url, 'POST', **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 286, in _cs_request
**kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 268, in _time_request
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 262, 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-5e7d9619-c6be-49bb-bb5c-e506bcd5e2af)
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-5e7d9619-c6be-49bb-bb5c-e506bcd5e2af)
Environment
- Red Hat OpenStack 5.0 on RHEL 6
openstack-nova*-2014.1.1-3.el6ost
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.