where "euca-describe-images" gets the AMI name from ?

asked 2011-08-25 03:54:11 -0500

cloudbuilders-n gravatar image

Sorry to bother about this but, we are using glance to add "private" images for them not to show on euca-describe-images but being able to use it, so we tried this.

#1 made a glance add to add a public image #2 made euca-describe-images and write down the AMI code #3 Made the image private from glance #4 ran euca-run-instances whit the previous ami name and it worked

So, since the ami is private, and not shown by euca-describe-images, but you know beforehand the ami name, it works like a charm. The thing is, we want to add the image to glance as private from the beginning, but, we cant find where to get the "AMI name" from, not "glance index" "glance show" "nova image-list" so the question is, where euca-describe-images gets the ami name from ?

  • its calculated ?
  • its a hash ?
  • its writen somewere ?

We want to know the AMI name to create instances, but let the image private.

Thanks in advance !

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-08-27 19:26:05 -0500

cloudbuilders-n gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more
0

answered 2011-08-25 06:51:54 -0500

vishvananda gravatar image

private images are almost working properly. There is a bug about this issue, so it should be fixed by diablo release. The images should show up if you are using the same tenant as you registered the private image with. The name in nova is ami-XXXXXXXX where the XXXXXXXX is the eight character hex representation of the glance image id. So if it is image id 37 it will be ami-00000025

The relevant bug is here:

https://bugs.launchpad.net/nova/+bug/...

On Aug 24, 2011, at 8:55 PM, Mercadolibre CloudBuilders wrote:

New question #169123 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

Sorry to bother about this but, we are using glance to add "private" images for them not to show on euca-describe-images but being able to use it, so we tried this.

#1 made a glance add to add a public image #2 made euca-describe-images and write down the AMI code #3 Made the image private from glance #4 ran euca-run-instances whit the previous ami name and it worked

So, since the ami is private, and not shown by euca-describe-images, but you know beforehand the ami name, it works like a charm. The thing is, we want to add the image to glance as private from the beginning, but, we cant find where to get the "AMI name" from, not "glance index" "glance show" "nova image-list" so the question is, where euca-describe-images gets the ami name from ?

  • its calculated ?
  • its a hash ?
  • its writen somewere ?

We want to know the AMI name to create instances, but let the image private.

Thanks in advance !


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-08-25 03:54:11 -0500

Seen: 35 times

Last updated: Aug 27 '11