commit 4e7bf1c3d54a57f72493cfb6c821160f34e7d4ca
Author: Nahim Alves de Souza <email address hidden>
Date: Thu Jun 24 14:13:13 2021 -0300
[NetApp] Fixed scoped account replica delete
In the ONTAP 9.8 and older, there is a bug in the zapi call
`snapmirror-release-iter` when using the scoped account
configuration. The operation is returning success, but the release
is not occurring.
To avoid this issue, the Netapp driver was changed to release with
the `snapmirror-release` zapi call, instead of the one that has a
bug. This new zapi call requires the field `relationship-id` to be
specified and it is being retrieved from ONTAP before calling it.
A small fix, not related to the bug, was made in the zapi call to
`snapmirror-release-iter` because the `relationship-info-only`
field was in the wrong place according to the documentation.
Closes-Bug: #1934889
Change-Id: I21633d4ffe14983365b0b6239216ed5d0bbfaace
(cherry picked from commit a745e9c7c48f0bfdd830f13094f588fe085b4845)
(cherry picked from commit 24545ad9172afcacc1d63a8b972e421c1db24035)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/807762 /opendev. org/openstack/ manila/ commit/ 4e7bf1c3d54a57f 72493cfb6c82116 0f34e7d4ca
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 4e7bf1c3d54a57f 72493cfb6c82116 0f34e7d4ca
Author: Nahim Alves de Souza <email address hidden>
Date: Thu Jun 24 14:13:13 2021 -0300
[NetApp] Fixed scoped account replica delete
In the ONTAP 9.8 and older, there is a bug in the zapi call -release- iter` when using the scoped account
`snapmirror
configuration. The operation is returning success, but the release
is not occurring.
To avoid this issue, the Netapp driver was changed to release with release` zapi call, instead of the one that has a
the `snapmirror-
bug. This new zapi call requires the field `relationship-id` to be
specified and it is being retrieved from ONTAP before calling it.
A small fix, not related to the bug, was made in the zapi call to -release- iter` because the `relationship- info-only`
`snapmirror
field was in the wrong place according to the documentation.
Closes-Bug: #1934889 3365b0b6239216e d5d0bbfaace dd830f13094f588 fe085b4845) cc1d63a8b972e42 1c1db24035)
Change-Id: I21633d4ffe1498
(cherry picked from commit a745e9c7c48f0bf
(cherry picked from commit 24545ad9172afca