Skip to content

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

Description

@godelc7

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions