Placement request filter behaves differently with AggregateMultiTenancyIsolation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Description
===========
When enabling flag limit_tenants_
Steps to reproduce
==================
Consider the below scenario, we have defined two aggregates:
Aggr1 (without define any metadata)
Aggr2 (define metadata filter_tenant_id to include our working projects)
So for the old AggregateMultiT
But if we enable limit_tenants_
Such behavior is aligned with the code does now (nova/scheduler
== extracted from the doc about the placement req filter ===
This setting causes the scheduler to look up a host aggregate with the metadata key of filter_tenant_id set to the project of an incoming request, and request results from placement be limited to that aggregate. Multiple tenants may be added to a single aggregate by appending a serial number to the key, such as filter_
description: | updated |
summary: |
- placement request filter behaves different with + Placement request filter behaves differently with AggregateMultiTenancyIsolation |
This doc feels relevant even if it talks about the scheduler. enable_ isolated_ aggregate_ filtering: https:/ /docs.openstack .org/nova/ latest/ reference/ isolate- aggregates. html
I think the observed behavior is correct and the documentation could be improved.