Incorrect parameters for ontap_7mod and nfs

Bug #1621424 reported by ITD27M01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Plugin Cinder Netapp
New
Undecided
Unassigned

Bug Description

After deployment of the stack in the cinder settings there is an empty and incorrect settings for ontap_7mode and nfs. For my NetApp v3170 8.1.4P9 without multistore license (no vfilers) I use only nfs and only 7 Mode but fuel cinder netapp plugin adds configuration for:
1. block protocols
2. settings for vfilers
3. CDOT (Clustered DOT):
--------------------------
[cinder_netapp]
netapp_login=cinder
netapp_controller_ips=
netapp_lun_ostype=linux
netapp_vserver=
netapp_server_port=80
nfs_shares_config=/etc/cinder/shares.conf
netapp_sa_password=
thres_avl_size_perc_start=20
reserved_percentage=0
volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver
netapp_enable_multiattach=False
netapp_storage_protocol=nfs
max_oversubscription_ratio=1.0
backend_host=str:netapp
netapp_storage_family=ontap_7mode
volume_backend_name=cinder_netapp
nfs_mount_options=rw,fg,hard,rsize=65536,wsize=65536,nfsvers=3,nointr,timeo=600,tcp
thres_avl_size_perc_stop=60
netapp_vfiler=
netapp_server_hostname=mynetapp
netapp_host_type=linux
expiry_thres_minutes=720
netapp_pool_name_search_pattern=(.+)
netapp_transport_type=http
netapp_password=mypassword
netapp_webservice_path=/devmgr/v2
netapp_lun_space_reservation=enabled
use_multipath_for_image_xfer=True
netapp_copyoffload_tool_path=
--------------------------

This incorrect configuration makes it impossible to create netapp volumes. In the logs cinder error - incorrect api response from backend.

Workaraund - Should delete incorrect settings after deployment and restart cinder-volume service:
--------------------------
[cinder_netapp]
netapp_login=cinder
netapp_server_port=80
nfs_shares_config=/etc/cinder/shares.conf
thres_avl_size_perc_start=20
reserved_percentage=0
volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver
netapp_enable_multiattach=False
netapp_storage_protocol=nfs
max_oversubscription_ratio=1.0
backend_host=str:netapp
netapp_storage_family=ontap_7mode
volume_backend_name=cinder_netapp
nfs_mount_options=rw,fg,hard,rsize=65536,wsize=65536,nfsvers=3,nointr,timeo=600,tcp
thres_avl_size_perc_stop=60
netapp_server_hostname=mynetapp
expiry_thres_minutes=720
netapp_pool_name_search_pattern=(.+)
netapp_transport_type=http
netapp_password=mypassword
use_multipath_for_image_xfer=True
--------------------------

These are the settings that you need to remove:
'netapp_controller_ips'
'netapp_vserver'
'netapp_sa_password'
'netapp_vfiler'
'netapp_copyoffload_tool_path'
'netapp_lun_ostype'
'netapp_host_type'
'netapp_pool_name_search_pattern'
'netapp_webservice_path'
'netapp_lun_space_reservation'

How to reproduce:
Install cinder netapp plugin:
4 | cinder_netapp | 5.0.0 | 4.0.0 | ubuntu (mitaka-9.0)
Configure settings for nfs protocol and ontap_7mode (described above). Start env deployment.

Tags: netapp
Revision history for this message
ITD27M01 (igortiunov) wrote :
description: updated
description: updated
ITD27M01 (igortiunov)
tags: added: netapp
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.