Dan Kenigsberg has submitted this change and it was merged.
Change subject: sampling: HostSample always gets current cpus ......................................................................
sampling: HostSample always gets current cpus
To have HostSample report more faithful information, and to decouple HostStatsThread and hoststats.produce(), we now compute each time the current number of online cpus.
Previously, this was done anche at initialization time.
Change-Id: I0e7d549b7772e3f38eec2dd9b91bbc6416b549bf Signed-off-by: Francesco Romani fromani@redhat.com Reviewed-on: https://gerrit.ovirt.org/42035 Reviewed-by: Roman Mohr rmohr@redhat.com Continuous-Integration: Jenkins CI Reviewed-by: Martin Polednik mpolednik@redhat.com Reviewed-by: Dan Kenigsberg danken@redhat.com --- M vdsm/virt/hoststats.py M vdsm/virt/sampling.py 2 files changed, 5 insertions(+), 5 deletions(-)
Approvals: Roman Mohr: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests Dan Kenigsberg: Looks good to me, approved Francesco Romani: Verified Martin Polednik: Looks good to me, but someone else must approve