[Openstack] Swift tempurl

2013-07-10 Thread Morten Møller Riis
I'm having trouble getting tempurl to work. I set the X-Account-Meta-Temp-Url-Key metadata on the account. And a GET request shows it's set correctly. I've enabled it on the proxy server in /etc/swift/proxy-server.conf: [DEFAULT] bind_port = 8080 workers = 8 user = swift [pipeline:main]

Re: [Openstack] Swift tempurl

2013-07-10 Thread Shrinand Javadekar
I had a similar problem. See [1]. The fix was to add delay_auth_decision = 1 in the proxy-server.conf [filter:authtoken] ... delay_auth_decision = 1 -Shri [1] https://answers.launchpad.net/swift/+question/225614 On Wed, Jul 10, 2013 at 4:43 AM, Morten Møller Riis m...@gigahost.dk wrote: I've

Re: [Openstack] Swift tempurl

2013-07-10 Thread Morten Møller Riis
I use swauth, and thus authtoken is not present in my pipeline. This might be why I'm seeing the problem actually. Mvh / Best regards Morten Møller Riis Gigahost ApS m...@gigahost.dk On Jul 11, 2013, at 4:04 AM, Shrinand Javadekar shrin...@maginatics.com wrote: I had a similar problem. See

Re: [Openstack] Swift tempurl

2013-07-10 Thread Morten Møller Riis
This turned out to be a known issue with swath. I upgraded to a newer version and the problem was resolved :) Mvh / Best regards Morten Møller Riis Gigahost ApS m...@gigahost.dk On Jul 11, 2013, at 10:52 AM, Morten Møller Riis m...@gigahost.dk wrote: I use swauth, and thus authtoken is not

Re: [Openstack] swift tempURL requests yield 401 Unauthorized

2012-10-24 Thread Dieter Plaetinck
I upgraded our test cluster to 1.7.4, and still have the same issue. I also bumped the expires to time() + 600 and made sure the clocks on client and servers are in sync to the second (client was 2 minutes off earlier) but so that didn't change anything. expires is def. higher than the current

Re: [Openstack] swift tempURL requests yield 401 Unauthorized

2012-10-24 Thread Dieter Plaetinck
thanks for the help. along with your, and other people's in #openstack-swift on irc, we fixed it. i had not added tempurl to the pipeline in proxy-server.conf. once that was fixed, it worked immediately on 1.7, but not on 1.4 which started saying 500 Internal Server Error. after some more

[Openstack] swift tempURL requests yield 401 Unauthorized

2012-10-19 Thread Dieter Plaetinck
Hi, using swift 1.4.8 on Centos machines. (latest packages for centos. note that i'm assuming tempurl works with this version merely because all the code seems to be there, i couldn't find clear docs on whether it should work or not?) I want to use the swift tempURL feature as per

Re: [Openstack] Swift: tempURL

2012-05-15 Thread Rouault, Jason (Cloud Services)
Subject: [Openstack] Swift: tempURL I am trying to run swift temp url feature. We have keystone as identity service. Does this feature works with keystone? I am always getting no such file or directory. I am following all the steps generate the tempURL. I will appreciate any

[Openstack] Swift: tempURL

2012-05-14 Thread Suchi Sinha (susinha)
I am trying to run swift temp url feature. We have keystone as identity service. Does this feature works with keystone? I am always getting no such file or directory. I am following all the steps generate the tempURL. I will appreciate any help. Thanks. ~Suchi

Re: [Openstack] Swift: tempURL

2012-05-14 Thread Alex Yang
tempurl dose not work with keystone. you must follow the instruction of tempurl to use it. the instruction is locate in the comment of swift/common/middleware/tempurl.py 在 2012-5-15 上午2:06,Suchi Sinha (susinha) susi...@cisco.com写道: I am trying to run swift temp url feature. We have keystone