← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1708978] Re: The traits associations are deleted incorrectly

 

Reviewed:  https://review.openstack.org/489205
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e66c1accbd2ecbc61f71733ee60a6e1ef693e47a
Submitter: Jenkins
Branch:    master

commit e66c1accbd2ecbc61f71733ee60a6e1ef693e47a
Author: He Jie Xu <hejie.xu@xxxxxxxxx>
Date:   Mon Jul 31 21:07:17 2017 +0800

    placement: filtering the resource provider id when delete trait association
    
    When delete a trait association for specific resource provider, the current
    code will delete that trait associations for all the resource providers.
    
    The expected behaviour is only the specific trait association for the
    specific resource provider will be removed. This patch corrects the filter
    for the deletion of trait association.
    
    Change-Id: I4b8f1b8f0a8d16f1c415edbfb2a7d342d176f70a
    Closes-Bug: #1708978


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1708978

Title:
  The traits associations are deleted incorrectly

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  For example, Both ResourceProvider1 and ResourceProvider2 have trait
  CUSTOM_TRAIT_A. When detaching the CUSTOM_TRAIT_A from the
  ResourceProvider2, the association between CUSTOM_TRAIT_A and
  ResourcePRovider1 should be kept. But The current code removes the all
  the associations with CUSTOM_TRAIT_A.

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


References