quota update is failing on icehouse

Bug #1378077 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Fix Committed
High
Sachin Bansal
Trunk
Fix Committed
High
Sachin Bansal

Bug Description

R1.10 47 (Ubuntu Icehouse multi-node )

DEBUG: neutronclient.client
REQ: curl -i http://10.204.217.69:9696/v2.0/quotas/6349ff201c6b4ac0bccbe53c72bfa7fb.json -X PUT -H "X-Auth-Token: <token>
=" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"quota": {"port": 30}}'

DEBUG: neutronclient.client RESP:{'date': 'Mon, 06 Oct 2014 18:52:34 GMT', 'status': '500', 'content-length': '88', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-73836043-f544-4364-a3a0-4ed4dfdffe8f'} {"NeutronError": "Request Failed: internal server error while processing your request."}

DEBUG: neutronclient.v2_0.client Error message: {"NeutronError": "Request Failed: internal server error while processing your request."}
ERROR: neutronclient.shell Request Failed: internal server error while processing your request.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 548, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 83, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 34, in run
    return super(OpenStackCommand, self).run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 84, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 40, in take_action
    return self.get_data(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/quota.py", line 214, in get_data
    data = obj_updator(tenant_id, body)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 111, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 292, in update_quota
    return self.put(self.quota_path % (tenant_id), body=body)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1392, in put
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1368, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1311, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1281, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 84, in exception_handler_v20
    message=error_dict)
NeutronClientException: Request Failed: internal server error while processing your request.
DEBUG: neutronclient.shell clean_up UpdateQuota
DEBUG: neutronclient.shell Got an error: Request Failed: internal server error while processing your request.
root@nodec22:~#

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/3472
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/81393ac27d5957e0f0debb2aa7bbd84452136ff2
Submitter: Zuul
Branch: master

commit 81393ac27d5957e0f0debb2aa7bbd84452136ff2
Author: Sachin Bansal <email address hidden>
Date: Mon Oct 6 13:30:04 2014 -0700

Fixing two issues:

1. If quota is not initialized in api server, while updating quota, we will get None. We need to handle this case.
2. Fixed a typo.

Change-Id: Ic9b92792ace6d7e07895ae6dff2a01a34247e87a
Closes-Bug: 1378077
(cherry picked from commit 5f6adfbcc5924105a054c9e563202322d0fe516d)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/3471
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/5f6adfbcc5924105a054c9e563202322d0fe516d
Submitter: Zuul
Branch: R1.10

commit 5f6adfbcc5924105a054c9e563202322d0fe516d
Author: Sachin Bansal <email address hidden>
Date: Mon Oct 6 13:30:04 2014 -0700

Fixing two issues:

1. If quota is not initialized in api server, while updating quota, we will get None. We need to handle this case.
2. Fixed a typo.

Change-Id: Ic9b92792ace6d7e07895ae6dff2a01a34247e87a
Closes-Bug: 1378077

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.