ignore_not_found not working on ceilometer client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Qiming Teng | ||
python-ceilometerclient |
New
|
Undecided
|
Unassigned |
Bug Description
For some reason, ceilometer alarms created in a stack disappeared before I tried to delete the stack. When I tried, I got the following errors and trace from Heat engine:
$ heat stack-list
+----
| id | stack_name | stack_status | creation_time |
+----
| 25a4ea04-
+----
$ heat event-list asg-aws
+----
| resource_name | id | resource_
+----
| CPUAlarmLow | acc49bdd-
| CPUAlarmLow | c612c835-
...
<h-eng log>
2014-08-25 16:45:06.558 INFO heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
2014-08-25 16:45:06.558 TRACE heat.engine.
This means that the expected 'ignore_
Changed in heat: | |
assignee: | nobody → Qiming Teng (tengqim) |
Changed in heat: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | juno-3 → 2014.2 |
After digging into this, I found that ceilometer client cannot recognize a NotFound exception from (ceilometerclie nt.openstack. common. apiclient. exceptions. NotFound module), because it can only recognize HTTPNotFound (from ceilometerclien t.exc module).