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

Run examples on single machines with multiple ips #29

Open
hamedgibago opened this issue Mar 23, 2024 · 0 comments
Open

Run examples on single machines with multiple ips #29

hamedgibago opened this issue Mar 23, 2024 · 0 comments

Comments

@hamedgibago
Copy link

Hello, I want to run experiments on my single local machine with multiple ips. I defined 4 ips:
192.168.2.14
192.168.2.15
192.168.2.16
192.168.2.17

14 and 15 are my clients and 16, 17 are my replicas. With notice to the link https://github.com/hot-stuff/libhotstuff/tree/master/scripts/deploy I first defined clients.txt like this:

192.168.2.14
192.168.2.15

and replicas.txt like:

192.168.2.16 192.168.2.17
192.168.2.17 192.168.2.16

After running ./gen_all.sh 400 and calling ./run.sh setup I received this error:

# Gathering Facts *********************************************************************************************************
  * 192.168.2.14               - FAILED!!! ------------------------------------------------------
    Failed to connect to the host via ssh: Warning: Permanently added '192.168.2.14' (ED25519) to the list of known hosts.
    [email protected]: Permission denied (publickey,password).                                                               
  * 192.168.2.15               - FAILED!!! ------------------------------------------------------
    Failed to connect to the host via ssh: Warning: Permanently added '192.168.2.15' (ED25519) to the list of known hosts.
    [email protected]: Permission denied (publickey,password).                                                               
  * 192.168.2.16               - FAILED!!! ------------------------------------------------------
    Failed to connect to the host via ssh: Warning: Permanently added '192.168.2.16' (ED25519) to the list of known hosts.
    [email protected]: Permission denied (publickey,password).                                                               
  * 192.168.2.17               - FAILED!!! ------------------------------------------------------
    Failed to connect to the host via ssh: Warning: Permanently added '192.168.2.17' (ED25519) to the list of known hosts.
    [email protected]: Permission denied (publickey,password).                                                               

# STATS *******************************************************************************************************************
192.168.2.14    : ok=0  changed=0       failed=0        unreachable=1   rescued=0       ignored=0
192.168.2.15    : ok=0  changed=0       failed=0        unreachable=1   rescued=0       ignored=0
192.168.2.16    : ok=0  changed=0       failed=0        unreachable=1   rescued=0       ignored=0
192.168.2.17    : ok=0  changed=0       failed=0        unreachable=1   rescued=0       ignored=0

What is the problem? Is it possible to run experiments on a single machine?

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