Merge "Consolidate RpcPort healthchecks"

This commit is contained in:
Zuul 2019-05-31 14:58:21 +00:00 committed by Gerrit Code Review
commit 2f43d4b967
13 changed files with 14 additions and 205 deletions

View File

@ -136,24 +136,6 @@ parameters:
type: string type: string
default: 'messagingv2' default: 'messagingv2'
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
RpcUserName:
default: guest
description: The username for messaging backend
type: string
RpcPassword:
description: The password for messaging backend
type: string
hidden: true
RpcUseSSL:
default: false
description: >
Messaging client subscriber parameter to specify
an SSL connection to the messaging host.
type: string
DeployIdentifier: DeployIdentifier:
default: '' default: ''
type: string type: string
@ -161,19 +143,6 @@ parameters:
Setting this to a unique value will re-run any deployment tasks which Setting this to a unique value will re-run any deployment tasks which
perform configuration on a Heat stack-update. perform configuration on a Heat stack-update.
parameter_groups:
- label: deprecated
description: |
The following parameters are deprecated and will be removed. They should not
be relied on for new deployments. If you have concerns regarding deprecated
parameters, please contact the TripleO development team on IRC or the
OpenStack mailing list.
parameters:
- RpcPort
- RpcUserName
- RpcPassword
- RpcUseSSL
conditions: conditions:
service_debug_unset: {equals : [{get_param: BarbicanDebug}, '']} service_debug_unset: {equals : [{get_param: BarbicanDebug}, '']}
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]} internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
@ -717,15 +686,7 @@ outputs:
privileged: false privileged: false
restart: always restart: always
user: barbican user: barbican
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -741,15 +702,7 @@ outputs:
privileged: false privileged: false
restart: always restart: always
user: barbican user: barbican
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -49,10 +49,6 @@ parameters:
description: The password for the redis service account. description: The password for the redis service account.
type: string type: string
hidden: true hidden: true
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
resources: resources:
@ -105,15 +101,7 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -48,10 +48,6 @@ parameters:
MonitoringSubscriptionCeilometerNotification: MonitoringSubscriptionCeilometerNotification:
default: 'overcloud-ceilometer-agent-notification' default: 'overcloud-ceilometer-agent-notification'
type: string type: string
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
resources: resources:
@ -129,15 +125,7 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -44,10 +44,6 @@ parameters:
MonitoringSubscriptionNovaConsoleauth: MonitoringSubscriptionNovaConsoleauth:
default: 'overcloud-nova-consoleauth' default: 'overcloud-nova-consoleauth'
type: string type: string
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
resources: resources:
@ -124,15 +120,7 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -39,10 +39,6 @@ parameters:
MonitoringSubscriptionManilaScheduler: MonitoringSubscriptionManilaScheduler:
default: 'overcloud-manila-scheduler' default: 'overcloud-manila-scheduler'
type: string type: string
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
resources: resources:
@ -96,15 +92,7 @@ outputs:
image: {get_param: DockerManilaSchedulerImage} image: {get_param: DockerManilaSchedulerImage}
net: host net: host
restart: always restart: always
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -57,10 +57,6 @@ parameters:
constraints: constraints:
- range: { min: 1 } - range: { min: 1 }
type: number type: number
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
resources: resources:
@ -121,15 +117,7 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -36,10 +36,6 @@ parameters:
default: {} default: {}
description: Parameters specific to the role description: Parameters specific to the role
type: json type: json
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
resources: resources:
@ -96,15 +92,7 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -62,10 +62,6 @@ parameters:
default: false default: false
description: Add the mistral user to the docker group to allow actions to perform docker operations. description: Add the mistral user to the docker group to allow actions to perform docker operations.
type: boolean type: boolean
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
TripleoAdminUser: TripleoAdminUser:
default: 'tripleo-admin' default: 'tripleo-admin'
description: Name of user which manages the hosts description: Name of user which manages the hosts
@ -149,15 +145,7 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -68,10 +68,6 @@ parameters:
default: {} default: {}
description: Parameters specific to the role description: Parameters specific to the role
type: json type: json
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
EnableInternalTLS: EnableInternalTLS:
type: boolean type: boolean
default: false default: false
@ -300,15 +296,7 @@ outputs:
security_opt: 'label=disable' security_opt: 'label=disable'
depends_on: depends_on:
- openvswitch - openvswitch
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
ulimit: {get_param: DockerNeutronDHCPAgentUlimit} ulimit: {get_param: DockerNeutronDHCPAgentUlimit}
volumes: volumes:
list_concat: list_concat:

View File

@ -80,10 +80,6 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry. via parameter_defaults in the resource registry.
type: json type: json
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
NeutronL3AgentMode: NeutronL3AgentMode:
description: | description: |
Agent mode for L3 agent. Must be one of legacy or dvr_snat. Agent mode for L3 agent. Must be one of legacy or dvr_snat.
@ -268,15 +264,7 @@ outputs:
restart: always restart: always
depends_on: depends_on:
- openvswitch - openvswitch
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
ulimit: {get_param: DockerNeutronL3AgentUlimit} ulimit: {get_param: DockerNeutronL3AgentUlimit}
volumes: volumes:
list_concat: list_concat:

View File

@ -118,10 +118,6 @@ parameters:
Set or un-set the tunnel header checksum on outgoing IP packet Set or un-set the tunnel header checksum on outgoing IP packet
carrying GRE/VXLAN tunnel. carrying GRE/VXLAN tunnel.
type: boolean type: boolean
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
conditions: conditions:
no_firewall_driver: {equals : [{get_param: NeutronOVSFirewallDriver}, '']} no_firewall_driver: {equals : [{get_param: NeutronOVSFirewallDriver}, '']}
@ -304,15 +300,7 @@ outputs:
restart: always restart: always
depends_on: depends_on:
- openvswitch - openvswitch
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
ulimit: {get_param: DockerOpenvswitchUlimit} ulimit: {get_param: DockerOpenvswitchUlimit}
volumes: volumes:
list_concat: list_concat:

View File

@ -79,10 +79,6 @@ parameters:
type: comma_delimited_list type: comma_delimited_list
tags: tags:
- role_specific - role_specific
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
resources: resources:
@ -165,15 +161,7 @@ outputs:
pid: host pid: host
privileged: true privileged: true
restart: always restart: always
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
ulimit: {get_param: DockerSRIOVUlimit} ulimit: {get_param: DockerSRIOVUlimit}
volumes: volumes:
list_concat: list_concat:

View File

@ -48,10 +48,6 @@ parameters:
MonitoringSubscriptionOctaviaWorker: MonitoringSubscriptionOctaviaWorker:
default: 'overcloud-octavia-worker' default: 'overcloud-octavia-worker'
type: string type: string
RpcPort:
default: 5672
description: The network port for messaging backend
type: number
resources: resources:
@ -129,15 +125,7 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck: healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
test:
list_join:
- ' '
- - '/openstack/healthcheck'
- yaql:
expression: str($.data.port)
data:
port: {get_param: RpcPort}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}