Perhaps the endpoint isnt configured correctly.
Try adding some of these settings under your gateway config in ceph.conf:
http://ceph.com/docs/master/radosgw/config-ref/#swift-settings
or
rgw dns name =
On 04/23/2014 02:57 PM, Srinivasa Rao Ragolu wrote:
My Swift command line outputs are like below
root@mon:/etc/ceph# *radosgw-admin user info --uid=srinivas*
{ "user_id": "srinivas",
"display_name": "srinivas",
"email": "j...@example.com <mailto:j...@example.com>",
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [
{ "id": "srinivas:swift",
"permissions": "full-control"}],
"keys": [
{ "user": "srinivas",
"access_key": "ZNG6S617EWY8HEH458E1",
"secret_key": "Lnc34W\/WONWaTeevqdm1SO8eW\/1hUMG6M5Df1vIl"}],
"swift_keys": [
{ "user": "srinivas:swift",
"secret_key": "X2xkVLfmqE0LCY6bRAk1VgedPvoTIYTJNDoaPBei"}],
"caps": [],
"op_mask": "read, write, delete",
"default_placement": "",
"placement_tags": [],
"bucket_quota": { "enabled": false,
"max_size_kb": -1,
"max_objects": -1}}
#*swift -V 1.0 -A http://mon.radosgw.tld -U srinivas:swift -K
X2xkVLfmqE0LCY6bRAk1VgedPvoTIYTJNDoaPBei post test*
Auth GET failed: http://mon.radosgw.tld:80 200 OK
#*swift -V 1.0 -A http://mon.radosgw.tld/auth -U srinivas:swift -K
X2xkVLfmqE0LCY6bRAk1VgedPvoTIYTJNDoaPBei post test*
Auth GET failed: http://mon.radosgw.tld:80/auth 404 Not Found
Please provide your valuable inputs to resolve this issue.
Thanks,
Srinivas.
On Wed, Apr 23, 2014 at 7:13 PM, Srinivasa Rao Ragolu
<srag...@mvista.com <mailto:srag...@mvista.com>> wrote:
even after creating new secret key, I am facing the issue. Could
you please let me know are there any other mistakes?
Thanks,
Srinivas.
On Wed, Apr 23, 2014 at 7:03 PM, Peter <ptier...@tchpc.tcd.ie
<mailto:ptier...@tchpc.tcd.ie>> wrote:
i had a similar issue with authentication over S3 with
fastcgi. It was due to slashes (\ /) in secret key. I see that
your secret key has slashes. perhaps generate a new gateway
user specifying keys using:
--access-key= and --secret=
On 04/23/2014 02:30 PM, Srinivasa Rao Ragolu wrote:
Hi All,
I could able to create a cluster with 1 monitor node and 2
OSD nodes on our proprietary distribution. Ceph health is Ok
and active.
root@mon:/etc/ceph#*ceph -s
cluster a7f64266-0894-4f1e-a635-d0aeaca0e993
health HEALTH_OK
monmap e1: 1 mons at {mon=192.168.0.102:6789/0
<http://192.168.0.102:6789/0>}, election epoch 1, quorum 0 mon
osdmap e48: 2 osds: 2 up, 2 in
pgmap v346: 2523 pgs, 10 pools, 1274 bytes data, 46 objects
2115 MB used, 9075 MB / 11837 MB avail
2523 active+clean*
"Now I have setup *Rados gateway without FastCGI* as I only
need to access rados gateway APIs using swift client"
1) Apache2, version is 2.4.3 . Added line in
/etc/apache2/httpd.conf
*ServerName mon.radosgw.tld
LoadModule rewrite_module lib64/apache2/modules/mod_rewrite.so*
2) #cat /etc/hosts
*192.168.0.102 mon.radosgw.tld mon
192.168.0.103 node1
192.168.0.104 node2*
3) #cat /etc/ceph/ceph.conf
[global]
fsid = a7f64266-0894-4f1e-a635-d0aeaca0e993
mon initial members = mon
mon host = 192.168.0.102
public network = 192.168.0.0/22 <http://192.168.0.0/22>
auth cluster required = cephx
auth service required = cephx
auth client required = cephx
osd journal size = 1024
filestore xattr use omap = true
osd pool default size = 2
osd pool default min size = 1
osd pool default pg num = 333
osd pool default pgp num = 333
osd crush chooseleaf type = 1
[mon.mon]
host = mon
mon addr = 192.168.0.102[osd]
filestore xattr use omap = true
osd data = /var/lib/ceph/osd/$cluster-$id
osd journal size = 1024
osd mkfs type = ext4
[osd.0]
host = node1
[osd.1]
host = node2
*[client.radosgw.gateway]
host = mon
keyring = /etc/ceph/keyring.radosgw.gateway
rgw socket path = /tmp/radosgw.sock
log file = /var/log/ceph/radosgw.log*
4) started rados gateway manually after creating keyring steps
*/usr/bin/radosgw -c /etc/ceph/ceph.conf -n
client.radosgw.gateway *
it is running fine
5) started apache2 server
/etc/init.d/apache2 start
it is running fine.
Now I have created gateway user and subuser. Once I ran swift
client application i got below error
# swift -V 1.0 -A http://mon.radosgw.tld -U johndoe:swift -K
E9T2rUZNu2gxUjcwUBO8n\/Ev4KX6\/GprEuH4qhu1 post test
*Auth GET failed:http://mon.radosgw.tld:80 <http://10.40.99.165/auth/>
200 OK*
Please help me in resolving this issue. Really I am clue less.
Thanks,
Srinivas.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--
Systems and Storage Engineer, Digital Repository of Ireland (DRI)
High Performance & Research Computing, IS Services
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ | ptier...@tchpc.tcd.ie
Tel: +353-1-896-4466
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com