Re: ceph pg repair : Error EACCES: access denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Jun 14, 2017 at 4:08 AM Jake Grimmett <jog@xxxxxxxxxxxxxxxxx> wrote:
Hi Greg,

Many thanks for your reply.

I couldn't see an obvious cephx permission error, as I can issue other
admin commands from this node.

However, I agree that this is probably the issue; disabling cephx (auth
to none) enabled me to repair the pgs, and gain a clean HEALTH report.

Yeah, you probably need to get a
caps mgr = "allow *"
stanza in your admin client's permissions. The default tooling should all be doing that now, but there may be some holes and an upgraded cluster won't do it. See http://tracker.ceph.com/issues/20296 for more details.
-Greg
 

thanks again,

Jake


On 13/06/17 18:02, Gregory Farnum wrote:
> What are the cephx permissions of the key you are using to issue repair
> commands?
> On Tue, Jun 13, 2017 at 8:31 AM Jake Grimmett <jog@xxxxxxxxxxxxxxxxx
> <mailto:jog@xxxxxxxxxxxxxxxxx>> wrote:
>
>     Dear All,
>
>     I'm testing Luminous and have a problem repairing inconsistent pgs. This
>     occurs with v12.0.2 and is still present with v12.0.3-1507-g52f0deb
>
>     # ceph health
>     HEALTH_ERR noout flag(s) set; 2 pgs inconsistent; 2 scrub errors
>
>     # ceph health detail
>     HEALTH_ERR noout flag(s) set; 2 pgs inconsistent; 2 scrub errors
>     noout flag(s) set
>     pg 2.3 is active+clean+inconsistent, acting [53,50]
>     pg 2.11 is active+clean+inconsistent, acting [52,50]
>     2 scrub errors
>
>     #  rados list-inconsistent-pg hotpool
>     ["2.3","2.11"]
>
>     # rados list-inconsistent-obj 2.3 --format=json-pretty
>     No scrub information available for pg 2.3
>     error 2: (2) No such file or directory
>
>     # ceph pg repair 2.3
>     Error EACCES: access denied
>
>     # ceph pg scrub 2.3
>     Error EACCES: access denied
>
>     # ceph pg repair 2.11
>     Error EACCES: access denied
>
>     I'm using bluestore OSD's on Scientific Linux 7.3
>
>     Any ideas what might be the problem?
>
>     thanks,
>
>     Jake
>     _______________________________________________
>     ceph-users mailing list
>     ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx>
>     http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux