← Back to team overview

openstack team mailing list archive

Re: euca-describe-images help?

 

Hi Fred,

The image format for the old S3 image service (local image store) changed a bit in Cactus. I believe there is a 'nova-manage image convert' command you can use to convert the old naming scheme to the Cactus image store format.

Or like Todd pointed out below you can also manually do the conversion yourself.

Hope this helps.

Dan

-----Original Message-----
From: "Todd Willey" <todd@xxxxxxxxxxxx>
Sent: Monday, May 9, 2011 7:32pm
To: "Yang, Fred" <fred.yang@xxxxxxxxx>
Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Openstack] euca-describe-images help?

Looks like the directories need to be named base 16.  See
nova/images/local.py line 60 (in trunk).


On Mon, May 9, 2011 at 6:34 PM, Yang, Fred <fred.yang@xxxxxxxxx> wrote:
> Hi,
>
>
>
> I am installing nova from the latest source trunk following
> http://wiki.openstack.org/InstallFromSource as a newbie and is having
> euca-describe-images issue, can someone enlighten me?  The environment is
> single node installation with Ubuntu 10.10
>
>
>
> fred@stocky1:~/openstack/nova$ ls -R images
>
> images:
>
> aki-lucid  ami-tiny  ari-lucid
>
>
>
> images/aki-lucid:
>
> image  info.json
>
>
>
> images/ami-tiny:
>
> image  info.json
>
>
>
> images/ari-lucid:
>
> image  info.json
>
>
>
> fred@stocky1:~/openstack/nova$ euca-describe-images
>
>
>
> where the ./bin/nova-api window gets following messages
>
> 2011-05-09 15:04:04,437 DEBUG nova.api [-] action: DescribeImages from
> (pid=15607) __call__ /home/fred/openstack/nova/nova/api/ec2/__init__.py:214
>
> 2011-05-09 15:04:04,437 DEBUG nova.api [-] arg: ExecutableBy.1
> val: self from (pid=15607) __call__
> /home/fred/openstack/nova/nova/api/ec2/__init__.py:216
>
> 2011-05-09 15:04:04,440 ERROR nova.image.local [-] aki-lucid is not in
> correct directory naming format
>
> 2011-05-09 15:04:04,440 ERROR nova.image.local [-] ami-tiny is not in
> correct directory naming format
>
> 2011-05-09 15:04:04,441 ERROR nova.image.local [-] ari-lucid is not in
> correct directory naming format
>
> 2011-05-09 15:04:04,441 DEBUG nova.api.request [-] <?xml version="1.0"
> ?><DescribeImagesResponse
> xmlns="http://ec2.amazonaws.com/doc/2009-11-30/";><requestId>4WE2DMZ2ZNE4D7BSSYD5</requestId><imagesSet/></DescribeImagesResponse>
> from (pid=15607) _render_response
> /home/fred/openstack/nova/nova/api/ec2/apirequest.py:171
>
> 2011-05-09 15:04:04,441 INFO nova.api [4WE2DMZ2ZNE4D7BSSYD5 fredy Ras]
> 0.28957s 192.168.0.14 GET /services/Cloud/ CloudController:DescribeImages
> 200 [Boto/1.9b (linux2)] text/plain text/xml
>
>
>
> Is the images path incorrect?  I have also tried execute command by step
> into ~/images
>
>
>
> Thanks,
>
> -Fred
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




References