Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
trunk
-
None
Description
def getHostsForSlaveComponent(self, services, hosts, component, hostsList, hostsComponentsMap, freeHosts): componentName = component["StackServiceComponents"]["component_name"] if component["StackServiceComponents"]["cardinality"] == "ALL": return hostsList componentIsPopulated = self.isComponentHostsPopulated(component) if componentIsPopulated: return component["StackServiceComponents"]["hostnames"] hostsForComponent = [] if self.isSlaveComponent(component): cardinality = str(component["StackServiceComponents"]["cardinality"]) if self.isComponentUsingCardinalityForLayout(component) and cardinality: # cardinality types: 1+, 1-2, 1
The correct parameter name is comonentName (instead of component)
Attachments
Attachments
Issue Links
- is duplicated by
-
AMBARI-16434 NFSGateway and Phoenix are getting selected by default
- Resolved
- links to