Fix location of hostdirs for Murano services

Use "{{ node_config_directory }}/murano-api/" for `murano-api` and
"{{ node_config_directory }}/murano-engine/" for `murano-engine`, so
correct `config.json` are mounted in containers.

Change-Id: I824ff00f6b86aac3eab5dc6fd01728653b4661d1
Closes-Bug: 1811716
This commit is contained in:
Mariusz 2019-02-20 14:46:35 +00:00
parent 4a127d4bd9
commit ff28cf5069

View File

@ -8,7 +8,7 @@ murano_services:
enabled: true enabled: true
image: "{{ murano_api_image_full }}" image: "{{ murano_api_image_full }}"
volumes: volumes:
- "{{ node_config_directory }}/murano-engine/:{{ container_config_directory }}/:ro" - "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro"
- "{{ kolla_dev_repos_directory ~ '/murano/murano:/var/lib/kolla/venv/lib/python2.7/site-packages/murano' if murano_dev_mode | bool else '' }}" - "{{ kolla_dev_repos_directory ~ '/murano/murano:/var/lib/kolla/venv/lib/python2.7/site-packages/murano' if murano_dev_mode | bool else '' }}"
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
- "kolla_logs:/var/log/kolla/" - "kolla_logs:/var/log/kolla/"
@ -30,7 +30,7 @@ murano_services:
enabled: true enabled: true
image: "{{ murano_engine_image_full }}" image: "{{ murano_engine_image_full }}"
volumes: volumes:
- "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro" - "{{ node_config_directory }}/murano-engine/:{{ container_config_directory }}/:ro"
- "{{ kolla_dev_repos_directory ~ '/murano/murano:/var/lib/kolla/venv/lib/python2.7/site-packages/murano' if murano_dev_mode | bool else '' }}" - "{{ kolla_dev_repos_directory ~ '/murano/murano:/var/lib/kolla/venv/lib/python2.7/site-packages/murano' if murano_dev_mode | bool else '' }}"
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
- "kolla_logs:/var/log/kolla/" - "kolla_logs:/var/log/kolla/"