Netclient pull fails on a client that is a member ...
# client
c
Netclient pull fails on a client that is a member of two networks, each of which is hosted on a separate VPS. 1. Install Netmaker server v0.14.2 on VPS1, and create network TEST1 with subnet 10.111.111.0/24 and with default listen port 11111. 2. Install Netmaker server v0.14.2 on VPS2, and create network TEST2 with subnet 10.222.222.0/24 and with default listen port 22222. 3. Install Netmaker client v0.14.2 on VPS3, and join networks TEST1 and TEST2. 4. Execute
netclient pull
on VPS3.
Copy code
[netclient] 2022-06-05 14:56:09 No network selected. Running Pull for all networks.
[netclient] 2022-06-05 14:56:15 certificates/key saved
[netclient] 2022-06-05 14:56:17 certificates/key saved
5. Use
journalctl -u netclient
to examine the Network Daemon log file.
Copy code
...
Jun 05 14:56:17 a1 systemd[1]: Stopped Netclient Daemon.
Jun 05 14:56:17 a1 systemd[1]: Started Netclient Daemon.
Jun 05 14:56:17 a1 netclient[33135]: [netclient] 2022-06-05 14:56:17 initializing network TEST1
Jun 05 14:56:17 a1 netclient[33135]: [netclient] 2022-06-05 14:56:17 started daemon for server  broker.nm.AAA-BBB-CCC-DDD.nip.io               
Jun 05 14:56:17 a1 netclient[33135]: [netclient] 2022-06-05 14:56:17 initializing network TEST2
Jun 05 14:56:17 a1 netclient[33135]: [netclient] 2022-06-05 14:56:17 netclient daemon started for server:  broker.nm.AAA-BBB-CCC-DDD.nip.io
Jun 05 14:56:17 a1 netclient[33135]: 2022/06/05 14:56:17 could not read client cert/key tls: private key does not match public key
Jun 05 14:56:17 a1 systemd[1]: netclient.service: Main process exited, code=exited, status=1/FAILURE
Jun 05 14:56:17 a1 systemd[1]: netclient.service: Failed with result 'exit-code'.
Jun 05 14:56:19 a1 systemd[1]: Stopped Netclient Daemon.
...
6. Netclient Daemon never restarts successfully.
3 Views