Ask Your Question

Host_filter for BaseScheduler

asked 2011-09-15 22:49:08 -0500

fred-yang gravatar image


I was working to push code for review on a new filter driver based on previous ZoneAwaredScheduler with host_filter driver model, and found out the latest code, revision 1576, has no ZoneAwareScheduler. I am stuck!

LeastCostScheduler(BaseScheduler) is now the one that can invoke JsonFiler. But I can't locate corresponding document for configurations, can someone provide a basic nova.conf for me to jump start?

For example, I was using following configuration for ZoneAwaredSchedule for new filter driver, what are the corresponding ones for LeastCostScheduler for me to invoke ~/filter/JsonFiler()?

Thanks, -Fred

--scheduler_manager=nova.scheduler.manager.SchedulerManager --allow_admin_api=true --enable_zone_routing=true --zone_name=zone1 --build_plan_encryption_key=c286696d887c9aa0611bbb3e2025a45b --scheduler_driver=nova.scheduler.host_filter.HostFilterScheduler --default_host_filter=nova.scheduler.host_filter.JsonFilter

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2011-09-17 02:48:20 -0500

fred-yang gravatar image

Resolved through --compute_scheduler_driver & --default_host_filter settings Thanks,

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-09-15 22:49:08 -0500

Seen: 73 times

Last updated: Sep 17 '11