Unable to assign more than 7 tenants to a filter_tenant_id string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Compute (nova) |
Low
|
Matt Riedemann | ||
| Rocky |
Low
|
Matt Riedemann |
Bug Description
Description
===========
I sadly noticed you can assign no more than 7 project IDs per host aggregate via filter_tenant_id=
Steps to reproduce
==================
openstack aggregate set --property filter_
Expected result
===============
It works...
Actual result
=============
Invalid input for field/attribute filter_tenant_id. Value: 156b351bcc1942d
Environment
===========
OpenStack Queens
description: | updated |
tags: | added: api |
Matt Riedemann (mriedem) wrote : | #1 |
tags: | added: docs scheduler |
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Low |
Matt Riedemann (mriedem) wrote : | #2 |
I'm just going to update the docs because we have a replacement for the old filter in Rocky.
Matt Riedemann (mriedem) wrote : | #3 |
The other workaround with the older AggregateMultiT
Fix proposed to branch: master
Review: https:/
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
status: | Triaged → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 1fa09acf08dacf9
Author: Matt Riedemann <email address hidden>
Date: Fri Nov 9 11:30:44 2018 -0500
Mention meta key suffix in tenant isolation with placement docs
This changes does two things to the admin scheduler configuration
docs:
1. Notes the limitation from bug 1802111 for the older
starting in Rocky, using tenant isolation with placement
is better.
2. Notes that when isolating tenants via placement, the metadata
key "filter_tenant_id" can be suffixed to overcome the limitation
in bug 1802111.
Change-Id: I792c5df01b7cbc
Closes-Bug: #1802111
Changed in nova: | |
status: | In Progress → Fix Released |
Fix proposed to branch: stable/rocky
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 4c0342bf1d86bca
Author: Matt Riedemann <email address hidden>
Date: Fri Nov 9 11:30:44 2018 -0500
Mention meta key suffix in tenant isolation with placement docs
This changes does two things to the admin scheduler configuration
docs:
1. Notes the limitation from bug 1802111 for the older
starting in Rocky, using tenant isolation with placement
is better.
2. Notes that when isolating tenants via placement, the metadata
key "filter_tenant_id" can be suffixed to overcome the limitation
in bug 1802111.
Change-Id: I792c5df01b7cbc
Closes-Bug: #1802111
(cherry picked from commit 1fa09acf08dacf9
This issue was fixed in the openstack/nova 18.1.0 release.
This issue was fixed in the openstack/nova 19.0.0.0rc1 release candidate.
Yup, this is a known limitation, and also that the AggregateMultiT enancyIsolation filter doesn't allow scoping to keystone domains. I think there is a Public Cloud SIG bug related to this as well.
The good news is once you get to Rocky, you can use the placement request filter to filter aggregates per tenant which supersedes the AggregateMultiT enancyIsolation filter:
https:/ /docs.openstack .org/nova/ latest/ admin/configura tion/schedulers .html#tenant- isolation- with-placement
The docs don't mention it (I don't think), but that placement request filter does allow namespacing the aggregate metadata so you can add as many tenants as you want:
https:/ /github. com/openstack/ nova/blob/ e27905f482ba26d 2bbf3ae5d948dee 37523042d5/ nova/scheduler/ request_ filter. py#L46