From 3c431998f8f88d823a89423c2c34d878f0fdb4ce Mon Sep 17 00:00:00 2001 From: John Griffith Date: Mon, 4 May 2015 11:31:15 -0600 Subject: [PATCH] Add new exception to retryables in SolidFire driver Newer versions of SolidFire Element OS introduce an internal snapshot mechanism during cloning that also includes a new exception (xNotReadyForIO). This can be encountered when programmatically cloning hundreds of large volumes. Typically this will succeed on a retry of the clone command, so we should add this new exception to our list of retryable exceptions in the SolidFire driver. Change-Id: I4e1ddf02087499b4efff6eabf2310a245bef93c9 Closes-Bug: #1451505 --- cinder/volume/drivers/solidfire.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cinder/volume/drivers/solidfire.py b/cinder/volume/drivers/solidfire.py index e50643302..de7b9044e 100644 --- a/cinder/volume/drivers/solidfire.py +++ b/cinder/volume/drivers/solidfire.py @@ -137,7 +137,8 @@ class SolidFireDriver(san.SanISCSIDriver): 'xMaxSnapshotsPerVolumeExceeded', 'xMaxClonesPerVolumeExceeded', 'xMaxSnapshotsPerNodeExceeded', - 'xMaxClonesPerNodeExceeded'] + 'xMaxClonesPerNodeExceeded', + 'xNotReadyForIO'] def __init__(self, *args, **kwargs): super(SolidFireDriver, self).__init__(*args, **kwargs) -- 2.45.2