Jamesits / docker-ripe-atlas

This is the RIPE Atlas software probe packaged as a Docker image.
https://hub.docker.com/r/jamesits/ripe-atlas
GNU General Public License v3.0
151 stars 22 forks source link

Container keeps trying to register using IPv6 despite being disabled #30

Closed fl0wfr closed 7 months ago

fl0wfr commented 7 months ago

Hello,

I'm facing an issue while trying to register a new probe. The network attached to the container has IPv6 disabled, and IPv6 is disabled in container using sysctl options. Am I missing something? The logs seems to show that the container keeps trying to register using IPv6 connectivity:

ATLAS registration starting
REASON_FOR_REGISTRATION NEW NO previous state files
REGHOSTS reg03.atlas.ripe.net 193.0.19.246 2001:67c:2e8:11::c100:13f6 reg04.atlas.ripe.net 193.0.19.247 2001:67c:2e8:11::c100:13f7
ssh -p 443 atlas@2001:67c:2e8:11::c100:13f6 INIT
255  REGINIT exit with error
condmv: not moving, destination '/var/atlas-probe/data/out/v6addr.txt' exists
condmv: not moving, destination '/var/atlas-probe/data/out/simpleping' exists
 { "name": "lo", "bytes_recv": 838, "pkt_recv": 8, "errors_recv": 0, "dropped_recv": 0, "fifo_recv": 0, "framing_recv": 0, "compressed_recv": 0, "multicast_recv": 0, "bytes_sent": 838, "pkt_sent": 8, "errors_sent": 0, "dropped_sent": 0, "fifo_sent": 0, "collisions_sent": 0, "carr_lost_sent": 0, "compressed_sent": 0 }, { "name": "eth0", "bytes_recv": 1738, "pkt_recv": 20, "errors_recv": 0, "dropped_recv": 0, "fifo_recv": 0, "framing_recv": 0, "compressed_recv": 0, "multicast_recv": 0, "bytes_sent": 699, "pkt_sent": 9, "errors_sent": 0, "dropped_sent": 0, "fifo_sent": 0, "collisions_sent": 0, "carr_lost_sent": 0, "compressed_sent": 0 }RESULT 9006 done 1706622763 0242ac130009 no reginit.vol start registration
/var/atlas-probe/status/reginit.vol does not exist try new reg
Ping failed

g
ATLAS registration starting
REASON_FOR_REGISTRATION NEW NO previous state files
REGHOSTS reg03.atlas.ripe.net 193.0.19.246 2001:67c:2e8:11::c100:13f6 reg04.atlas.ripe.net 193.0.19.247 2001:67c:2e8:11::c100:13f7
ssh -p 443 atlas@2001:67c:2e8:11::c100:13f7 INIT
255  REGINIT exit with error
condmv: not moving, destination '/var/atlas-probe/data/out/v6addr.txt' exists
condmv: not moving, destination '/var/atlas-probe/data/out/simpleping' exists

Thanks for your help.

spiralshapeturtle commented 7 months ago

Yeah got the same, old probe. This bug is inserted in the latest releas(es). It was running fine for months.

spiralshapeturtle commented 7 months ago

My probe remains offline, thats the main reason I was looking in the logs.

root@pve:~/docker/stack_infra# docker exec -it atlas bash
root@atlas:/var/atlas-probe# telnet
bash: telnet: command not found
root@atlas:/var/atlas-probe# exit
exit
root@pve:~/docker/stack_infra# telnet reg03.atlas.ripe.net 443
Trying 2001:67c:2e8:11::c100:13f6...
Connected to reg03.atlas.ripe.net.
Escape character is '^]'.
SSH-2.0-OpenSSH_8.0
^]
telnet> quit
Connection closed.
root@pve:~/docker/stack_infra# telnet reg04.atlas.ripe.net 443
Trying 2001:67c:2e8:11::c100:13f7...
Connected to reg04.atlas.ripe.net.
Escape character is '^]'.
SSH-2.0-OpenSSH_8.0
^]
telnet> quit
Connection closed.
root@pve:~/docker/stack_infra# telnet -6  reg04.atlas.ripe.net 443
Trying 2001:67c:2e8:11::c100:13f7...
Connected to reg04.atlas.ripe.net.
Escape character is '^]'.
SSH-2.0-OpenSSH_8.0
^]
telnet> quit
Connection closed.
root@pve:~/docker/stack_infra# telnet -6  reg03.atlas.ripe.net 443
Trying 2001:67c:2e8:11::c100:13f6...
Connected to reg03.atlas.ripe.net.
Escape character is '^]'.
SSH-2.0-OpenSSH_8.0
^]
telnet>

REGHOSTS reg03.atlas.ripe.net 193.0.19.246 2001:67c:2e8:11::c100:13f6 reg04.atlas.ripe.net 193.0.19.247 2001:67c:2e8:11::c100:13f7
ssh -p 443 atlas@reg04.atlas.ripe.net INIT
reg server asked us to wait or there was an error. REG_WAIT_UNTIL 1706625857
condmv: not moving, destination '/var/atlas-probe/data/out/v6addr.txt' exists
condmv: not moving, destination '/var/atlas-probe/data/out/simpleping' exists
 { "name": "lo", "bytes_recv": 3327, "pkt_recv": 30, "errors_recv": 0, "dropped_recv": 0, "fifo_recv": 0, "framing_recv": 0, "compressed_recv": 0, "multicast_recv": 0, "bytes_sent": 3327, "pkt_sent": 30, "errors_sent": 0, "dropped_sent": 0, "fifo_sent": 0, "collisions_sent": 0, "carr_lost_sent": 0, "compressed_sent": 0 }, { "name": "eth0", "bytes_recv": 48474, "pkt_recv": 316, "errors_recv": 0, "dropped_recv": 0, "fifo_recv": 0, "framing_recv": 0, "compressed_recv": 0, "multicast_recv": 63, "bytes_sent": 41579, "pkt_sent": 258, "errors_sent": 0, "dropped_sent": 0, "fifo_sent": 0, "collisions_sent": 0, "carr_lost_sent": 0, "compressed_sent": 0 }RESULT 9006 done 1706625908 0242ac100825 no reginit.vol start registration
/var/atlas-probe/status/reginit.vol does not exist try new reg
Ping works
start reg
ATLAS registration starting
there is WAIT, REG_WAIT_UNTIL  , now is 1706625912
 REG_WAIT_UNTIL expired go re-reg 1706625857 now 1706625912
REGHOSTS reg03.atlas.ripe.net 193.0.19.246 2001:67c:2e8:11::c100:13f6 reg04.atlas.ripe.net 193.0.19.247 2001:67c:2e8:11::c100:13f7
ssh -p 443 atlas@193.0.19.247 INIT
Jamesits commented 7 months ago

Looks like an upstream issue, could you please open an issue on https://github.com/RIPE-NCC/ripe-atlas-software-probe and link it here?

fl0wfr commented 7 months ago

Well, I've checked the logs today and it seems to work now...