فهرست منبع

AMBARI-2433. Bootstrap failed on rhel 5.6. (swagle)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1494801 13f79535-47bb-0310-9956-ffa450edef68
Siddharth Wagle 12 سال پیش
والد
کامیت
3e619d3ff9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ambari-server/src/main/python/setupAgent.py

+ 1 - 1
ambari-server/src/main/python/setupAgent.py

@@ -77,7 +77,7 @@ def configureAgent(server_hostname):
 
 def runAgent(passPhrase, expected_hostname):
   os.environ[AMBARI_PASSPHRASE_VAR] = passPhrase
-  agent_retcode = subprocess.call("/usr/sbin/ambari-agent start --expected-hostname={0}".format(expected_hostname), shell=True)
+  agent_retcode = subprocess.call("/usr/sbin/ambari-agent start --expected-hostname=" + expected_hostname, shell=True)
   try:
 
     ret = execOsCommand(["tail", "-20", "/var/log/ambari-agent/ambari-agent.log"])