Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The task includes an option with an undefined variable. #72

Open
xerox-xeon opened this issue Aug 2, 2020 · 3 comments
Open

The task includes an option with an undefined variable. #72

xerox-xeon opened this issue Aug 2, 2020 · 3 comments

Comments

@xerox-xeon
Copy link

xerox-xeon commented Aug 2, 2020

TASK [scm : set_fact] *************************************************************************************************************************************************************************
task path: /home/deploy/cloudera-playbook/roles/scm/tasks/cms.yml:9
fatal: [cdh1.dev]: FAILED! => {
"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute u'cdh1.dev'\n\nThe error appears to be in '/home/deploy/cloudera-playbook/roles/scm/tasks/cms.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- set_fact:\n ^ here\n"
}

@xerox-xeon xerox-xeon changed the title kdb5_util: Improper format of Kerberos configuration file while initializing Kerberos code The task includes an option with an undefined variable. Aug 2, 2020
@xerox-xeon
Copy link
Author

ansible --version
ansible 2.9.3
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]

@xerox-xeon
Copy link
Author

Get the host identifiers and names from Cloudera Manager
{
"items": [

]
}

@xerox-xeon xerox-xeon reopened this Aug 3, 2020
@Jimvin
Copy link
Contributor

Jimvin commented Aug 3, 2020

If the list of hosts is empty then this suggests that the Cloudera Manager agents may not be able to report in and register. If you log into Cloudera Manager is the list of hosts empty? Check the agent logs to see if there's any indication there as to why they are unable to register with the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants