Fix backup delete issue when source and destination vserver are same
Added the logic in resource cleanup part to delete the vserver
peering when source and destination vserver are not same.
Closes-bug: #2058642
Change-Id: I02a70642a22095ab202f5846fff04d25321c4c1c
(cherry picked from commit aa8695716a
)
This commit is contained in:
parent
19622387dc
commit
78e89ee49a
@ -4951,7 +4951,9 @@ class NetAppCmodeFileStorageLibrary(object):
|
||||
|
||||
# Delete the vserver peering
|
||||
try:
|
||||
src_vserver_client.delete_vserver_peer(src_vserver, des_vserver)
|
||||
if src_vserver != des_vserver:
|
||||
src_vserver_client.delete_vserver_peer(src_vserver,
|
||||
des_vserver)
|
||||
except netapp_api.NaApiError:
|
||||
pass
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
NetApp driver `bug #2058642
|
||||
<https://bugs.launchpad.net/tempest/+bug/2058642>`_:
|
||||
Fix the backup delete issue for NetApp driver when source and destination
|
||||
vserver are same. Added the logic in resource cleanup part to delete
|
||||
the vserver peering when source and destination vserver are not same.
|
Loading…
Reference in New Issue
Block a user