image conversion dir creation is racy
Bug #1757521 reported by
Eric Harney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
yanpuqing |
Bug Description
_create_
if (CONF.image_
This can race between multiple threads/processes.
os.makedirs errors resulting from the dir already existing should be ignored.
Changed in cinder: | |
assignee: | nobody → zhuangzejian (zhuangzejian) |
Changed in cinder: | |
assignee: | zhuangzejian (zhuangzejian) → yanpuqing (ycx) |
To post a comment you must log in.
Should probably use this from oslo.utils:
https:/ /github. com/openstack/ oslo.utils/ blob/6b34759066 7d847c13c25a6c4 746041cc04d3384 /oslo_utils/ fileutils. py#L34