Merge "Explicitly set healthcheck command."

This commit is contained in:
Zuul 2017-11-08 18:06:02 +00:00 committed by Gerrit Code Review
commit c8f6b8ec97
42 changed files with 87 additions and 9 deletions

View File

@ -100,6 +100,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -100,6 +100,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -100,6 +100,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -96,6 +96,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -96,6 +96,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -104,6 +104,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -172,8 +172,6 @@ outputs:
user: root user: root
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /bin/true
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -118,6 +118,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -106,6 +106,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -129,6 +129,8 @@ outputs:
net: host net: host
privileged: true privileged: true
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -189,6 +189,8 @@ outputs:
image: *mysql_image image: *mysql_image
restart: always restart: always
net: host net: host
healthcheck:
test: /openstack/healthcheck
volumes: *mysql_volumes volumes: *mysql_volumes
environment: environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS

View File

@ -182,6 +182,8 @@ outputs:
net: host net: host
privileged: {if: [cinder_backend_enabled, true, false]} privileged: {if: [cinder_backend_enabled, true, false]}
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: *glance_volumes volumes: *glance_volumes
environment: environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS

View File

@ -102,6 +102,8 @@ outputs:
# NOTE(mandre) kolla image changes the user to 'heat', we need it # NOTE(mandre) kolla image changes the user to 'heat', we need it
# to be root to run httpd # to be root to run httpd
user: root user: root
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -113,6 +113,8 @@ outputs:
# NOTE(mandre) kolla image changes the user to 'heat', we need it # NOTE(mandre) kolla image changes the user to 'heat', we need it
# to be root to run httpd # to be root to run httpd
user: root user: root
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -139,8 +141,6 @@ outputs:
user: root user: root
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /bin/true
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -120,6 +120,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -124,6 +124,8 @@ outputs:
net: host net: host
user: root user: root
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -108,6 +108,8 @@ outputs:
net: host net: host
privileged: true privileged: true
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -83,6 +83,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -161,6 +161,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: *keystone_volumes volumes: *keystone_volumes
environment: environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
@ -178,8 +180,6 @@ outputs:
privileged: false privileged: false
restart: always restart: always
command: ['/bin/bash', '-c', '/usr/local/bin/kolla_set_configs && /usr/sbin/crond -n'] command: ['/bin/bash', '-c', '/usr/local/bin/kolla_set_configs && /usr/sbin/crond -n']
healthcheck:
test: /bin/true
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -91,6 +91,8 @@ outputs:
image: {get_param: DockerManilaSchedulerImage} image: {get_param: DockerManilaSchedulerImage}
net: host net: host
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -97,6 +97,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -97,6 +97,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -94,6 +94,8 @@ outputs:
pid: host pid: host
privileged: true privileged: true
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -90,6 +90,8 @@ outputs:
pid: host pid: host
privileged: true privileged: true
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -90,6 +90,8 @@ outputs:
pid: host pid: host
privileged: true privileged: true
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -122,6 +122,8 @@ outputs:
pid: host pid: host
privileged: true privileged: true
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -174,6 +174,8 @@ outputs:
user: root user: root
privileged: true privileged: true
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -199,8 +201,6 @@ outputs:
user: root user: root
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /bin/true
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -120,6 +120,8 @@ outputs:
privileged: true privileged: true
user: nova user: nova
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -116,6 +116,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -111,6 +111,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -100,6 +100,8 @@ outputs:
privileged: true privileged: true
user: root user: root
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -111,6 +111,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -111,6 +111,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -102,6 +102,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -98,6 +98,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -98,6 +98,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -93,6 +93,8 @@ outputs:
detach: true detach: true
user: odl user: odl
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -116,4 +118,4 @@ outputs:
upgrade_tasks: upgrade_tasks:
- name: Stop and disable opendaylight_api service - name: Stop and disable opendaylight_api service
tags: step2 tags: step2
service: name=opendaylight state=stopped enabled=no service: name=opendaylight state=stopped enabled=no

View File

@ -175,6 +175,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -102,6 +102,8 @@ outputs:
net: host net: host
privileged: false privileged: false
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -129,6 +129,8 @@ outputs:
# "docker inspect" command # "docker inspect" command
user: root user: root
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -107,6 +107,8 @@ outputs:
net: host net: host
user: swift user: swift
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}

View File

@ -263,6 +263,8 @@ outputs:
net: host net: host
user: swift user: swift
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -327,6 +329,8 @@ outputs:
net: host net: host
user: swift user: swift
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -407,6 +411,8 @@ outputs:
net: host net: host
user: swift user: swift
restart: always restart: always
healthcheck:
test: /openstack/healthcheck
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}