On Aug 7, 2012, at 9:12 AM, Prachi Damle wrote: >>> Prasanna, that's also what I am trying to understand. I am working through >>> issues with Devcloud to properly deploy awsapi and test even the SOAP >>> interface. > > What issues do you face with deploying awsapi/calling the SOAP interface?
I got SOAP calls working. As you said you need to have a service offering that matches the AWS offerings (m1.small etc..), there is no registration of mapping anymore. my quick boto script also worked, but this is not over https. region = boto.ec2.regioninfo.RegionInfo(name="ROOT",endpoint="localhost") def main(): '''Establish connection to EC2 cloud''' conn =boto.connect_ec2(aws_access_key_id=apikey, aws_secret_access_key=secretkey, is_secure=False, region=region, port=8080, path="/awsapi", api_version="2010-11-15") '''Get list of images that I own''' images = conn.get_all_images() print images myimage = images[0] '''Pick an instance type''' vm_type='m1.small' reservation = myimage.run(instance_type=vm_type,security_groups=['default']) if __name__ == '__main__': main() I am now following the instructions for S3 at: http://wiki.cloudstack.org/pages/viewpage.action?pageId=7831557 The endpoint is different, conn.get_all_buckets() returns but when I try to create a bucket with conn.create_bucket('foobar'), I get a 'bad request" message and no logs via redbug. All of this via Devcloud and a fresh build. -sebastien > > -Prachi > -----Original Message----- > From: sebgoa [mailto:run...@gmail.com] > Sent: Tuesday, August 07, 2012 6:04 AM > To: cloudstack-dev@incubator.apache.org > Subject: Re: cloudbridge from master > > > On Aug 7, 2012, at 8:49 AM, Prasanna Santhanam wrote: > >> On Mon, Aug 06, 2012 at 01:36:03PM -0400, Prachi Damle wrote: >>> Query API is not tested in the current integrated version of awsapi. >>> I think there are issues with the REST authentication. >> >>> SOAP API has been fully integrated and test and it works with the >>> EC2 command line tools. >> >> Prachi - trying to understand what you mean by "not tested". Does the >> feature exist to send query APIs to the endpoint? >> >> From what I tried using boto the query string is interpreted as null >> and the call doesn't go through. I was going to try with couple other >> frameworks that support query but wanted confirmation that support >> indeed exists in CloudStack on master. >> > > Prasanna, that's also what I am trying to understand. I am working through > issues with Devcloud to properly deploy awsapi and test even the SOAP > interface. > From what I can gather right now, the REST api does not work, as you say, the > requests don't even seem to go through. > > -sebastien > > > >> -- >> Prasanna., >> >> >>> >>>>> However the service offering registration does not produce anything >>>>> and the query api using boto fails. >>> >>> You don't have to do the service registration step anymore. You >>> should create new service offerings matching AWZ offering names in CS >>> UI. >>> >>> -Prachi >>> >>> >>> -----Original Message----- >>> From: Prasanna Santhanam [mailto:prasanna.santha...@citrix.com] >>> Sent: Monday, August 06, 2012 6:13 AM >>> To: cloudstack-dev@incubator.apache.org >>> Subject: Re: cloudbridge from master >>> >>> On Mon, Aug 06, 2012 at 08:46:39AM -0400, sebgoa wrote: >>>> Hi Likitha, >>>> >>>> I am referring to the deployment of cloudbridge within the CS >>>> management server. I believe that's how it's supposed to be now, as >>>> opposed to a separate installation like in the current binary release. >>>> >>>> Specifically, if you checkout the current master from git, and >>>> build-all, I understand that both the mgt server and the awsapi >>>> server are supposed to run. With the awsapi endpoint being >>>> http://<host>:8080/awsapi >>>> >>>> -Sebastien >>> >>> I haven't succeeded in making boto connect to it either. Could you try the >>> EC2 cmd line tools and see if that works? >>> >>> Also, Is there anything extra required to be changed in CloudStack to have >>> it accept the query api? >>> >>>> >>>> On Aug 6, 2012, at 8:08 AM, Likitha Shetty wrote: >>>> >>>>> Hi Sebastien, >>>>> >>>>> Are you referring to the deployment of cloudbridge as a separate >>>>> setup ? Because I have been able to successfully run the ec2 >>>>> commands against CloudStack(integrated codebase) using the ec2-api >>>>> tools. >>>>> >>>>> Thank you, >>>>> Likitha >>>>> >>>>> -----Original Message----- >>>>> From: sebgoa [mailto:run...@gmail.com] >>>>> Sent: Monday, August 06, 2012 3:32 PM >>>>> To: cloudstack-dev@incubator.apache.org >>>>> Subject: cloudbridge from master >>>>> >>>>> Hi all, >>>>> >>>>> I am wondering if anyone has had success deploying and *using* >>>>> cloudbridge from the master branch.. >>>>> >>>>> I did a ant build-all and a ant rdeploy to devcloud, the database >>>>> gets created, I can register the user and cert as documented in >>>>> http://support.citrix.com/servlet/KbServlet/download/31038-102-6846 >>>>> 4 6/CloudPlatform3.0.3_3.0.4InstallGuide.pdf >>>>> and in previous cloudbridge install. >>>>> >>>>> However the service offering registration does not produce anything >>>>> and the query api using boto fails. >>>>> >>>>> All of that with nothing in awsapi.log to get a clue with what's >>>>> wrong. >>>>> >>>>> >>>>> -Sebastien Goasguen >>>>> Apache Cloudstack Evangelist, EMEA >>>> >>>> -Sebastien Goasguen >>>> Apache Cloudstack Evangelist, EMEA >>>> >>>> >>> >>> -- >>> Prasanna., >> > > -Sebastien Goasguen > Apache Cloudstack Evangelist, EMEA > > > -Sebastien Goasguen Apache Cloudstack Evangelist, EMEA