AgentException errors incorrect logging output
Bug #1316360 reported by
Steve McLellan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Medium
|
Steve McLellan |
Bug Description
If an error occurs running agent scripts, the message is received by the engine, the AgentException constructed sets the message information to self.message_info, which means that it gets hidden when it's logged.
For instance:
try:
raise AgentException(
except Exception:
logging.
ERROR:root:An error happened
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
AgentException
I think removing the message_info state would be enough to allow the error to be logged properly.
This can be part of https:/
Changed in murano: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in murano: | |
assignee: | nobody → Steve McLellan (sjmc7) |
Changed in murano: | |
milestone: | none → juno-1 |
Changed in murano: | |
status: | Fix Committed → Fix Released |
Changed in murano: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/92392
Review: https:/