Skip to content

Commit

Permalink
added missing host_string in start_cfgm_db_node
Browse files Browse the repository at this point in the history
Change-Id: I1f365b07d10fde73bb1893e8ed5e32c7d8abc080
Closes-Bug: #1633868
  • Loading branch information
aswanikumar90 committed Oct 17, 2016
1 parent 7a1ff44 commit 5c5df8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fabfile/tasks/services.py
Expand Up @@ -67,7 +67,7 @@ def stop_cfgm_db():
def stop_cfgm_db_node(*args):
"""stop the contrail config db services."""
for host_string in args:
with settings(warn_only=True):
with settings(host_string=host_string,warn_only=True):
if manage_config_db():
sudo('service contrail-database stop')
sudo('service zookeeper stop')
Expand All @@ -83,7 +83,7 @@ def start_cfgm():
def start_cfgm_node(*args):
"""starts the contrail config services."""
for host_string in args:
with settings(warn_only=True):
with settings(host_string=host_string,warn_only=True):
sudo('service supervisor-support-service start')
sudo('service supervisor-config start')
sudo('service neutron-server start')
Expand All @@ -98,7 +98,7 @@ def start_cfgm_db():
def start_cfgm_db_node(*args):
"""starts the contrail config db services."""
for host_string in args:
with settings(warn_only=True):
with settings(host_string=host_string,warn_only=True):
if manage_config_db():
sudo('service contrail-database start')
sudo('service zookeeper start')
Expand Down

0 comments on commit 5c5df8b

Please sign in to comment.