--- storm_services: storm-worker: container_name: storm_worker group: storm-worker enabled: false image: "{{ storm_image_full }}" environment: STORM_LOG_DIR: /var/log/kolla/storm STORM_LOG4J_PROP: "{{ storm_log_settings }}" volumes: "{{ storm_worker_default_volumes + storm_nimbus_extra_volumes }}" dimensions: "{{ storm_worker_dimensions }}" healthcheck: "{{ storm_worker_healthcheck }}" storm-nimbus: container_name: storm_nimbus group: storm-nimbus enabled: false image: "{{ storm_image_full }}" environment: STORM_LOG_DIR: /var/log/kolla/storm STORM_LOG4J_PROP: "{{ storm_log_settings }}" volumes: "{{ storm_nimbus_default_volumes + storm_nimbus_extra_volumes }}" dimensions: "{{ storm_nimbus_dimensions }}" healthcheck: "{{ storm_nimbus_healthcheck }}" #################### # Docker #################### storm_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/storm" storm_tag: "{{ openstack_tag }}" storm_image_full: "{{ storm_image }}:{{ storm_tag }}" storm_worker_dimensions: "{{ default_container_dimensions }}" storm_nimbus_dimensions: "{{ default_container_dimensions }}" storm_worker_enable_healthchecks: "{{ enable_container_healthchecks }}" storm_worker_healthcheck_interval: "{{ default_container_healthcheck_interval }}" storm_worker_healthcheck_retries: "{{ default_container_healthcheck_retries }}" storm_worker_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}" storm_worker_healthcheck_test: ["CMD-SHELL", "healthcheck_port java {{ zookeeper_client_port }}"] storm_worker_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}" storm_worker_healthcheck: interval: "{{ storm_worker_healthcheck_interval }}" retries: "{{ storm_worker_healthcheck_retries }}" start_period: "{{ storm_worker_healthcheck_start_period }}" test: "{% if storm_worker_enable_healthchecks | bool %}{{ storm_worker_healthcheck_test }}{% else %}NONE{% endif %}" timeout: "{{ storm_worker_healthcheck_timeout }}" storm_nimbus_enable_healthchecks: "{{ enable_container_healthchecks }}" storm_nimbus_healthcheck_interval: "{{ default_container_healthcheck_interval }}" storm_nimbus_healthcheck_retries: "{{ default_container_healthcheck_retries }}" storm_nimbus_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}" storm_nimbus_healthcheck_test: ["CMD-SHELL", "healthcheck_listen java {{ storm_nimbus_thrift_port }}"] storm_nimbus_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}" storm_nimbus_healthcheck: interval: "{{ storm_nimbus_healthcheck_interval }}" retries: "{{ storm_nimbus_healthcheck_retries }}" start_period: "{{ storm_nimbus_healthcheck_start_period }}" test: "{% if storm_nimbus_enable_healthchecks | bool %}{{ storm_nimbus_healthcheck_test }}{% else %}NONE{% endif %}" timeout: "{{ storm_nimbus_healthcheck_timeout }}" storm_worker_default_volumes: - "{{ node_config_directory }}/storm-worker/:{{ container_config_directory }}/" - "/etc/localtime:/etc/localtime:ro" - "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}" - "storm:/var/lib/storm/data" - "kolla_logs:/var/log/kolla/" storm_nimbus_default_volumes: - "{{ node_config_directory }}/storm-nimbus/:{{ container_config_directory }}/" - "/etc/localtime:/etc/localtime:ro" - "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}" - "storm:/var/lib/storm/data" - "kolla_logs:/var/log/kolla/" storm_extra_volumes: "{{ default_extra_volumes }}" storm_worker_extra_volumes: "{{ storm_extra_volumes }}" storm_nimbus_extra_volumes: "{{ storm_extra_volumes }}"