Re: [Openstack] SWIFT-object storage

2015-03-16 Thread Clay Gerrard
if it's in a public container (read/referer acl ?) - just point a webbrowser (or curl) at the url. you can get the url of any entity in swift with `swift stat -v` (e.g. object - `swift stat -v `) -Clay On Sun, Mar 15, 2015 at 8:29 PM, Sandhya S wrote: > Hi all, > > I uploaded my object in Swi

[Openstack] SWIFT-object storage

2015-03-15 Thread Sandhya S
Hi all, I uploaded my object in Swift container. It has now got a public URL. I need to access from my local machine.Can someone help me out regarding this? Regards Sandhya ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac

Re: [Openstack] Swift Object Storage Delete-After:120 doesn't delete

2013-11-27 Thread Kuo Hugo
Hi Thorfinn, Maybe you can : 1. File a bug in community 2. Write a upstart script 3. Execute swift-init all start during boot. +Hugo Kuo+ (+886) 935004793 SwiftStack Inc. 2013/11/27 Thorfinn > In fact the service is not started automatically. Why? > Where can I find the startup script becau

Re: [Openstack] Swift Object Storage Delete-After:120 doesn't delete

2013-11-27 Thread Thorfinn
In fact the service is not started automatically. Why? Where can I find the startup script because in /etc/init.d/swift-* there is no object-expirer script ? Thank you Le 26/11/2013 15:50, Thorfinn a écrit : Problem solved. Thank you Hugo Le 26/11/2013 15:07, Kuo Hugo a écrit : If your set

Re: [Openstack] Swift Object Storage Delete-After:120 doesn't delete

2013-11-26 Thread Thorfinn
Problem solved. Thank you Hugo Le 26/11/2013 15:07, Kuo Hugo a écrit : If your setup up the appropriate configurations for expirer, you should able to launch it via $swift-init object-expirer start Hope it help +Hugo Kuo+ (+886) 935004793 SwiftStack Inc. 2013/11/26 Thorfinn I think objec

Re: [Openstack] Swift Object Storage Delete-After:120 doesn't delete

2013-11-26 Thread Kuo Hugo
If your setup up the appropriate configurations for expirer, you should able to launch it via $swift-init object-expirer start Hope it help +Hugo Kuo+ (+886) 935004793 SwiftStack Inc. 2013/11/26 Thorfinn > I think object-expirer not running on my cluster. How to launch this? > > > Le 26/11/2

Re: [Openstack] Swift Object Storage Delete-After:120 doesn't delete

2013-11-26 Thread Thorfinn
I think object-expirer not running on my cluster. How to launch this? Le 26/11/2013 13:28, Thorfinn a écrit : I don't find object-expirer in my cluster. How to install the expirer. I have read this doc http://docs.openstack.org/developer/swift/overview_expiring_objects.html but it's not ok for

Re: [Openstack] Swift Object Storage Delete-After:120 doesn't delete

2013-11-26 Thread Thorfinn
I don't find object-expirer in my cluster. How to install the expirer. I have read this doc http://docs.openstack.org/developer/swift/overview_expiring_objects.html but it's not ok for me. Le 26/11/2013 12:29, Kuo Hugo a écrit : Hi Thorfinn,  Is object-expirer running in your cluster now ?

Re: [Openstack] Swift Object Storage Delete-After:120 doesn't delete

2013-11-26 Thread Kuo Hugo
Hi Thorfinn, Is object-expirer running in your cluster now ? +Hugo Kuo+ (+886) 935004793 SwiftStack Inc. ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lis

[Openstack] Swift Object Storage Delete-After:120 doesn't delete

2013-11-26 Thread Thorfinn
Hi All, I use Openstack Havana (Storage + Identity) I want to automatically delete an object after 2 minutes but swift doesn't remove the object. Example curl -i -X PUT --data-binary 2 -H "X-Auth-Token: $tokenSwift" -H 'X-Delete-After:120' http://192.168.3.100:8080/v1/AUTH_$tenantSwift/Conta

Re: [Openstack] Swift Object Storage ACLs with KeyStone

2013-11-13 Thread Kuo Hugo
I may know the problem now. You can have a look at @fbo's blog : http://blog.fsquat.net/?p=40 I had a deep diving on the auth middleware today. The authtoken middleware will reject the request if the token's tenant mapping is not matching to the one your requested. *[Debug log]* Nov 13 01:39:30

Re: [Openstack] Swift Object Storage ACLs with KeyStone

2013-11-13 Thread thorfinn
This syntax is correct: curl -i -X POST -H "X-Auth-Token: $tokenTest1" -H "X-Container-Read: *:*" -H " \ X-Container-Write: *:*" http://192.168.3.100:8080/v1/AUTH_$tenantTest1/foo curl -i -X GET -H "X-Auth-Token: $tokenTest2" http://192.168.3.100:8080/v1/AUTH_$tenantTest1/foo HTTP/1.1 204

Re: [Openstack] Swift Object Storage ACLs with KeyStone

2013-11-13 Thread thorfinn
@Dheerendra: the correct IP address is 192.168.3.100. It's a mistake. Same problem with correct ip adress. @Kuo Hugo: I don't understand the item 1. On the item 2: curl -i -X POST -H "X-Auth-Token: $tokenTest1" -H "X-Container-Read:test2" -H "X-Container-Write: test2" http://192.168.3.100:

Re: [Openstack] Swift Object Storage ACLs with KeyStone

2013-11-12 Thread Dheerendra
quick observation. Why are you running the last command with local ip address i.e (127.0.0.1) http://127.0.0.1:8080. Can you run this with your appropriate IP ? -Dheerendra On Tue, Nov 12, 2013 at 10:09 PM, wrote: > Hi all, > > I use Openstack Ha

Re: [Openstack] Swift Object Storage ACLs with KeyStone

2013-11-12 Thread Kuo Hugo
Hi >From my point of view. There may has two potential problems. 1. The read ACL is not allowing to list objects in a container by default. And your request is for retrieving objects list of a container tho. 2. For Keystone, I think the value of ACL header should be the username instead of usern

[Openstack] Swift Object Storage ACLs with KeyStone

2013-11-12 Thread thorfinn
Hi all, I use Openstack Havana (Storage + Identity) I encountered some problems when i set permissions (ACLs) on Openstack Swift containers. My swift proxy-server.conf is here: http://pastebin.com/0hpfebNp My keystone.conf is here: http://pastebin.com/VUGYbcM5 I have the token of t