Comment 13 for bug 1908452

Revision history for this message
dann frazier (dannf) wrote :

The issue is still reproducible with MAAS 2.9.0 (9137-g.8e920a12b):

wget hangs:

ubuntu@maas:~$ wget --tries=1 http://localhost:5240/MAAS/rpc -O /dev/null
--2021-01-14 01:26:52-- http://localhost:5240/MAAS/rpc
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:5240... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Giving up.

One of the regiond processes is hung in a read():
ubuntu@maas:~$ sudo netstat -pan | grep LISTEN | grep 5240
tcp6 0 0 :::5240 :::* LISTEN 678/python3
tcp6 0 0 :::5240 :::* LISTEN 677/python3
tcp6 0 0 :::5240 :::* LISTEN 679/python3
tcp6 51 0 :::5240 :::* LISTEN 675/python3
ubuntu@maas:~$ sudo strace -p 675
strace: Process 675 attached
read(10,

Which is on a socket connected to images.maas.io:
ubuntu@maas:~$ sudo lsof -i -a -p 675 | grep 10u
python3 675 root 10u IPv4 2839669346 0t0 TCP maas:57546->images-maas-io.sawo.canonical.com:https (ESTABLISHED)