← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1770570] [NEW] In a parent/child resource provider aggregate, if a child resource providers is deleted then the deleted child resource provider will be seen as available in the parent resource provider aggregate list.

 

Public bug reported:

In a parent/child resource provider aggregate, if a child resource providers is deleted then the deleted child resource provider will be seen as available in the parent resource provider aggregate list.
For ex: create two resource providers having uuid's say A and B. Here, if B is attached to A then B is child to A.
Attach B as an aggregate to A using command "openstack --os-placement-api-version 1.1 resource provider aggregate set A --aggregate B"
Delete resource provider B using command " openstack resource provider delete B"
List aggregate resource provider for A "openstack resource provider aggregate list A"

There should be referential key constraint for <uuid> in
"placement_aggregates" table for the resouce provider uuid in
"resource_providers" table.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1770570

Title:
  In a parent/child resource provider aggregate, if a child resource
  providers is deleted then the deleted child resource provider will be
  seen as available in the parent resource provider aggregate list.

Status in OpenStack Compute (nova):
  New

Bug description:
  In a parent/child resource provider aggregate, if a child resource providers is deleted then the deleted child resource provider will be seen as available in the parent resource provider aggregate list.
  For ex: create two resource providers having uuid's say A and B. Here, if B is attached to A then B is child to A.
  Attach B as an aggregate to A using command "openstack --os-placement-api-version 1.1 resource provider aggregate set A --aggregate B"
  Delete resource provider B using command " openstack resource provider delete B"
  List aggregate resource provider for A "openstack resource provider aggregate list A"

  There should be referential key constraint for <uuid> in
  "placement_aggregates" table for the resouce provider uuid in
  "resource_providers" table.

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


Follow ups