← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1324120] Re: NSX: exception when creating a flat network

 

** Changed in: neutron/icehouse
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1324120

Title:
  NSX: exception when creating a flat network

Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in neutron icehouse series:
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1324120/+subscriptions


References