Implement Glance Image service

How to config Glance image service for NOVA

Glance ships with an example configuration file, in its source directory /etc/glance.conf.sample. Feel free to take a look at the settable options there.
Glance uses the Filesystem storage backend by default, and by default, this storage backend writes new images to /var/lib/glance/images. You should either create that directory and ensure the user running Glance has write permissions on that directory, or change the filesystem_store_datadir configuration value to a directory that is writeable.


# Show more verbose log output (sets INFO log level output)
verbose = True

# Show debugging output in logs (sets DEBUG log level output)
debug = False

paste.app_factory = glance.server:app_factory

# Which backend store should Glance use by default is not specified
# in a request to add a new image to Glance? Default: 'file'
# Available choices are 'file', 'swift', and 's3'
default_store = file

# Address to bind the API server
bind_host =

# Port the bind the API server to
bind_port = 9292

# Address to find the registry server
registry_host =

# Port the registry server is listening on
registry_port = 9191

# Log to this file. Make sure you do not set the same log
# file for both the API and registry servers!
log_file = /var/log/glance/api.log

# ============ Filesystem Store Options ========================

# Directory that the Filesystem backend store
# writes image data to
filesystem_store_datadir = /var/lib/glance/images

# ============ Swift Store Options =============================

Depends on what hypervisor you use. For KVM, you will want to set
the following flags in nova.conf:

--glance_port=9292 # Or whatever port you run Glance on (9292 is the

===/etc/nova/nova.conf example===


If you still want to upload UEC image by euca2ool , nova-objectstore should in running status , or uec-publish-tarball command can not communicate with nova 

If using glance api to upload image , you can drop nova-objectstore.


Popular posts from this blog

The method of Web Service HA+LB in OPENSTACK NOVA for private cloud only

OpenStack Swift - Container Sync (New & Old ways)