Create method to remove defunct MaaS alarms

Bug #1416476 reported by Matt Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Medium
Matt Thompson
Icehouse
Won't Fix
Medium
Unassigned
Juno
Fix Released
Medium
Kevin Carter
Trunk
Invalid
Medium
Matt Thompson

Bug Description

https://github.com/stackforge/os-ansible-deployment/commit/f620e31440bf00b8813d43e76d6df534eacbf44d and https://github.com/rcbops/rpc-maas/commit/b05d0d1b98171c5594cde735d4921b86bb86d35d change metric names for galera and rabbitmq. We need a method to remove the old alarms so that they do not misfire once the above code is deployed.

Matt Thompson (mattt416)
tags: added: juno-backport-potential
tags: added: icehouse-backport-potential
tags: added: impacts-doc
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/151684
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=a0e09c0da4fbe009440380ad21974cc9e5119584
Submitter: Jenkins
Branch: master

commit a0e09c0da4fbe009440380ad21974cc9e5119584
Author: Matt Thompson <email address hidden>
Date: Fri Jan 30 16:06:16 2015 +0000

    Add functionality to nuke old checks and alarms

    This commit adds some basic functionality to rpc_maas_tool.py to nuke
    old alarms that should no longer exist. These include alarms containing:

    WSREP_CLUSTER_SIZE
    WSREP_LOCAL_STATE_COMMENT
    disk_free_alarm
    mem_alarm

    We limit deletion against alarms that also include
    rabbit_mq_container or galera_container.

    We also delete any checks that were created without filesystem patch
    included. Note that remove-defunct-checks should not be run against
    an icehouse installation as the change to check name was not backported
    there.

    Closes-Bug: #1416476
    Change-Id: I3528f5712d5a2d6a15e718516f0dab9ea2c68c27

Changed in openstack-ansible:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (juno)

Fix proposed to branch: juno
Review: https://review.openstack.org/152231

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (juno)

Reviewed: https://review.openstack.org/152231
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=5379666982b10a2c1ae7244662fde91be79569dc
Submitter: Jenkins
Branch: juno

commit 5379666982b10a2c1ae7244662fde91be79569dc
Author: Matt Thompson <email address hidden>
Date: Fri Jan 30 16:06:16 2015 +0000

    Add functionality to nuke old checks and alarms

    This commit adds some basic functionality to rpc_maas_tool.py to nuke
    old alarms that should no longer exist. These include alarms containing:

    WSREP_CLUSTER_SIZE
    WSREP_LOCAL_STATE_COMMENT
    disk_free_alarm
    mem_alarm

    We limit deletion against alarms that also include
    rabbit_mq_container or galera_container.

    We also delete any checks that were created without filesystem patch
    included. Note that remove-defunct-checks should not be run against
    an icehouse installation as the change to check name was not backported
    there.

    Closes-Bug: #1416476
    Change-Id: I3528f5712d5a2d6a15e718516f0dab9ea2c68c27
    (cherry picked from commit a0e09c0da4fbe009440380ad21974cc9e5119584)

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.