Creation of share server should fail early with VXLAN, GRE with NetApp cDOT driver

Bug #1438825 reported by Rushil Chugh
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Rushil Chugh

Bug Description

Steps to reproduce:

1. Setup Neutron with VXLAN as the segmentation technology.
2. Setup Manila with a cDOT backend.
3. Create a share network using the VXLAN network.
4. Try creating a share with the share aforementioned share network.
5. Creation of share and share network succeeds and a VXLAN id is provided to the share. This is incorrect as NetApp only supports VLAN as a segmentation technology.

Changed in manila:
milestone: none → kilo-rc1
importance: Undecided → Low
assignee: nobody → NetApp (netapp)
tags: added: cmode driver
Changed in manila:
status: New → In Progress
summary: - Creation of share network should fail early with VXLAN, GRE with NetApp
- cDOT Driver
+ Creation of share server should fail early with VXLAN, GRE with NetApp
+ cDOT driver
Rushil Chugh (rushil)
Changed in manila:
assignee: NetApp (netapp) → Rushil Chugh (rushil)
Changed in manila:
status: In Progress → Triaged
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/170606

Changed in manila:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/170606
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=b196f9b80385b94f67fd3d6772a4460bb2303914
Submitter: Jenkins
Branch: master

commit b196f9b80385b94f67fd3d6772a4460bb2303914
Author: Rushil Chugh <email address hidden>
Date: Tue Mar 31 17:17:45 2015 -0400

    Add segmentation ID checks for different segmentation types

    The segmentation approach used by the network plugin associated with a share
    server was not declared to the driver. This made it impossible for a driver
    to know whether a network used VLAN, GRE, VXLAN, or any other segmentation
    approach, and introduced the possibility of an incorrect segmentation
    approach to be applied to a share server.
    This patchset makes the network_type field available to the driver, and
    checks that segmentation id has valid values for different network_types.
    If the segmentation id has an incorrect value, it fails with a clean
    error message.

    Partial-Bug: 1438825

    Change-Id: I9f20a26e9c10d49ca3c82a46f49bdb5c65fd4a24

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/171422
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=63a66f99c385381790325da2c0324a3bbb7f71c3
Submitter: Jenkins
Branch: master

commit 63a66f99c385381790325da2c0324a3bbb7f71c3
Author: Rushil Chugh <email address hidden>
Date: Tue Mar 31 17:17:45 2015 -0400

    Prevent share server creation with unsupported network types with cDOT

    This patchset proposes to make NetApp Data ONTAP driver fail correctly
    on unsupported network types such as VXLAN and GRE. This patchset
    applies a correct filter to check for the segmentation technology
    used, and throws a clean error message if the segmentation
    technology is not supported by the NetApp cDOT Driver.

    Closes-bug: 1438825

    Change-Id: I2329322853b8f360b83118442d759f4ea3780579

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: kilo-rc1 → 2015.1.0
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.