[Bug 1922933] Re: Hirsute QA-test: Install with ZFS, bpool not mounted after restart
Emanuel Wahlqvist
1922933 at bugs.launchpad.net
Wed Apr 7 15:56:59 UTC 2021
And additionally (might be a separate bug?) if installing a package then
zsys will state that a boot entry is created but the entry does not show
in the GRUB menu:
local at local-Standard-PC-i440FX-PIIX-1996:~$ sudo apt install htop
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
lm-sensors
The following NEW packages will be installed:
htop
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 109 kB of archives.
After this operation, 321 kB of additional disk space will be used.
Get:1 http://se.archive.ubuntu.com/ubuntu hirsute/main amd64 htop amd64 3.0.5-6 [109 kB]
Fetched 109 kB in 0s (1\u202f256 kB/s)
Requesting to save current system state
Successfully saved as "autozsys_3hmiag"
Selecting previously unselected package htop.
(Reading database ... 148893 files and directories currently installed.)
Preparing to unpack .../htop_3.0.5-6_amd64.deb ...
Unpacking htop (3.0.5-6) ...
Setting up htop (3.0.5-6) ...
Processing triggers for mailcap (3.68ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for man-db (2.9.4-2) ...
ZSys is adding automatic system snapshot to GRUB menu
** Attachment added: "GRUB menu after package install"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1922933/+attachment/5485240/+files/Screenshot%20from%202021-04-07%2017-56-23.png
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1922933
Title:
Hirsute QA-test: Install with ZFS, bpool not mounted after restart
Status in grub2 package in Ubuntu:
New
Bug description:
Running the test case specified in
http://iso.qa.ubuntu.com/qatracker/milestones/419/builds/229181/testcases/1716/results
At step 22, running the provided commands the output does not match
the expected values and "bpool" is not mounted, see below.
This test was performed in a VM created with Gnome Boxes but was
previously also tested on real hardware.
Result:
22. bpool is not mounted
local at local-Standard-PC-i440FX-PIIX-1996:~$ zfs mount
rpool/ROOT/ubuntu_lzzauv /
rpool/ROOT/ubuntu_lzzauv/var/lib /var/lib
rpool/ROOT/ubuntu_lzzauv/usr/local /usr/local
rpool/ROOT/ubuntu_lzzauv/var/www /var/www
rpool/ROOT/ubuntu_lzzauv/var/games /var/games
rpool/ROOT/ubuntu_lzzauv/srv /srv
rpool/ROOT/ubuntu_lzzauv/var/spool /var/spool
rpool/ROOT/ubuntu_lzzauv/var/mail /var/mail
rpool/ROOT/ubuntu_lzzauv/var/log /var/log
rpool/ROOT/ubuntu_lzzauv/var/snap /var/snap
rpool/ROOT/ubuntu_lzzauv/var/lib/AccountsService /var/lib/AccountsService
rpool/ROOT/ubuntu_lzzauv/var/lib/NetworkManager /var/lib/NetworkManager
rpool/ROOT/ubuntu_lzzauv/var/lib/dpkg /var/lib/dpkg
rpool/ROOT/ubuntu_lzzauv/var/lib/apt /var/lib/apt
local at local-Standard-PC-i440FX-PIIX-1996:~$ zsysctl show
Name: rpool/ROOT/ubuntu_lzzauv
ZSys: true
Last Used: current
Users:
# Extra commands not specified in test case:
local at local-Standard-PC-i440FX-PIIX-1996:~$ sudo zpool list
[sudo] password for local:
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 34G 3.56G 30.4G - - 1% 10% 1.00x ONLINE -
local at local-Standard-PC-i440FX-PIIX-1996:~$ sudo zpool status
pool: rpool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
80e602f5-ee94-f848-b8ba-02fc8435707c ONLINE 0 0 0
errors: No known data errors
Additional info:
local at local-Standard-PC-i440FX-PIIX-1996:~$ lsb_release -rd
Description: Ubuntu Hirsute Hippo (development branch)
Release: 21.04
local at local-Standard-PC-i440FX-PIIX-1996:~$ apt-cache policy grub2
grub2:
Installed: (none)
Candidate: 2.04-1ubuntu45
Version table:
2.04-1ubuntu45 500
500 http://se.archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 5.11.0-13.14-generic 5.11.7
Uname: Linux 5.11.0-13-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu61
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Apr 7 17:34:55 2021
InstallationDate: Installed on 2021-04-07 (0 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210407)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1922933/+subscriptions
More information about the foundations-bugs
mailing list