Changing zookeeper path while updating conf
Zookeeper path is hardcoded but we recently changed the path to avoid having to update the path every time zookeeper changed versions. We forgot to update this path in one place which causes the cluster to fail to scale. The patch fix that Change-Id: Idde36e39ac4c2e2e006b4a92d92e77440666c314 Closes-bug: #1607386
This commit is contained in:
parent
30c8343d01
commit
4bb6437f9a
|
@ -298,7 +298,7 @@ class StormProvider(p.ProvisioningPluginBase):
|
|||
r.write_files_to(files_storm)
|
||||
|
||||
if need_zookeeper_update:
|
||||
zk_path = '/opt/zookeeper/zookeeper-3.4.6/conf/zoo.cfg'
|
||||
zk_path = '/opt/zookeeper/zookeeper/conf/zoo.cfg'
|
||||
files_zookeeper = {zk_path: ng_extra['zk_conf']}
|
||||
self._push_zk_configs(r, files_zookeeper)
|
||||
|
||||
|
|
Loading…
Reference in New Issue