lbaas data model is too recursive

Bug #1643571 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octavia
Invalid
Low
Unassigned

Bug Description

this is an example of pool to_api_dict().
http://paste.openstack.org/show/589872/
as you can see, it has too many copies of same objects.
note: there are only 3 objects in the dict.

while from_sqlalchemy_model has some recursion protection,
it's better to make it shallower.

especially, to_dict/to_api_dict should not do much recursion.

tags: added: lbaas
Revision history for this message
Victor Morales (electrocucaracha) wrote :

I consider that this affects the payload of the object and not the current functionality.

Changed in neutron:
importance: Undecided → Low
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

Victor,

i consider this high priority as it affects driver api.
but it might be just me.

affects: neutron → octavia
Revision history for this message
Gregory Thiemonge (gthiemonge) wrote : auto-abandon-script

Abandoned after re-enabling the Octavia launchpad.

Changed in octavia:
status: New → Invalid
tags: added: auto-abandon
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.