netapp cdot ipspace multiple subnets

Bug #1774159 reported by Maurice Escher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Lucio Seki

Bug Description

I see an error on creating manila shares with the following setup:

Manila on Pike with DHSS=true on cDot netapp ontap 9.1.

Neutron Network net1 has two subnets sub1 and sub2.
I have respecting share networks sharenet_sub1 and sharenet_sub2.

I create share1 in sharenet_sub1 and share2 in sharenet_sub2.
share2 errors with:

" Port "nodeX:port1" cannot be used because it is currently the home port or current port of a LIF. To view LIFs with a specified home port, use the "network interface show -home-node <nodename> -home-port {<netport>|<ifgrp>}" command. To view LIFs with a specified current port, use the "network interface show -curr-node <nodename> -curr-port {<netport>|<ifgrp>}" command. "

on manila/share/drivers/netapp/dataontap/client/client_cmode.py in _remove_port_from_broadcast_domain
in https://github.com/sapcc/manila/blob/stable/pike-m3/manila/share/drivers/netapp/dataontap/client/client_cmode.py#L670-L674

same like master https://github.com/openstack/manila/blob/master/manila/share/drivers/netapp/dataontap/client/client_cmode.py#L715-L719

One subnet maps to one broadcast domain - ok.
One subnet maps to one ipspace. Subnets of the same network cannot overlap, why not map one neutron network instead to one ipspace?
Or somehow enable to add the port to both ipspaces? Or create a new port for the new subnet?

I'm happy to hear any suggestions.

Thanks,
Maurice

Tags: netapp
tags: added: netapp
Changed in manila:
assignee: nobody → Rodrigo Barbieri (rodrigo-barbieri2010)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.openstack.org/602140

Changed in manila:
assignee: Rodrigo Barbieri (rodrigo-barbieri2010) → Tiago Pasqualini da Silva (tiago.pasqualini)
Changed in manila:
assignee: Tiago Pasqualini da Silva (tiago.pasqualini) → Lucio Seki (lseki)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/602140
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=3e564e9252509ac88843ca128f1ed68988cc0eb8
Submitter: Zuul
Branch: master

commit 3e564e9252509ac88843ca128f1ed68988cc0eb8
Author: Lucio Seki <email address hidden>
Date: Thu Jul 12 14:48:37 2018 -0300

    NetApp ONTAP: Fix use of multiple subnets with DHSS=True

    NetApp ONTAP Multi-SVM driver was raising an error while trying to
    create shares on multiple subnets that belong to the same neutron
    network, as it was trying to map multiple ipspaces to the same VLAN
    port.

    This fix allows the driver to use the same ipspace and VLAN port across
    all subnets belonging to the same neutron network.

    Change-Id: If9cbb34a890ee44806c404085e40cc924a1296a7
    Closes-Bug: #1774159

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 8.0.0.0rc1

This issue was fixed in the openstack/manila 8.0.0.0rc1 release candidate.

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.