[Gluster-users] gluster volume quota <volume> limit-usage randomly fails (Connection failed. Please check if gluster daemon is operational.)

符永涛 yongtaofu at gmail.com
Thu Dec 20 09:21:58 UTC 2012


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

2012/12/20, 符永涛 <yongtaofu at 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, 符永涛 <yongtaofu at 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?
>>
>> --
>> 符永涛
>>
>
>
> --
> 符永涛
>


-- 
符永涛



More information about the Gluster-users mailing list