glusterFS_native_driver: create share fails with 'Share protocol GLUSTERFS is not supported'

Bug #1494177 reported by karthick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
High
Ramana Raja

Bug Description

GlusterFS native driver for manila with Liberty release fails to create a share and fails with 'Share protocol GLUSTERFS is not supported'.

class GlusterfsShareDriverBase in glusterfs/layout.py inherits class GlusterfsNativeShareDriver in glusterfs_native.py which has a typo, Line 66 in glusterfs_native.py should have been 'supported_protocols' instead of 'supported_protocls'. This fails to set proper 'supported_protocols' value and hence command to create share fails.

snippet of the code:

    GLUSTERFS_VERSION_MIN = (3, 6)

    supported_layouts = ('layout_volume.GlusterfsVolumeMappedLayout',)
    supported_protocls = ('GLUSTERFS',)

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/222981

Changed in manila:
assignee: nobody → Ramana Raja (rraja)
status: New → In Progress
Changed in manila:
milestone: none → liberty-rc1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

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

commit 6d0f68f3c2a774638099e2d4eb9052e8bd284be5
Author: Ramana Raja <email address hidden>
Date: Mon Sep 14 12:00:15 2015 +0530

    glusterfs_native: Fix typo for protocol compatibility

    Fix typo to enable GlusterFS protocol to be used by the
    glusterfs_native driver.

    Change-Id: I0003092333bb8dbbdc9e89d6b4eaa14de652d0e2
    Closes-Bug: #1494177

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: liberty-rc1 → 1.0.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.