Chapter 13. Image Storage (glance) Parameters
Chapter 13. Image Storage (glance) Parameters You can modify the glance service with image service parameters. Parameter Description CephClusterName The Ceph cluster name. The default value is ceph . CephConfigPath The path where the Ceph Cluster configuration files are stored on the host. The default value is /var/lib/tripleo-config/ceph . EnableSQLAlchemyCollectd Set to true to enable the SQLAlchemy-collectd server plugin. The default value is false . EnforceSecureRbac Setting this option to True will configure each OpenStack service to enforce Secure RBAC by setting [oslo_policy] enforce_new_defaults and [oslo_policy] enforce_scope to True. This introduces a consistent set of RBAC personas across OpenStack services that include support for system and project scope, as well as keystone's default roles, admin, member, and reader. Do not enable this functionality until all services in your deployment actually support secure RBAC. The default value is false . GlanceApiOptVolumes List of optional volumes to be mounted. GlanceBackend The short name of the OpenStack Image Storage (glance) backend to use. Should be one of swift, rbd, cinder, or file. The default value is swift . GlanceBackendID The default backend's identifier. The default value is default_backend . GlanceCacheEnabled Enable OpenStack Image Storage (glance) Image Cache. The default value is False . GlanceCinderMountPointBase The mount point base when glance is using cinder as store and cinder backend is NFS. This mount point is where the NFS volume is mounted on the glance node. The default value is /var/lib/glance/mnt . GlanceCinderVolumeType A unique volume type required for each cinder store while configuring multiple cinder stores as glance backends. The same volume types must be configured in OpenStack Block Storage (cinder) as well. The volume type must exist in cinder prior to any attempt to add an image in the associated cinder store. If no volume type is specified then cinder's default volume type will be used. GlanceCronDbPurgeAge Cron to purge database entries marked as deleted and older than USDage - Age. The default value is 30 . GlanceCronDbPurgeDestination Cron to purge database entries marked as deleted and older than USDage - Log destination. The default value is /var/log/glance/glance-rowsflush.log . GlanceCronDbPurgeHour Cron to purge database entries marked as deleted and older than USDage - Hour. The default value is 0 . GlanceCronDbPurgeMaxDelay Cron to purge database entries marked as deleted and older than USDage - Max Delay. The default value is 3600 . GlanceCronDbPurgeMaxRows Cron to purge database entries marked as deleted and older than USDage - Max Rows. The default value is 100 . GlanceCronDbPurgeMinute Cron to purge database entries marked as deleted and older than USDage - Minute. The default value is 1 . GlanceCronDbPurgeMonth Cron to purge database entries marked as deleted and older than USDage - Month. The default value is * . GlanceCronDbPurgeMonthday Cron to purge database entries marked as deleted and older than USDage - Month Day. The default value is * . GlanceCronDbPurgeUser Cron to purge database entries marked as deleted and older than USDage - User. The default value is glance . GlanceCronDbPurgeWeekday Cron to purge database entries marked as deleted and older than USDage - Week Day. The default value is * . GlanceDiskFormats List of allowed disk formats in Glance; all formats are allowed when left unset. GlanceEnabledImportMethods List of enabled Image Import Methods. Valid values in the list are glance-direct , web-download , or copy-image . The default value is web-download . GlanceIgnoreUserRoles List of user roles to be ignored for injecting image metadata properties. The default value is admin . GlanceImageCacheDir Base directory that the Image Cache uses. The default value is /var/lib/glance/image-cache . GlanceImageCacheMaxSize The upper limit on cache size, in bytes, after which the cache-pruner cleans up the image cache. The default value is 10737418240 . GlanceImageCacheStallTime The amount of time, in seconds, to let an image remain in the cache without being accessed. The default value is 86400 . GlanceImageConversionOutputFormat Desired output format for image conversion plugin. The default value is raw . GlanceImageImportPlugins List of enabled Image Import Plugins. Valid values in the list are image_conversion , inject_metadata , no_op . The default value is ['no_op'] . GlanceImageMemberQuota Maximum number of image members per image. Negative values evaluate to unlimited. The default value is 128 . GlanceImagePrefetcherInterval The interval in seconds to run periodic job cache_images. The default value is 300 . GlanceInjectMetadataProperties Metadata properties to be injected in image. GlanceLogFile The filepath of the file to use for logging messages from OpenStack Image Storage (glance). GlanceMultistoreConfig Dictionary of settings when configuring additional glance backends. The hash key is the backend ID, and the value is a dictionary of parameter values unique to that backend. Multiple rbd and cinder backends are allowed, but file and swift backends are limited to one each. Example: # Default glance store is rbd. GlanceBackend: rbd GlanceStoreDescription: Default rbd store # GlanceMultistoreConfig specifies a second rbd backend, plus a cinder # backend. GlanceMultistoreConfig: rbd2_store: GlanceBackend: rbd GlanceStoreDescription: Second rbd store CephClusterName: ceph2 # Override CephClientUserName if this cluster uses a different # client name. CephClientUserName: client2 cinder1_store: GlanceBackend: cinder GlanceCinderVolumeType: volume-type-1 GlanceStoreDescription: First cinder store cinder2_store: GlanceBackend: cinder GlanceCinderVolumeType: volume-type-2 GlanceStoreDescription: Seconde cinder store . GlanceNetappNfsEnabled When using GlanceBackend: file , Netapp mounts NFS share for image storage. The default value is false . GlanceNfsEnabled When using GlanceBackend: file , mount NFS share for image storage. The default value is false . GlanceNfsOptions NFS mount options for image storage when GlanceNfsEnabled is true. The default value is _netdev,bg,intr,context=system_u:object_r:container_file_t:s0 . GlanceNfsShare NFS share to mount for image storage when GlanceNfsEnabled is true. GlanceNodeStagingUri URI that specifies the staging location to use when importing images. The default value is file:///var/lib/glance/staging . GlanceNotifierStrategy Strategy to use for OpenStack Image Storage (glance) notification queue. The default value is noop . GlancePassword The password for the image storage service and database account. GlanceShowMultipleLocations Whether to show multiple image locations e.g for copy-on-write support on RBD or Netapp backends. Potential security risk, see glance.conf for more information. The default value is false . GlanceSparseUploadEnabled When using GlanceBackend file and rbd to enable or not sparse upload. The default value is false . GlanceStagingNfsOptions NFS mount options for NFS image import staging. The default value is _netdev,bg,intr,context=system_u:object_r:container_file_t:s0 . GlanceStagingNfsShare NFS share to mount for image import staging. GlanceStoreDescription User facing description for the OpenStack Image Storage (glance) backend. The default value is Default glance store backend. . GlanceWorkers Set the number of workers for the image storage service. Note that more workers creates a larger number of processes on systems, which results in excess memory consumption. It is recommended to choose a suitable non-default value on systems with high CPU core counts. 0 sets to the OpenStack internal default, which is equal to the number of CPU cores on the node. MemcacheUseAdvancedPool Use the advanced (eventlet safe) memcached client pool. The default value is true . MultipathdEnable Whether to enable the multipath daemon. The default value is false . NetappShareLocation Netapp share to mount for image storage (when GlanceNetappNfsEnabled is true). NotificationDriver Driver or drivers to handle sending notifications. The default value is noop .