omni/glance/README.md
Sanket 9a11c06e3b Add Glance Store Driver for GCE
1. Consists of Glance store Driver and mechanism to discover GCE images
and them to Glance catalog as Glance images
2. Pick up correct Glance flavor in instance spawn
3. Mechanism to populate nova flavors from GCE machine info

Implements: blueprint gce-support
Change-Id: Iab71206b760ed6f516484690030d9ecb6c891e68
Signed-off-by: Sanket <sanket@infracloud.io>
2017-04-19 10:20:11 +05:30

754 B

#Setup

##Prerequesites

  • Working green field OpenStack deployment (code currently based out of stable/liberty)
  • The virtualenv used by glance should have Amazon boto package installed

Components

Glance store driver: Handles glance image endpoint for AWS AMIs

Instructions

  1. Copy the glance_store/_drivers directory to <glance_store_root>/glance_store/_drivers
  2. Update the configuration file -- /etc/glance/glance-api.conf
[glance_store]
 default_store = aws
 stores = aws
 show_multiple_locations = true
[AWS]
 secret_key = <your aws secret access key> 
 access_key = <your aws access key>
 region_name = <was region to use>
  1. Restart the glance-api service
  2. Populate AMI as glance image using helper script.