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.

Generate the cluster dynamic blueprint: blueprint_dynamic.j2 not found

Highlighted

Generate the cluster dynamic blueprint: blueprint_dynamic.j2 not found

New Contributor

I'm currently trying to set up an Ambari Hortonworks cluster with Ansible, using the provided playbooks here:

https://github.com/hortonworks/ansible-hortonworks

I manage to run through all the steps well enough, except for generating 'blueprint_dynamic.j2'. As I understand it, that blueprint should get generated by the ambari-hortonworks role, from the variables set in groupvars/all. I'm running the playbook "apply_blueprint.yml", which has a task where it calls that role and 'Generate the cluster dynamic blueprint'.

Except this task always fails (see below)

This failure happens when the file 'blueprint_dynamic.j2' doesn't exist. If I provide it with such a file (e.g. a blueprint exported from an existing cluster), then it happily continues and fails later when it tries to make sense of the blueprint.

I thought the point of this step was to dynamically generate the blueprint though, if no dynamic blueprint file existed. Am I missing some preliminary step? Am I running the wrong playbook / role?

Please help.

TASK [ambari-blueprint : Generate the cluster dynamic blueprint] ********************************************
 [WARNING]: Unable to find 'blueprint_dynamic.j2' in expected paths.


fatal: [10.6.3.1]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'ansible.errors.AnsibleError'>, original message: the template file blueprint_dynamic.j2 could not be found for the lookup"}

Don't have an account?
Coming from Hortonworks? Activate your account here