the code is in rpcsvc.c, can someone helps to explain it?

2012/12/20, 符永涛 <yongta...@gmail.com>:
> looks like sometimes the request fall into the following condition and
> the cli fails
>
>         if (0 == svc->allow_insecure && unprivileged &&
> !actor->unprivileged) {
>                         /* Non-privileged user, fail request */
>                         gf_log ("glusterd", GF_LOG_ERROR,
>                                 "Request received from non-"
>                                 "privileged port. Failing request");
>                         rpcsvc_request_destroy (req);
>                         return -1;
>         }
> why this happen sometimes?
> Can I just bypass this check by hard-code?
>
> 2012/12/20, 符永涛 <yongta...@gmail.com>:
>> Dear gluster experts,
>> Recently I encounter a problem of glusterfs quota.
>> When run gluster volume quota <volume> limit-usage command it randomly
>> fails the output is
>> Connection failed. Please check if gluster daemon is operational.
>>
>> for example to reproduce it on glusterfs 3.3.1 just create a volume
>> and repeat to set limit-usage.
>> gluster volume quota mytestvolume limit-usage / 5GB
>>
>> repeat the above command and it fails randomly.
>>
>> Any sugguestions?
>>
>> --
>> 符永涛
>>
>
>
> --
> 符永涛
>


-- 
符永涛
_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Reply via email to