When operating install/removal with apt, zed floods log and apparently crashes snapshoting

Bug #1875767 reported by Leonardo Silva Amaral
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Won't Fix
Low
Unassigned
zsys (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Hello!

When I ran a install, it behaved like this:

ERROR rpc error: code = DeadlineExceeded desc = context deadline exceeded
... etc apt messages ...
A processar 'triggers' para libc-bin (2.31-0ubuntu9) ...
ERROR rpc error: code = Unavailable desc = transport is closing

Log gets flooded by the follow message:

abr 28 20:41:48 manauara zed[512257]: eid=10429 class=history_event pool_guid=0x7E8B0F177C4DD12C
abr 28 20:41:49 manauara zed[508106]: Missed 1 events

And machine load gets high for incredible amount of time. Workarround is:

systemctl restart zsysd
systemctl restart zed

System also gets a bit slow and fans get high for a while (because the load).

This is a fresh install of ubuntu 20.04 with ZFS on SATA SSD.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: zfsutils-linux 0.8.3-1ubuntu12
ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
Uname: Linux 5.4.0-28-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Apr 28 20:49:14 2020
InstallationDate: Installed on 2020-04-27 (1 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Leonardo Silva Amaral (leleobhz) wrote :
Revision history for this message
Leonardo Silva Amaral (leleobhz) wrote :

As recommended by sarnold@#ubuntu-devel.freenode, pasting entire apt command and output. It happened other times I did instalations too:

root@manauara:~# apt install pulseaudio-modules-bt libldac
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
The following additional packages will be installed:
  libfdk-aac1
Pacotes sugeridos:
  libavcodec
Os pacotes a seguir serão REMOVIDOS:
  pulseaudio-module-bluetooth
Os NOVOS pacotes a seguir serão instalados:
  libfdk-aac1 libldac pulseaudio-modules-bt
0 pacotes atualizados, 3 pacotes novos instalados, 1 a serem removidos e 0 não atualizados.
É preciso baixar 469 kB de arquivos.
Depois desta operação, 827 kB adicionais de espaço em disco serão usados.
Você quer continuar? [S/n] S
Obter:1 http://br.archive.ubuntu.com/ubuntu focal/multiverse amd64 libfdk-aac1 amd64 0.1.6-1 [366 kB]
Obter:2 http://ppa.launchpad.net/eh5/pulseaudio-a2dp/ubuntu disco/main amd64 libldac amd64 2.0.2.3-2~disco1 [28,1 kB]
Obter:3 http://ppa.launchpad.net/eh5/pulseaudio-a2dp/ubuntu disco/main amd64 pulseaudio-modules-bt amd64 1.1.99-3~disco1 [74,3 kB]
Baixados 469 kB em 2s (242 kB/s)

ERROR rpc error: code = DeadlineExceeded desc = context deadline exceeded
(Lendo banco de dados ... 175329 ficheiros e directórios actualmente instalados.)
A remover pulseaudio-module-bluetooth (1:13.99.1-1ubuntu3) ...
A seleccionar pacote anteriormente não seleccionado libfdk-aac1:amd64.
(Lendo banco de dados ... 175318 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../libfdk-aac1_0.1.6-1_amd64.deb ...
A descompactar libfdk-aac1:amd64 (0.1.6-1) ...
A seleccionar pacote anteriormente não seleccionado libldac:amd64.
A preparar para desempacotar .../libldac_2.0.2.3-2~disco1_amd64.deb ...
A descompactar libldac:amd64 (2.0.2.3-2~disco1) ...
A seleccionar pacote anteriormente não seleccionado pulseaudio-modules-bt.
A preparar para desempacotar .../pulseaudio-modules-bt_1.1.99-3~disco1_amd64.deb ...
A descompactar pulseaudio-modules-bt (1.1.99-3~disco1) ...
Configurando libldac:amd64 (2.0.2.3-2~disco1) ...
Configurando libfdk-aac1:amd64 (0.1.6-1) ...
Configurando pulseaudio-modules-bt (1.1.99-3~disco1) ...
A processar 'triggers' para libc-bin (2.31-0ubuntu9) ...
ERROR rpc error: code = Unavailable desc = transport is closing

Revision history for this message
Colin Ian King (colin-king) wrote :

@zsys maintainers, is this anything you can look at, I don't know much about how zsys and zed interact on these kind of zfs on root upgrade snapshots.

Changed in zsys (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Hey! Is this reproducible today? We made some performance improvements on zsys since then.

Please also, use the apport hook to help debugging:
apport-collect -p zsys 1875767

Changed in zsys (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zfs-linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Colin Ian King (colin-king) wrote :

@folks, any chance of reporting back on the changes made? It would be useful as we can see if the zsys fixes have addressed this issue and if we can close this bug report.

Revision history for this message
Colin Ian King (colin-king) wrote :

There has been no update on this bug report now for a few months. Closing it. If this is still and issue please re-open and update the report.

Changed in zfs-linux (Ubuntu):
status: Confirmed → Incomplete
importance: Undecided → Low
status: Incomplete → Won't Fix
Changed in zsys (Ubuntu):
assignee: Didier Roche (didrocks) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for zsys (Ubuntu) because there has been no activity for 60 days.]

Changed in zsys (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.