You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Thomas O'Dowd (JIRA)" <ji...@apache.org> on 2013/07/03 11:14:19 UTC

[jira] [Updated] (CLOUDSTACK-3028) Object_Store_Refactor - S3 reduced redundancy storage should be an option.

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

Thomas O'Dowd updated CLOUDSTACK-3028:
--------------------------------------

    Fix Version/s: 4.2.0
    
> Object_Store_Refactor - S3 reduced redundancy storage should be an option.
> --------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3028
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3028
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Template
>         Environment: latest object_store branch on fedora 17 
> devcloud on same machine 
> Cloudian (for S3 services) on separate machine. (expect similar result with other S3 object stores).
>            Reporter: Thomas O'Dowd
>            Assignee: Min Chen
>             Fix For: 4.2.0
>
>
> When uploading a template to the S3 object store, I noticed that the request asked to be stored using reduced redundancy. I think this should be an option rather than the default behavior.
> Steps: 
> 1. setup S3 object storage (can be amazon) 
> 2. Add S3 as secondary storage 
> 3. Upload a new template (I uploaded "tinyLinux.vhd.gz" by giving a url on my local network where I had it hosted)
> If you sniff the S3 traffic (assuming you don't use ssl) when you upload the template in step 3, you can see something like this request.
> =========== initiate multipart upload request ====================
> POST /template%2Ftmpl%2F2%2F201%2F201-2-f9a12429-7cf4-3df5-b81c-420f09c1bbcd%2FtinyLinux.vhd.gz?uploads HTTP/1.1.
> Host: hello.s3.cloudian.com:18080.
> Authorization: AWS 00d25034c817eeb8c095:5P8Y2VM69TgAbixlZoXhAsNjAzI=.
> x-amz-storage-class: REDUCED_REDUNDANCY.
> Date: Fri, 14 Jun 2013 07:05:26 GMT.
> User-Agent: aws-sdk-java/1.3.21.1 Linux/2.6.32-5-686-bigmem Java_HotSpot(TM)_Client_VM/20.1-b02.
> Content-Type: application/x-www-form-urlencoded; charset=utf-8.
> Transfer-Encoding: chunked.
> Connection: Keep-Alive.
> .
> 0.
> .
> =========== initiate multipart upload request ====================
> Notice that the x-amz-storage-class is set to REDUCED_REDUNDANCY. I cannot see any GUI option to overload this and choose the default storage class.

--
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