← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1553689] Re: description association proxy shared between all standard attrs

 

Reviewed:  https://review.openstack.org/288999
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=284f507adaa2af7691e49327cdfc2baba9268455
Submitter: Jenkins
Branch:    master

commit 284f507adaa2af7691e49327cdfc2baba9268455
Author: Kevin Benton <kevin@xxxxxxxxxx>
Date:   Sun Mar 6 02:24:14 2016 -0800

    Delay description association proxy construction
    
    Association proxies cannot be constructed in the mixin because they
    will be shared between all models that inherit from it. This means
    they all share one and it will effectively be broken for all but the
    first to load it.
    
    This changes it to a declared attr like the others to make sure it's
    not constructed until each model inherits from it.
    
    Change-Id: I3e1aa21cd02c0f116cc6dee5e0577988ec37f767
    Closes-Bug: #1553689


** 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/1553689

Title:
  description association proxy shared between all standard attrs

Status in neutron:
  Fix Released

Bug description:
  The association proxy added for the description on all standard
  attribute resources was being shared between all standard attributes
  since it was defined on the class that they all inherit. This meant
  that the first model to load would become the reference and break
  filtering for all of the others.

  This was causing unit tests to sporadically fail because it depended
  on the model load order of each worker which depended on the order of
  tests they executed.

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


References