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

Ansible Error when Installing agents using auditorium_scripts/install_agent.py #3

Open
godelc7 opened this issue Nov 16, 2023 · 0 comments

Comments

@godelc7
Copy link

godelc7 commented Nov 16, 2023

For my openbach installation, I have the controller and collector installed on 192.168.0.1. Now I want to make a full blown installation for an additional agent on IP 192.168.0.5. Here is the command line I use:

python3 install_agent.py 192.168.0.5 192.168.0.1 traffic_gen_5 --user admin --controller 192.168.0.1 --login openbach --password openbach

And I got the following error:

auditorium_scripts.frontend.ActionFailedError: {'response': {'192.168.0.5': [{'msg': "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'controller'\n\nThe error appears to be in '/opt/openbach/controller/ansible/roles/check_resources/tasks/main.yml': line 28, 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- name: Display various values regarding the machine\n ^ here\n", '_ansible_no_log': False}], 'error': 'Ansible playbook execution failed'}, 'returncode': 422}

Can anyone help in troubleshooting this?

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

1 participant