Reviewed:  https://review.openstack.org/457399
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=46bc515f82983c510dc4fb014c18e27813ce4d65
Submitter: Jenkins
Branch:    master

commit 46bc515f82983c510dc4fb014c18e27813ce4d65
Author: Kevin Benton <ke...@benton.pub>
Date:   Mon Apr 17 16:50:34 2017 -0700

    Don't load rels on detached objects
    
    OVO detaches DB objects from the session and then holds onto
    them for the life time of the OVO object. Simultaneously we attach
    a weakref to the object to the session to load relationships for it
    on commit.
    
    If GC hasn't eliminated this object by the time we try to load
    relationships, we end up trying to load rels for a detached object,
    which implicitly tries to add it back into the session. This fails
    if there is another copy in the session.
    
    This patch just skips loading detached objects because we don't need
    relationships loaded for them anyway.
    
    Closes-Bug: #1683469
    Change-Id: Ida3272562edb6608c6bfd7e11267159d6565a0c7


** Changed in: neutron
       Status: In Progress => 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/1683469

Title:
  InvalidRequestError: Can't attach instance

Status in neutron:
  Fix Released
Status in tripleo:
  Triaged

Bug description:
  Deploying TripleO undercloud under Pike packaging, Neutron with ML2
  OVS plugin.

  It fails to create network:

  neutron net-create ctlplane --provider:network_type flat 
--provider:physical_network ctlplane
  Request Failed: internal server error while processing your request.

  See the trace:
  
http://logs.openstack.org/64/457264/1/check/gate-tripleo-ci-centos-7-scenario002-multinode-oooq/56c3c3e/logs/undercloud/var/log/neutron/server.log.txt.gz#_2017-04-17_18_56_53_265

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to