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

Documentation seems to be outdated. #13

Open
nonsense opened this issue May 2, 2021 · 2 comments
Open

Documentation seems to be outdated. #13

nonsense opened this issue May 2, 2021 · 2 comments

Comments

@nonsense
Copy link

nonsense commented May 2, 2021

Following the README.md and trying to run the Ansible playbooks on a new host, results in the follow error:

  1. Edit inventory.yml and add IP to validator and sentry.
  2. Confirm that hosts are reachable:
ansible sentry -m ping

SUCCESS
ansible validator -m ping

SUCCESS
  1. Run the playbook to install sentry and validator
ansible-playbook -l validator playbooks/network.yml --extra-var="bor_branch=v0.2.1 heimdall_branch=v0.2.0-mainnet-1d8aca37 network_version=mainnet-v1 node_type=sentry/validator"

...

TASK [install-heimdall : Creating symlink for bridge] *************************************************
changed: [xxx]

TASK [Build Bor] **************************************************************************************

TASK [install-bor : Cloning the Bor] ******************************************************************
changed: [xxx]

TASK [install-bor : Build Bor] ************************************************************************
fatal: [xxx]: FAILED! => {"changed": true, "cmd": ["make", "bor-all"], "delta": "0:00:00.002954", "end": "2021-05-02 23:41:02.410952", "msg": "non-zero return code", "rc": 2, "start": "2021-05-02 23:41:02.407998", "stderr": "make: *** No rule to make target 'bor-all'.  Stop.", "stderr_lines": ["make: *** No rule to make target 'bor-all'.  Stop."], "stdout": "", "stdout_lines": []}

Ansible version

ansible --version

ansible 2.10.3
  config file = /Users/nonsense/code/src/github.com/maticnetwork/node-ansible/ansible.cfg
  configured module search path = ['/Users/nonsense/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/2.10.3_1/libexec/lib/python3.9/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.9.0 (default, Dec  6 2020, 18:02:34) [Clang 12.0.0 (clang-1200.0.32.27)]
@zemse
Copy link

zemse commented May 6, 2021

I'm seeing the same problem. Is there any solution?

@nonsense
Copy link
Author

nonsense commented May 8, 2021

@zemse the extra_vars are borked, if you adjust the versions for heimdalld and bor, it seems to work a bit better - after a few trials and errors, I somehow got it to install.

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