← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1070335] Re: l3 db operations failed in multiple transactions

 

The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: quantum (Ubuntu Precise)
       Status: Confirmed => Won't Fix

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

Title:
  l3 db operations failed in multiple transactions

Status in neutron:
  Fix Released
Status in neutron folsom series:
  Fix Released
Status in quantum package in Ubuntu:
  Fix Released
Status in quantum source package in Precise:
  Won't Fix
Status in quantum source package in Quantal:
  Fix Released

Bug description:
  gongysh@gongysh-laptop:~$ quantum router-gateway-set de58dce9-d8cd-4398-b00e-c3bdc058b77c pubnet2
  Set gateway for router de58dce9-d8cd-4398-b00e-c3bdc058b77c
  gongysh@gongysh-laptop:~$ quantum router-gateway-set de58dce9-d8cd-4398-b00e-c3bdc058b77c pubnet1
  Request Failed: internal server error while processing your request.

  SERVER traceBACK is:
  Traceback (most recent call last):
    File "/home/gongysh/git/quantum/quantum/api/v2/resource.py", line 95, in resource
      result = method(request=request, **args)
    File "/home/gongysh/git/quantum/quantum/api/v2/base.py", line 397, in update
      obj = obj_updater(request.context, id, **kwargs)
    File "/home/gongysh/git/quantum/quantum/db/l3_db.py", line 168, in update_router
      self._update_router_gw_info(context, id, gw_info)
    File "/home/gongysh/git/quantum/quantum/db/l3_db.py", line 220, in _update_router_gw_info
      context.session.add(router)
    File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1252, in add
      self._save_or_update_state(state)
    File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1268, in _save_or_update_state
      self._save_or_update_impl(st_)
    File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1493, in _save_or_update_impl
      self._update_impl(state)
    File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1483, in _update_impl
      mapperutil.state_str(state)
  InvalidRequestError: Instance '<Port at 0x2f072d0>' has been deleted.  Use the make_transient() function to send this object back to the transient state.

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