Don't mask out HostState details in WeighedHost
WeighedHost's __repr__ was poking under the HostState hood to use .host in its own __repr__ but this hides some important details. Specifically it hides the hypervisor_hostname, which is important for Ironic as one 'node' can have thousands of hostnames. The other details such as available RAM and so on are also useful for ops trying to debug scheduling issues, so rather than add hypervisor_hostname, I am just delegating to the underlying __repr__. Change-Id: I79e55c32b3d0768430132275ebe050f38c63bc87changes/76/106676/1
parent
101d16237c
commit
97b667d651
Loading…
Reference in New Issue