neutron get_default_quotas failed

Bug #1787079 reported by caowei
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Undecided
Junbo Jiang
Trunk
Fix Committed
Undecided
Junbo Jiang
OpenContrail
In Progress
Undecided
Junbo Jiang

Bug Description

# openstack quota list --network
No QuotaDefault found for None: Server Error for url: http://192.168.50.10:9696/v2.0/quotas/2da0eb98e3ce4212a63e05fb2948968d/default, {"NeutronError": {"message": "Request Failed: internal server error while processing your request.", "type": "HTTPInternalServerError", "detail": ""}}

neutron-server.log
2018-08-15 03:05:55.071 24 ERROR neutron.api.v2.resource [req-a9b9590f-709d-4ec2-b291-923b4fab93c2 240ac988c47d4054b8d04cde02d3b828 ef14758e6a8545e8a721e627a9f3564e - default default] default failed: No details.: AttributeError: type object 'QuotaDriver' has no attribute 'get_default_quotas'
2018-08-15 03:05:55.071 24 ERROR neutron.api.v2.resource Traceback (most recent call last):
2018-08-15 03:05:55.071 24 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 98, in resource
2018-08-15 03:05:55.071 24 ERROR neutron.api.v2.resource result = method(request=request, **args)
2018-08-15 03:05:55.071 24 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/extensions/quotasv2.py", line 78, in default
2018-08-15 03:05:55.071 24 ERROR neutron.api.v2.resource return {self._resource_name: self._driver.get_default_quotas(
2018-08-15 03:05:55.071 24 ERROR neutron.api.v2.resource AttributeError: type object 'QuotaDriver' has no attribute 'get_default_quotas'
2018-08-15 03:05:55.071 24 ERROR neutron.api.v2.resource
2018-08-15 03:05:55.076 24 INFO neutron.wsgi [req-a9b9590f-709d-4ec2-b291-923b4fab93c2 240ac988c47d4054b8d04cde02d3b828 ef14758e6a8545e8a721e627a9f3564e - default default] 192.168.50.12 "GET /v2.0/quotas/2da0eb98e3ce4212a63e05fb2948968d/default HTTP/1.1" status: 500 len: 368 time: 0.0203390

Junbo Jiang (junbo)
Changed in opencontrail:
assignee: nobody → junbo (junbo)
status: New → In Progress
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45763
Submitter: junbo (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/45763
Committed: http://github.com/Juniper/contrail-neutron-plugin/commit/7348ed942b03bd8f0c8a0178a8c610277fb981a4
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 7348ed942b03bd8f0c8a0178a8c610277fb981a4
Author: junbo <email address hidden>
Date: Mon Nov 5 10:21:41 2018 +0800

get default quota from contrail

Change-Id: I794800e7520b809ca0037ac57d2b6b07e4081ae2
Closes-Bug: #1787079

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/47528
Submitter: Shivayogi Ugaji (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/47528
Committed: http://github.com/Juniper/contrail-neutron-plugin/commit/7a6086975df0ded5b315c4ed89d010c4ec49b528
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 7a6086975df0ded5b315c4ed89d010c4ec49b528
Author: junbo <email address hidden>
Date: Mon Nov 5 10:21:41 2018 +0800

get default quota from contrail

Change-Id: I794800e7520b809ca0037ac57d2b6b07e4081ae2
Closes-Bug: #1787079
(cherry picked from commit 7348ed942b03bd8f0c8a0178a8c610277fb981a4)

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.