jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-231) Temp signed URLs renew forever against HPCS
Date Tue, 06 Aug 2013 04:39:52 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730335#comment-13730335
] 

ASF subversion and git services commented on JCLOUDS-231:
---------------------------------------------------------

Commit faecd45a019dd002b9a312e294dd716a0fb2f5d1 in branch refs/heads/1.6.x from [~diwaker]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds.git;h=faecd45 ]

Enable time-bound signed URL tests for HPCS.

HP does, in fact, support configurable temporary signed URLs:
http://docs.hpcloud.com/api/object-storage#temp_url

References JCLOUDS-231

                
> Temp signed URLs renew forever against HPCS
> -------------------------------------------
>
>                 Key: JCLOUDS-231
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-231
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 1.6.2
>            Reporter: Diwaker Gupta
>            Priority: Blocker
>             Fix For: 1.6.2
>
>
> When I run configurable temp signed URL tests against HPCS (does require https://github.com/jclouds/jclouds/pull/98)
against current master, the test hangs and then eventually times out. The wire log shows that
even after the URL expires (as expected), we continue to renew and retry forever. The log
is filled with retries:
> {noformat}
> 2013-08-05 14:12:16,738 DEBUG [jclouds.headers] (pool-3-thread-1) >> GET https://region-a.geo-1.objects.hpcloudsvc.com/v1/53176293441764/diwaker-blobstore0/hello?temp_url_sig=53176293441764%3AMRUXXUBT9B4MDDGFFNH4%3A8c142287df0b2492085b84b03ea2ac257c9afe64&temp_url_expires=1375737135
HTTP/1.1
> 2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << HTTP/1.1 401
Unauthorized2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << Date:
Mon, 05 Aug 2013 21:12:16 GMT
> 2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << X-Trans-Id:
tx3e2bacd31b0846c7929902234379eaac
> 2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << Connection:
keep-alive
> 2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << Content-Type:
text/plain
> 2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << Content-Length:
35
> 2013-08-05 14:12:16,846 DEBUG [jclouds.headers] (pool-3-thread-1) >> GET https://region-a.geo-1.objects.hpcloudsvc.com/v1/53176293441764/diwaker-blobstore0/hello?temp_url_sig=53176293441764%3AMRUXXUBT9B4MDDGFFNH4%3A8c142287df0b2492085b84b03ea2ac257c9afe64&temp_url_expires=1375737135
HTTP/1.1
> 2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << HTTP/1.1 401
Unauthorized
> 2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << Date: Mon,
05 Aug 2013 21:12:16 GMT
> 2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << X-Trans-Id:
tx39c73583d34a49f48e1b4c47f02479e5
> 2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << Connection:
keep-alive
> 2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << Content-Type:
text/plain
> 2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << Content-Length:
35
> {noformat}
> More than 1200 retries within a minute:
> {noformat}
> $ hpcloud-objectstorage grep -c '401 Unauthorized' target/test-data/jclouds-wire.log
> 1199
> {noformat}
> With `git bisect`, I've also verified that this regression was introduced with commit
7b0cd9be43a6035a71652bb5c9f3cd604e18eb9d. After reverting that commit, the test succeeds as
expected. This is a regression from jclouds 1.6.1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message