8155d74d8d
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com> Change-Id: I9a4a6b6523dee4b388513386b7d85d421f2b7b89
71 lines
2.4 KiB
YAML
71 lines
2.4 KiB
YAML
---
|
|
project_name: "glance"
|
|
|
|
glance_services:
|
|
glance-api:
|
|
container_name: glance_api
|
|
group: glance-api
|
|
enabled: true
|
|
image: "{{ glance_api_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "glance:/var/lib/glance/"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
glance-registry:
|
|
container_name: glance_registry
|
|
group: glance-registry
|
|
enabled: true
|
|
image: "{{ glance_registry_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/glance-registry/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Ceph
|
|
####################
|
|
ceph_glance_pool_type: "{{ ceph_pool_type }}"
|
|
ceph_glance_cache_mode: "{{ ceph_cache_mode }}"
|
|
|
|
# Due to Ansible issues on include, you cannot override these variables. Please
|
|
# override the variables they reference instead.
|
|
glance_pool_name: "{{ ceph_glance_pool_name }}"
|
|
glance_pool_type: "{{ ceph_glance_pool_type }}"
|
|
glance_cache_mode: "{{ ceph_glance_cache_mode }}"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
glance_database_name: "glance"
|
|
glance_database_user: "glance"
|
|
glance_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
glance_registry_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-glance-registry"
|
|
glance_registry_tag: "{{ openstack_release }}"
|
|
glance_registry_image_full: "{{ glance_registry_image }}:{{ glance_registry_tag }}"
|
|
|
|
glance_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-glance-api"
|
|
glance_api_tag: "{{ openstack_release }}"
|
|
glance_api_image_full: "{{ glance_api_image }}:{{ glance_api_tag }}"
|
|
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
glance_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ glance_api_port }}"
|
|
glance_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ glance_api_port }}"
|
|
glance_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ glance_api_port }}"
|
|
|
|
glance_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
glance_keystone_user: "glance"
|
|
|
|
openstack_glance_auth: "{{ openstack_auth }}"
|