cDOT driver creates useless export-policy rule

Bug #1427791 reported by cfey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Clinton Knight

Bug Description

When using manila with cDOT backend, the manila create command creates a export-policy for every newly created volume and adds a policy rule with "localhost". This is not nessesary.

$ manila list
+--------------------------------------+-------------------+------+-------------+-----------+------------+------------------------------------------------------+-----------------------------------+
| ID | Name | Size | Share Proto | Status | Share Type | Export location | Host |
+--------------------------------------+-------------------+------+-------------+-----------+------------+------------------------------------------------------+-----------------------------------+
| b5327e50-5c0e-4c53-861d-2b1a01d53e22 | devstack_share_01 | 1 | NFS | available | default | 10.0.0.2:/share_b5327e50_5c0e_4c53_861d_2b1a01d53e22 | mint-devstack@netappbackend#aggr1 |
+--------------------------------------+-------------------+------+-------------+-----------+------------+------------------------------------------------------+-----------------------------------+

VSIM::> export-policy rule show
  (vserver export-policy rule show)
             Policy Rule Access Client RO
Vserver Name Index Protocol Match Rule
------------ --------------- ------ -------- --------------------- ---------
os_2cf309ed-fdd8-40ba-9acd-82c9358fbe30
             os_2cf309ed-fdd8-40ba-9acd-82c9358fbe303
                             1 any localhost sys

Changed in manila:
assignee: nobody → Clinton Knight (clintonk)
status: New → Confirmed
Changed in manila:
importance: Undecided → Low
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/163070

Changed in manila:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

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

commit 96d626206501525618b80ffa747115e183391506
Author: Clinton Knight <email address hidden>
Date: Mon Mar 9 14:05:35 2015 -0400

    NetApp cDOT driver should not create useless export-policy rule

    When using manila with a cDOT backend, the 'manila create' command
    creates an export-policy for every newly created NFS share and adds
    a policy rule with "localhost". This is not necessary.

    Change-Id: If4b54255328ed7384a195609d7e4e99c79d10638
    Closes-Bug: #1427791

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