commit 2190e998c9667e4d4680d87a9d1643e25175dc8d
Author: Dan Smith <email address hidden>
Date: Mon Feb 24 12:45:31 2014 -0800
Revert "VMware: fix race for datastore directory existence"
This reverts commit 743b74d59d3279478c512a0a559642b1d05284bc,
which introduces a race condition when creating the initial
instance image. Since _mkdir() no longer fails if the directory
exists, two computes racing to create the same image will
result in either corrupted data, lost data, or a strange
failure later on.
Reviewed: https:/ /review. openstack. org/75989 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2190e998c96 67e4d4680d87a9d 1643e25175dc8d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2190e998c9667e4 d4680d87a9d1643 e25175dc8d
Author: Dan Smith <email address hidden>
Date: Mon Feb 24 12:45:31 2014 -0800
Revert "VMware: fix race for datastore directory existence"
This reverts commit 743b74d59d32794 78c512a0a559642 b1d05284bc,
which introduces a race condition when creating the initial
instance image. Since _mkdir() no longer fails if the directory
exists, two computes racing to create the same image will
result in either corrupted data, lost data, or a strange
failure later on.
Change-Id: Ic646a01b2f96b1 341af38b69c3728 75a95263bad
Closes-bug: #1284312