Glance is a component of OpenStack that allows you to manage virtual machine images.
To install glance, follow these steps:
# emerge glance # rc-update add glance-api default # rc
This will start glance-registry, the actual repository service, as well as glance-api, which allows remote access to the repository via the Glance API.
To see if you can properly connect to the Glance API, use the glance index command, which should show an index of virtual machine images currently being stored. Since this is a brand-new install, this list should be empty:
# glance index #