Ask Your Question

How does one set a list of tenants for the nova AggregateMultiTenancyIsolation filter?

asked 2014-02-05 05:02:17 -0500

jesse-pretorius gravatar image

updated 2014-02-06 17:19:03 -0500

smaffulli gravatar image

The documentation for the nova AggregateMultiTenancyIsolation filter describes its functionality as:

"Isolates tenants to specific host aggregates. If a host is in an aggregate that has the metadata key filter_tenant_id it only creates instances from that tenant (or list of tenants)."

In my testing I see that it is not possible to set a list of tenants with the command:

 nova aggregate-set-metadata <aggregateid> filter_tenant_id=tenant1uuid filter_tenant_id=tenant2uuid

If I try instead to set each one at a time, it overwrites the existing metadata.

How do I create a list of tenants to be isolated into the aggregate by the filter?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-02 05:43:17 -0500

branoz gravatar image

I'm afraid that it's not supported.

Nova client will send only the last value via API call to server. When I modified the client to send a JSON containing two values, server bombed out with HTTP 500.

The workaround is to create two identical aggregates with different value of "filter_tenant_id".

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-02-05 05:02:17 -0500

Seen: 493 times

Last updated: Apr 02 '14