overmind icon indicating copy to clipboard operation
overmind copied to clipboard

Invalid Image ID

Open charleskaminski opened this issue 14 years ago • 12 comments

Steps to recreate:

  1. Created a new "EC2 US East" provider.
  2. Click on new node
  3. Select the above provider
  4. In name text box type "Test"
  5. Click on "Add new image"
  6. In the "Type an image id" text box type "ami-a6f504cf"
  7. Click the button "Add image"

"Invalid image id" and "this field is required" errors are returned.

charleskaminski avatar Oct 22 '11 23:10 charleskaminski

Can you find the "ami-a6f504cf" image in the combo box? The name should be "ubuntu-images/ubuntu-maverick-10.10-i386-server-20101225"

I know it is difficult to find a name in a list with thousands of entries (that's the reason the id field is there), but it may be another hint

tobami avatar Oct 23 '11 18:10 tobami

The page does not behave like that...There are no list of entries. All the drop downs are empty. I put a screen shot here: http://www.4freeimagehost.com/show.php?i=318a9c69bf74.png

I checked the server logs and see only HTTP 200 codes.

charleskaminski avatar Oct 23 '11 20:10 charleskaminski

Ok, then no wonder you got "invalid image id": it was not added to the EC2 provider.

Normally, when you add a new provider, all images and sizes are cached by Overmind. It seems like this did not happen in your case. Are you using master?

tobami avatar Oct 24 '11 07:10 tobami

Yes. As downloaded from https://github.com/tobami/overmind/zipball/master

charleskaminski avatar Oct 24 '11 12:10 charleskaminski

ok, I'll look into it!

tobami avatar Oct 24 '11 12:10 tobami

Any Luck?

charleskaminski avatar Oct 25 '11 01:10 charleskaminski

Ok, it may not be a bug, just a configuration problem. Overmind 0.1 was pretty easy to setup, but master now uses a job queue with RabbitMQ and celery. What probably happens is that you didn't start celery in the background, and the EC2 provider was created, but not correctly: The images/sizes, etc were not added to the provider.

To improve this situation, I have improved the README. Can you have a look and see if it helps you get Overmind properly running?

Just remove the EC2 provider and try creating it again.

tobami avatar Oct 25 '11 07:10 tobami

No change with the new instructions... Would you try creating a fresh EC2 instance on Amazon, load all of the software (following the installation instructions you've written) and then give it a try yourself?

For me I still get "Invalid image id" and "this field is required" errors.

charleskaminski avatar Oct 26 '11 20:10 charleskaminski

Closing the issue was an accident.... please see the previous post.

charleskaminski avatar Oct 27 '11 00:10 charleskaminski

ok, will check that out starting from the beginning

tobami avatar Oct 27 '11 06:10 tobami

Any luck?

charleskaminski avatar Oct 28 '11 21:10 charleskaminski

Hi, I started from the beginning myself.

I does seem to work for me. The problem is two-fold:

  • When celery is not running you get no feedback that the jobs are not going to be processed
  • For EC2 the list of images is huge, and it make take 20 seconds to import all

So immediately after creating an EC2 provider I see empty drop down menus. After 20 seconds going to "new node" does show all sizes, images, etc.

In the console where you run celery, did you see the import jobs completing?

tobami avatar Nov 06 '11 09:11 tobami