You can find here the debug output, after my manual reproduction, thanks.
$ neutron --debug qos-policy-create zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
DEBUG: stevedore.extension found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1')
DEBUG: stevedore.extension found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG: stevedore.extension found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos')
DEBUG: stevedore.extension found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP')
DEBUG: stevedore.extension found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG: stevedore.extension found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos')
DEBUG: stevedore.extension found extension EntryPoint.parse('token_endpoint = openstackclient.api.auth_plugin:TokenEndpoint')
DEBUG: stevedore.extension found extension EntryPoint.parse('gnocchi-noauth = gnocchiclient.noauth:GnocchiNoAuthLoader')
DEBUG: stevedore.extension found extension EntryPoint.parse('aodh-noauth = aodhclient.noauth:AodhNoAuthLoader')
DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('json = cliff.formatters.json_format:JSONFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('shell = cliff.formatters.shell:ShellFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('yaml = cliff.formatters.yaml_format:YAMLFormatter')
DEBUG: neutronclient.neutron.v2_0.qos.policy.CreateQoSPolicy run(Namespace(columns=[], description=None, formatter='table', max_width=0, name=u'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz', noindent=False, prefix='', request_format='json', shared=False, tenant_id=None, variables=[]))
DEBUG: keystoneauth.session REQ: curl -g -i -X GET http://10.0.0.109:5000/v2.0 -H "Accept: application/json" -H "User-Agent: neutron keystoneauth1/2.12.2 python-requests/2.10.0 CPython/2.7.5"
DEBUG: keystoneauth.session RESP: [200] Date: Thu, 05 Jan 2017 05:55:59 GMT Server: Apache Vary: X-Auth-Token,Accept-Encoding x-openstack-request-id: req-c43a44fd-06d6-4ee3-b6c8-ffed1df13980 Content-Encoding: gzip Content-Length: 227 Content-Type: application/json
RESP BODY: {"version": {"status": "deprecated", "updated": "2016-08-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://10.0.0.109:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
DEBUG: keystoneauth.identity.v2 Making authentication request to http://10.0.0.109:5000/v2.0/tokens
DEBUG: keystoneauth.session REQ: curl -g -i -X POST http://10.0.0.109:9696/v2.0/qos/policies.json -H "User-Agent: python-neutronclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}7417cbf22fb82f2971044266dd16e853a2c2a2dc" -d '{"policy": {"name": "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"}}'
DEBUG: keystoneauth.session RESP: [500] Content-Type: application/json Content-Length: 150 X-Openstack-Request-Id: req-680b6470-9b32-455d-b8e0-af4fd8041b28 Date: Thu, 05 Jan 2017 05:55:59 GMT
RESP BODY: {"NeutronError": {"message": "Request Failed: internal server error while processing your request.", "type": "HTTPInternalServerError", "detail": ""}}
DEBUG: neutronclient.v2_0.client Error message: {"NeutronError": {"message": "Request Failed: internal server error while processing your request.", "type": "HTTPInternalServerError", "detail": ""}}
DEBUG: neutronclient.v2_0.client POST call to neutron for http://10.0.0.109:9696/v2.0/qos/policies.json used request id req-680b6470-9b32-455d-b8e0-af4fd8041b28
ERROR: neutronclient.shell Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-680b6470-9b32-455d-b8e0-af4fd8041b28']
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 877, in run_subcommand
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 114, in run_command
return cmd.run(known_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 324, in run
return super(NeutronCommand, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/display.py", line 100, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 407, in take_action
data = obj_creator(body)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1678, in create_qos_policy
return self.post(self.qos_policies_path, body=body)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 365, in post
headers=headers, params=params)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 300, in do_request
self._handle_fault_response(status_code, replybody, resp)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 275, in _handle_fault_response
exception_handler_v20(status_code, error_body)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20
request_ids=request_ids)
InternalServerError: Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-680b6470-9b32-455d-b8e0-af4fd8041b28']
Hi Reedip,
You can find here the debug output, after my manual reproduction, thanks.
$ neutron --debug qos-policy-create zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzz parse(' v2token = keystoneauth1. loading. _plugins. identity. v2:Token' ) parse(' v3oauth1 = keystoneauth1. extras. oauth1. _loading: V3OAuth1' ) parse(' admin_token = keystoneauth1. loading. _plugins. admin_token: AdminToken' ) parse(' v3oidcauthcode = keystoneauth1. loading. _plugins. identity. v3:OpenIDConnec tAuthorizationC ode') parse(' v2password = keystoneauth1. loading. _plugins. identity. v2:Password' ) parse(' v3samlpassword = keystoneauth1. extras. _saml2. _loading: Saml2Password' ) parse(' v3password = keystoneauth1. loading. _plugins. identity. v3:Password' ) parse(' v3oidcaccesstok en = keystoneauth1. loading. _plugins. identity. v3:OpenIDConnec tAccessToken' ) parse(' v3oidcpassword = keystoneauth1. loading. _plugins. identity. v3:OpenIDConnec tPassword' ) parse(' v3kerberos = keystoneauth1. extras. kerberos. _loading: Kerberos' ) parse(' token = keystoneauth1. loading. _plugins. identity. generic: Token') parse(' v3oidcclientcre dentials = keystoneauth1. loading. _plugins. identity. v3:OpenIDConnec tClientCredenti als') parse(' v3tokenlessauth = keystoneauth1. loading. _plugins. identity. v3:TokenlessAut h') parse(' v3token = keystoneauth1. loading. _plugins. identity. v3:Token' ) parse(' v3totp = keystoneauth1. loading. _plugins. identity. v3:TOTP' ) parse(' password = keystoneauth1. loading. _plugins. identity. generic: Password' ) parse(' v3fedkerb = keystoneauth1. extras. kerberos. _loading: MappedKerberos' ) parse(' token_endpoint = openstackclient .api.auth_ plugin: TokenEndpoint' ) parse(' gnocchi- noauth = gnocchiclient. noauth: GnocchiNoAuthLo ader') parse(' aodh-noauth = aodhclient. noauth: AodhNoAuthLoade r') parse(' table = cliff.formatter s.table: TableFormatter' ) parse(' json = cliff.formatter s.json_ format: JSONFormatter' ) parse(' shell = cliff.formatter s.shell: ShellFormatter' ) parse(' value = cliff.formatter s.value: ValueFormatter' ) parse(' yaml = cliff.formatter s.yaml_ format: YAMLFormatter' ) neutron. v2_0.qos. policy. CreateQoSPolicy run(Namespace( columns= [], description=None, formatter='table', max_width=0, name=u' zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzz', noindent=False, prefix='', request_ format= 'json', shared=False, tenant_id=None, variables=[])) session REQ: curl -g -i -X GET http:// 10.0.0. 109:5000/ v2.0 -H "Accept: application/json" -H "User-Agent: neutron keystoneauth1/ 2.12.2 python- requests/ 2.10.0 CPython/2.7.5" session RESP: [200] Date: Thu, 05 Jan 2017 05:55:59 GMT Server: Apache Vary: X-Auth- Token,Accept- Encoding x-openstack- request- id: req-c43a44fd- 06d6-4ee3- b6c8-ffed1df139 80 Content-Encoding: gzip Content-Length: 227 Content-Type: application/json 04T00:00: 00Z", "media-types": [{"base": "application/json", "type": "application/ vnd.openstack. identity- v2.0+json" }], "id": "v2.0", "links": [{"href": "http:// 10.0.0. 109:5000/ v2.0/", "rel": "self"}, {"href": "http:// docs.openstack. org/", "type": "text/html", "rel": "describedby"}]}}
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: neutronclient.
DEBUG: keystoneauth.
DEBUG: keystoneauth.
RESP BODY: {"version": {"status": "deprecated", "updated": "2016-08-
DEBUG: keystoneauth. identity. v2 Making authentication request to http:// 10.0.0. 109:5000/ v2.0/tokens session REQ: curl -g -i -X POST http:// 10.0.0. 109:9696/ v2.0/qos/ policies. json -H "User-Agent: python- neutronclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}7417cbf22 fb82f2971044266 dd16e853a2c2a2d c" -d '{"policy": {"name": "zzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzzzzzzzzzzzzz zzzz"}} ' session RESP: [500] Content-Type: application/json Content-Length: 150 X-Openstack- Request- Id: req-680b6470- 9b32-455d- b8e0-af4fd8041b 28 Date: Thu, 05 Jan 2017 05:55:59 GMT rverError" , "detail": ""}}
DEBUG: keystoneauth.
DEBUG: keystoneauth.
RESP BODY: {"NeutronError": {"message": "Request Failed: internal server error while processing your request.", "type": "HTTPInternalSe
DEBUG: neutronclient. v2_0.client Error message: {"NeutronError": {"message": "Request Failed: internal server error while processing your request.", "type": "HTTPInternalSe rverError" , "detail": ""}} v2_0.client POST call to neutron for http:// 10.0.0. 109:9696/ v2.0/qos/ policies. json used request id req-680b6470- 9b32-455d- b8e0-af4fd8041b 28 9b32-455d- b8e0-af4fd8041b 28'] python2. 7/site- packages/ neutronclient/ shell.py" , line 877, in run_subcommand python2. 7/site- packages/ neutronclient/ shell.py" , line 114, in run_command python2. 7/site- packages/ neutronclient/ neutron/ v2_0/__ init__. py", line 324, in run mmand, self).run( parsed_ args) python2. 7/site- packages/ cliff/display. py", line 100, in run action( parsed_ args) python2. 7/site- packages/ neutronclient/ neutron/ v2_0/__ init__. py", line 407, in take_action python2. 7/site- packages/ neutronclient/ v2_0/client. py", line 1678, in create_qos_policy self.qos_ policies_ path, body=body) python2. 7/site- packages/ neutronclient/ v2_0/client. py", line 365, in post headers, params=params) python2. 7/site- packages/ neutronclient/ v2_0/client. py", line 300, in do_request _handle_ fault_response( status_ code, replybody, resp) python2. 7/site- packages/ neutronclient/ v2_0/client. py", line 275, in _handle_ fault_response handler_ v20(status_ code, error_body) python2. 7/site- packages/ neutronclient/ v2_0/client. py", line 91, in exception_ handler_ v20 ids=request_ ids) rror: Request Failed: internal server error while processing your request. 9b32-455d- b8e0-af4fd8041b 28']
DEBUG: neutronclient.
ERROR: neutronclient.shell Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-680b6470-
Traceback (most recent call last):
File "/usr/lib/
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/lib/
return cmd.run(known_args)
File "/usr/lib/
return super(NeutronCo
File "/usr/lib/
column_names, data = self.take_
File "/usr/lib/
data = obj_creator(body)
File "/usr/lib/
return self.post(
File "/usr/lib/
headers=
File "/usr/lib/
self.
File "/usr/lib/
exception_
File "/usr/lib/
request_
InternalServerE
Neutron server returns request_ids: ['req-680b6470-