You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Bill Branan (JIRA)" <ji...@apache.org> on 2014/03/13 13:37:42 UTC

[jira] [Updated] (JCLOUDS-498) PUT object calls fail against Swift with JClouds 1.7.1

     [ https://issues.apache.org/jira/browse/JCLOUDS-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Branan updated JCLOUDS-498:
--------------------------------

    Description: 
I am attempting to upgrade my application from JClouds 1.5.5 to JClouds 1.7.1. My application connects to an OpenStack Swift storage provider for storing objects. After updating to 1.7.1 all calls seem to work except the calls to store new objects. I've tested listing containers, updating object properties, deleting objects, and deleting containers, and all of these work, but putting a new object does not.

The error I see when attempting to put a new object is listed below. I get this error regardless of whether I am using the SwiftClient or the BlobStore interface.

I wrote up some tests to isolate the issue. 
The test for 1.7.1 is here: https://github.com/bbranan/sdsc-tests/tree/master/sdsc-jclouds-1.7.1
The test for 1.5.5 is here: https://github.com/bbranan/sdsc-tests/tree/master/sdsc-jclouds-1.5.5

The tests can be built using "ant" and run using "ant run". The tests work perfectly with 1.5.5, but fail with 1.7.1. (You'll need to enter a couple params at the top of the Java class prior to building.)

I should also note that the tests for 1.7.1 pass when I connect to Rackspace, but fail when I connect to SDSC Cloud, so there may be differences between OpenStack Swift providers that are not being accounted for. SDSC Cloud is running the Grizzly version of Swift.

The error I see on PUT failure:

     [java] SEVERE: Cannot retry after server error, command is not replayable: [method=public abstract com.google.common.util.concurrent.ListenableFuture org.jclouds.openstack.swift.CommonSwiftAsyncClient.putObject(java
.lang.String,org.jclouds.openstack.swift.domain.SwiftObject)[test-container-1394647640389, [info=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=null, contentMD5=null, contentType=appl
ication/unknown, expires=null]]], request=PUT https://duracloud.auth.cloud.sdsc.edu:443/v1/DURACLOUD_36ef189e-614e-49a9-bb8d-84f66e8553d5/test-container-1394647640389/test-content-blob-1394647701119 HTTP/1.1]
     [java]   PUT failed with error: Read timed out connecting to PUT https://duracloud.auth.cloud.sdsc.edu:443/v1/DURACLOUD_36ef189e-614e-49a9-bb8d-84f66e8553d5/test-container-1394647640389/test-content-blob-13946477011
19 HTTP/1.1
     [java] org.jclouds.http.HttpResponseException: Read timed out connecting to PUT https://duracloud.auth.cloud.sdsc.edu:443/v1/DURACLOUD_36ef189e-614e-49a9-bb8d-84f66e8553d5/test-container-1394647640389/test-content-b
lob-1394647701119 HTTP/1.1

  was:
I am attempting to upgrade my application from JClouds 1.5.5 to JClouds 1.7.1. My application connects to an OpenStack Swift storage provider for storing objects. After updating to 1.7.1 all calls seem to work except the calls to store new objects. I've tested listing containers, updating object properties, deleting objects, and deleting containers, and all of these work, but putting a new object does not.

The error I see when attempting to put a new object is listed below. I get this error regardless of whether I am using the SwiftClient or the BlobStore interface.

I wrote up some tests to isolate the issue. 
The test for 1.7.1 is here: https://github.com/bbranan/sdsc-tests/tree/master/sdsc-jclouds-1.7.1
The test for 1.5.5 is here: https://github.com/bbranan/sdsc-tests/tree/master/sdsc-jclouds-1.5.5

The tests can be built using "ant" and run using "ant run". The tests work perfectly with 1.5.5, but fail with 1.7.1. (You'll need to enter a couple params at the top of the Java class prior to building.)

I should also note that the tests for 1.7.1 pass when I connect to Rackspace, but fail when I connect to SDSC Cloud, so there may be differences between OpenStack Swift providers that are not being accounted for.

The error I see on PUT failure:

     [java] SEVERE: Cannot retry after server error, command is not replayable: [method=public abstract com.google.common.util.concurrent.ListenableFuture org.jclouds.openstack.swift.CommonSwiftAsyncClient.putObject(java
.lang.String,org.jclouds.openstack.swift.domain.SwiftObject)[test-container-1394647640389, [info=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=null, contentMD5=null, contentType=appl
ication/unknown, expires=null]]], request=PUT https://duracloud.auth.cloud.sdsc.edu:443/v1/DURACLOUD_36ef189e-614e-49a9-bb8d-84f66e8553d5/test-container-1394647640389/test-content-blob-1394647701119 HTTP/1.1]
     [java]   PUT failed with error: Read timed out connecting to PUT https://duracloud.auth.cloud.sdsc.edu:443/v1/DURACLOUD_36ef189e-614e-49a9-bb8d-84f66e8553d5/test-container-1394647640389/test-content-blob-13946477011
19 HTTP/1.1
     [java] org.jclouds.http.HttpResponseException: Read timed out connecting to PUT https://duracloud.auth.cloud.sdsc.edu:443/v1/DURACLOUD_36ef189e-614e-49a9-bb8d-84f66e8553d5/test-container-1394647640389/test-content-b
lob-1394647701119 HTTP/1.1


> PUT object calls fail against Swift with JClouds 1.7.1
> ------------------------------------------------------
>
>                 Key: JCLOUDS-498
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-498
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 1.7.1
>         Environment: Tested on Windows 7 with Java 1.7.0_45
>            Reporter: Bill Branan
>            Priority: Critical
>
> I am attempting to upgrade my application from JClouds 1.5.5 to JClouds 1.7.1. My application connects to an OpenStack Swift storage provider for storing objects. After updating to 1.7.1 all calls seem to work except the calls to store new objects. I've tested listing containers, updating object properties, deleting objects, and deleting containers, and all of these work, but putting a new object does not.
> The error I see when attempting to put a new object is listed below. I get this error regardless of whether I am using the SwiftClient or the BlobStore interface.
> I wrote up some tests to isolate the issue. 
> The test for 1.7.1 is here: https://github.com/bbranan/sdsc-tests/tree/master/sdsc-jclouds-1.7.1
> The test for 1.5.5 is here: https://github.com/bbranan/sdsc-tests/tree/master/sdsc-jclouds-1.5.5
> The tests can be built using "ant" and run using "ant run". The tests work perfectly with 1.5.5, but fail with 1.7.1. (You'll need to enter a couple params at the top of the Java class prior to building.)
> I should also note that the tests for 1.7.1 pass when I connect to Rackspace, but fail when I connect to SDSC Cloud, so there may be differences between OpenStack Swift providers that are not being accounted for. SDSC Cloud is running the Grizzly version of Swift.
> The error I see on PUT failure:
>      [java] SEVERE: Cannot retry after server error, command is not replayable: [method=public abstract com.google.common.util.concurrent.ListenableFuture org.jclouds.openstack.swift.CommonSwiftAsyncClient.putObject(java
> .lang.String,org.jclouds.openstack.swift.domain.SwiftObject)[test-container-1394647640389, [info=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=null, contentMD5=null, contentType=appl
> ication/unknown, expires=null]]], request=PUT https://duracloud.auth.cloud.sdsc.edu:443/v1/DURACLOUD_36ef189e-614e-49a9-bb8d-84f66e8553d5/test-container-1394647640389/test-content-blob-1394647701119 HTTP/1.1]
>      [java]   PUT failed with error: Read timed out connecting to PUT https://duracloud.auth.cloud.sdsc.edu:443/v1/DURACLOUD_36ef189e-614e-49a9-bb8d-84f66e8553d5/test-container-1394647640389/test-content-blob-13946477011
> 19 HTTP/1.1
>      [java] org.jclouds.http.HttpResponseException: Read timed out connecting to PUT https://duracloud.auth.cloud.sdsc.edu:443/v1/DURACLOUD_36ef189e-614e-49a9-bb8d-84f66e8553d5/test-container-1394647640389/test-content-b
> lob-1394647701119 HTTP/1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)