Project

General

Profile

Actions

action #70981

closed

[opensuse][qem] Improve zfs test

Added by ph03nix almost 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2020-12-22
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:

Description

This progress issue is to collect ideas and issues to improve the existing zfs test (https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10873)

From https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10873#discussion_r483432814

  • snapshot mounted by mount.zfs: /mnt/tank/initial is snapshot mounted ro by mount.zfs, which is not but recommended, but supported. It's mounted ro by default, so users cannot mess up with the content. So I would take out the ro option from the command on line 144 and add test, it it's really mounted this way.
  • clone created from the snapshot and mounted by zfs mount: /mnt/tank/second/ is mounted this way
  • add also recommended way of access to the snapshot - snaps are stored in the .zfs/snapshot directory within the root of the snapped file system, in this case it should be in /tank/.zfs/snapshot/initial
  • add NFS automount

Checklist

  • Add handling for .zfs/snapshot directories
  • NFS automount
  • Schedule in Tumbleweed Development group

Subtasks 1 (0 open1 closed)

action #81266: Improve output of zfs test failureResolvedph03nix2020-12-22

Actions
Actions #1

Updated by SLindoMansilla almost 4 years ago

  • Subject changed from Improve zfs test to [qam] Improve zfs test

As Felix is working on it

Actions #2

Updated by tjyrinki_suse almost 4 years ago

  • Status changed from New to Workable
  • Start date deleted (2020-09-04)
Actions #3

Updated by tjyrinki_suse over 3 years ago

  • Subject changed from [qam] Improve zfs test to [qe-core][qam] Improve zfs test
Actions #4

Updated by tjyrinki_suse over 3 years ago

  • Project changed from openQA Tests to 178
  • Subject changed from [qe-core][qam] Improve zfs test to [qam] Improve zfs test
  • Status changed from Workable to In Progress

Moved filesystem ticket to QE Kernel queue, set to In Progress instead of New if Felix is still working on it.

Actions #5

Updated by pcervinka over 3 years ago

  • Project changed from 178 to 46
  • Assignee changed from ph03nix to tjyrinki_suse

Kernel QE is not responsible for zfs testing.

Actions #6

Updated by tjyrinki_suse over 3 years ago

  • Project changed from 46 to openQA Tests
  • Subject changed from [qam] Improve zfs test to [opensuse][qem] Improve zfs test
  • Assignee changed from tjyrinki_suse to ph03nix

Yes this is actually opensuse specific task for now at least.

Actions #7

Updated by ph03nix over 3 years ago

  • Priority changed from Normal to Low

Still working on this one but with low priority.

Actions #8

Updated by ph03nix over 3 years ago

Hmmm, accessing snapshots via .zfs/snapshots yields the following error: http://phoenix-openqa.qam.suse.de/tests/4386#step/zfs/112

tumbleweed:/tank/.zfs/snapshot # ls
ls: cannot access 'initial': Too many levels of symbolic links
ls: cannot access 'second': Too many levels of symbolic links
ls: cannot access 'third': Too many levels of symbolic links

There are many closed issues about this error and this one is fresh: https://github.com/openzfs/zfs/issues/11334 https://github.com/openzfs/zfs/issues/9958

I've added our observations to the existing issue: https://github.com/openzfs/zfs/issues/9958#issuecomment-749488690

Actions #9

Updated by ph03nix over 3 years ago

  • % Done changed from 0 to 80

Resolved the issue in the test case. Last missing part if NFS automount, which we will do in a later moment.

Actions #10

Updated by ph03nix over 3 years ago

  • Checklist item changed from to [ ] Add handling for .zfs/snapshot directories, [ ] NFS automount, [ ] Schedule in Tumbleweed Development group
Actions #11

Updated by ph03nix over 3 years ago

  • Checklist item changed from to [x] Add handling for .zfs/snapshot directories
Actions #13

Updated by tjyrinki_suse about 3 years ago

  • Category set to Enhancement to existing tests
Actions #14

Updated by ph03nix over 2 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF