← Back to team overview

openstack team mailing list archive

SchedulerHostFilterNotFound on Diablo using Zones - maybe a BUG ?

 

Hi all,

We are using the release version of Diablo, and when we configure
multi-zone and we sent a new instance to run , we get this TRACE on the
nova-scheduler.log

(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE:   File
"/usr/lib/python2.6/dist-packages/nova/rpc/impl_kombu.py", line 620, in
_process_data
(nova.rpc): TRACE:     rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE:   File
"/usr/lib/python2.6/dist-packages/nova/scheduler/manager.py", line 103, in
_schedule
(nova.rpc): TRACE:     host = real_meth(*args, **kwargs)
(nova.rpc): TRACE:   File
"/usr/lib/python2.6/dist-packages/nova/scheduler/abstract_scheduler.py",
line 229, in schedule_run_instance
(nova.rpc): TRACE:     build_plan = self.select(context, request_spec)
(nova.rpc): TRACE:   File
"/usr/lib/python2.6/dist-packages/nova/scheduler/abstract_scheduler.py",
line 251, in select
(nova.rpc): TRACE:     *args, **kwargs)
(nova.rpc): TRACE:   File
"/usr/lib/python2.6/dist-packages/nova/scheduler/abstract_scheduler.py",
line 279, in _schedule
(nova.rpc): TRACE:     unfiltered_hosts)
(nova.rpc): TRACE:   File
"/usr/lib/python2.6/dist-packages/nova/scheduler/base_scheduler.py", line
41, in filter_hosts
(nova.rpc): TRACE:     selected_filter =
host_filter.choose_host_filter(filter_name)
(nova.rpc): TRACE:   File
"/usr/lib/python2.6/dist-packages/nova/scheduler/host_filter.py", line 74,
in choose_host_filter
(nova.rpc): TRACE:     raise
exception.SchedulerHostFilterNotFound(filter_name=filter_name)
(nova.rpc): TRACE: SchedulerHostFilterNotFound: Scheduler Host Filter
nova.scheduler.filters.AllHostsFilter could not be found.
(nova.rpc): TRACE:


But the host filter file is there, we tried replicating the for validations
of the _get_filter fuction on host_filter.py , all is getting True for
AllHostsFilters but still getting that the filter is not found.

Any known issue ?

Best Regards!