Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cluster upscale from Cloudbreak failing with 'Invalid Add Hosts Template'

Solved Go to solution

Cluster upscale from Cloudbreak failing with 'Invalid Add Hosts Template'

New Contributor

Hi,

I'm trying to upscale the cluster from Cloudbreak and getting the below error:

update failed: New node(s) could not be added to the cluster. Reason com.sequenceiq.cloudbreak.service.CloudbreakServiceException: Ambari could not install services. Invalid Add Hosts Template: org.apache.ambari.server.topology.InvalidTopologyTemplateException: Must specify either host_name or host_count for hostgroup: worker

Error log from Ambari-server:

ERROR [ambari-client-thread-3771] BaseManagementHandler:67 - Bad request received: Invalid Add Hosts Template: org.apache.ambari.server.topology.InvalidTopologyTemplateException: Must specify either host_name or host_count for hostgroup: worker

I also could see the same error details from Ambari server log after enabling DEBUG Log mode.

Cloudbreak Version: 1.16.5

Ambari server version:- 2.6.0.0

Any help on the issue is appreciated!

Thanks,

Cibi

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Cluster upscale from Cloudbreak failing with 'Invalid Add Hosts Template'

Expert Contributor

Hi @Cibi Chakaravarthi,

Please use Ambari 2.5.1 as Ambari 2.6 is not working with Cloudbreak yet. This bug is resolved in Ambari 2.6.1

5 REPLIES 5

Re: Cluster upscale from Cloudbreak failing with 'Invalid Add Hosts Template'

Verify your HDP/Ambari version to see if you are running into this issue. https://issues.apache.org/jira/browse/AMBARI-22005

Re: Cluster upscale from Cloudbreak failing with 'Invalid Add Hosts Template'

Expert Contributor

Hi @Cibi Chakaravarthi,

Please use Ambari 2.5.1 as Ambari 2.6 is not working with Cloudbreak yet. This bug is resolved in Ambari 2.6.1

Re: Cluster upscale from Cloudbreak failing with 'Invalid Add Hosts Template'

New Contributor

Hi @mmolnar,

In the JIRA for this issue, AMBARI-22005 i could see that the issue has been resolved in Ambari 2.6.0. Anyways i have posted a comment over there to confirm the same.

Thanks,

Cibi

Re: Cluster upscale from Cloudbreak failing with 'Invalid Add Hosts Template'

Expert Contributor

Hi @Cibi Chakaravarthi,

The jira issue regarding this bug is AMBARI-22539 which is fixed in 2.6.1

Highlighted

Re: Cluster upscale from Cloudbreak failing with 'Invalid Add Hosts Template'

New Contributor

Thanks for the details @mmolnar. Appreciate your help on this.