NetApp SolidFire: Fix request errors while Element OS upgrade
When Element OS is being upgraded, the requests received will get exceptions as result, but the operation will normally succeed a few attempts after. This patch fixes this issue by adding the following exceptions to our list of retryable exceptions in SolidFire driver: - xDBOperationTimeout. - xDBConnectionLoss. - xNoHandler. - xSnapshotFailed. - xRecvTimeout. - xDBNoSuchPath. - xPermissionDenied. Change-Id: Idef086c55885687684875603481582f763355885 Closes-Bug: #1934435
This commit is contained in:
parent
91d0a6512f
commit
b7b830e9ac
@ -280,9 +280,14 @@ class SolidFireDriver(san.SanISCSIDriver):
|
||||
as retyping.
|
||||
Fix bug #1932964 SolidFire duplicate volume name exception
|
||||
on migration and replication.
|
||||
2.2.4 - Fix bug #1934435 fix driver failing with multiple exceptions
|
||||
during Element OS upgrade by adding xDBOperationTimeout,
|
||||
xDBConnectionLoss, xNoHandler, xSnapshotFailed,
|
||||
xRecvTimeout, xDBNoSuchPath, xPermissionDenied to the
|
||||
retryable exception list
|
||||
"""
|
||||
|
||||
VERSION = '2.2.3'
|
||||
VERSION = '2.2.4'
|
||||
|
||||
SUPPORTS_ACTIVE_ACTIVE = True
|
||||
|
||||
@ -321,7 +326,14 @@ class SolidFireDriver(san.SanISCSIDriver):
|
||||
'xMaxClonesPerNodeExceeded',
|
||||
'xSliceNotRegistered',
|
||||
'xNotReadyForIO',
|
||||
'xNotPrimary']
|
||||
'xNotPrimary',
|
||||
'xDBOperationTimeout',
|
||||
'xDBConnectionLoss',
|
||||
'xNoHandler',
|
||||
'xSnapshotFailed',
|
||||
'xRecvTimeout',
|
||||
'xDBNoSuchPath',
|
||||
'xPermissionDenied']
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(SolidFireDriver, self).__init__(*args, **kwargs)
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
NetApp SolidFire driver `Bug #1934435
|
||||
<https://bugs.launchpad.net/cinder/+bug/1934435>`_:
|
||||
Fixed errors that might occur when an operation is made to a volume at the
|
||||
same time as the Element OS upgrades.
|
Loading…
Reference in New Issue
Block a user