[Openstack] Cinder, custom filters and weighers.
Shinobu
shinobu.kj at gmail.com
Tue Aug 25 12:02:32 UTC 2015
Yes, it's possible using inspectors.
Shinobu
On Tue, Aug 25, 2015 at 8:32 PM, Thomas Zilio <zilio at efficit.com> wrote:
> Hello,
>
> I'm trying to test some custom cinder filters and weighers but I can't
> manage to make it work.
> I did the same for Nova and everything is working but the Cinder scheduler
> can't seem to find my custom classes.
>
> My tests are made on a Icehouse installation.
>
> The error message appearing in the log is the following one:
> > SchedulerHostFilterNotFound: Scheduler Host Filter CustomFilter could
> not be found.
>
> The filter file is in the directory :
> /usr/lib/python2.6/site-packages/cinder/scheduler/filters
> And I added these lines to the cinder.conf file (not sure if the first one
> is required).
> > scheduler_available_filters=custom_filter.CustomFilter
> >
> scheduler_default_filters=AvailabilityZoneFilter,CapacityFilter,CapabilitiesFilter,CustomFilter
>
> My filter file name is custom_filter.py and the class is CustomFilter.
>
> I don't think it's related to what my filter does since it's not even
> found by the scheduler.
> I'm encountering the same issues with the weighers (and everything is
> working just fine on the Nova scheduler side).
>
> If anyone has any idea how I could make this work I would be really
> grateful !
>
> Thanks and regards,
> Thomas
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
--
Email:
shinobu at linux.com
skinjo at redhat.com
Life w/ Linux <http://i-shinobu.hatenablog.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150825/cc16ce02/attachment.html>
More information about the Openstack
mailing list