[Gluster-devel] how to use libgfapi with non-root user
Vijay Bellur
vbellur at redhat.com
Thu Feb 20 16:05:00 UTC 2014
On 02/20/2014 02:33 PM, Gong XiaoHui wrote:
> Hi,
>
> This is a programmer from china, now I have a problem with
> libgfapi(V3.4.2). My application run as non-root user uses a api called
> glfs_init, but it return -1.
>
> From the internet I find a solution, add” option
> rpc-auth-allow-insecure on” into the vol file on my gluster system, then
> the glfs_init return 1, it does’t work ok either.
>
> I need some help to resolve this problem, expect your reply. Thank you
> very much.
>
Have you tried this?
gluster volume set <volname> server.allow-insecure on
This would also be needed in addition to editing glusterd's volume file.
-Vijay
More information about the Gluster-devel
mailing list