https://netmaker.org logo
Duplicate IP when massive parallel registration ha...
# client
b
Duplicate IP when massive parallel registration happens
Is there way to avoid duplicating ip when massive parallel registration (about 50) happens?
Copy code
curl -s -H 'Authorization: Bearer <TOKEN>' http://localhost:8081/api/nodes/main| jq -c '.[].address'| sort -h| uniq -c
output
Copy code
1 "10.96.0.1"
2 "10.96.0.10"
1 "10.96.0.11"
1 "10.96.0.12"
1 "10.96.0.13"
2 "10.96.0.14"
1 "10.96.0.15"
3 "10.96.0.16"
1 "10.96.0.17"
1 "10.96.0.18"
1 "10.96.0.19"
1 "10.96.0.2"
3 "10.96.0.20"
3 "10.96.0.21"
1 "10.96.0.22"
1 "10.96.0.23"
2 "10.96.0.24"
4 "10.96.0.25"
1 "10.96.0.254"
1 "10.96.0.26"
6 "10.96.0.27"
4 "10.96.0.28"
6 "10.96.0.29"
1 "10.96.0.3"
3 "10.96.0.30"
1 "10.96.0.31"
1 "10.96.0.4"
2 "10.96.0.5"
1 "10.96.0.6"
1 "10.96.0.7"
1 "10.96.0.8"
1 "10.96.0.9"
I run ansible playbook with
serial:1
to make queue for run
netclient join
. It works. As I understand Netmaker API can't manage to registration queue. Like this
Copy code
- hosts: netclient 
  serial: 1
  roles: 
    - { role: netmaker/client/join, tags: join }
5 Views