Watcher workload_stabilization strategy error

Bug #1736982 reported by Ivan Denezhkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Fix Released
Medium
Alexander Chadin

Bug Description

There may be cases, when one of compute nodes
got into maintenance mode and don’t send any ceilometer metrics.
It may lead to returning of None in result of using statistic_aggregation method.
At least one strategy (workload_stabilization) set synthetic values[1] in this case.
Shouldn’t we exclude either host or instance if datasource can’t get actual metrics?

[1]: https://github.com/openstack/watcher/blob/1.5.0/watcher/decision_engine/strategy/strategies/workload_stabilization.py#L310

Changed in watcher:
milestone: none → queens-rc
importance: Undecided → Medium
assignee: nobody → Alexander Chadin (joker946)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to watcher (master)

Fix proposed to branch: master
Review: https://review.openstack.org/536786

Changed in watcher:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to watcher (master)

Reviewed: https://review.openstack.org/536786
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=701b258dc76cd989e902efc2b507642359d1bfd7
Submitter: Zuul
Branch: master

commit 701b258dc76cd989e902efc2b507642359d1bfd7
Author: Alexander Chadin <email address hidden>
Date: Tue Jan 23 11:19:57 2018 +0300

    Fix workload_stabilization unavailable nodes and instances

    This patch set excludes nodes and instances from auditing
    if appropriate metrics aren't available.

    Change-Id: I87c6c249e3962f45d082f92d7e6e0be04e101799
    Closes-Bug: #1736982

Changed in watcher:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to watcher (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/537366

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to watcher (stable/pike)

Reviewed: https://review.openstack.org/537366
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=8d61c1a2b4ab7158c00559ac0b5254cd2bbf5859
Submitter: Zuul
Branch: stable/pike

commit 8d61c1a2b4ab7158c00559ac0b5254cd2bbf5859
Author: Alexander Chadin <email address hidden>
Date: Tue Jan 23 11:19:57 2018 +0300

    Fix workload_stabilization unavailable nodes and instances

    This patch set excludes nodes and instances from auditing
    if appropriate metrics aren't available.

    Change-Id: I87c6c249e3962f45d082f92d7e6e0be04e101799
    Closes-Bug: #1736982
    (cherry picked from commit 701b258dc76cd989e902efc2b507642359d1bfd7)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/watcher 1.7.0

This issue was fixed in the openstack/watcher 1.7.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/watcher 1.4.2

This issue was fixed in the openstack/watcher 1.4.2 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.