The glance module is a part of OpenStack, an effort by the OpenStack infrastructure team to provide continuous integration testing and code review for OpenStack and OpenStack community projects as part of the core software. The module its self is used to flexibly configure and manage the image service for OpenStack.
Module Description
The glance module is a thorough attempt to make Puppet capable of managing the entirety of glance. This includes manifests to provision such things as keystone endpoints, RPC configurations specific to glance, and database connections. Types are shipped as part of the glance module to assist in manipulation of configuration files.
This module is tested in combination with other modules needed to build and leverage an entire OpenStack software stack.
To utilize the glance module’s functionality you will need to declare multiple resources. This is not an exhaustive list of all the components needed, we recommend you consult and understand the core openstack documentation.
Team and repository tags
glance
Table of Contents
Overview
The glance module is a part of OpenStack, an effort by the OpenStack infrastructure team to provide continuous integration testing and code review for OpenStack and OpenStack community projects as part of the core software. The module its self is used to flexibly configure and manage the image service for OpenStack.
Module Description
The glance module is a thorough attempt to make Puppet capable of managing the entirety of glance. This includes manifests to provision such things as keystone endpoints, RPC configurations specific to glance, and database connections. Types are shipped as part of the glance module to assist in manipulation of configuration files.
This module is tested in combination with other modules needed to build and leverage an entire OpenStack software stack.
Setup
What the glance module affects
Installing glance
Beginning with glance
To utilize the glance module’s functionality you will need to declare multiple resources. This is not an exhaustive list of all the components needed, we recommend you consult and understand the core openstack documentation.
Define a glance node
Setup postgres node glance
Setup mysql node for glance
Setup up keystone endpoints for glance on keystone node
Setup up notifications for multiple RabbitMQ nodes
Types
glance_api_config
The
glance_api_configprovider is a children of the ini_setting provider. It allows one to write an entry in the/etc/glance/glance-api.conffile.This will write
image_cache_dir=/var/lib/glance/image-cachein the[DEFAULT]section.name
Section/setting name to manage from
glance-api.confvalue
The value of the setting to be defined.
secret
Whether to hide the value from Puppet logs. Defaults to
false.ensure_absent_val
If value is equal to ensure_absent_val then the resource will behave as if
ensure => absentwas specified. Defaults to<SERVICE DEFAULT>glance_cache_config
The
glance_cache_configprovider is a children of the ini_setting provider. It allows one to write an entry in the/etc/glance/glance-cache.conffile.This will write
image_cache_stall_time=86400in the[DEFAULT]section.name
Section/setting name to manage from
glance-cache.confvalue
The value of the setting to be defined.
secret
Whether to hide the value from Puppet logs. Defaults to
false.ensure_absent_val
If value is equal to ensure_absent_val then the resource will behave as if
ensure => absentwas specified. Defaults to<SERVICE DEFAULT>Implementation
glance
glance is a combination of Puppet manifest and ruby code to deliver configuration and extra functionality through types and providers.
Limitations
Development
Developer documentation for the entire puppet-openstack project.
Release Notes
Contributors
Repository