Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
long flashcopy operation may block volume service
Storwize family uses flashcopy for snapshot or volume clone. The volume delete has to wait until flashcopy finishes or errors out. The _delete_vdisk() will poll volume FlashCopy status in a loop. This may block volume serivce heartheat since it is in the same . The solution is to use openstack FixedIntervalLoopingCall to run the FlashCopy status poll in a timer thread. The cinder volume mananger will resume delete operation for those volumes that are in the deleting state during volume service startup. Since Storwize volume delete may wait for a long time, this can cause volume service to have long delay before it becomes available. A greenpool is used to offload those volume delete operations. Change-Id: Ie01a441a327e1e318fa8da0040ae130731b7a686 Closes-Bug: #1203152
- Loading branch information
1 parent
b00e307
commit 7aa4f65
Showing
4 changed files
with
95 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters