shrinand's profile - activity

2018-08-17 01:34:30 -0500 received badge  Notable Question (source)
2017-07-29 15:34:46 -0500 received badge  Popular Question (source)
2013-05-30 22:36:07 -0500 answered a question Keystone resulting in slow mysql queries

Same problem. Trimming the "token" table works great.

2013-04-05 23:22:24 -0500 answered a question Debugging Tempurl problems when using Swift+Keystone

Finally, I got the solution. You need the following in the proxy-server.conf

[filter:authtoken] ... delay_auth_decision = 1

2013-04-01 19:31:13 -0500 answered a question Debugging Tempurl problems when using Swift+Keystone

I added some additional logging into tempurl.py to debug this further. I see that 'QUERY_STRING' is not set in the 'env' dictionary. When can that happen?

2013-04-01 17:56:45 -0500 asked a question Debugging Tempurl problems when using Swift+Keystone

I am seeing a problem where everytime I try to use a tempurl, I get an "Unauthorized: Temp URL invalid" error. I don't find enough documentation about debugging tempurls. Hence this question.

If I want to configure tempurl, do I only have to add the following in the proxy-server conf and restart it?

<proxy-server.conf>

... pipeline = catch_errors healthcheck cache authtoken tempurl swiftauth proxy-server ... [filter:tempurl] use = egg:swift#tempurl

</proxy-server.conf>

If this is all that is required, I have done this. From the swift command line utility, I can see the Meta Temp-Url-Key option set on the account as well. But when I use a tempUrl, I get the Unauthorized error. I logged the actual url and it looks something like this:

http://<proxy-server-ip>:8080/v1/AUTH_b3238727b1e94025b8eb38b60d1cef6b/cloud-testing/ae260ba046043710?temp_url_sig=3d11cc195a89916b71c77cc9c1c7201083d9dbf9&temp_url_expires=1364923538

I verified that the value of temp-url-expires is greater than the current time on the proxy server when it receives the request.

What else do I need to do?

Thanks in advance. -Shri

P.S. FWIW: I'm using jclouds. The BlobRequestSigner::signGetBlob method creates the tempurl.