The traits associations are deleted incorrectly

Bug #1708978 reported by Alex Xu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Alex Xu

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.

Tags: placement
Alex Xu (xuhj)
Changed in nova:
assignee: nobody → Alex Xu (xuhj)
Changed in nova:
status: New → In Progress
Alex Xu (xuhj)
tags: added: placement
Changed in nova:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 16.0.0.0rc1

This issue was fixed in the openstack/nova 16.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.