Reviewed: https://review.openstack.org/413141 Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d0abb60fe7798c6fea4bfb9247db25cf15591340 Submitter: Jenkins Branch: master
commit d0abb60fe7798c6fea4bfb9247db25cf15591340 Author: Michael Dovgal <mdov...@mirantis.com> Date: Tue Dec 20 15:16:03 2016 +0200 Attach/Delete volume for tgt driver race condition fix We have race condition when remove target operation still isn't completed and we try to run create target operation. This patch fixed this race condition by retrying create iscsi target operation run. Change-Id: I151990cc5148eb3f56e27e01fce71d87da2d9759 Closes-Bug: #1335889 ** Changed in: cinder Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1335889 Title: Race condition in quickly attaching / deleting volumes Status in Cinder: Fix Released Status in OpenStack Compute (nova): Expired Status in tempest: Invalid Bug description: It seems that there is a race condition in the stress volume_attach_delete test. It creates VMs and volumes, attaches volumes and deletes everything. The test is waiting for volumes to be in 'in-use' state before deleting VMs. It seems that Nova/Cinder don't have time to register volumes as attached in their databases before VMs get deleted. Volumes are then left attached to deleted VMs and unable to be deleted. To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1335889/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp