Merge "HA: option to use static pacemaker image name"
This commit is contained in:
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
CinderBackupBackend:
|
||||
default: swift
|
||||
description: The short name of the Cinder Backup backend to use.
|
||||
@@ -81,6 +87,7 @@ parameters:
|
||||
conditions:
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
|
||||
resources:
|
||||
|
||||
@@ -116,7 +123,10 @@ outputs:
|
||||
map_merge:
|
||||
- get_attr: [CinderBackupBase, role_data, config_settings]
|
||||
- tripleo::profile::pacemaker::cinder::backup_bundle::cinder_backup_docker_image: &cinder_backup_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/cinder-backup:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@@ -69,6 +75,7 @@ parameters:
|
||||
conditions:
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
|
||||
resources:
|
||||
|
||||
@@ -103,7 +110,10 @@ outputs:
|
||||
- get_attr: [CinderBase, role_data, config_settings]
|
||||
- tripleo::profile::base::lvm::enable_udev: false
|
||||
tripleo::profile::pacemaker::cinder::volume_bundle::cinder_volume_docker_image: &cinder_volume_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/cinder-volume:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@@ -102,6 +108,7 @@ conditions:
|
||||
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
@@ -142,7 +149,10 @@ outputs:
|
||||
tripleo::profile::pacemaker::database::mysql::ca_file:
|
||||
get_param: InternalTLSCAFile
|
||||
tripleo::profile::pacemaker::database::mysql_bundle::mysql_docker_image: &mysql_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/mariadb:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@@ -82,6 +88,7 @@ conditions:
|
||||
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
is_ipv6:
|
||||
equals:
|
||||
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, RedisNetwork]}]}
|
||||
@@ -120,7 +127,10 @@ outputs:
|
||||
redis::notify_service: false
|
||||
redis::managed_by_cluster_manager: true
|
||||
tripleo::profile::pacemaker::database::redis_bundle::redis_docker_image: &redis_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/redis:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ServiceData:
|
||||
default: {}
|
||||
description: Dictionary packing service data
|
||||
@@ -119,6 +125,7 @@ conditions:
|
||||
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
|
||||
resources:
|
||||
|
||||
@@ -185,7 +192,10 @@ outputs:
|
||||
# disable the use CRL file until we can restart the container when the file expires
|
||||
tripleo::haproxy::crl_file: null
|
||||
tripleo::profile::pacemaker::haproxy_bundle::haproxy_docker_image: &haproxy_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/haproxy:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@@ -64,6 +70,7 @@ parameters:
|
||||
conditions:
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
|
||||
resources:
|
||||
|
||||
@@ -95,7 +102,10 @@ outputs:
|
||||
map_merge:
|
||||
- get_attr: [ManilaShareContainerBase, role_data, config_settings]
|
||||
- tripleo::profile::pacemaker::manila::share_bundle::manila_share_docker_image: &manila_share_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/manila-share:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@@ -96,6 +102,7 @@ conditions:
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
use_external_load_balancer: {equals: [{get_param: EnableLoadBalancer}, false]}
|
||||
|
||||
resources:
|
||||
@@ -132,7 +139,10 @@ outputs:
|
||||
map_merge:
|
||||
- get_attr: [OVNDbsBase, role_data, config_settings]
|
||||
- tripleo::profile::pacemaker::ovn_dbs_bundle::ovn_dbs_docker_image: &ovn_dbs_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/ovn-northd:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@@ -69,6 +75,7 @@ conditions:
|
||||
puppet_debug_enabled: {get_param: ConfigDebug}
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
rabbit_cookie_param_set:
|
||||
not:
|
||||
equals:
|
||||
@@ -109,7 +116,10 @@ outputs:
|
||||
- {get_attr: [RabbitmqBase, role_data, config_settings]}
|
||||
- rabbitmq::service_manage: false
|
||||
tripleo::profile::pacemaker::rabbitmq_bundle::rabbitmq_docker_image: &rabbitmq_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/rabbitmq:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@@ -69,6 +75,7 @@ conditions:
|
||||
puppet_debug_enabled: {get_param: ConfigDebug}
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
rabbit_cookie_param_set:
|
||||
not:
|
||||
equals:
|
||||
@@ -109,7 +116,10 @@ outputs:
|
||||
- get_attr: [RabbitMQServiceBase, role_data, config_settings]
|
||||
- rabbitmq::service_manage: false
|
||||
tripleo::profile::pacemaker::rabbitmq_bundle::rabbitmq_docker_image: &rabbitmq_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/rabbitmq:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
@@ -18,6 +18,12 @@ parameters:
|
||||
set to true, the service uses a floating prefix as
|
||||
well, e.g. 'cluster.common.tag/IMAGENAME:pcmklatest'.
|
||||
type: boolean
|
||||
ClusterFullTag:
|
||||
default: false
|
||||
description: When set to true, the pacemaker service uses a fully
|
||||
constant tag for its container image name, e.g.
|
||||
'cluster.common.tag/SERVICENAME:pcmklatest'.
|
||||
type: boolean
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@@ -69,6 +75,7 @@ conditions:
|
||||
puppet_debug_enabled: {get_param: ConfigDebug}
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
common_tag_enabled: {equals: [{get_param: ClusterCommonTag}, true]}
|
||||
common_tag_full: {equals: [{get_param: ClusterFullTag}, true]}
|
||||
rabbit_cookie_param_set:
|
||||
not:
|
||||
equals:
|
||||
@@ -109,7 +116,10 @@ outputs:
|
||||
- {get_attr: [RabbitmqBase, role_data, config_settings]}
|
||||
- rabbitmq::service_manage: false
|
||||
tripleo::profile::pacemaker::rabbitmq_bundle::rabbitmq_docker_image: &rabbitmq_image_pcmklatest
|
||||
yaql:
|
||||
if:
|
||||
- common_tag_full
|
||||
- "cluster.common.tag/rabbitmq:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
if:
|
||||
- common_tag_enabled
|
||||
|
||||
Reference in New Issue
Block a user