The traits associations are deleted incorrectly
Bug #1708978 reported by
Alex Xu
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.
Changed in nova: | |
assignee: | nobody → Alex Xu (xuhj) |
Changed in nova: | |
status: | New → In Progress |
tags: | added: placement |
Changed in nova: | |
importance: | Undecided → High |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/489205 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=e66c1accbd2 ecbc61f71733ee6 0a6e1ef693e47a
Committed: https:/
Submitter: Jenkins
Branch: master
commit e66c1accbd2ecbc 61f71733ee60a6e 1ef693e47a
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: I4b8f1b8f0a8d16 f1c415edbfb2a7d 342d176f70a
Closes-Bug: #1708978