NetApp driver for NetApp Unified Driver for Clustered Data ONTAP with Share Server management should include share networks default gateway
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
A share create on a NetApp storage with the "NetApp Unified Driver for Clustered Data ONTAP with Share Server management" does not reflect full network settings of the network where the storage is located in (vlan/ipspace).
Very NetApp specific: The created LIFs for the SVM do not contain any gateway settings.
After a code review the settings are also missing from the code. See:
manila/
==================
def _create_lif(self, vserver_client, vserver_name, ipspace_name,
"""Creates LIF for Vserver."""
port = self._get_
ip_address = network_
netmask = utils.cidr_
vlan = network_
network_mtu = network_
mtu = network_mtu or DEFAULT_MTU
if not vserver_
=================
There isn't even a gateway mentioned.
If I get code access I may can fix this on my own.
I checked the current code under : manila/ share/drivers/ netapp/ dataontap/ cluster_ mode/lib_ multi_svm. py
manila/
It appears to be the same:
def _create_lif(self, vserver_client, vserver_name, ipspace_name,
node_ name, lif_name, network_ allocation) :
"""Creates LIF for Vserver."""
port = self._get_ node_data_ port(node_ name) allocation[ 'ip_address' ] to_netmask( network_ allocation[ 'cidr'] ) allocation[ 'segmentation_ id'] allocation. get('mtu' )
ip_address = network_
netmask = utils.cidr_
vlan = network_
network_mtu = network_
mtu = network_mtu or DEFAULT_MTU
if not vserver_ client. network_ interface_ exists(
vserver_ name, node_name, port, ip_address, netmask, vlan):
I will investigate further and update asap.