Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear volumes stuck in 'downloading'
If the CinderVolume service is restarted while an image-copy is happening, the volume gets left in a 'downloading' state and cannot be used or deleted. This fix adds code to init_host to look for volumes (on this host) in such a state, and move them to an error state. It also calls clear_download in the driver in case the driver needs to perform an action, such as detaching the volume. Fixes Bug #1172645 Change-Id: Ia5dab9ebf997f573c0b4e57d983f5996af81ede5
- Loading branch information
Dermot Tynan
committed
Apr 25, 2013
1 parent
f4f75ca
commit 3d18b30
Showing
3 changed files
with
20 additions
and
2 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