Share migration with NetApp fails compatibility check due to encryption
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Low
|
Fábio Oliveira |
Bug Description
Description
===========
I have an ONTAP 9.0 storage system and wanted to move my manila share across aggregates on it. This should be possible with driver assisted share migration as documented here: https:/
However, this fails the migration compatibility check and digging into the manila-share logs, i see the cause of the error is an unexpected parameter in the volume-move API: http://
Steps to reproduce
==================
1) Setup manila DHSS=False backed by NetApp ONTAP 9.0 with at least two data aggregates that will show up as manila storage pools
2) Create a share, note the pool it ends up in
3) Migrate the share to the second pool with parameters: --preserve-metadata True --preserve-
Expected result
===============
The driver performs volume move to move the share to the desired storage pool
Actual result
=============
Migration compatibility check fails, the volume move dry run errors with "NaApiError: NetApp API failed. Reason - 13115:Extra input: encrypt-
Environment
===========
1. Manila stable/train
2. ONTAP 9.0 (ontapi_1_100)
Changed in manila: | |
importance: | Undecided → Low |
milestone: | none → wallaby-rc1 |
assignee: | nobody → Douglas Viroel (dviroel) |
tags: | added: wallaby-rc-bugsquash |
Changed in manila: | |
milestone: | wallaby-rc1 → xena-1 |
tags: | removed: wallaby-rc-bugsquash |
Changed in manila: | |
assignee: | Douglas Viroel (dviroel) → Carlos Eduardo (silvacarlose) |
Changed in manila: | |
milestone: | xena-1 → xena-2 |
Changed in manila: | |
milestone: | yoga-1 → yoga-2 |
Changed in manila: | |
assignee: | Carlos Eduardo (silvacarlose) → Fábio Oliveira (fabiooliveira1) |
Confirmed, the 'encrypt- destination' parameter, used in 'volume-move-start' operation, is only available for Ontapi >= 1.110 (ONTAP >= 9.1)