Hirsute QA-test: Install with ZFS, bpool not mounted after restart

Bug #1922933 reported by Emanuel Wahlqvist
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Undecided
Unassigned

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@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@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@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@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@local-Standard-PC-i440FX-PIIX-1996:~$ lsb_release -rd
Description: Ubuntu Hirsute Hippo (development branch)
Release: 21.04

local@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)

Revision history for this message
Emanuel Wahlqvist (emanuel-wahlqvist) wrote :
Revision history for this message
Emanuel Wahlqvist (emanuel-wahlqvist) wrote :

Trying to import the any pool results in

local@local-Standard-PC-i440FX-PIIX-1996:~$ sudo zpool import
   pool: bpool
     id: 13762932972893854867
  state: ONLINE
status: Some supported features are not enabled on the pool.
 action: The pool can be imported using its name or numeric identifier, though
 some features will not be available without an explicit 'zpool upgrade'.
 config:

 bpool ONLINE
   81baa623-c80b-ab4c-8fb5-35e5b4d1187f ONLINE

Specifying bpool explicitly:
local@local-Standard-PC-i440FX-PIIX-1996:~$ sudo zpool import bpool
local@local-Standard-PC-i440FX-PIIX-1996:~$ zpool status
  pool: bpool
 state: ONLINE
config:

 NAME STATE READ WRITE CKSUM
 bpool ONLINE 0 0 0
   81baa623-c80b-ab4c-8fb5-35e5b4d1187f ONLINE 0 0 0

errors: No known data errors

  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

Revision history for this message
Emanuel Wahlqvist (emanuel-wahlqvist) wrote :

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@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

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1922933

tags: added: iso-testing
Revision history for this message
Emanuel Wahlqvist (emanuel-wahlqvist) wrote :

This bug seems to be fixed in the daily ISO built on the 9/4, so I believe it can be closed.

Changed in grub2 (Ubuntu):
status: New → Fix Released
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.