Commit ae2673cd authored by Committed by Steve Lewis
Ignoring cpu measurement when instance's state is SHUTOFF.
Using libvirt, we get the cpu and cpu_util are all 0.0 value when the instance is SHUTOFF, but other meters(eg:memory) are skiped. So this patch will fix it that ignore cpu pollster and give a WARNING, when the instance's state is SHUTOFF. Change-Id: I0df2f9688c10621d685c0e895367252240035e42 Closes-Bug: #1544857
Showing with 18 additions and 2 deletions