Skip to content

Commit 17eafe6

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Use Docker healthchecks for nova-spicehtml5proxy service" into stable/wallaby
2 parents 796f6fd + 7755ef6 commit 17eafe6

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

ansible/roles/nova-cell/defaults/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ nova_cell_services:
4040
enabled: "{{ nova_console == 'spice' }}"
4141
volumes: "{{ nova_spicehtml5proxy_default_volumes + nova_spicehtml5proxy_extra_volumes }}"
4242
dimensions: "{{ nova_spicehtml5proxy_dimensions }}"
43+
healthcheck: "{{ nova_spicehtml5proxy_healthcheck }}"
4344
nova-serialproxy:
4445
container_name: "nova_serialproxy"
4546
group: "{{ nova_cell_serialproxy_group }}"
@@ -296,6 +297,19 @@ nova_novncproxy_healthcheck:
296297
test: "{% if nova_novncproxy_enable_healthchecks | bool %}{{ nova_novncproxy_healthcheck_test }}{% else %}NONE{% endif %}"
297298
timeout: "{{ nova_novncproxy_healthcheck_timeout }}"
298299

300+
nova_spicehtml5proxy_enable_healthchecks: "{{ enable_container_healthchecks }}"
301+
nova_spicehtml5proxy_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
302+
nova_spicehtml5proxy_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
303+
nova_spicehtml5proxy_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
304+
nova_spicehtml5proxy_healthcheck_test: ["CMD-SHELL", "healthcheck_curl http://{{ api_interface_address | put_address_in_context('url') }}:{{ nova_spicehtml5proxy_listen_port }}/spice_auto.html"]
305+
nova_spicehtml5proxy_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
306+
nova_spicehtml5proxy_healthcheck:
307+
interval: "{{ nova_spicehtml5proxy_healthcheck_interval }}"
308+
retries: "{{ nova_spicehtml5proxy_healthcheck_retries }}"
309+
start_period: "{{ nova_spicehtml5proxy_healthcheck_start_period }}"
310+
test: "{% if nova_spicehtml5proxy_enable_healthchecks | bool %}{{ nova_spicehtml5proxy_healthcheck_test }}{% else %}NONE{% endif %}"
311+
timeout: "{{ nova_spicehtml5proxy_healthcheck_timeout }}"
312+
299313
nova_conductor_enable_healthchecks: "{{ enable_container_healthchecks }}"
300314
nova_conductor_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
301315
nova_conductor_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
features:
3+
- |
4+
Implements container healthchecks for nova-spicehtml5proxy service.
5+
See `blueprint
6+
<https://blueprints.launchpad.net/kolla-ansible/+spec/container-health-check>`__

0 commit comments

Comments
 (0)