Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't start a new instance after switching keystone to use ssl

My Command was: nova --debug boot --flavor m1.small --image d990a9c4-7ae8-481d-b3ee-ad7f086ff0dd --nic port-id=52795f72-b610-4965-9ad5-c827179cffe5 testes

The error section in the debugging :

REQ: curl -i 'http://iri-controller1:8774/v2/31421eea46584876a984eb775da49d26/servers' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Project-Id: admin" -H "X-Auth-Token: {SHA1}1fd918573b5b8d770502c5156020e00f34a670ee" -d '{"server": {"name": "testest", "imageRef": "d990a9c4-7ae8-481d-b3ee-ad7f086ff0dd", "flavorRef": "2", "max_count": 1, "min_count": 1, "networks": [{"port": "52795f72-b610-4965-9ad5-c827179cffe5"}]}}' INFO (connectionpool:259) Starting new HTTP connection (1): iri-controller1 DEBUG (connectionpool:390) Setting read timeout to 600.0 DEBUG (connectionpool:430) "POST /v2/31421eea46584876a984eb775da49d26/servers HTTP/1.1" 500 128 RESP: [500] {'date': 'Mon, 18 May 2015 12:09:56 GMT', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-df300a61-3a6e-4dc6-bea5-a5f1e61c24be'} 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-df300a61-3a6e-4dc6-bea5-a5f1e61c24be) 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-df300a61-3a6e-4dc6-bea5-a5f1e61c24be) ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-df300a61-3a6e-4dc6-bea5-a5f1e61c24be)

Thanks