Ask Your Question
0

Are there anyway to make host does't belongs to any aggregate didn't creat instances from specific tenants (Openstack nova-scheduler)?

asked 2020-05-03 22:27:37 -0500

quanlm gravatar image

I want to isolated few specific compute node just for specific project use only.

I have use AggregateMultitenancyIsolation But this filter just do half the work. It block other project to create instance in specific host but user in specific project still create instance outside the specific host I aggregate before

I also try AggregateInstanceExtraSpecsFilter but too many flavor need to create and manage

I modified the AggregateMultitenancyIsolation like ``` .... .... else: LOG.debug("No tenant id's defined on host. Host passes.") return True if metadata == {}: return False

```

But the result still the same.

So to the main question in the title.

Are there anyway to make host doesn't belong to aggregate with the metadata key didn't create instance from that specific project?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-05-04 10:33:03 -0500

you can use Availability zone and aggregate Host.

Give tenant to access only spawn in that zone .

edit flag offensive delete link more

Comments

Can you be more details ?

quanlm gravatar imagequanlm ( 2020-05-04 21:29:32 -0500 )edit

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-05-03 22:27:37 -0500

Seen: 46 times

Last updated: May 04

Related questions