Activity log for bug #1929421

Date Who What changed Old value New value Message
2021-05-24 13:31:31 Felipe Rodrigues bug added bug
2021-05-24 14:42:52 Felipe Rodrigues description Description =========== The ONTAP has different default space guarantee value for the AFF and FAS platforms. The AFF uses the thin provsioning and the FAS the thick provisioning [1]. Create a share with extra-specs `thin_provisioning` as False (or without setting it) should end up with the volume as thick provisoning. In a AFF system (or select premium with SSD) it will be thin one, though. The error comes the fact that the NetApp driver is not setting the thick provisioning when the extra-specs is False, it does not set anything, leaving as the storage default [2]. The possible solution could be set as: api_args['space-reserve'] = 'none' if thin_provisioning else 'volume' [1] https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-vsmg%2FGUID-14D3192C-C4AB-4003-9FC2-290F23754904.html [2] https://github.com/openstack/manila/blob/a3aaea91494665a25bdccebf69d9e85e8475983d/manila/share/drivers/netapp/dataontap/client/client_cmode.py#L2030 Steps to reproduce ================== A AFF ONTAP cluster. 1) Create a share using a share type with extra-spces `thin_provisioning=False` 2) Go to ONTAP and see the field `space-guarantee` of the created share Expected result =============== The field should be `volume` (thick). Actual result ============= The field is set as `none` (thin). Environment =========== 1. Manila version: Latest 12.1.0 2. NetApp ONTAP 9.8 Logs & Configs ============== Description =========== The ONTAP has different default space guarantee value for the AFF and FAS platforms. The AFF uses the thin provsioning and the FAS the thick provisioning [1]. Create a share with extra-specs `thin_provisioning` as False (or without setting it) should end up with the volume as thick provisoning. In a AFF system (or select premium with SSD) it will be thin one, though. The error comes from the fact that the NetApp driver is not setting the thick provisioning when the extra-specs is False, it does not set anything, leaving as the storage default [2]. The possible solution could be set as: api_args['space-reserve'] = 'none' if thin_provisioning else 'volume' [1] https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-vsmg%2FGUID-14D3192C-C4AB-4003-9FC2-290F23754904.html [2] https://github.com/openstack/manila/blob/a3aaea91494665a25bdccebf69d9e85e8475983d/manila/share/drivers/netapp/dataontap/client/client_cmode.py#L2030 Steps to reproduce ================== A AFF ONTAP cluster. 1) Create a share using a share type with extra-spces `thin_provisioning=False` 2) Go to ONTAP and see the field `space-guarantee` of the created share Expected result =============== The field should be `volume` (thick). Actual result ============= The field is set as `none` (thin). Environment =========== 1. Manila version: Latest 12.1.0 2. NetApp ONTAP 9.8 Logs & Configs ==============
2021-05-26 16:39:50 Vida Haririan tags netapp
2021-05-31 18:00:17 Carlos Eduardo manila: assignee Nahim Alves de Souza (nahimsouza)
2021-06-03 15:54:17 Carlos Eduardo manila: milestone xena-2
2021-06-03 15:54:25 Carlos Eduardo manila: importance Undecided Medium
2021-06-03 15:54:27 Carlos Eduardo manila: status New Confirmed
2021-09-10 00:06:55 Goutham Pacha Ravi manila: milestone xena-2 yoga-1
2021-09-28 13:24:31 OpenStack Infra manila: status Confirmed In Progress
2021-09-29 01:12:38 Kan Itani bug added subscriber Kan Itani
2021-11-29 15:53:51 Goutham Pacha Ravi manila: milestone yoga-1 yoga-2
2021-12-08 22:11:20 OpenStack Infra manila: status In Progress Fix Released
2022-02-23 12:43:30 OpenStack Infra tags netapp in-stable-xena netapp
2022-04-01 19:30:22 OpenStack Infra tags in-stable-xena netapp in-stable-wallaby in-stable-xena netapp
2022-04-01 20:31:09 OpenStack Infra tags in-stable-wallaby in-stable-xena netapp in-stable-victoria in-stable-wallaby in-stable-xena netapp
2022-04-05 13:06:58 OpenStack Infra tags in-stable-victoria in-stable-wallaby in-stable-xena netapp in-stable-ussuri in-stable-victoria in-stable-wallaby in-stable-xena netapp
2022-04-05 14:27:03 OpenStack Infra tags in-stable-ussuri in-stable-victoria in-stable-wallaby in-stable-xena netapp in-stable-train in-stable-ussuri in-stable-victoria in-stable-wallaby in-stable-xena netapp