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_tenant_id='156b351bcc1942d7a44c9e7e2d8b8c61, 1a40c874dd8146158546af7f4a7181ff, 1c88ed7d5796421d8e081f80c04b2c66, 1f847a9eac5a4ddd837015c71b6988b4, 4881647149a94267bdbf318877074f42, 4b97965ac1934e769ce58b17b214a349, 5cff2c49bd6f413ead284f21b6b8d360, 5d4f394aa6dd4412b0988ac267771584, 628ee827668a4c73bf0649f7229142f4, 664a37b60ade44a68f0b8a5d5c3bcb23, 7132b355f6c54ea3b8a4a696d00fa83a, 73f4457b722c4a6aae342e60731a43e9, 74f569a64480423c820cad4055f49509, afe6caeca8564c638aa73d0c5d4c655a, cf4f8378b18b47e19b18c08751ff30d3, f7af8fcf6e1e4282acab0993e1682f62' 35
Expected result
===============
It works...
Actual result
=============
Invalid input for field/attribute filter_tenant_id. Value: 156b351bcc1942d7a44c9e7e2d8b8c61, 1a40c874dd8146158546af7f4a7181ff, 1c88ed7d5796421d8e081f80c04b2c66, 1f847a9eac5a4ddd837015c71b6988b4, 4881647149a94267bdbf318877074f42, 4b97965ac1934e769ce58b17b214a349, 5cff2c49bd6f413ead284f21b6b8d360, 5d4f394aa6dd4412b0988ac267771584, 628ee827668a4c73bf0649f7229142f4, 664a37b60ade44a68f0b8a5d5c3bcb23, 7132b355f6c54ea3b8a4a696d00fa83a, 73f4457b722c4a6aae342e60731a43e9, 74f569a64480423c820cad4055f49509, afe6caeca8564c638aa73d0c5d4c655a, cf4f8378b18b47e19b18c08751ff30d3, f7af8fcf6e1e4282acab0993e1682f62. u'156b351bcc1942d7a44c9e7e2d8b8c61, 1a40c874dd8146158546af7f4a7181ff, 1c88ed7d5796421d8e081f80c04b2c66, 1f847a9eac5a4ddd837015c71b6988b4, 4881647149a94267bdbf318877074f42, 4b97965ac1934e769ce58b17b214a349, 5cff2c49bd6f413ead284f21b6b8d360, 5d4f394aa6dd4412b0988ac267771584, 628ee827668a4c73bf0649f7229142f4, 664a37b60ade44a68f0b8a5d5c3bcb23, 7132b355f6c54ea3b8a4a696d00fa83a, 73f4457b722c4a6aae342e60731a43e9, 74f569a64480423c820cad4055f49509, afe6caeca8564c638aa73d0c5d4c655a, cf4f8378b18b47e19b18c08751ff30d3, f7af8fcf6e1e4282acab0993e1682f62' is too long (HTTP 400) (Request-ID: req-83741ecc-0754-42a0-a788-6b3c7945d9eb)
Environment
===========
OpenStack Queens
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