[Openstack] ec2 vs. openstack api question

Masanori ITOH masanori.itoh at gmail.com
Tue Apr 26 00:25:51 UTC 2011


Hi,

From: Jon Slenk <jslenk at internap.com>
Subject: Re: [Openstack] ec2 vs. openstack api question
Date: Mon, 25 Apr 2011 16:48:30 -0700

> On Mon, Apr 25, 2011 at 4:34 PM, Joshua McKenty <josh at pistoncc.com> wrote:
> > Can you give us the actual command you're running?
> 
> curl localhost:8773/
> works, lists the versions.
> 
> curl localhost:8773/1.0
> python barf with "No floating ip"

The following two examples are because of lack of Authentication tokens
as your guess.

> curl localhost:8773/services/Cloud
> 400 Bad Request
> 
> curl localhost:8773/services/Cloud?Action=DescribeImages
> 400 Bad Request
> (guessing i have to do some auth headers or signature for the last one
> to succeed? i'm trying to read boto to learn.)

BTW, do you really need to use curl instead of euca2ools, boto,...?

Regards,
Masanori

> thanks,
> -Jon.
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 




More information about the Openstack mailing list