default_aggregation_methods configuration is not effected when upgrade gnocchi indexer.

Bug #1680740 reported by liyi on 2017-04-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnocchi
Fix Released
Undecided
liyi

Bug Description

I have add default_aggregation_methods in /etc/gnocchi/gnocchi.conf, but it doesn't work when we execute gnocchi-upgrade command. The default default_aggregation_methods in indexer is still ['mean', 'sum', 'last', 'max', 'min', 'std', 'median', 'first', 'count'] list which specified in ArchivePolicy object.

liyi (whyliyi) on 2017-04-07
Changed in gnocchi:
assignee: nobody → liyi (whyliyi)

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

Changed in gnocchi:
status: New → In Progress

Reviewed: https://review.openstack.org/454591
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=3c224fc179ba548e72274ba9653d8a6a18639586
Submitter: Jenkins
Branch: master

commit 3c224fc179ba548e72274ba9653d8a6a18639586
Author: liyi <email address hidden>
Date: Fri Apr 7 16:09:31 2017 +0800

    default_aggregation_methods configuration worked in gnocchi-upgrade

    We need set the default_aggregation_methods when config file is
    loaded.

    Change-Id: Id25372eb7faf206fe9b526205967d6f14f0b3373
    Closes-Bug: #1680740

Changed in gnocchi:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/456495
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=edc598b185e8773c9b600592a290e24be8e46bc9
Submitter: Jenkins
Branch: stable/3.1

commit edc598b185e8773c9b600592a290e24be8e46bc9
Author: liyi <email address hidden>
Date: Fri Apr 7 16:09:31 2017 +0800

    default_aggregation_methods configuration worked in gnocchi-upgrade

    We need set the default_aggregation_methods when config file is
    loaded.

    Change-Id: Id25372eb7faf206fe9b526205967d6f14f0b3373
    Closes-Bug: #1680740
    (cherry picked from commit 3c224fc179ba548e72274ba9653d8a6a18639586)

This issue was fixed in the openstack/gnocchi 3.1.3 release.

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

Other bug subscribers