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:
Telles Nobrega 2016-07-28 11:15:12 -03:00 committed by Vitaly Gridnev
parent 30c8343d01
commit 4bb6437f9a
1 changed files with 1 additions and 1 deletions

View File

@ -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)