Comment 2 for bug 1436844

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/167989
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=2a20781029f9f978269bba508a6d6873917839d8
Submitter: Jenkins
Branch: master

commit 2a20781029f9f978269bba508a6d6873917839d8
Author: Vipin Balachandran <email address hidden>
Date: Thu Mar 26 06:10:27 2015 -0700

    VMware: Handle concurrent inventory folder create

    Cinder volumes are organized under vCenter inventory folder
    with name given by config option vmware_volume_folder. During
    volume creation, this folder is created only if it doesn't
    exist. Concurrent volume create operations when there is no
    such folder can result in a race condition-- some of the
    create operations will fail due to already existing folder.
    This patch fix this by ignoring the exception and returning a
    reference to the existing folder.

    Change-Id: Ic9371957bb76a032985363880fbebda523574305
    Closes-Bug: #1436844