Public bug reported: With the following turned on in the config, /etc/nova/nova.conf + compute_monitors = virt_driver + scheduler_default_filters = MetricsFilter
nova/scheduler/filters/metrics_filter.py: MetricsFilter does not work as intended, as it gets wrong metrics values to work on, even when the data on DB is correct. Snippet from DB - http://paste.openstack.org/show/478481/ While printing the metrics name and value in the filter, the output shows that all the CPU metrics, computed as percentage, were received as 0. Snippet - cpu.user.percent 0 cpu.kernel.time 580491900000000 cpu.kernel.percent 0 cpu.idle.time 8440469190000000 cpu.idle.percent 0 cpu.iowait.time 264054730000000 cpu.percent 0 cpu.user.time 2539292510000000 cpu.frequency 2400 cpu.iowait.percent 0 ** Affects: nova Importance: Undecided Assignee: Surojit Pathak (suro-patz) Status: New ** Changed in: nova Assignee: (unassigned) => Surojit Pathak (suro-patz) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1514997 Title: Metrics filter receives wrong metric value Status in OpenStack Compute (nova): New Bug description: With the following turned on in the config, /etc/nova/nova.conf + compute_monitors = virt_driver + scheduler_default_filters = MetricsFilter nova/scheduler/filters/metrics_filter.py: MetricsFilter does not work as intended, as it gets wrong metrics values to work on, even when the data on DB is correct. Snippet from DB - http://paste.openstack.org/show/478481/ While printing the metrics name and value in the filter, the output shows that all the CPU metrics, computed as percentage, were received as 0. Snippet - cpu.user.percent 0 cpu.kernel.time 580491900000000 cpu.kernel.percent 0 cpu.idle.time 8440469190000000 cpu.idle.percent 0 cpu.iowait.time 264054730000000 cpu.percent 0 cpu.user.time 2539292510000000 cpu.frequency 2400 cpu.iowait.percent 0 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1514997/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

