AS13000-driver: Shared File Systems protocol is cifs and permission is 'rw' not working properly

Bug #1797291 reported by Brin Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Undecided
Brin Zhang

Bug Description

In manila, Using the cifs protocol in Manila's Shared File Systems, the files can be read\write, but cannot be create\copy\delete in AS13000, so need to convert the file permission 'rw' to 'rwx' in the [1] method in Manila.

    @staticmethod
    def transfer_rule_to_client(proto, rule):
        """transfer manila access rule to backend client"""

        # TODO: Here need to process the rule of ``cifs``

        return dict(name=rule['access_to'],
                    type=(0 if proto == 'nfs' else 1),
                    authority=rule['access_level'])

[1] https://github.com/openstack/manila/blob/master/manila/share/drivers/inspur/as13000/as13000_nas.py#L465

Brin Zhang (zhangbailin)
affects: openstack-manuals → manila
tags: added: ad13000 driver
tags: added: as13000
removed: ad13000
Changed in manila:
assignee: nobody → Brin Zhang (zhangbailin)
status: New → In Progress
Brin Zhang (zhangbailin)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/607455
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=9f06403d73094aa35a98b3c6b59f0c7f210aac27
Submitter: Zuul
Branch: master

commit 9f06403d73094aa35a98b3c6b59f0c7f210aac27
Author: shaoxj <email address hidden>
Date: Wed Oct 3 10:29:36 2018 +0800

    inspur: transfer 'rw' to 'rwx' when Shared File Systems protocol is cifs

    'rw' means is read\write\create\delete file in manila.
    But it is only read\write file in AS13000.
    The 'rwx' in AS13000 does the same thing as 'rw' in manila.

    Co-Authored-By: Brin Zhang <email address hidden>

    Closes-Bug: #1797291
    Change-Id: Id1453e86f3179ef5bca3e349c6e7c58ff7f991c8

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  Edit
Everyone can see this information.

Other bug subscribers