Maas DHCP not working any more since 2.9 snap refresh from 2021-02-17
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Alberto Donato | ||
snapd |
Expired
|
Undecided
|
Unassigned |
Bug Description
## Problem description
Maas Server incl. DHCP was working fine till latest snap refresh from 2021-02-17.
Since that refresh, DHCP requests are not answered by maas DHCP (and not logged any more) and the server (Hyper-V VM) with 4 CPUs has permanently a very high CPU usage, mostly between 70 to 100%.
Restarting maas or the VM didn't resolve the issue.
The DHCP service of the additional MAAS rack server doesn't work any more, too. So, all DHCP devices of my network are OFFLINE since that date (okay, as a workaround, I started another DHCP server meanwhile, so I'm not completely offline; but this is not a real resolution).
### Exemplary htop results
1 [||||||
2 [||||||
3 [||||||
4 [||||||
Mem[|
Swp[| 780K/2.00G]
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
1035 root 20 0 732M 120M 25352 S 100. 3.8 21h13:54 python3 /snap/maas/
1032 root 20 0 809M 136M 25372 S 98.7 4.3 21h23:38 python3 /snap/maas/
1213 root 20 0 809M 136M 25372 R 98.7 4.3 2h59:04 python3 /snap/maas/
1036 root 20 0 877M 122M 25448 S 94.3 3.8 21h12:41 python3 /snap/maas/
1034 root 20 0 661M 122M 25992 S 93.4 3.8 21h14:48 python3 /snap/maas/
1159 root 20 0 877M 122M 25448 R 91.7 3.8 3h51:04 python3 /snap/maas/
1106 root 20 0 661M 122M 25992 R 90.0 3.8 3h30:43 python3 /snap/maas/
1232 root 20 0 732M 120M 25352 S 89.1 3.8 3h54:01 python3 /snap/maas/
85066 postgres 20 0 213M 25068 20600 S 21.8 0.8 0:00.44 postgres: 12/main: maas maasdb 192.168.1.22(58746) idle
85019 postgres 20 0 213M 29240 24616 S 19.2 0.9 0:01.68 postgres: 12/main: maas maasdb 192.168.1.22(58724) idle
84943 postgres 20 0 213M 29400 24740 S 16.6 0.9 0:03.34 postgres: 12/main: maas maasdb 192.168.1.22(58698) idle
84746 postgres 20 0 214M 29456 23844 S 14.8 0.9 0:10.23 postgres: 12/main: maas maasdb 192.168.1.22(58630) idle
85085 root 20 0 5784 4124 2904 R 10.5 0.1 0:00.74 htop
1098 root 20 0 732M 120M 25352 R 7.0 3.8 3h47:18 python3 /snap/maas/
942 root 20 0 676M 90328 10296 S 3.5 2.8 23:35.87 /snap/maas/
1143 root 20 0 732M 120M 25352 S 2.6 3.8 3h45:38 python3 /snap/maas/
84924 postgres 20 0 213M 25068 20600 S 2.6 0.8 0:04.56 postgres: 12/main: maas maasdb 192.168.1.22(58694) idle
46450 root 20 0 877M 122M 25448 S 1.7 3.8 1h26:59 python3 /snap/maas/
975 root 20 0 676M 90328 10296 S 1.7 2.8 5:37.90 /snap/maas/
946 root 20 0 408M 85868 16900 S 0.9 2.6 1h25:48 python3 /snap/maas/
948 root 20 0 940M 110M 24892 S 0.9 3.5 2h19:45 python3 /snap/maas/
972 root 20 0 676M 90328 10296 S 0.9 2.8 5:33.69 /snap/maas/
688 root 20 0 29384 24608 9124 S 0.9 0.8 16:32.13 python3 /snap/maas/
973 root 20 0 676M 90328 10296 S 0.9 2.8 5:46.30 /snap/maas/
3352 root 20 0 661M 122M 25992 S 0.9 3.8 3h28:31 python3 /snap/maas/
1171 root 20 0 59272 54244 11860 S 0.9 1.7 3:10.70 python3 /snap/maas/
84346 administr 20 0 13932 6240 4768 S 0.9 0.2 0:00.43 sshd: administrator@pts/0
84594 postgres 20 0 221M 33868 25184 S 0.9 1.0 0:17.07 postgres: 12/main: maas maasdb 192.168.1.22(58580) idle
84839 postgres 20 0 220M 33428 24808 S 0.9 1.0 0:09.09 postgres: 12/main: maas maasdb 192.168.1.22(58662) idle
1155 root 20 0 661M 122M 25992 S 0.0 3.8 3h32:34 python3 /snap/maas/
1119 root 20 0 877M 122M 25448 S 0.0 3.8 3h44:57 python3 /snap/maas/
84976 postgres 20 0 213M 28352 23780 S 0.0 0.9 0:03.42 postgres: 12/main: maas maasdb 192.168.1.22(58712) idle
84815 postgres 20 0 212M 24072 19772 S 0.0 0.7 0:10.49 postgres: 12/main: maas maasdb 192.168.1.22(58650) idle
85086 postgres 20 0 211M 20816 17344 S 0.0 0.6 0:00.10 postgres: 12/main: maas maasdb 192.168.1.22(58750) idle in transaction
74516 root 20 0 877M 122M 25448 S 0.0 3.8 19:43.06 python3 /snap/maas/
974 root 20 0 676M 90328 10296 S 0.0 2.8 5:41.78 /snap/maas/
846 postgres 20 0 209M 27212 25152 S 0.0 0.8 0:46.77 /usr/lib/
83723 postgres 20 0 214M 31780 25772 S 0.0 1.0 0:30.23 postgres: 12/main: maas maasdb 192.168.1.22(58388) idle
1208 root 20 0 809M 136M 25372 S 0.0 4.3 3h00:31 python3 /snap/maas/
84590 postgres 20 0 214M 31304 25520 S 0.0 1.0 0:12.30 postgres: 12/main: maas maasdb 192.168.1.22(58576) idle in transaction
1100 root 20 0 732M 120M 25352 S 0.0 3.8 3h49:23 python3 /snap/maas/
1115 root 20 0 809M 136M 25372 S 0.0 4.3 3h00:45 python3 /snap/maas/
1144 root 20 0 732M 120M 25352 S 0.0 3.8 3h45:33 python3 /snap/maas/
6212 zabbix 20 0 22068 3480 2252 S 0.0 0.1 1:41.63 /usr/sbin/
1099 root 20 0 661M 122M 25992 S 0.0 3.8 3h30:22 python3 /snap/maas/
84604 postgres 20 0 214M 26496 20920 S 0.0 0.8 0:14.58 postgres: 12/main: maas maasdb 192.168.1.22(58584) idle in transaction
85006 postgres 20 0 213M 29180 24300 S 0.0 0.9 0:01.97 postgres: 12/main: maas maasdb 192.168.1.22(58720) idle in transaction
3350 root 20 0 661M 122M 25992 S 0.0 3.8 3h22:10 python3 /snap/maas/
2620 root 20 0 877M 122M 25448 S 0.0 3.8 3h40:40 python3 /snap/maas/
683 root 20 0 189M 18920 15448 S 0.0 0.6 0:22.89 php-fpm: master process (/etc/php/
F1Help F2Setup F3SearchF4Filte
## Maas snap version
Current maas snap version:
2.9/stable: 2.9.2-9164-
Last week, `maas changes` showed an interesting detail, that the refreshed, running maas container had a slightly lower version number than the previous "old" version which had got a higher build no. (This week, maas changes doesn't show any changes any more.)
## snap logs maas
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
2021-02-
Related branches
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 58 lines (+16/-6)2 files modifiedsrc/maasserver/dhcp.py (+6/-3)
src/maasserver/tests/test_dhcp.py (+10/-3)
Changed in maas: | |
status: | Expired → New |
Changed in maas: | |
status: | Incomplete → New |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 3.1.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
* Controller runs on Ubuntu 20.04
* Controller overview page indicates green check marks for all controllers
* Single controller page indicates green check marks for all controller services except DHCP