diff options
author | Jan Kubovy <jan.kubovy@bmw.de> | 2020-10-15 10:48:40 +0200 |
---|---|---|
committer | Felix Edel <felix.edel@bmw.de> | 2021-02-15 14:44:18 +0100 |
commit | d518e56208c857fd1438d614961a2c66dd92ca7d (patch) | |
tree | 57146b7484f4d666fa7533c5491edf82915ed5ca /playbooks | |
parent | dddbb3dbfe4e307072ae7c3c911ccffb02835d3a (diff) | |
download | zuul-d518e56208c857fd1438d614961a2c66dd92ca7d.tar.gz |
Prepare Zookeeper for scale-out scheduler
This change is a common root for other
Zookeeper related changed regarding
scale-out-scheduler. Zookeeper becoming
a central component requires to increase
"maxClientCnxns".
Since the ZooKeeper class is expected to grow
significantly (ZooKeeper is becoming a central part
of Zuul) a split of the ZooKeeper class (zk.py) into
zk module is done here to avoid the current god-class.
Also the zookeeper log is copied to the "zuul_output_dir".
Change-Id: I714c06052b5e17269a6964892ad53b48cf65db19
Story: 2007192
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/common/post-system-logs.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/playbooks/common/post-system-logs.yaml b/playbooks/common/post-system-logs.yaml new file mode 100644 index 000000000..830899c38 --- /dev/null +++ b/playbooks/common/post-system-logs.yaml @@ -0,0 +1,5 @@ +- hosts: all + tasks: + + - name: Collect zookeeper logs + shell: "cp /var/log/zookeeper/zookeeper.log {{ zuul_output_dir }}/logs/zookeeper.log" |