I'm finishing a Masters degree and using Ceph for the first time, and would really appreciate any help because I'm really stuck with this.
Thank you. On Tue, Oct 28, 2014 at 9:23 PM, Pedro Miranda <[email protected]> wrote: > Hi I'm new using Ceph and I have a very basic Ceph cluster with 1 mon in > one node and 2 OSDs in two separate nodes (all CentOS 7). I followed the > quick-ceph-deploy <http://ceph.com/docs/master/start/quick-ceph-deploy/> > tutorial. > All went well. > > Then I started the quick-rgw > <http://ceph.com/docs/master/start/quick-rgw/> tutorial. I installed the > optimized apache2 and fastcgi packages. I skipped the add-wildcard-to-dns > <http://docs.ceph.com/docs/master/install/install-ceph-gateway/#add-wildcard-to-dns> > because > I'm want the Swift API and not the S3 style subdomains. > > Finnally I created a user johndoe and a subuser johndoe:swift > > { "user_id": "johndoe", > "display_name": "John Doe", > "email": "[email protected]", > "suspended": 0, > "max_buckets": 1000, > "auid": 0, > "subusers": [ > { "id": "johndoe:swift", > "permissions": "full-control"}], > "keys": [ > { "user": "johndoe", > "access_key": "11BS02LGFB6AL6H1ADMW", > "secret_key": "vzCEkuryfn060dfee4fgQPqFrncKEIkh3ZcdOANY"}], > "swift_keys": [ > { "user": "johndoe:swift", > "secret_key": "vzCEkuryfn060dfee4fgQPqFrncKEIkh3ZcdOANX"}], > "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": []} > > > And when I make an HTTP call to authenticate I get the 404 Not Found for > the /auth > > [root@ceph04 ~]# curl -v -i https://ceph04.ncg.ingrid.pt/auth -X GET -H > "X-Auth-User: johndoe:swift" -H "X-Auth-Key: > vzCEkuryfn060dfee4fgQPqFrncKEIkh3ZcdOANX" > * About to connect() to ceph04.ncg.ingrid.pt port 443 (#0) > * Trying 10.193.50.4... > * Connected to ceph04.ncg.ingrid.pt (10.193.50.4) port 443 (#0) > * Initializing NSS with certpath: sql:/etc/pki/nssdb > * CAfile: /etc/pki/tls/certs/ca-bundle.crt > CApath: none > * SSL connection using TLS_DHE_RSA_WITH_AES_128_CBC_SHA > * Server certificate: > * subject: CN=ceph04.ncg.ingrid.pt,O=Default Company > Ltd,L=lisbon,ST=lisbon,C=pt > * start date: Out 27 13:41:53 2014 GMT > * expire date: Out 27 13:41:53 2015 GMT > * common name: ceph04.ncg.ingrid.pt > * issuer: CN=ceph04.ncg.ingrid.pt,O=Default Company > Ltd,L=lisbon,ST=lisbon,C=pt > > GET /auth HTTP/1.1 > > User-Agent: curl/7.29.0 > > Host: ceph04.ncg.ingrid.pt > > Accept: */* > > X-Auth-User: johndoe:swift > > X-Auth-Key: vzCEkuryfn060dfee4fgQPqFrncKEIkh3ZcdOANX > > > < HTTP/1.1 404 Not Found > HTTP/1.1 404 Not Found > < Date: Tue, 28 Oct 2014 21:10:14 GMT > Date: Tue, 28 Oct 2014 21:10:14 GMT > < Server: Apache/2.4.6 (Red Hat) mod_fastcgi/mod_fastcgi-SNAP-0910052141 > OpenSSL/1.0.1e-fips > Server: Apache/2.4.6 (Red Hat) mod_fastcgi/mod_fastcgi-SNAP-0910052141 > OpenSSL/1.0.1e-fips > < Content-Length: 202 > Content-Length: 202 > < Content-Type: text/html; charset=iso-8859-1 > Content-Type: text/html; charset=iso-8859-1 > > < > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > <html><head> > <title>404 Not Found</title> > </head><body> > <h1>Not Found</h1> > <p>The requested URL /auth was not found on this server.</p> > </body></html> > * Connection #0 to host ceph04.ncg.ingrid.pt left intact > > I don't understand what I am doing wrong!! > > -- > =============================================================== > Pedro Miranda | Tel: +351 > 212 969 519 > Aluno de MIEI | Telem: 969 559 560 > Departamento de Informática | 910 642 753 > Faculdade de Ciências e Tecnologia | e-mail: [email protected] > Universidade Nova de Lisboa | e-mail: [email protected] > 2829-516 Caparica, Portugal | LinkedIn: pt.linkedin.com/in/pmsmiranda/ > -- =============================================================== Pedro Miranda | Tel: +351 212 969 519 Aluno de MIEI | Telem: 969 559 560 Departamento de Informática | 910 642 753 Faculdade de Ciências e Tecnologia | e-mail: [email protected] Universidade Nova de Lisboa | e-mail: [email protected] 2829-516 Caparica, Portugal | LinkedIn: pt.linkedin.com/in/pmsmiranda/
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
