cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asmita Vagyani <Asmita.Vagy...@sigma-systems.com>
Subject RE: CS4 AWS S3 support
Date Tue, 26 Mar 2013 08:40:20 GMT
Hi all,

I tried to use a couple of freewares/tools like CyberDuck, DragonDisk, etc which interfaces
the Cloudstack S3 APIs.
I am stuck at one common point in all these tools.
All tools say they support the alternative S3 compatible services, which in our case is our
Cloudstack AWS S3.
However, it asks me endpoint of the S3 compatible service.
When I mention the endpoint as http://<cloudstack-server-IP:port>/awsapi/rest/AmazonS3
it doesnot accept it.
It wants the server name as server.com.

Is there any way I can get the S3 webservice endpoint the way these tools want.
Is this because Cloudstack is not consistent with the EC2 endpoint.
If yes, when are we planning to make it consistent.


Thanks and Regards.

Asmita 

-----Original Message-----
From: Rajesh Battala [mailto:rajesh.battala@citrix.com] 
Sent: 25 March 2013 PM 09:40
To: users@cloudstack.apache.org; 'cloudstack-users@incubator.apache.org'; 'runseb@gmail.com'
Subject: RE: CS4 AWS S3 support

Am not sure whether s3 browser allows user to configure the settings to access the cloudstack
s3.
If you can configure the settings the way we configure for boto then we can use s3 browser.

Thanks
Rajesh Battala

> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: Monday, March 25, 2013 7:09 PM
> To: 'users@cloudstack.apache.org'; 
> 'cloudstack-users@incubator.apache.org';
> 'runseb@gmail.com'
> Subject: RE: CS4 AWS S3 support
> 
> Are there any other clients, non-python based.
> Can I integrate this with S3 browser, such that the S3 browser shows 
> me buckets created on the NFS drive mounted using cloud-bridge.properties?
> User can just upload and download files in S3 browser and ultimately 
> on the NFS drive buckets.
> 
> 
> Thanks and Regards.
> 
> Asmita
> 
> -----Original Message-----
> From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
> Sent: 25 March 2013 PM 04:42
> To: users@cloudstack.apache.org; 
> 'cloudstack-users@incubator.apache.org';
> 'runseb@gmail.com'
> Subject: RE: CS4 AWS S3 support
> 
> Asmita,
> You can follow this link. 
> https://cwiki.apache.org/CLOUDSTACK/s3-api-in-
> cloudstack.html
> 
> You can use boto client which is python based to send s3 requests to CS.
> 
> Thanks
> Rajesh Battala
> 
> > -----Original Message-----
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > Sent: Monday, March 25, 2013 4:13 PM
> > To: 'users@cloudstack.apache.org';
> > 'cloudstack-users@incubator.apache.org';
> > 'runseb@gmail.com'
> > Subject: RE: CS4 AWS S3 support
> >
> > Hi,
> >
> > I can see the entry of keys in the usercredential table in CS4 DB.
> > When I access http://<server-ip>/awsapi link I get the servlet exception :
> >
> > java.lang.RuntimeException: javax.servlet.ServletException: Servlet 
> > execution threw an exception
> > 	com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet
> > .java:104)
> > 	com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:7
> > 3)
> >
> > How can I run S3 requests? any links to documentation would be helpful.
> >
> > Thanks and Regards.
> >
> > Asmita
> >
> >
> > -----Original Message-----
> > From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
> > Sent: 25 March 2013 PM 03:35
> > To: users@cloudstack.apache.org;
> > 'cloudstack-users@incubator.apache.org';
> > 'runseb@gmail.com'
> > Subject: RE: CS4 AWS S3 support
> >
> > Hi Asmita,
> >
> > In the cloudbridge db, usercredentials table has the 
> > username/password values present?
> > Generally, for an existing account, generate the apikey/secrect key 
> > and register them in awsapi.
> >
> > Were you able to run s3 requests.?  Is awsap is running at 7080 port?
> >
> > Thanks
> > Rajesh Battala
> >
> >
> > > -----Original Message-----
> > > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > > Sent: Monday, March 25, 2013 3:24 PM
> > > To: 'cloudstack-users@incubator.apache.org'; 'runseb@gmail.com'
> > > Subject: CS4 AWS S3 support
> > >
> > > Hi all,
> > >
> > > I am trying to do following to have an implementation of S3 in our
> application.
> > > Followed steps given in:
> > > http://www.slideshare.net/sebastiengoasguen/cloudstack-s3
> > >
> > >
> > > 1)      I have enabled S3 support and EC2 support flag in the CS4 global
> > variables.
> > >
> > > 2)      I have mounted the NFS store on the CS4 management server  (I am
> using
> > > the NFS drive to store the buckets/files uploaded by user on this
> > > drive)
> > >
> > > 3)      I have configured the cloud-bridge.properties appropriately
> > >
> > > host=http://localhost:7080/awsapi
> > >
> > > storage.root=/s3storage
> > >
> > > storage.multipartDir=__multipart__uploads__
> > >
> > > bucket.dns=false
> > >
> > > serviceEndpoint=localhost:7080
> > >
> > >
> > >
> > > 4)      I made up a user account into CS4 client console, generated the API
key
> > > and the Secret key.
> > >
> > > 5)      I have registered the user by using cloudstack-aws-api-register (refer
-
> > > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.1-
> > > incubating/html/Installation_Guide/aws-ec2-user-setup.html   )
> > >
> > > 6)      I have downloaded the S3 browser.
> > >
> > > 7)      I am trying to make an account with the same user API key and Secret
> key
> > > which we create on Cloudstack.
> > >
> > > While creating an account it says - InvalidAccesskeyId
> > >
> > > Any hints if I am missing some step here?
> > >
> > > Thanks and Regards.
> > >
> > > Asmita Patil Vagyani.
> > >
> > > Tech Lead,  Sigma Software Solutions, Pune,
> > >
> > > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >
> >
> 
> 




Mime
View raw message