NS 7.9 Migration problem & error

NethServer Version: NS 7.9 to NS 8
Module: NS7.9 Migration Error

In a recent, first time configuration of NS8 on a Proxmox, following the NS8 documentation … successfully installed the NS8 and updated with latest patches. However, when I run the Migration app in NS7.9, I’m getting an error that I can’t seen to complete the migration…
Here’s the output I’m getting when I copied the command from the POP-UP Message and run in the terminal mode…

  "id": "1717508984",
  "type": "CommandFailed",
  "message": "Traceback (most recent call last):\n  
File \"/usr/lib64/python3.6/urllib/request.py\", line 1349, in do_open\n    encode_chunked=req.has_header('Transfer-encoding'))\n  
File \"/usr/lib64/python3.6/http/client.py\", line 1254, in request\n    
self._send_request(method, url, body, headers, encode_chunked)\n  
File \"/usr/lib64/python3.6/http/client.py\", line 1300, in _send_request\n    
self.endheaders(body, encode_chunked=encode_chunked)\n  
File \"/usr/lib64/python3.6/http/client.py\", line 1249, in endheaders\n    self._send_output(message_body, encode_chunked=encode_chunked)\n  
File \"/usr/lib64/python3.6/http/client.py\", line 1036, in _send_output\n    
self.send(msg)\n  
File \"/usr/lib64/python3.6/http/client.py\", line 974, in send\n    
self.connect()\n  
File \"/usr/lib64/python3.6/http/client.py\", line 946, in connect\n    
(self.host,self.port), self.timeout, self.source_address)\n  
File \"/usr/lib64/python3.6/socket.py\", line 724, in create_connection\n    raise err\n  
File \"/usr/lib64/python3.6/socket.py\", line 713, in create_connection\n    
sock.connect(sa)\nTimeoutError: [Errno 110] Connection timed out\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  
File \"/usr/sbin/ns8-join\", line 239, in <module>\n    call(api_endpoint, \"remove-external-domain\", payload['token'], (\"domain\": account_provider_domain), False)\n  
File \"/usr/sbin/ns8-join\", line 47, in call\n    post = request.urlopen(req, context=ctx)\n  
File \"/usr/lib64/python3.6/urllib/request.py\", line 223, in urlopen\n    
return opener.open(url, data, timeout)\n  
File \"/usr/lib64/python3.6/urllib/request.py\", line 526, in open\n    response = self._open(req, data)\n  
File \"/usr/lib64/python3.6/urllib/request.py\", line 544, in _open\n    '_open', req)\n  
File \"/usr/lib64/python3.6/urllib/request.py\", line 504, in _call_chain\n    result = func(*args)\n  File \"/usr/lib64/python3.6/urllib/request.py\", line 1377, in http_open\n    return self.do_open(http.client.HTTPConnection, req)\n  
File \"/usr/lib64/python3.6/urllib/request.py\", line 1351, in do_open\n    raise URLError(err)\nurllib.error.URLError: <urlopen error [Errno 110] Connection timed out>"

Seems like some library is missing or something, not sure what is the problem with the " request.py " file meant…

I think the Wireguard connection isn’t working. Could it be a firewall issue?

Is it possible to ping the wireguard IP (usually 10.5.4.1) of the NS8 from the NS7?

To check the wireguard services:

NS8:

systemctl status wg-quick@wg0.service -l

NS7:

systemctl status wg-quick@ns8.service -l

Check wireguard on both sides:

wg

The wireguard config files are in /etc/wireguard/*.conf

1 Like

Both of the NS7 ( 10.10.10.9 ) & NS8 (10.10.10.1) Wireguard IP is on same 10.10.10.x subnet, using the same port 55820 … I just verifed.
… Im not able to ping the NS8 Server … the NS8 is running on a Proxmox. Somehow, I not able reach the Host WireGuard-ip… but I can ping the host IP … I’d dig around & try to find out why, Thnx for the tips.