Skip to content

Run examples on single machines with multiple ips #29

Description

@hamedgibago

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.
    ubuntu@192.168.2.14: 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.
    ubuntu@192.168.2.15: 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.
    ubuntu@192.168.2.16: 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.
    ubuntu@192.168.2.17: 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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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