Before we go over the commands for adding an image to Glance, it is important to understand that Glance does not currently inspect the image files you add to it. In other words, Glance only understands what you tell it, via attributes and custom properties.
If the file extension of the file you upload to Glance ends in
'.vhd', Glance does not know
that the image you are uploading has a disk format of
vhd. You have to
tell Glance that the image
you are uploading has a disk format by using the
disk_format=vhd on the command line (see more
below).
By the same token, Glance does not currently allow you to upload "multi-part" disk images at once. The common operation of bundling a kernel image and ramdisk image into a machine image is not done automagically by Glance.
