2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session File "/usr/lib/python2.7/dist-packages/MySQLdb/converters.py", line 97, in Instance2Str
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session return d[o.__class__](o, d)
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session RuntimeError: maximum recursion depth exceeded
2014-05-28 05:38:02.696 TRACE neutron.openstack.common.db.sqlalchemy.session
Problem is the line https://github.com/openstack/neutron/blob/master/neutron/plugins/vmware/plugins/base.py#L1012. A flat network will return an object instead of 0
Fix proposed to branch: master /review. openstack. org/96168
Review: https:/