Skip to content

Instantly share code, notes, and snippets.

@FlorianOtel
Created October 20, 2016 13:29
Show Gist options
  • Save FlorianOtel/2cbe96b1024865b69bf5eb67ed193690 to your computer and use it in GitHub Desktop.
Save FlorianOtel/2cbe96b1024865b69bf5eb67ed193690 to your computer and use it in GitHub Desktop.
K8S proxy issue
DEBUG (client:85) GET call to compute for http://nova-controller.nova-controller.svc:8774/v2.1/31f4fe32527845d58843d54c0f11b21b/flavors/1 used request id req-56c48c0d-0534-4432-8336-73917bcda14c
DEBUG (session:342) REQ: curl -g -i -X POST http://nova-controller.nova-controller.svc:8774/v2.1/31f4fe32527845d58843d54c0f11b21b/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-OpenStack-Nova-API-Version: 2.25" -H "X-Auth-Token: {SHA1}ba37a2eca98d820636893eecb00423a99d52010d" -d '{"server": {"name": "cirros3", "imageRef": "3dd9114e-e31c-473c-8016-dec0c53ae78c", "flavorRef": "1", "max_count": 1, "min_count": 1, "networks": [{"uuid": "228dddba-a2ee-4701-9e8a-8bad5e1d5b6e"}], "security_groups": [{"name": "default"}]}}'
DEBUG (connectionpool:401) "POST /v2.1/31f4fe32527845d58843d54c0f11b21b/servers HTTP/1.1" 500 224
DEBUG (session:371) RESP: [500] X-Openstack-Nova-Api-Version: 2.25 Vary: X-OpenStack-Nova-API-Version Content-Type: application/json; charset=UTF-8 Content-Length: 224 X-Compute-Request-Id: req-d64a9cd6-ed58-4b07-9d26-f4e2dba90d8b Date: Thu, 20 Oct 2016 13:27:00 GMT Connection: keep-alive
RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'keystoneauth1.exceptions.connection.ConnectFailure'>", "code": 500}}
DEBUG (client:85) POST call to compute for http://nova-controller.nova-controller.svc:8774/v2.1/31f4fe32527845d58843d54c0f11b21b/servers used request id req-d64a9cd6-ed58-4b07-9d26-f4e2dba90d8b
DEBUG (shell:984) Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.connection.ConnectFailure'> (HTTP 500) (Request-ID: req-d64a9cd6-ed58-4b07-9d26-f4e2dba90d8b)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 982, in main
OpenStackComputeShell().main(argv)
File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 909, in main
args.func(self.cs, args)
File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 691, in do_boot
server = cs.servers.create(*boot_args, **boot_kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 1353, in create
**boot_kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 753, in _boot
return_raw=return_raw, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 356, in _create
resp, body = self.api.client.post(url, body=body)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 205, in post
return self.request(url, 'POST', **kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 117, in request
raise exceptions.from_response(resp, body, url, method)
ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.connection.ConnectFailure'> (HTTP 500) (Request-ID: req-d64a9cd6-ed58-4b07-9d26-f4e2dba90d8b)
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.connection.ConnectFailure'> (HTTP 500) (Request-ID: req-d64a9cd6-ed58-4b07-9d26-f4e2dba90d8b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment