Yes I think you are the one I spoke to in IRC. I added a patch that was suggested by you in our environment and so far its been good. I am sharing that below here:
It goes like:
num_instances = host_state.num_instances or len(host_state.instances)
if len(host_state.instances) != host_state.num_instances:
LOG.warn("NumInstancesFilter: num_instances doesn't match host_state.instances for host: {}, num_instances: {}, len_instances: {} ".format(host_state.host, host_state.num_instances, len(host_state.instances)))
Yes I think you are the one I spoke to in IRC. I added a patch that was suggested by you in our environment and so far its been good. I am sharing that below here:
It goes like: num_instances or len(host_ state.instances ) state.instances ) != host_state. num_instances: warn("NumInstan cesFilter: num_instances doesn't match host_state. instances for host: {}, num_instances: {}, len_instances: {} ".format( host_state. host, host_state. num_instances, len(host_ state.instances )))
num_instances = host_state.
if len(host_
LOG.