Bug 1564698 - RFE: Clean up aodh alarms after deleting an instance or project
Summary: RFE: Clean up aodh alarms after deleting an instance or project
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-aodh
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Julien Danjou
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-06 23:39 UTC by Stan Toporek
Modified: 2018-04-17 14:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-17 14:08:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stan Toporek 2018-04-06 23:39:30 UTC
Description of problem:
The aodh alarms still exist after deleting an instance or project.

Version-Release number of selected component (if applicable):


How reproducible:

Every time
Steps to Reproduce:
1. openstack server delete <instance-UUID>
2. openstack alarm list 
3. openstack server list
   

Actual results:
openstack alarm list
+--------------------------------------+-----------------------------+---------------------------+-------------------+----------+---------+
| alarm_id                             | type                        | name                      | state             | severity | enabled |
+--------------------------------------+-----------------------------+---------------------------+-------------------+----------+---------+
| 35990f01-9385-4ca0-bc73-73729c5d08cc | gnocchi_resources_threshold | vManage-1-NetworkOut.rate | insufficient data | low      | True    |
| 76377b04-ec6c-4b70-9525-da8eb728fb7c | gnocchi_resources_threshold | vManage-1-NetworkOut.rate | insufficient data | low      | True    |
| 63896684-2aaa-4111-84b0-bf83697a8e80 | gnocchi_resources_threshold | vManage-1-NetworkOut.rate | insufficient data | low      | True    |
| 30f5a62b-bf51-4273-aad9-72f725e4d303 | gnocchi_resources_threshold | vManage-1-NetworkOut.rate | insufficient data | low      | True    |
| 5ab2863f-4ade-4d2d-93a8-944cc28c1ec4 | gnocchi_resources_threshold | vManage-1-NetworkOut.rate | insufficient data | low      | True    |
| 54c68e60-80e3-4773-9db6-50bf4b1bb543 | gnocchi_resources_threshold | vManage-1-NetworkIn.rate  | insufficient data | low      | True    |
| 62cbbb60-11a9-47fe-b710-928a652b67e2 | gnocchi_resources_threshold | vManage-1-NetworkIn.rate  | insufficient data | low      | True    |
| 297068c7-62e3-439d-9295-eb6cb63ab09e | gnocchi_resources_threshold | vManage-1-NetworkIn.rate  | insufficient data | low      | True    |
| 6e4183f8-345a-42a1-ab15-e2eb2eed2cc6 | gnocchi_resources_threshold | vManage-1-NetworkIn.rate  | insufficient data | low      | True    |
| ab14b206-38f1-4aa6-9c4e-abd4de41d686 | gnocchi_resources_threshold | vManage-1-NetworkIn.rate  | insufficient data | low      | True    |
| 0550134f-b16e-4cf0-a55b-00bced8a2100 | gnocchi_resources_threshold | vManage-1-CpuUtil         | insufficient data | low      | True    |
+--------------------------------------+-----------------------------+---------------------------+-------------------+----------+---------+

Expected results:
No alarms for the deleted instance

Additional info:

Comment 1 Julien Danjou 2018-04-17 14:08:07 UTC
That's how OpenStack works in general. If you delete any project in Keystone, you won't have anything deleting e.g. the Swift container.

That's up to the application using those services to clean up.


Note You need to log in before you can comment on or make changes to this bug.