Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE84AFE4C for ; Tue, 26 Mar 2013 11:42:38 +0000 (UTC) Received: (qmail 75622 invoked by uid 500); 26 Mar 2013 11:42:38 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 75264 invoked by uid 500); 26 Mar 2013 11:42:35 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 75243 invoked by uid 99); 26 Mar 2013 11:42:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Mar 2013 11:42:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Asmita.Vagyani@sigma-systems.com designates 213.199.154.205 as permitted sender) Received: from [213.199.154.205] (HELO am1outboundpool.messaging.microsoft.com) (213.199.154.205) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Mar 2013 11:42:30 +0000 Received: from mail7-am1-R.bigfish.com (10.3.201.226) by AM1EHSOBE014.bigfish.com (10.3.207.136) with Microsoft SMTP Server id 14.1.225.23; Tue, 26 Mar 2013 11:42:08 +0000 Received: from mail7-am1 (localhost [127.0.0.1]) by mail7-am1-R.bigfish.com (Postfix) with ESMTP id 27DFB200185; Tue, 26 Mar 2013 11:42:08 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.238.5;KIP:(null);UIP:(null);IPV:NLI;H:BY2PRD0512HT001.namprd05.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: -6 X-BigFish: PS-6(zz98dI9371I936eId772h542I1432I14ffIzz1ee6h1202h1e76h1d2ahzz1b3f39h8275ch17326ah8275dh8275bhz31h2a8h668h839h944hd25hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1155h) Received-SPF: softfail (mail7-am1: transitioning domain of sigma-systems.com does not designate 157.56.238.5 as permitted sender) client-ip=157.56.238.5; envelope-from=Asmita.Vagyani@sigma-systems.com; helo=BY2PRD0512HT001.namprd05.prod.outlook.com ;.outlook.com ; Received: from mail7-am1 (localhost.localdomain [127.0.0.1]) by mail7-am1 (MessageSwitch) id 1364298124924197_14641; Tue, 26 Mar 2013 11:42:04 +0000 (UTC) Received: from AM1EHSMHS014.bigfish.com (unknown [10.3.201.253]) by mail7-am1.bigfish.com (Postfix) with ESMTP id DA2E2E0079; Tue, 26 Mar 2013 11:42:04 +0000 (UTC) Received: from BY2PRD0512HT001.namprd05.prod.outlook.com (157.56.238.5) by AM1EHSMHS014.bigfish.com (10.3.207.152) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 26 Mar 2013 11:42:04 +0000 Received: from BY2PRD0512MB623.namprd05.prod.outlook.com ([169.254.5.181]) by BY2PRD0512HT001.namprd05.prod.outlook.com ([10.255.243.34]) with mapi id 14.16.0275.006; Tue, 26 Mar 2013 11:42:04 +0000 From: Asmita Vagyani To: 'Sebastien Goasguen' , "'users@cloudstack.apache.org'" Subject: RE: CS4 AWS S3 support Thread-Topic: CS4 AWS S3 support Thread-Index: Ac4pPov/4ElKPJ2sQROgbDNuYJCUjAAAT48QAADBftAAAa2SMAAFFXFQAAVAm1AAIjMlQAADYtgAAAEgAlYAAH4S4AAAcd+AAABn4cAAAG5mgAAAgJ+w Date: Tue, 26 Mar 2013 11:42:03 +0000 Message-ID: References: <8CCE9859D2CAFD45948DBF7145AFB98C0438FD@SINPEX01CL01.citrite.net> <8CCE9859D2CAFD45948DBF7145AFB98C043A0C@SINPEX01CL01.citrite.net> <8CCE9859D2CAFD45948DBF7145AFB98C043E7D@SINPEX01CL01.citrite.net> <7A84A0E2-BC15-4F0D-B6CD-A59EF2D8B076@gmail.com> <8BFF9D74-95CA-41CA-8D04-2C38F8708167@gmail.com> <7656F43E-4B31-4EF8-AC0A-AAD4741B02B9@gmail.com> In-Reply-To: <7656F43E-4B31-4EF8-AC0A-AAD4741B02B9@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [115.113.155.67] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sigma-systems.com X-Virus-Checked: Checked by ClamAV on apache.org I have reported a bug - https://issues.apache.org/jira/browse/CLOUDSTACK-18= 07 Now, when I create a bucket using the S3 AWS API on cloudstack I get=20 > error as - OutOfStorageException: Unable to create /s3storage/test123=20 > for bucket test123 Stacktrace is- > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Request header x-amz-date:Tue, 26 Mar 2013=20 > 11:13:42 GMT > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Request header=20 > host:torvm-cloudstack-mgmt.sigmasys.net:7080 > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Request header content-length:0 > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Request header connection:Keep-Alive > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) - End of request - > 2013-03-26 07:13:47,800 DEBUG [bridge.service.UserContext] (catalina-exec= -int-22:null) initializing a new [anonymous] UserContext! > 2013-03-26 07:13:47,815 ERROR [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Unexpected exception Unable to create=20 > /s3storage/test123 for bucket test123 > com.cloud.bridge.service.exception.OutOfStorageException: Unable to creat= e /s3storage/test123 for bucket test123 > at com.cloud.bridge.io.S3FileSystemBucketAdapter.createContainer(S= 3FileSystemBucketAdapter.java:55) > at com.cloud.bridge.service.core.s3.S3Engine.allocBucketStorageHos= t(S3Engine.java:1466) > at com.cloud.bridge.service.core.s3.S3Engine.handleRequest(S3Engin= e.java:210) > at com.cloud.bridge.service.controller.s3.S3BucketAction.executePu= tBucket(S3BucketAction.java:837) > at com.cloud.bridge.service.controller.s3.S3BucketAction.execute(S= 3BucketAction.java:159) > at com.cloud.bridge.service.S3RestServlet.processRequest(S3RestSer= vlet.java:181) > at com.cloud.bridge.service.S3RestServlet.doPut(S3RestServlet.java= :97) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:640) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilte= r(ApplicationFilterChain.java:290) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applic= ationFilterChain.java:206) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWr= apperValve.java:233) > at org.apache.catalina.core.StandardContextValve.invoke(StandardCo= ntextValve.java:191) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostV= alve.java:127) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportV= alve.java:102) > at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve= .java:555) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEng= ineValve.java:109) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapt= er.java:298) > at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioPr= ocessor.java:889) > at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHand= ler.process(Http11NioProtocol.java:721) > at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioE= ndpoint.java:2268) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExe= cutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolEx= ecutor.java:603) > at java.lang.Thread.run(Thread.java:722) >=20 >=20 > What could be the reason? Thanks and Regards. Asmita=20 -----Original Message----- From: Sebastien Goasguen [mailto:runseb@gmail.com]=20 Sent: 26 March 2013 PM 04:57 To: Asmita Vagyani Subject: Re: CS4 AWS S3 support On Mar 26, 2013, at 7:19 AM, Asmita Vagyani wrote: > There is no bucket created on my NFS mount. > This is not an error specific to S3 browser tool.Even if I use this url i= n the IE browser, it gives 400-Bad request error. >=20 > When I give url as=20 > http://torvm-cloudstack-mgmt.sigmasys.net:7080/awsapi/rest/AmazonS3/te > st2342 > It gives error like : > > NoSuchBucket > The specified bucket does not exist=20 > test2342 1DEADBEEF9=20 > abCdeFgHiJ1k2LmN3op4q56r7st89 > >=20 > This is a normal behavior. Same behavior I should get when I don't pass a= ny name of bucket. >>>>>>>>>>>>>> 1.....Please check if this is a bug in CS4. if you think it's a bug, then please open a bug in jira: https://issues.apa= che.org/jira/browse/CLOUDSTACK >=20 > Now, when I create a bucket using the S3 AWS API on cloudstack I get=20 > error as - OutOfStorageException: Unable to create /s3storage/test123=20 > for bucket test123 Stacktrace is- > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Request header x-amz-date:Tue, 26 Mar 2013=20 > 11:13:42 GMT > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Request header=20 > host:torvm-cloudstack-mgmt.sigmasys.net:7080 > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Request header content-length:0 > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Request header connection:Keep-Alive > 2013-03-26 07:13:47,796 INFO [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) - End of request - > 2013-03-26 07:13:47,800 DEBUG [bridge.service.UserContext] (catalina-exec= -int-22:null) initializing a new [anonymous] UserContext! > 2013-03-26 07:13:47,815 ERROR [bridge.service.S3RestServlet]=20 > (catalina-exec-int-22:null) Unexpected exception Unable to create=20 > /s3storage/test123 for bucket test123 > com.cloud.bridge.service.exception.OutOfStorageException: Unable to creat= e /s3storage/test123 for bucket test123 > at com.cloud.bridge.io.S3FileSystemBucketAdapter.createContainer(S= 3FileSystemBucketAdapter.java:55) > at com.cloud.bridge.service.core.s3.S3Engine.allocBucketStorageHos= t(S3Engine.java:1466) > at com.cloud.bridge.service.core.s3.S3Engine.handleRequest(S3Engin= e.java:210) > at com.cloud.bridge.service.controller.s3.S3BucketAction.executePu= tBucket(S3BucketAction.java:837) > at com.cloud.bridge.service.controller.s3.S3BucketAction.execute(S= 3BucketAction.java:159) > at com.cloud.bridge.service.S3RestServlet.processRequest(S3RestSer= vlet.java:181) > at com.cloud.bridge.service.S3RestServlet.doPut(S3RestServlet.java= :97) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:640) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilte= r(ApplicationFilterChain.java:290) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applic= ationFilterChain.java:206) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWr= apperValve.java:233) > at org.apache.catalina.core.StandardContextValve.invoke(StandardCo= ntextValve.java:191) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostV= alve.java:127) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportV= alve.java:102) > at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve= .java:555) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEng= ineValve.java:109) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapt= er.java:298) > at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioPr= ocessor.java:889) > at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHand= ler.process(Http11NioProtocol.java:721) > at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioE= ndpoint.java:2268) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExe= cutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolEx= ecutor.java:603) > at java.lang.Thread.run(Thread.java:722) >=20 >=20 > What could be the reason? >=20 >=20 >=20 > Thanks and Regards. >=20 > Asmita >=20 >=20 > -----Original Message----- > From: Sebastien Goasguen [mailto:runseb@gmail.com] > Sent: 26 March 2013 PM 04:33 > To: Asmita Vagyani > Subject: Re: CS4 AWS S3 support >=20 >=20 > On Mar 26, 2013, at 6:56 AM, Asmita Vagyani wrote: >=20 >> Hi Sebastien, >>=20 >> Thanks , after giving the FQDN instead of IP address, it works. >> Now, atleast the S3 browser is able to invoke the cloudstack S3 AWS REST= API. >>=20 >> I saw in the documentation >> https://cwiki.apache.org/CLOUDSTACK/s3-api-in-cloudstack.html >> It says to List All Buckets, simply make a call to : >> REST GET request, http://myhost:8080/awsapi/rest/AmazonS3 >>=20 >> However, when I invoke >> http://torvm-cloudstack-mgmt.sigmasys.net:7080/awsapi/rest/AmazonS3 >> I get the 400 Bad request error on browser. >> I get the exception at backend when I checked awsapi.log: >>=20 >=20 > I have never used the S3 browser but it looks like you may have some exis= ting buckets in there that cause the error. >=20 >=20 >> 2013-03-26 06:49:32,080 INFO [bridge.service.S3RestServlet] >> (catalina-exec-int-20:null) Request servletPath: /rest/AmazonS3 >> 2013-03-26 06:49:32,080 INFO [bridge.service.S3RestServlet] >> (catalina-exec-int-20:null) Request header user-agent:S3 Browser3-8-1 >> 2013-03-26 06:49:32,081 INFO [bridge.service.S3RestServlet] >> (catalina-exec-int-20:null) Request header authorization:AWS=20 >> Qh69lnbtbr0H68i_Q7im7eZNhoFYUyHS8eDU9nyL2k3OP0gBGN0gNHfHWeKQo1EZq2r0M >> M ZK-23U9_wF6PMojg:RWAiwif28JxZ/le9mDkQskfPAd8=3D >> 2013-03-26 06:49:32,081 INFO [bridge.service.S3RestServlet] >> (catalina-exec-int-20:null) Request header x-amz-date:Tue, 26 Mar=20 >> 2013 >> 10:49:26 GMT >> 2013-03-26 06:49:32,081 INFO [bridge.service.S3RestServlet] >> (catalina-exec-int-20:null) Request header >> host:torvm-cloudstack-mgmt.sigmasys.net:7080 >> 2013-03-26 06:49:32,081 INFO [bridge.service.S3RestServlet] >> (catalina-exec-int-20:null) - End of request - >> 2013-03-26 06:49:32,093 DEBUG [bridge.service.UserContext] (catalina-exe= c-int-20:null) initializing a new [anonymous] UserContext! >> 2013-03-26 06:49:32,093 ERROR [bridge.service.S3RestServlet] >> (catalina-exec-int-20:null) Unexpected exception is not between 3=20 >> and >> 255 characters long >> com.cloud.bridge.service.exception.InvalidBucketName: is not between 3 = and 255 characters long >> at com.cloud.bridge.service.core.s3.S3Engine.verifyBucketName(S3En= gine.java:1809) >> at com.cloud.bridge.service.S3RestServlet.routeRequest(S3RestServl= et.java:440) >> at com.cloud.bridge.service.S3RestServlet.processRequest(S3RestSer= vlet.java:179) >> at com.cloud.bridge.service.S3RestServlet.doGet(S3RestServlet.java= :84) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilte= r(ApplicationFilterChain.java:290) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applic= ationFilterChain.java:206) >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWr= apperValve.java:233) >> at org.apache.catalina.core.StandardContextValve.invoke(StandardCo= ntextValve.java:191) >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostV= alve.java:127) >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportV= alve.java:102) >> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve= .java:555) >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEng= ineValve.java:109) >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapt= er.java:298) >> at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioPr= ocessor.java:889) >> at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHand= ler.process(Http11NioProtocol.java:721) >> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioE= ndpoint.java:2268) >> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExe= cutor.java:1110) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolEx= ecutor.java:603) >> at java.lang.Thread.run(Thread.java:722) >>=20 >> Thanks and Regards. >>=20 >> Asmita >>=20 >> -----Original Message----- >> From: Sebastien Goasguen [mailto:runseb@gmail.com] >> Sent: 26 March 2013 PM 04:06 >> To: Asmita Vagyani >> Subject: Re: CS4 AWS S3 support >>=20 >>=20 >> On Mar 26, 2013, at 6:25 AM, Asmita Vagyani wrote: >>=20 >>> Hi >>> Where do I register the DNS entry I mean do you mean a local DNS entry = or what? >>=20 >> Local entry would do, as long as your "s3 browser" knows how to route to the IP of the endpoint. >>=20 >>>=20 >>> Thanks and Regards. >>>=20 >>> Asmita >>>=20 >>> -----Original Message----- >>> From: Sebastien Goasguen [mailto:runseb@gmail.com] >>> Sent: 26 March 2013 PM 03:34 >>> To: Asmita Vagyani >>> Subject: Re: CS4 AWS S3 support >>>=20 >>>=20 >>> On Mar 26, 2013, at 4:40 AM, Asmita Vagyani wrote: >>>=20 >>>> Hi all, >>>>=20 >>>> 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, whi= ch 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:///awsa= pi/rest/AmazonS3 it doesnot accept it. >>>> It wants the server name as server.com. >>>>=20 >>>=20 >>> Asmita, I woud do two things: >>>=20 >>> 1-Try to use boto like I explained in the slides, that should show you = if the S3 service is working properly or not. >>> 2-If the S3 tools that you are using do not take an IP, then you will n= eed to register a dns entry. >>>=20 >>> note that the S3 support is really a tech preview. >>>=20 >>> -sebastien >>>=20 >>>> Is there any way I can get the S3 webservice endpoint the way these to= ols want. >>>> Is this because Cloudstack is not consistent with the EC2 endpoint. >>>> If yes, when are we planning to make it consistent. >>>>=20 >>>>=20 >>>> Thanks and Regards. >>>>=20 >>>> Asmita >>>>=20 >>>> -----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.or= g'; 'runseb@gmail.com' >>>> Subject: RE: CS4 AWS S3 support >>>>=20 >>>> Am not sure whether s3 browser allows user to configure the settings t= o access the cloudstack s3. >>>> If you can configure the settings the way we configure for boto then w= e can use s3 browser. >>>>=20 >>>> Thanks >>>> Rajesh Battala >>>>=20 >>>>> -----Original Message----- >>>>> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com] >>>>> Sent: Monday, March 25, 2013 7:09 PM >>>>> To: 'users@cloudstack.apache.org';=20 >>>>> 'cloudstack-users@incubator.apache.org'; >>>>> 'runseb@gmail.com' >>>>> Subject: RE: CS4 AWS S3 support >>>>>=20 >>>>> Are there any other clients, non-python based. >>>>> Can I integrate this with S3 browser, such that the S3 browser=20 >>>>> shows me buckets created on the NFS drive mounted using cloud-bridge.= properties? >>>>> User can just upload and download files in S3 browser and=20 >>>>> ultimately on the NFS drive buckets. >>>>>=20 >>>>>=20 >>>>> Thanks and Regards. >>>>>=20 >>>>> Asmita >>>>>=20 >>>>> -----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 >>>>>=20 >>>>> Asmita, >>>>> You can follow this link.=20 >>>>> https://cwiki.apache.org/CLOUDSTACK/s3-api-in- >>>>> cloudstack.html >>>>>=20 >>>>> You can use boto client which is python based to send s3 requests to = CS. >>>>>=20 >>>>> Thanks >>>>> Rajesh Battala >>>>>=20 >>>>>> -----Original Message----- >>>>>> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com] >>>>>> Sent: Monday, March 25, 2013 4:13 PM >>>>>> To: 'users@cloudstack.apache.org';=20 >>>>>> 'cloudstack-users@incubator.apache.org'; >>>>>> 'runseb@gmail.com' >>>>>> Subject: RE: CS4 AWS S3 support >>>>>>=20 >>>>>> Hi, >>>>>>=20 >>>>>> I can see the entry of keys in the usercredential table in CS4 DB. >>>>>> When I access http:///awsapi link I get the servlet excep= tion : >>>>>>=20 >>>>>> java.lang.RuntimeException: javax.servlet.ServletException:=20 >>>>>> Servlet execution threw an exception >>>>>> =09 >>>>>> com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServle >>>>>> t >>>>>> .java:104) >>>>>> =09 >>>>>> com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java: >>>>>> 7 >>>>>> 3) >>>>>>=20 >>>>>> How can I run S3 requests? any links to documentation would be helpf= ul. >>>>>>=20 >>>>>> Thanks and Regards. >>>>>>=20 >>>>>> Asmita >>>>>>=20 >>>>>>=20 >>>>>> -----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 >>>>>>=20 >>>>>> Hi Asmita, >>>>>>=20 >>>>>> In the cloudbridge db, usercredentials table has the=20 >>>>>> username/password values present? >>>>>> Generally, for an existing account, generate the apikey/secrect=20 >>>>>> key and register them in awsapi. >>>>>>=20 >>>>>> Were you able to run s3 requests.? Is awsap is running at 7080 port= ? >>>>>>=20 >>>>>> Thanks >>>>>> Rajesh Battala >>>>>>=20 >>>>>>=20 >>>>>>> -----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 >>>>>>>=20 >>>>>>> Hi all, >>>>>>>=20 >>>>>>> I am trying to do following to have an implementation of S3 in=20 >>>>>>> our >>>>> application. >>>>>>> Followed steps given in: >>>>>>> http://www.slideshare.net/sebastiengoasguen/cloudstack-s3 >>>>>>>=20 >>>>>>>=20 >>>>>>> 1) I have enabled S3 support and EC2 support flag in the CS4 g= lobal >>>>>> variables. >>>>>>>=20 >>>>>>> 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=20 >>>>>>> this >>>>>>> drive) >>>>>>>=20 >>>>>>> 3) I have configured the cloud-bridge.properties appropriately >>>>>>>=20 >>>>>>> host=3Dhttp://localhost:7080/awsapi >>>>>>>=20 >>>>>>> storage.root=3D/s3storage >>>>>>>=20 >>>>>>> storage.multipartDir=3D__multipart__uploads__ >>>>>>>=20 >>>>>>> bucket.dns=3Dfalse >>>>>>>=20 >>>>>>> serviceEndpoint=3Dlocalhost:7080 >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> 4) I made up a user account into CS4 client console, generated= the API key >>>>>>> and the Secret key. >>>>>>>=20 >>>>>>> 5) I have registered the user by using cloudstack-aws-api-regi= ster (refer - >>>>>>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.1- >>>>>>> incubating/html/Installation_Guide/aws-ec2-user-setup.html ) >>>>>>>=20 >>>>>>> 6) I have downloaded the S3 browser. >>>>>>>=20 >>>>>>> 7) I am trying to make an account with the same user API key a= nd Secret >>>>> key >>>>>>> which we create on Cloudstack. >>>>>>>=20 >>>>>>> While creating an account it says - InvalidAccesskeyId >>>>>>>=20 >>>>>>> Any hints if I am missing some step here? >>>>>>>=20 >>>>>>> Thanks and Regards. >>>>>>>=20 >>>>>>> Asmita Patil Vagyani. >>>>>>>=20 >>>>>>> Tech Lead, Sigma Software Solutions, Pune, >>>>>>>=20 >>>>>>> T: +91-20-25661992 / 93 / 94. Extn. : 286 >>>>>>=20 >>>>>>=20 >>>>>=20 >>>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>=20 >>>=20 >>>=20 >>=20 >>=20 >>=20 >=20 >=20 >=20