You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/10/16 19:35:49 UTC

[jira] [Commented] (JCLOUDS-231) Temp signed URLs renew forever against HPCS

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

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

Commit 578a77d6313ce0945f8d29e82103e09787622c58 in branch refs/heads/master from [~zack-s]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds.git;h=578a77d ]

Reauthenticate on Keystone HTTP 401 (JCLOUDS-178)

The number of retries here is not the same as for 500 errors; expected
behavior is a quick fail while retaining some robustness.  This fix
should not reintroduce 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
>            Assignee: Andrew Gaul
>            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 was sent by Atlassian JIRA
(v6.1#6144)