Re: getting started with RADOSGW

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

 



On Sun, Jul 22, 2012 at 8:46 AM, Jonathan Proulx <jon@xxxxxxxxxxxxx> wrote:
> On Sun, Jul 22, 2012 at 10:59 AM, Yehuda Sadeh <yehuda@xxxxxxxxxxx> wrote:
>
>> I think you've set up your apache to use external fastcgi, but you
>> have to run radosgw manually using this method.
>
> Spot on, thanks for the quick response.  By radosgw init script was
> quietly exiting because I was using FQDN in ceph.conf but it was
> trying to match on the short name.  Now it's failing to start, but at
> least logging why.
>
> 2012-07-22 11:32:39.636760 7fd2b9be9780  0 librados:
> client.radosgw.gateway authentication error (1) Operation not
> permitted
> 2012-07-22 11:32:39.637018 7fd2b9be9780 -1 Couldn't init storage
> provider (RADOS)
>
> are these the right capabilities for that user
> (http://ceph.com/docs/master/radosgw/config suggests they are)?
>
> client.rados.gateway
>         key: <redacted>
>         caps: [mon] allow r
>         caps: [osd] allow rwx

I think the radosgw needs the 'w' cap for the monitor for
automatically creating the rados pools. Though it may be that you'd be
better off creating the pools yourself with the required amount of pgs
than letting it do that by itself, as the default number of pgs that
will be created is very low.

>
> ceph.conf points to /etc/ceph/keyring.rados.gateway which has is
> readable and has matching key
>
Try running 'ceph auth list' and see if you see the auth info for that
user. If not then you'll need to 'ceph auth add' that keyring.

Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux