Re: [ceph-users] ceph pg repair : Error EACCES: access denied

2017-06-16 Thread Jake Grimmett
Hi Greg,

adding caps mgr = "allow *"  fixed the problem :)

Many thanks for your help,

Jake

On 14/06/17 18:29, Gregory Farnum wrote:
> 
> 
> On Wed, Jun 14, 2017 at 4:08 AM Jake Grimmett  > 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
> 
> > >> 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@lists.ceph.com 
> >
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
> 
> 


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


Re: [ceph-users] ceph pg repair : Error EACCES: access denied

2017-06-14 Thread Gregory Farnum
On Wed, Jun 14, 2017 at 4:08 AM Jake Grimmett  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  > > 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@lists.ceph.com 
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
>
>
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] ceph pg repair : Error EACCES: access denied

2017-06-14 Thread Jake Grimmett
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.

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  > 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@lists.ceph.com 
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 


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


Re: [ceph-users] ceph pg repair : Error EACCES: access denied

2017-06-13 Thread Gregory Farnum
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  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@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com