glusterfs_native: Unable to create shares using newly available GlusterFS volumes without restarting manila share service

Bug #1437176 reported by Ramana Raja on 2015-03-27
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Medium
Csaba Henk

Bug Description

'glusterfs_native' driver creates shares by using GlusterFS volumes whose addresses are fed in as a Manila config option 'glusterfs_targets'. So the driver cannot create more number of shares than the number of volumes listed as 'glusterfs_targets'. Even if the additional volumes are created in the GlusterFS backend to serve as Manila shares, the volumes cannot be made available to Manila without manually adding their addresses to the 'glusterfs_target' list option and restarting manila share service. This is cumbersome for the OpenStack admin.

Ramana Raja (rraja) on 2015-03-27
description: updated
Csaba Henk (chenk) on 2015-03-30
summary: glusterfs_native: Unable to create shares using newly available
- GlusterFS volumes without restarting manila share service..
+ GlusterFS volumes without restarting manila share service
Changed in manila:
assignee: nobody → Csaba Henk (chenk)
status: New → In Progress
Changed in manila:
importance: Undecided → Medium
Ben Swartzlander (bswartz) wrote :
Changed in manila:
milestone: none → kilo-rc1

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

commit 482d304e385b93b34ee7dd087b4a435987a7a232
Author: Csaba Henk <email address hidden>
Date: Fri Jan 23 00:32:33 2015 +0100

    glusterfs_native: negotiate volumes with glusterd

    So far glusterfs_native was able to create shares
    from volumes listed in 'glusterfs_targets' config
    option.

    New behavior: a regexp pattern is to be provided
    through the glusterfs_volume_pattern config option.
    Upon share creation, grep gluster server's volumes
    with this pattern and create the new share from
    one among those.

    Change-Id: I12ba0dbad0b1174c57e94acd5e7f6653f5bfaae8
    Closes-Bug: #1437176

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2015-04-13
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2015-04-30
Changed in manila:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers