Failed to allow-access for native_glusterfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Shared File Systems Service (Manila) |
Medium
|
Csaba Henk |
Bug Description
I'm trying to enable native_glusterfs in my environment.
I'm basically following:
http://
with some difference:
1. my OS for gluser is ubuntu 14.04 (with glusterfs-server 3.5.3 from ppa:gluster/
2. my OS for manila is ubuntu 14.10 (with glusterfs-client 3.4.2)
After I run command:
manila access-allow $my_share_name cert client.example.com
I get error in share.log:
http://
description: | updated |
Deepak C Shetty (dpkshetty) wrote : | #1 |
Csaba Henk (chenk) wrote : | #2 |
So, basically the problem you experience seems to occur due to using non-supported versions of certain software components, which is not a bug as such.
However, we see two ways to improve the situation:
- You should get an early and clear error message that clarifies incompatibility
- The exception you have in your logs should have the template variables substituted in its message.
Thank you for letting us
Csaba Henk (chenk) wrote : | #3 |
... know of those issues.
Csaba Henk (chenk) wrote : | #4 |
Adding a copy of the stack trace published at http://
Changed in manila: | |
assignee: | nobody → Csaba Henk (chenk) |
Changed in manila: | |
milestone: | none → kilo-rc1 |
importance: | Undecided → Medium |
status: | New → Triaged |
Fix proposed to branch: master
Review: https:/
Changed in manila: | |
status: | Triaged → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7e75c380a67cd27
Author: Csaba Henk <email address hidden>
Date: Tue Apr 7 18:39:49 2015 +0200
glusterfs, glusterfs_native: perform version checks
- add gluster_version method to GlusterManager class
- gluster: check if version of the GlusterFS server is at least 3.5
- gluster_native: check if version of the GlusterFS server is at least 3.6
- gluster_native: on snaphot creation failure, interpret errno only
for GlusterFS strictly later than 3.6
Change-Id: I242ea83c3a3167
Closes-Bug: #1417352
Changed in manila: | |
status: | In Progress → Fix Committed |
Changed in manila: | |
status: | Fix Committed → Fix Released |
Changed in manila: | |
milestone: | kilo-rc1 → 2015.1.0 |
@Li Chen,
For Manila Native driver, the minimum version of GlusterFS is 3.6, which has the SSL support.
Since you are using 3.5.x its failing with that error.
Looking at your comment above, it seems you are using Ubuntu, check https:/ /launchpad. net/~semiosis/ +archive/ ubuntu/ ppa to see if he has 3.6 deb packages. At the moment I don't have the direct link to the 3.6 ppa but googling should help.
If you still don't get the 3.6 deb packages, pls mail gluster-users list to get right link.
HTH,
thanx,
deepak
P.S. Pls don't use latest glusterfs or night build (as said in my blog) since there are recent changes to glusterfs SSL that causes the native driver to break. Its recomemended to use 3.6 series only