Closed jdmedeiros closed 1 year ago
I currently fail to reproduce the problem you have here. Here is the steps I did to try to reproduce your problem:
docker compose up
link-client --host localhost:1313 -u link -p password add 172.31.56.111/32
link-client --host localhost:1313 -u link -p password list
+------------------------------------------+------------------+-----------+--------+
| ID | IP | STATUS | CHECKS |
+------------------------------------------+------------------+-----------+--------+
| vip-5dc626b6-8faf-415d-ab68-fffed7fdb73b | 172.31.56.111/32 | ACTIVATED | None |
+------------------------------------------+------------------+-----------+--------+
link-client --host localhost:1314 -u link -p password add 172.31.56.111/32
link-client --host localhost:1313 -u link -p password list
+------------------------------------------+------------------+-----------+--------+
| ID | IP | STATUS | CHECKS |
+------------------------------------------+------------------+-----------+--------+
| vip-5dc626b6-8faf-415d-ab68-fffed7fdb73b | 172.31.56.111/32 | ACTIVATED | None |
+------------------------------------------+------------------+-----------+--------+
link-client --host localhost:1314 -u link -p password list
+------------------------------------------+------------------+---------+--------+
| ID | IP | STATUS | CHECKS |
+------------------------------------------+------------------+---------+--------+
| vip-8a913cbf-003d-4aca-8ea0-70745cd2ced8 | 172.31.56.111/32 | STANDBY | None |
+------------------------------------------+------------------+---------+--------+
I understand this is not exactly the setup you have but that may be a way for you to investigate, by comparing the local configuration and the one you have on your servers.
The error "IP already assigned" is returned here:
Are you sure your call to link-client
to add the IP to a second agent targets the intended agent? Maybe explicit the agent to target with--host
?
I installed LinK on 3 devices. On all 3 devices I have etcd working perfectly and on each device I run LinK:
On device 1 I run:
./link-client --user link --password Passw0rd add 172.31.56.111/32
and I get:
On device 2 I run the same command and I get:
Error: IP already assigned
Must be missing something. This is a very interesting concept, hence I would like to get it to work.
Error: IP already assigned