deb-cinder/cinder/scheduler
Pranali Deore 7a1742c668 Add logging when filtering returns nothing
When hosts are filtered for a request, and no host passes all the
filters, operators can only see the last filter run; they have no
visibility into which filter removed which host. This attempts to
improve this situation by tracking the hosts remaining after each
filter is run and the number of hosts removed. If no host is left,
that information along with volume ID of the request would be logged.

Since that can be a lot of information, it will call LOG.info with
just the counts for all but the final filter, which will contain
the last deleted host names, LOG.debug will output the full record
of each filter and the hosts remaining after each step.

This will better enable operators to determine why a particular host
was not selected.

Change-Id: I3baf75a4a4430c55b30dde1cae86fa5e195ec6d3
2016-07-05 07:26:04 -04:00
..
evaluator Use True instead of 1 in while loop 2016-06-28 06:44:23 -04:00
filters Remove six.iter* 2016-06-28 23:23:10 -04:00
flows User messages API for error cases 2016-04-29 18:41:10 +00:00
weights Use elevated context to query DB in VolumeNumberWeigher 2016-06-30 14:04:01 +08:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
base_filter.py Add logging when filtering returns nothing 2016-07-05 07:26:04 -04:00
base_handler.py Move oslo-incubator's scheduler module to cinder 2015-11-24 15:49:31 +01:00
base_weight.py Move oslo-incubator's scheduler module to cinder 2015-11-24 15:49:31 +01:00
driver.py Add SIGHUP handlers to reset RPC version pins 2016-02-19 10:30:17 +01:00
filter_scheduler.py Merge "CG creation should be scheduled on backend level" 2015-11-12 04:03:00 +00:00
host_manager.py Fix doc and source documentation errors and warning 2016-04-14 12:30:08 +02:00
manager.py add FIXME tag for extra argument 'topic' in scheduler rpc api 2016-06-19 13:05:37 +00:00
rpcapi.py add FIXME tag for extra argument 'topic' in scheduler rpc api 2016-06-19 13:05:37 +00:00
scheduler_options.py Logging not using oslo.i18n guidelines (scheduler) 2015-04-22 15:24:20 -05:00