Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

keystone wsgi error -- AH00566: request failed: invalid characters in URI

I have just finished transitioning from eventlet server wsgi following the steps described here. However, I have errors which as below. Several errors of googling have been fruitless. On issue of the command "openstack endpoint list", i have the error : ERROR: openstack Bad Request (HTTP 400) With the --debug switch produces more info as below (truncated):

INFO: openstackclient.common.clientmanager Using auth plugin: v2password DEBUG: openstackclient.common.clientmanager Get auth_ref DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://141.89.226.249:35357/v2.0/tokens INFO: urllib3.connectionpool Starting new HTTP connection (1): 141.89.226.249 DEBUG: urllib3.connectionpool "POST /v2.0/tokens HTTP/1.1" 400 308 DEBUG: keystoneclient.session Request returned failure status: 400 DEBUG: openstackclient.identity.v2_0.endpoint.ListEndpoint take_action(Namespace(columns=[], formatter='table', long=False, max_width=0, quote_mode='nonnumeric')) DEBUG: openstackclient.identity.client Instantiating identity client: <class 'openstackclient.identity.client.identityclientv2'=""> DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://141.89.226.249:35357/v2.0/tokens INFO: urllib3.connectionpool Resetting dropped connection: 141.89.226.249 DEBUG: urllib3.connectionpool "POST /v2.0/tokens HTTP/1.1" 400 308 DEBUG: keystoneclient.session Request returned failure status: 400 ERROR: openstack Bad Request (HTTP 400) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", line 126, in take_action data = identity_client.endpoints.list() File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", line 32, in list return self._list('/endpoints', 'endpoints') File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 113, in _list resp, body = self.client.get(url, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 164, in get return self.request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request resp = super(LegacyJsonAdapter, self).request(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request return self.session.request(url, method, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 307, in request auth_headers = self.get_auth_headers(auth) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 589, in get_auth_headers return auth.get_headers(self, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", line 114, in get_headers token = self.get_token(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 104, in get_token return self.get_access(session).auth_token File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 144, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 78, in get_auth_ref authenticated=False, log=False) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 488, in post return self.request(url, 'POST', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 389, in request raise exceptions.from_response(resp, method, url) BadRequest: Bad Request (HTTP 400) DEBUG: openstackclient.shell clean_up ListEndpoint DEBUG: openstackclient.shell got an error: Bad Request (HTTP 400) ERROR: openstackclient.shell Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 176, in run return super(OpenStackShell, self).run(argv) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 238, in run result = self.run_subcommand(remainder) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", line 126, in take_action data = identity_client.endpoints.list() File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", line 32, in list return self._list('/endpoints', 'endpoints') File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 113, in _list resp, body = self.client.get(url, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 164, in get return self.request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request resp = super(LegacyJsonAdapter, self).request(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request return self.session.request(url, method, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 307, in request auth_headers = self.get_auth_headers(auth) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 589, in get_auth_headers return auth.get_headers(self, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", line 114, in get_headers token = self.get_token(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 104, in get_token return self.get_access(session).auth_token File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 144, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 78, in get_auth_ref authenticated=False, log=False) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 488, in post return self.request(url, 'POST', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 389, in request raise exceptions.from_response(resp, method, url) BadRequest: Bad Request (HTTP 400)

click to hide/show revision 2
No.2 Revision

keystone wsgi error -- AH00566: request failed: invalid characters in URI

I have just finished transitioning from eventlet server wsgi following the steps described here. However, I have errors which as below. Several errors of googling have been fruitless. On issue of the command "openstack endpoint list", i have the error : ERROR: openstack Bad Request (HTTP 400) With the --debug switch produces more info as below (truncated):

>     INFO: openstackclient.common.clientmanager openstackclient.common.clientmanager
> Using auth plugin: v2password
>     DEBUG: openstackclient.common.clientmanager openstackclient.common.clientmanager
> Get auth_ref
>     DEBUG: keystoneclient.auth.identity.v2 Making Making
> authentication request to to
> http://141.89.226.249:35357/v2.0/tokens
>     INFO: urllib3.connectionpool Starting new HTTP connection (1): (1):
> 141.89.226.249
>     DEBUG: urllib3.connectionpool "POST "POST

/v2.0/tokens HTTP/1.1" 400 308 308

DEBUG: keystoneclient.session Request Request

returned failure status: 400 DEBUG: openstackclient.identity.v2_0.endpoint.ListEndpoint take_action(Namespace(columns=[], openstackclient.identity.v2_0.endpoint.ListEndpoint take_action(Namespace(columns=[], formatter='table', long=False, long=False, max_width=0, quote_mode='nonnumeric')) DEBUG: openstackclient.identity.client openstackclient.identity.client Instantiating identity client: <class 'openstackclient.identity.client.identityclientv2'=""> DEBUG: keystoneclient.auth.identity.v2 Making Making authentication request to to http://141.89.226.249:35357/v2.0/tokens INFO: urllib3.connectionpool Resetting dropped connection: connection: 141.89.226.249 DEBUG: urllib3.connectionpool "POST "POST /v2.0/tokens HTTP/1.1" 400 308 DEBUG: keystoneclient.session Request Request returned failure status: 400 ERROR: openstack Bad Request (HTTP 400) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cliff/app.py", File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", line 126, in take_action data = identity_client.endpoints.list() File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", line 32, in list return self._list('/endpoints', 'endpoints') File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 113, in _list resp, body = self.client.get(url, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 164, in get return self.request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request resp = super(LegacyJsonAdapter, super(LegacyJsonAdapter, self).request(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request return self.session.request(url, method, method, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 307, in request auth_headers = self.get_auth_headers(auth) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 589, in get_auth_headers return auth.get_headers(self, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", line 114, in get_headers token = self.get_token(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 104, in get_token return self.get_access(session).auth_token File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 144, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 78, in get_auth_ref authenticated=False, log=False) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 488, in post return self.request(url, 'POST', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 389, in request raise exceptions.from_response(resp, method, method, url) BadRequest: Bad Request (HTTP 400) DEBUG: openstackclient.shell clean_up ListEndpoint DEBUG: openstackclient.shell got an error: Bad Request (HTTP 400) ERROR: openstackclient.shell Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 176, in run return super(OpenStackShell, self).run(argv) File "/usr/lib/python2.7/dist-packages/cliff/app.py", File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 238, in run result = self.run_subcommand(remainder) File "/usr/lib/python2.7/dist-packages/cliff/app.py", File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", line 126, in take_action data = identity_client.endpoints.list() File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", line 32, in list return self._list('/endpoints', 'endpoints') File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 113, in _list resp, body = self.client.get(url, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 164, in get return self.request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request resp = super(LegacyJsonAdapter, super(LegacyJsonAdapter, self).request(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request return self.session.request(url, method, method, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 307, in request auth_headers = self.get_auth_headers(auth) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 589, in get_auth_headers return auth.get_headers(self, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", line 114, in get_headers token = self.get_token(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 104, in get_token return self.get_access(session).auth_token File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 144, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 78, in get_auth_ref authenticated=False, log=False) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 488, in post return self.request(url, 'POST', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 389, in request raise exceptions.from_response(resp, method, method, url) BadRequest: Bad Request (HTTP 400)

keystone wsgi error -- AH00566: request failed: invalid characters in URI

I have just finished transitioning from eventlet server wsgi following the steps described here. However, I have errors which as below. Several errors of googling have been fruitless. On issue of the command "openstack endpoint list", i have the error : ERROR: openstack Bad Request (HTTP 400) With the --debug switch produces more info as below (truncated):

>     INFO: openstackclient.common.clientmanager
> Using auth plugin: v2password
>     DEBUG: openstackclient.common.clientmanager
> Get auth_ref
>     DEBUG: keystoneclient.auth.identity.v2 Making
> authentication request to
> http://141.89.226.249:35357/v2.0/tokens
http://xx.xx.xx.xx:35357/v2.0/tokens
>     INFO: urllib3.connectionpool Starting new HTTP connection (1):
> 141.89.226.249
>     DEBUG: urllib3.connectionpool "POST

/v2.0/tokens HTTP/1.1" 400 308

DEBUG: keystoneclient.session Request

returned failure status: 400 DEBUG: openstackclient.identity.v2_0.endpoint.ListEndpoint take_action(Namespace(columns=[], formatter='table', long=False, max_width=0, quote_mode='nonnumeric')) DEBUG: openstackclient.identity.client Instantiating identity client: <class 'openstackclient.identity.client.identityclientv2'=""> DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://141.89.226.249:35357/v2.0/tokens http://xx.xx.xx.xx:35357/v2.0/tokens INFO: urllib3.connectionpool Resetting dropped connection: 141.89.226.249 DEBUG: urllib3.connectionpool "POST /v2.0/tokens HTTP/1.1" 400 308 DEBUG: keystoneclient.session Request returned failure status: 400 ERROR: openstack Bad Request (HTTP 400) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", line 126, in take_action data = identity_client.endpoints.list() File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", line 32, in list return self._list('/endpoints', 'endpoints') File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 113, in _list resp, body = self.client.get(url, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 164, in get return self.request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request resp = super(LegacyJsonAdapter, self).request(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request return self.session.request(url, method, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 307, in request auth_headers = self.get_auth_headers(auth) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 589, in get_auth_headers return auth.get_headers(self, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", line 114, in get_headers token = self.get_token(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 104, in get_token return self.get_access(session).auth_token File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 144, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 78, in get_auth_ref authenticated=False, log=False) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 488, in post return self.request(url, 'POST', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 389, in request raise exceptions.from_response(resp, method, url) BadRequest: Bad Request (HTTP 400) DEBUG: openstackclient.shell clean_up ListEndpoint DEBUG: openstackclient.shell got an error: Bad Request (HTTP 400) ERROR: openstackclient.shell Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 176, in run return super(OpenStackShell, self).run(argv) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 238, in run result = self.run_subcommand(remainder) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", line 126, in take_action data = identity_client.endpoints.list() File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", line 32, in list return self._list('/endpoints', 'endpoints') File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 113, in _list resp, body = self.client.get(url, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 164, in get return self.request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request resp = super(LegacyJsonAdapter, self).request(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request return self.session.request(url, method, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 307, in request auth_headers = self.get_auth_headers(auth) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 589, in get_auth_headers return auth.get_headers(self, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", line 114, in get_headers token = self.get_token(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 104, in get_token return self.get_access(session).auth_token File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 144, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 78, in get_auth_ref authenticated=False, log=False) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 488, in post return self.request(url, 'POST', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 389, in request raise exceptions.from_response(resp, method, url) BadRequest: Bad Request (HTTP 400)

keystone wsgi error -- AH00566: request failed: invalid characters in URI

I have just finished transitioning from eventlet server wsgi following the steps described here. However, I have errors which as below. Several errors of googling have been fruitless. On issue of the command "openstack endpoint list", i have the error : ERROR: openstack Bad Request (HTTP 400) With the --debug switch produces more info as below (truncated):

>     INFO: openstackclient.common.clientmanager
> Using auth plugin: v2password
>     DEBUG: openstackclient.common.clientmanager
> Get auth_ref
>     DEBUG: keystoneclient.auth.identity.v2 Making
> authentication request to
> http://xx.xx.xx.xx:35357/v2.0/tokens
>     INFO: urllib3.connectionpool Starting new HTTP connection (1):
> 141.89.226.249
>     DEBUG: urllib3.connectionpool "POST

/v2.0/tokens HTTP/1.1" 400 308

DEBUG: keystoneclient.session Request

returned failure status: 400 DEBUG: openstackclient.identity.v2_0.endpoint.ListEndpoint take_action(Namespace(columns=[], formatter='table', long=False, max_width=0, quote_mode='nonnumeric')) DEBUG: openstackclient.identity.client Instantiating identity client: <class 'openstackclient.identity.client.identityclientv2'=""> DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://xx.xx.xx.xx:35357/v2.0/tokens INFO: urllib3.connectionpool Resetting dropped connection: 141.89.226.249 DEBUG: urllib3.connectionpool "POST /v2.0/tokens HTTP/1.1" 400 308 DEBUG: keystoneclient.session Request returned failure status: 400 ERROR: openstack Bad Request (HTTP 400) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", line 126, in take_action data = identity_client.endpoints.list() File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", line 32, in list return self._list('/endpoints', 'endpoints') File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 113, in _list resp, body = self.client.get(url, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 164, in get return self.request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request resp = super(LegacyJsonAdapter, self).request(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request return self.session.request(url, method, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 307, in request auth_headers = self.get_auth_headers(auth) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 589, in get_auth_headers return auth.get_headers(self, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", line 114, in get_headers token = self.get_token(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 104, in get_token return self.get_access(session).auth_token File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 144, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 78, in get_auth_ref authenticated=False, log=False) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 488, in post return self.request(url, 'POST', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 389, in request raise exceptions.from_response(resp, method, url) BadRequest: Bad Request (HTTP 400) DEBUG: openstackclient.shell clean_up ListEndpoint DEBUG: openstackclient.shell got an error: Bad Request (HTTP 400) ERROR: openstackclient.shell Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 176, in run return super(OpenStackShell, self).run(argv) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 238, in run result = self.run_subcommand(remainder) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/endpoint.py", line 126, in take_action data = identity_client.endpoints.list() File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/endpoints.py", line 32, in list return self._list('/endpoints', 'endpoints') File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 113, in _list resp, body = self.client.get(url, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 164, in get return self.request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request resp = super(LegacyJsonAdapter, self).request(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request return self.session.request(url, method, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 307, in request auth_headers = self.get_auth_headers(auth) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 589, in get_auth_headers return auth.get_headers(self, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", line 114, in get_headers token = self.get_token(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 104, in get_token return self.get_access(session).auth_token File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 144, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 78, in get_auth_ref authenticated=False, log=False) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 488, in post return self.request(url, 'POST', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 389, in request raise exceptions.from_response(resp, method, url) BadRequest: Bad Request (HTTP 400)http://xx.xx.xx.xx:35357/v2.0/tokens

keystone wsgi error -- AH00566: request failed: invalid characters in URI

I have just finished transitioning from eventlet server wsgi following the steps described here. However, I have errors which as below. Several errors of googling have been fruitless. On issue of the command "openstack endpoint list", i have the error : ERROR: openstack Bad Request (HTTP 400) With the --debug switch produces more info as below (truncated):

>     INFO: openstackclient.common.clientmanager
> Using auth plugin: v2password
>     DEBUG: openstackclient.common.clientmanager
> Get auth_ref
>     DEBUG: keystoneclient.auth.identity.v2 Making
> authentication request to
> http://xx.xx.xx.xx:35357/v2.0/tokens
>     INFO: urllib3.connectionpool Starting new HTTP connection (1):
> 141.89.226.249
xx.xx.xx.xx
>     DEBUG: urllib3.connectionpool "POST

/v2.0/tokens HTTP/1.1" 400 308

DEBUG: keystoneclient.session Request

returned failure status: 400 DEBUG: openstackclient.identity.v2_0.endpoint.ListEndpoint take_action(Namespace(columns=[], formatter='table', long=False, max_width=0, quote_mode='nonnumeric')) DEBUG: openstackclient.identity.client Instantiating identity client: <class 'openstackclient.identity.client.identityclientv2'=""> DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://xx.xx.xx.xx:35357/v2.0/tokens