Eventlet could cause an error replacing a resource during an update
Bug #1255506 reported by
Zane Bitter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Zane Bitter |
Bug Description
In resource.py we have the following code (which I wrote):
except UpdateReplace:
raise
This is dangerous, because eventlet can context-switch during the log call. If this happens then the exception that gets re-raised is not necessarily the UpdateReplace that we caught - it could be a random exception from another greenlet.
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/58742
Review: https:/