Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.6.0
-
None
-
None
-
OSX (Ambari Server)
CentOS 6.4 (Ambari Agents)
The server must be deployed on a machine that is not part of the cluster to manifest this error.
Description
When deploying a brand new cluster, all services fail to install due to a parsing exception thrown from the Ambari Agents.
File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line 113, in runCommand
json_path = self.dump_command_to_json(command)
File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line 209, in dump_command_to_json
command'clusterHostInfo' = manifestGenerator.decompressClusterHostInfo(command'clusterHostInfo')
File "/usr/lib/python2.6/site-packages/ambari_agent/manifestGenerator.py", line 116, in decompressClusterHostInfo
indexes = convertRangeToList(v)
File "/usr/lib/python2.6/site-packages/ambari_agent/manifestGenerator.py", line 57, in convertRangeToList
raise AgentException.AgentException("Broken data in given range, expected - ""m-n"" or ""m"", got : " + str(r))
AgentException: 'Broken data in given range, expected - m-n or m, got : -1β
The command being sent is
Notice the ambari-server-host which was added in that commit; itβs value is β-1β which would not parse correctly in manifestGenerator.py
I suspect Git e667dc7c9870864ff537374c819b7c1d1dd88e98 caused this problem.
Steps to reproduce:
1) Provision 3 c64 hosts
2) Wipe your server database and re-create it with the embedded PSQL script
3) Attempt to provision a cluster with various services.
All services will fail to deploy b/c of the above exception. This was working without issues before the above suspect commit.
Attachments
Issue Links
- links to