From 5c5df8b7bb56b67c77dbfb00d70404c18cfe48ee Mon Sep 17 00:00:00 2001 From: Aswani Kumar Reddy G Date: Fri, 14 Oct 2016 11:49:18 +0530 Subject: [PATCH] added missing host_string in start_cfgm_db_node Change-Id: I1f365b07d10fde73bb1893e8ed5e32c7d8abc080 Closes-Bug: #1633868 --- fabfile/tasks/services.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fabfile/tasks/services.py b/fabfile/tasks/services.py index b067fd402..5ddb2e216 100644 --- a/fabfile/tasks/services.py +++ b/fabfile/tasks/services.py @@ -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') @@ -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') @@ -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')