Re: radosgw did not create auth url for swift

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

 



Dear Venkat,
      Finally, create user and make sure subuser created that I can upload files and test on Hammer.
But I still need to find out why not working on apache and how to make this work on Firefly.
I wrote a simple steps, FYR. Hope it helps!





Dear

Best wishes,
Mika
 

2015-06-22 14:34 GMT+08:00 Vickie ch <mika.leaf666@xxxxxxxxx>:
Dear all,
     I tried another way that use command ceph-deploy to create radosgw.
After that I can get list or create container finally.
But new problem is if I tried to upload files or delete container that  radosgw will return the message "Access denied". 
Totally have no idea. Any help will be appreciated.



Dear

Best wishes,
Mika
 

2015-06-18 20:26 GMT+08:00 venkat <naga.b@xxxxxx>:

can you please let me know if you solved this issue please



_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


CEPH version 0.94.1
CEPH deploy version:1.5.25
1 (Mon+Radosgw):mon0
3OSD (Each 2disks):osd0,osd1,osd2
1 Client:clientpc

[Steps on deploy server.]
1.)Created a ceph cluster.
2.)Create radosgw on Mon
   $ceph-deploy rgw create mon0:rgw1

[Steps on mon(rgw)]
1.)Go to "mon0" and check radosgw daemon exist or not. Daemon must exist then go to next steps.
    $ps auwx|grep radosgw
2.)Create rgw user "apple".
    $radosgw-admin user create --uid=apple --display-name="apple" --email=apple@xxxxxxxx 
3.)Create subuser.
    $radosgw-admin subuser create --uid=apple --subuser=apple:swift --access=full
4.)Gen secreate key for subuser.
    $radosgw-admin key create --gen-secret --subuser=apple:swift --key-type=swift

[Steps on client]
1.)Install swift client.
    $pip install python-swiftclient
2.)Try to add a container, replace "swift secret key"
    $swift -V 1.0 -A http://172.22.3.110:7480/auth -U apple:swift \
    -K "swift secret key" \
    post apple-buc

done
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux