[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gluster-devel] 答复: how to use libgfap i with non-root user
From: |
Gong XiaoHui |
Subject: |
[Gluster-devel] 答复: how to use libgfap i with non-root user |
Date: |
Fri, 21 Feb 2014 08:39:56 +0800 |
Thanks,I stop and start the volume, it works ok.
The right step is:
1. add ” option rpc-auth-allow-insecure on” to *.vol file
2. set <volname> server.allow-insecure on
3. stop and start the volume
-----邮件原件-----
发件人: Niels de Vos [mailto:address@hidden
发送时间: 2014年2月21日 1:05
收件人: Vijay Bellur
抄送: Gong XiaoHui; address@hidden
主题: Re: [Gluster-devel] how to use libgfapi with non-root user
On Thu, Feb 20, 2014 at 09:35:00PM +0530, Vijay Bellur wrote:
> 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.
In case this is not working yet, you should probably stop and start the
volume where you changed the server.allow-insecure setting.
HTH,
Niels