Add some debug log into solver_scheduler
This makes the scheduler to log host states and filter properties before the solver takes them. Change-Id: Icaf23e504bc13b4549e8284b17e41535d1968cfd
This commit is contained in:
parent
78d9a7f643
commit
1f5284adac
|
@ -102,6 +102,10 @@ class ConstraintSolverScheduler(filter_scheduler.FilterScheduler):
|
|||
hosts, filter_properties)
|
||||
|
||||
list_hosts = list(hosts)
|
||||
LOG.debug("host state list: %(hoststates)s",
|
||||
{"hoststates": list_hosts})
|
||||
LOG.debug("filter properties given to solver: %(prop)s",
|
||||
{"prop": filter_properties})
|
||||
host_instance_combinations = self.hosts_solver.solve(
|
||||
list_hosts, filter_properties)
|
||||
LOG.debug("solver results: %(host_instance_tuples_list)s",
|
||||
|
|
Loading…
Reference in New Issue