Find Monasca agent plugins locally
Find module searches paths on managed server. Since role path and custom Kolla config is located on deployment node and deployment node is not considered to be a managed server, Monasca plugin files cannot be found. After the deployment container running Monasca agent collector stucks in restart mode due to missing plugin files. The problem does not occur if deployment was started from a managed server (eg. OSC). The problem occurs if the deployment was started from a separate deployment server - a common case. This change enforces running find module locally on deployment node. Change-Id: Ia25daafe2f82f5744646fd2eda2d255ccead814e Signed-off-by: Bartosz Zurkowski <b.zurkowski@samsung.com>
This commit is contained in:
parent
c5d1e1d5f2
commit
10d33f82bb
@ -61,7 +61,8 @@
|
|||||||
- service.enabled | bool
|
- service.enabled | bool
|
||||||
|
|
||||||
- name: Find monasca-agent-collector plugin configuration files
|
- name: Find monasca-agent-collector plugin configuration files
|
||||||
find:
|
local_action:
|
||||||
|
module: find
|
||||||
paths:
|
paths:
|
||||||
- "{{ role_path }}/templates/monasca-agent-collector/plugins/"
|
- "{{ role_path }}/templates/monasca-agent-collector/plugins/"
|
||||||
- "{{ node_custom_config }}/monasca/agent_plugins/"
|
- "{{ node_custom_config }}/monasca/agent_plugins/"
|
||||||
|
Loading…
Reference in New Issue
Block a user