On Wed, Jan 23, 2013 at 9:56 AM, Gandalf Corvotempesta
<gandalf.corvotempe...@gmail.com> wrote:
> I'm trying to configure RadosGW but actually, radosgw doesn't start.
>
> I've followed this guide:
> http://ceph.com/docs/master/radosgw/config/
>
> Apache configuration is OK and i've added the following configuration
> to my ceph.conf:
>
> [client.radosgw.gateway]
>         host = {host-name}
>         keyring = /etc/ceph/keyring.radosgw.gateway
>         rgw socket path = /tmp/radosgw.sock
>         log file = /var/log/ceph/radosgw.log
>
>
> i've copied ceph.conf to all servers, even on radosgw.
>
> Then, on radosgw node, i've run:
>
> mkdir -p /var/lib/ceph/radosgw/ceph-radosgw.gateway
> ceph-authtool --create-keyring /etc/ceph/keyring.radosgw.gateway
> chmod +r /etc/ceph/keyring.radosgw.gateway
> ceph-authtool /etc/ceph/keyring.radosgw.gateway -n
> client.radosgw.gateway --gen-key
> ceph-authtool -n client.radosgw.gateway --cap osd 'allow rwx' --cap
> mon 'allow r' /etc/ceph/keyring.radosgw.gateway
> ceph -k /etc/ceph/ceph.keyring auth add client.radosgw.gateway -i
> /etc/ceph/keyring.radosgw.gateway
>
> but after that, radosgw doesn't start:
>
> # radosgw
> radosgw: must specify 'rgw socket path' to run as a daemon
>
>
> but "rgw socket path" is already present in ceph.conf

(resending to all)

try
# radosgw -n client radosgw.gateway

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

Reply via email to