Mixing binary and source images for S* projects
In case Kolla's users want to deploy with both of binary and source image, we should have a variable install type that define install type for each project. We also add specific image tag for each Openstack project. This commit is implemented for Sahara, Searchlight, Senlin, Solum and Swift projects. Change-Id: I964796b2f9e3eae69d7eccf68e9428ce9390010c Implements: blueprint mixing-binary-and-source-image
This commit is contained in:
parent
62972a6c8e
commit
74242ee904
@ -37,12 +37,15 @@ sahara_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"
|
|||||||
####################
|
####################
|
||||||
# Docker
|
# Docker
|
||||||
####################
|
####################
|
||||||
sahara_engine_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-sahara-engine"
|
sahara_install_type: "{{ kolla_install_type }}"
|
||||||
sahara_engine_tag: "{{ openstack_release }}"
|
sahara_tag: "{{ openstack_release }}"
|
||||||
|
|
||||||
|
sahara_engine_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ sahara_install_type }}-sahara-engine"
|
||||||
|
sahara_engine_tag: "{{ sahara_tag }}"
|
||||||
sahara_engine_image_full: "{{ sahara_engine_image }}:{{ sahara_engine_tag }}"
|
sahara_engine_image_full: "{{ sahara_engine_image }}:{{ sahara_engine_tag }}"
|
||||||
|
|
||||||
sahara_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-sahara-api"
|
sahara_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ sahara_install_type }}-sahara-api"
|
||||||
sahara_api_tag: "{{ openstack_release }}"
|
sahara_api_tag: "{{ sahara_tag }}"
|
||||||
sahara_api_image_full: "{{ sahara_api_image }}:{{ sahara_api_tag }}"
|
sahara_api_image_full: "{{ sahara_api_image }}:{{ sahara_api_tag }}"
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,12 +29,15 @@ searchlight_elasticsearch_url: "{{ kolla_internal_fqdn }}:{{ elasticsearch_port
|
|||||||
####################
|
####################
|
||||||
# Docker
|
# Docker
|
||||||
####################
|
####################
|
||||||
searchlight_listener_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-searchlight-listener"
|
searchlight_install_type: "{{ kolla_install_type }}"
|
||||||
searchlight_listener_tag: "{{ openstack_release }}"
|
searchlight_tag: "{{ openstack_release }}"
|
||||||
|
|
||||||
|
searchlight_listener_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ searchlight_install_type }}-searchlight-listener"
|
||||||
|
searchlight_listener_tag: "{{ searchlight_tag }}"
|
||||||
searchlight_listener_image_full: "{{ searchlight_listener_image }}:{{ searchlight_listener_tag }}"
|
searchlight_listener_image_full: "{{ searchlight_listener_image }}:{{ searchlight_listener_tag }}"
|
||||||
|
|
||||||
searchlight_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-searchlight-api"
|
searchlight_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ searchlight_install_type }}-searchlight-api"
|
||||||
searchlight_api_tag: "{{ openstack_release }}"
|
searchlight_api_tag: "{{ searchlight_tag }}"
|
||||||
searchlight_api_image_full: "{{ searchlight_api_image }}:{{ searchlight_api_tag }}"
|
searchlight_api_image_full: "{{ searchlight_api_image }}:{{ searchlight_api_tag }}"
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,12 +32,15 @@ senlin_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"
|
|||||||
####################
|
####################
|
||||||
# Docker
|
# Docker
|
||||||
####################
|
####################
|
||||||
senlin_engine_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-senlin-engine"
|
senlin_install_type: "{{ kolla_install_type }}"
|
||||||
senlin_engine_tag: "{{ openstack_release }}"
|
senlin_tag: "{{ openstack_release }}"
|
||||||
|
|
||||||
|
senlin_engine_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ senlin_install_type }}-senlin-engine"
|
||||||
|
senlin_engine_tag: "{{ senlin_tag }}"
|
||||||
senlin_engine_image_full: "{{ senlin_engine_image }}:{{ senlin_engine_tag }}"
|
senlin_engine_image_full: "{{ senlin_engine_image }}:{{ senlin_engine_tag }}"
|
||||||
|
|
||||||
senlin_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-senlin-api"
|
senlin_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ senlin_install_type }}-senlin-api"
|
||||||
senlin_api_tag: "{{ openstack_release }}"
|
senlin_api_tag: "{{ senlin_tag }}"
|
||||||
senlin_api_image_full: "{{ senlin_api_image }}:{{ senlin_api_tag }}"
|
senlin_api_image_full: "{{ senlin_api_image }}:{{ senlin_api_tag }}"
|
||||||
|
|
||||||
|
|
||||||
|
@ -51,20 +51,23 @@ solum_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"
|
|||||||
####################
|
####################
|
||||||
# Docker
|
# Docker
|
||||||
####################
|
####################
|
||||||
solum_worker_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-solum-worker"
|
solum_install_type: "{{ kolla_install_type }}"
|
||||||
solum_worker_tag: "{{ openstack_release }}"
|
solum_tag: "{{ openstack_release }}"
|
||||||
|
|
||||||
|
solum_worker_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ solum_install_type }}-solum-worker"
|
||||||
|
solum_worker_tag: "{{ solum_tag }}"
|
||||||
solum_worker_image_full: "{{ solum_worker_image }}:{{ solum_worker_tag }}"
|
solum_worker_image_full: "{{ solum_worker_image }}:{{ solum_worker_tag }}"
|
||||||
|
|
||||||
solum_deployer_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-solum-deployer"
|
solum_deployer_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ solum_install_type }}-solum-deployer"
|
||||||
solum_deployer_tag: "{{ openstack_release }}"
|
solum_deployer_tag: "{{ solum_tag }}"
|
||||||
solum_deployer_image_full: "{{ solum_deployer_image }}:{{ solum_deployer_tag }}"
|
solum_deployer_image_full: "{{ solum_deployer_image }}:{{ solum_deployer_tag }}"
|
||||||
|
|
||||||
solum_conductor_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-solum-conductor"
|
solum_conductor_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ solum_install_type }}-solum-conductor"
|
||||||
solum_conductor_tag: "{{ openstack_release }}"
|
solum_conductor_tag: "{{ solum_tag }}"
|
||||||
solum_conductor_image_full: "{{ solum_conductor_image }}:{{ solum_conductor_tag }}"
|
solum_conductor_image_full: "{{ solum_conductor_image }}:{{ solum_conductor_tag }}"
|
||||||
|
|
||||||
solum_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-solum-api"
|
solum_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ solum_install_type }}-solum-api"
|
||||||
solum_api_tag: "{{ openstack_release }}"
|
solum_api_tag: "{{ solum_tag }}"
|
||||||
solum_api_image_full: "{{ solum_api_image }}:{{ solum_api_tag }}"
|
solum_api_image_full: "{{ solum_api_image }}:{{ solum_api_tag }}"
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,28 +4,31 @@ project_name: "swift"
|
|||||||
####################
|
####################
|
||||||
# Docker
|
# Docker
|
||||||
####################
|
####################
|
||||||
swift_proxy_server_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-swift-proxy-server"
|
swift_install_type: "{{ kolla_install_type }}"
|
||||||
swift_proxy_server_tag: "{{ openstack_release }}"
|
swift_tag: "{{ openstack_release }}"
|
||||||
|
|
||||||
|
swift_proxy_server_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ swift_install_type }}-swift-proxy-server"
|
||||||
|
swift_proxy_server_tag: "{{ swift_tag }}"
|
||||||
swift_proxy_server_image_full: "{{ swift_proxy_server_image }}:{{ swift_proxy_server_tag }}"
|
swift_proxy_server_image_full: "{{ swift_proxy_server_image }}:{{ swift_proxy_server_tag }}"
|
||||||
|
|
||||||
swift_account_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-swift-account"
|
swift_account_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ swift_install_type }}-swift-account"
|
||||||
swift_account_tag: "{{ openstack_release }}"
|
swift_account_tag: "{{ swift_tag }}"
|
||||||
swift_account_image_full: "{{ swift_account_image }}:{{ swift_account_tag }}"
|
swift_account_image_full: "{{ swift_account_image }}:{{ swift_account_tag }}"
|
||||||
|
|
||||||
swift_container_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-swift-container"
|
swift_container_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ swift_install_type }}-swift-container"
|
||||||
swift_container_tag: "{{ openstack_release }}"
|
swift_container_tag: "{{ swift_tag }}"
|
||||||
swift_container_image_full: "{{ swift_container_image }}:{{ swift_container_tag }}"
|
swift_container_image_full: "{{ swift_container_image }}:{{ swift_container_tag }}"
|
||||||
|
|
||||||
swift_object_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-swift-object"
|
swift_object_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ swift_install_type }}-swift-object"
|
||||||
swift_object_tag: "{{ openstack_release }}"
|
swift_object_tag: "{{ swift_tag }}"
|
||||||
swift_object_image_full: "{{ swift_object_image }}:{{ swift_object_tag }}"
|
swift_object_image_full: "{{ swift_object_image }}:{{ swift_object_tag }}"
|
||||||
|
|
||||||
swift_object_expirer_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-swift-object-expirer"
|
swift_object_expirer_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ swift_install_type }}-swift-object-expirer"
|
||||||
swift_object_expirer_tag: "{{ openstack_release }}"
|
swift_object_expirer_tag: "{{ swift_tag }}"
|
||||||
swift_object_expirer_image_full: "{{ swift_object_expirer_image }}:{{ swift_object_expirer_tag }}"
|
swift_object_expirer_image_full: "{{ swift_object_expirer_image }}:{{ swift_object_expirer_tag }}"
|
||||||
|
|
||||||
swift_rsyncd_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-swift-rsyncd"
|
swift_rsyncd_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ swift_install_type }}-swift-rsyncd"
|
||||||
swift_rsyncd_tag: "{{ openstack_release }}"
|
swift_rsyncd_tag: "{{ swift_tag }}"
|
||||||
swift_rsyncd_image_full: "{{ swift_rsyncd_image }}:{{ swift_rsyncd_tag }}"
|
swift_rsyncd_image_full: "{{ swift_rsyncd_image }}:{{ swift_rsyncd_tag }}"
|
||||||
|
|
||||||
####################
|
####################
|
||||||
|
Loading…
Reference in New Issue
Block a user