Register an image

Asked by Raphael.G

Why is it sometimes enough to untar the package obtained for an image (example : nova.sh calls just a tar -xzvf tty.tgz and a copy in $NOVA_DIR/images) and sometimes necessary to do the "heavy" process of publishing it through the uec-publish-tarball command ? What is already preprocessed in the first case ?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Everett Toews
Solved:
Last query:
Last reply:
Revision history for this message
Best Everett Toews (everett-toews) said :
#1

If you're just running Nova (not Swift or Glance) it will use
nova-objectstore to store the images in $NOVA_DIR/images. It's my
understanding that nova-objectstore just looks in the directory to report
what images are available. In particular it's looking at the info.json
files. Try changing some of the values in those files and rerun
euca-describe-images to see what I mean.

uec-publish-tarball just puts those the image files into the
$NOVA_DIR/images via the EC2 API.

Everett

Revision history for this message
Raphael.G (raphael-g) said :
#2

Thanks Everett Toews, that solved my question.