Add volume for /var/log/kolla
Since Heka was introduced, /var/log/kolla has to be a volume due to changes in the most of start scripts. TrivialFix Change-Id: Ib19cfa43a8a156ef8db2d23e0fb94ed03e308bc9
This commit is contained in:
@@ -10,6 +10,8 @@ container:
|
||||
value: "/run/netns:/run/netns:shared"
|
||||
- key: volume
|
||||
value: "neutron_metadata_socket:/var/lib/neutron/kolla/"
|
||||
- key: volume
|
||||
value: "kolla_logs_{{ deployment_id }}:/var/log/kolla"
|
||||
service:
|
||||
daemon:
|
||||
dependencies: [neutron_ansible_tasks/create_user, rabbitmq/daemon]
|
||||
|
||||
@@ -10,6 +10,8 @@ container:
|
||||
value: "/run/netns:/run/netns:shared"
|
||||
- key: volume
|
||||
value: "neutron_metadata_socket:/var/lib/neutron/kolla/"
|
||||
- key: volume
|
||||
value: "kolla_logs_{{ deployment_id }}:/var/log/kolla"
|
||||
service:
|
||||
daemon:
|
||||
dependencies: [neutron_ansible_tasks/create_user, rabbitmq/daemon]
|
||||
|
||||
@@ -3,6 +3,9 @@ enabled: {{ enable_neutron | bool and neutron_plugin_agent == 'linuxbridge' }}
|
||||
container:
|
||||
image: "{{ neutron_linuxbridge_agent_image }}:{{ neutron_linuxbridge_agent_tag }}"
|
||||
privileged: true
|
||||
parameters:
|
||||
- key: volume
|
||||
value: "kolla_logs_{{ deployment_id }}:/var/log/kolla"
|
||||
volumes:
|
||||
- containerPath: "/run"
|
||||
hostPath: "/run"
|
||||
|
||||
@@ -8,6 +8,8 @@ container:
|
||||
value: "/run/netns:/run/netns:shared"
|
||||
- key: volume
|
||||
value: "neutron_metadata_socket:/var/lib/neutron/kolla/"
|
||||
- key: volume
|
||||
value: "kolla_logs_{{ deployment_id }}:/var/log/kolla"
|
||||
service:
|
||||
daemon:
|
||||
dependencies: [neutron_ansible_tasks/create_user, rabbitmq/daemon]
|
||||
|
||||
@@ -3,6 +3,9 @@ enabled: {{ enable_neutron | bool and neutron_plugin_agent == 'openvswitch' }}
|
||||
container:
|
||||
image: "{{ neutron_openvswitch_agent_image }}:{{ neutron_openvswitch_agent_tag }}"
|
||||
privileged: true
|
||||
parameters:
|
||||
- key: volume
|
||||
value: "kolla_logs_{{ deployment_id }}:/var/log/kolla"
|
||||
volumes:
|
||||
- containerPath: "/run"
|
||||
hostPath: "/run"
|
||||
|
||||
@@ -2,6 +2,9 @@ name: openstack/neutron/neutron-server
|
||||
enabled: {{ enable_neutron | bool }}
|
||||
container:
|
||||
image: "{{ neutron_server_image }}:{{ neutron_server_tag }}"
|
||||
parameters:
|
||||
- key: volume
|
||||
value: "kolla_logs_{{ deployment_id }}:/var/log/kolla"
|
||||
service:
|
||||
daemon:
|
||||
dependencies: [neutron-server/db_sync, neutron_ansible_tasks/create_user, rabbitmq/daemon]
|
||||
|
||||
@@ -5,6 +5,8 @@ container:
|
||||
parameters:
|
||||
- key: volume
|
||||
value: "openvswitch_db:/var/lib/openvswitch/"
|
||||
- key: volume
|
||||
value: "kolla_logs_{{ deployment_id }}:/var/log/kolla"
|
||||
volumes:
|
||||
- containerPath: "/run"
|
||||
hostPath: "/run"
|
||||
|
||||
@@ -2,6 +2,9 @@ name: infra/openvswitch/openvswitch-tasks
|
||||
enabled: {{ enable_neutron | bool and neutron_plugin_agent == 'openvswitch' }}
|
||||
container:
|
||||
image: "{{ openvswitch_db_image }}:{{ openvswitch_db_tag }}"
|
||||
parameters:
|
||||
- key: volume
|
||||
value: "kolla_logs_{{ deployment_id }}:/var/log/kolla"
|
||||
volumes:
|
||||
- containerPath: "/run"
|
||||
hostPath: "/run"
|
||||
|
||||
@@ -3,6 +3,9 @@ enabled: {{ enable_neutron | bool and neutron_plugin_agent == 'openvswitch' }}
|
||||
container:
|
||||
image: "{{ openvswitch_vswitchd_image }}:{{ openvswitch_vswitchd_tag }}"
|
||||
privileged: true
|
||||
parameters:
|
||||
- key: volume
|
||||
value: "kolla_logs_{{ deployment_id }}:/var/log/kolla"
|
||||
volumes:
|
||||
- containerPath: "/run"
|
||||
hostPath: "/run"
|
||||
|
||||
Reference in New Issue
Block a user