You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by sebgoa <ru...@gmail.com> on 2014/06/15 16:57:48 UTC

Add S3 secondary storage

Hi folks,

if we want to add a S3 object store as secondary storage, do we just call addS3 ?
http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addS3.html

I have a basic zone with an existing NFS secondary store, can I add a second secondary storage using a S3 store ?

thanks,

-sebastien

RE: Add S3 secondary storage

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
addS3 api has been deprecated. From 4.3 onwards we use only addImageStore API for any type of secondary storage (e.g NFS/S3/Swift)

-Sanjeev

-----Original Message-----
From: Sebastien Goasguen [mailto:runseb@gmail.com] 
Sent: Monday, June 16, 2014 12:59 PM
To: dev@cloudstack.apache.org
Subject: Re: Add S3 secondary storage


On Jun 16, 2014, at 12:14 AM, Sanjeev Neelarapu <sa...@citrix.com> wrote:

> Hi Sebastien,
> 
> #1 For adding S3 object store as secondary storage use "addImageStore" API with provider as "s3"
> http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addImageS
> tore.html

Wow, looking at that API doc, this is terrible:

details[0].key=accesskey&details[0].value=s389ddssaa&details[1].key=secretkey&details[1].value=8dshfss

> 
> #2 We can't add S3 store if a zone already has NFS as secondary store, 
> however we can migrate from NFS to S3 
> http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateClo
> udToUseObjectStore.html

thanks for the pointer, I will check it out.

So what is the addS3 api used for ?


> 
> Thanks,
> Sanjeev
> 
> -----Original Message-----
> From: sebgoa [mailto:runseb@gmail.com]
> Sent: Sunday, June 15, 2014 8:28 PM
> To: dev@cloudstack.apache.org
> Subject: Add S3 secondary storage
> 
> Hi folks,
> 
> if we want to add a S3 object store as secondary storage, do we just call addS3 ?
> http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addS3.htm
> l
> 
> I have a basic zone with an existing NFS secondary store, can I add a second secondary storage using a S3 store ?
> 
> thanks,
> 
> -sebastien


Re: Add S3 secondary storage

Posted by Sebastien Goasguen <ru...@gmail.com>.
On Jun 16, 2014, at 12:14 AM, Sanjeev Neelarapu <sa...@citrix.com> wrote:

> Hi Sebastien,
> 
> #1 For adding S3 object store as secondary storage use "addImageStore" API with provider as "s3"
> http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addImageStore.html

Wow, looking at that API doc, this is terrible:

details[0].key=accesskey&details[0].value=s389ddssaa&details[1].key=secretkey&details[1].value=8dshfss

> 
> #2 We can't add S3 store if a zone already has NFS as secondary store, however we can migrate from NFS to S3
> http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateCloudToUseObjectStore.html

thanks for the pointer, I will check it out.

So what is the addS3 api used for ?


> 
> Thanks,
> Sanjeev
> 
> -----Original Message-----
> From: sebgoa [mailto:runseb@gmail.com] 
> Sent: Sunday, June 15, 2014 8:28 PM
> To: dev@cloudstack.apache.org
> Subject: Add S3 secondary storage
> 
> Hi folks,
> 
> if we want to add a S3 object store as secondary storage, do we just call addS3 ?
> http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addS3.html
> 
> I have a basic zone with an existing NFS secondary store, can I add a second secondary storage using a S3 store ?
> 
> thanks,
> 
> -sebastien


RE: Add S3 secondary storage

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
Hi Sebastien,

#1 For adding S3 object store as secondary storage use "addImageStore" API with provider as "s3"
http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addImageStore.html

#2 We can't add S3 store if a zone already has NFS as secondary store, however we can migrate from NFS to S3
http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateCloudToUseObjectStore.html

Thanks,
Sanjeev

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com] 
Sent: Sunday, June 15, 2014 8:28 PM
To: dev@cloudstack.apache.org
Subject: Add S3 secondary storage

Hi folks,

if we want to add a S3 object store as secondary storage, do we just call addS3 ?
http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addS3.html

I have a basic zone with an existing NFS secondary store, can I add a second secondary storage using a S3 store ?

thanks,

-sebastien