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

Jules Wang lancelotds at 163.com
Thu Dec 20 11:42:21 UTC 2012


hi, yongtao,
     Is there any error msgs in logs?


Jules.


在 2012-12-20 17:21:58,"符永涛" <yongtaofu at gmail.com> 写道:
>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?
>>>
>>> --
>>> 符永涛
>>>
>>
>>
>> --
>> 符永涛
>>
>
>
>-- 
>符永涛
>_______________________________________________
>Gluster-users mailing list
>Gluster-users at gluster.org
>http://supercolony.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20121220/85802a1a/attachment.html>


More information about the Gluster-users mailing list