Hi there,
I am using Ubuntu 14.04 with Ceph version 0.80.9-1trusty: 2 osd + mon node, 1 radosgw node I followed instruction instructions in the docs: but could not upload file using swift interface Command: $ swift -A http://client/auth/2.0 -U storage1:swift -K 'Yk3ddMFmwU4+iq/UfBonFBNV+x+jM+VSFPPRZHdL' upload testdata file1.txt put_object('testdata', 'file1.txt', ...) failure and no ability to reset contents for reupload. In /var/log/radosgw/client.radosgw.gateway.log: 2015-05-07 11:10:39.646276 7f6ba1fcb700 1 ====== starting new request req=0x7f6bd001bda0 ===== 2015-05-07 11:10:39.646925 7f6ba1fcb700 1 ====== req done req=0x7f6bd001bda0 http_status=204 ====== 2015-05-07 11:10:39.655667 7f6ba3fcf700 1 ====== starting new request req=0x7f6bd000cb90 ===== 2015-05-07 11:10:39.658487 7f6ba3fcf700 0 WARNING: couldn't find acl header for object, generating default 2015-05-07 11:10:39.792365 7f6ba3fcf700 1 ====== req done req=0x7f6bd000cb90 http_status=201 ====== 2015-05-07 11:10:39.856832 7f6ba6fd5700 1 ====== starting new request req=0x7f6bd000d590 ===== 2015-05-07 11:10:39.857251 7f6ba6fd5700 1 ====== req done req=0x7f6bd000d590 http_status=204 ====== 2015-05-07 11:10:39.872215 7f6b95fb3700 1 ====== starting new request req=0x7f6bd001bda0 ===== 2015-05-07 11:10:39.881110 7f6b95fb3700 1 ====== req done req=0x7f6bd001bda0 http_status=404 ====== 2015-05-07 11:10:39.890972 7f6b997ba700 1 ====== starting new request req=0x7f6bd0009860 ===== 2015-05-07 11:10:39.891469 7f6b997ba700 1 ====== req done req=0x7f6bd0009860 http_status=401 ====== ** My ceph.conf: [client.radosgw.gateway] host = client keyring = /etc/ceph/ceph.client.radosgw.keyring rgw socket path = /var/run/ceph/ceph.radosgw.gateway.fastcgi.sock log file = /var/log/radosgw/client.radosgw.gateway.log rgw print continue = false ** My apache config: <VirtualHost *:80> DocumentRoot /var/www LogLevel debug RewriteEngine On RewriteRule ^/(.*) /s3gw.fcgi?%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] <IfModule mod_fastcgi.c> <Directory /var/www> Options +ExecCGI AllowOverride All SetHandler fastcgi-script Order allow,deny Allow from all AuthBasicAuthoritative Off </Directory> </IfModule> FastCgiExternalServer /var/www/s3gw.fcgi -socket /var/run/ceph/ceph.radosgw.gateway.fastcgi.sock ServerSignature Off AllowEncodedSlashes On </VirtualHost> ** My rados user: { "user_id": "storage1", "display_name": "Storage1", "email": "", "suspended": 0, "max_buckets": 1000, "auid": 0, "subusers": [ { "id": "storage1:swift", "permissions": "<none>"}], "keys": [ { "user": "storage1", "access_key": "6T6NYYBSVRFHF339QG8L", "secret_key": "UCz60EtuiK8eWtwJ\/Q7kyDuiyGGo4\/CWNccsKTEp"}, { "user": "storage1:swift", "access_key": "WNNKD1X1F4K6NO9DJHL4", "secret_key": ""}], "swift_keys": [ { "user": "storage1:swift", "secret_key": "Yk3ddMFmwU4+iq\/UfBonFBNV+x+jM+VSFPPRZHdL"}], "caps": [], "op_mask": "read, write, delete", "default_placement": "", "placement_tags": [], "bucket_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1}, "user_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1}, "temp_url_keys": []} Can you help me? Thank you in advance regards, |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com