bd5e5bbb64
The previous method of using the API image for a data container worked, but resulted in more data being bindmounted and copied into the system. This patch resolves that by essentially using a distro-type as a FROM in a Dockerfile to generate distro-type-data. Further all of the data containers used throughout ansible are modified to use this new data container. Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5 Partially-Implements: blueprint one-data-container
49 lines
2.2 KiB
YAML
49 lines
2.2 KiB
YAML
---
|
|
project_name: "cinder"
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
cinder_database_name: "cinder"
|
|
cinder_database_user: "cinder"
|
|
cinder_database_address: "{{ kolla_internal_address }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
cinder_volume_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-cinder-volume"
|
|
cinder_volume_tag: "{{ openstack_release }}"
|
|
cinder_volume_image_full: "{{ cinder_volume_image }}:{{ cinder_volume_tag }}"
|
|
|
|
cinder_scheduler_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-cinder-scheduler"
|
|
cinder_scheduler_tag: "{{ openstack_release }}"
|
|
cinder_scheduler_image_full: "{{ cinder_scheduler_image }}:{{ cinder_scheduler_tag }}"
|
|
|
|
cinder_backup_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-cinder-backup"
|
|
cinder_backup_tag: "{{ openstack_release }}"
|
|
cinder_backup_image_full: "{{ cinder_backup_image }}:{{ cinder_backup_tag }}"
|
|
|
|
cinder_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-cinder-api"
|
|
cinder_api_tag: "{{ openstack_release }}"
|
|
cinder_api_image_full: "{{ cinder_api_image }}:{{ cinder_api_tag }}"
|
|
|
|
cinder_data_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-data"
|
|
cinder_data_image_tag: "{{ openstack_release }}"
|
|
cinder_data_image_full: "{{ cinder_data_image }}:{{ cinder_data_image_tag }}"
|
|
|
|
|
|
####################
|
|
# Openstack
|
|
####################
|
|
cinder_public_address: "{{ kolla_external_address }}"
|
|
cinder_admin_address: "{{ kolla_internal_address }}"
|
|
cinder_internal_address: "{{ kolla_internal_address }}"
|
|
|
|
cinder_logging_verbose: "{{ openstack_logging_verbose }}"
|
|
cinder_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
cinder_keystone_user: "cinder"
|
|
|
|
openstack_cinder_auth: "{'auth_url':'{{ openstack_auth_v2.auth_url }}','username':'{{ openstack_auth_v2.username }}','password':'{{ openstack_auth_v2.password }}','project_name':'{{ openstack_auth_v2.project_name }}'}"
|