CNES / openbach-extra

GNU General Public License v3.0
0 stars 2 forks source link

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

Open godelc7 opened 11 months ago

godelc7 commented 11 months ago

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?