Ask Your Question
1

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 delete

1 answer

Sort by ยป oldest newest most voted
0

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 publish 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]

Question Tools

Follow
1 follower

Stats

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

Seen: 74 times

Last updated: Apr 02