action #70981
closed[opensuse][qem] Improve zfs test
100%
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
Updated by SLindoMansilla over 4 years ago
- Subject changed from Improve zfs test to [qam] Improve zfs test
As Felix is working on it
Updated by tjyrinki_suse over 4 years ago
- Status changed from New to Workable
- Start date deleted (
2020-09-04)
Updated by tjyrinki_suse over 4 years ago
- Subject changed from [qam] Improve zfs test to [qe-core][qam] Improve zfs test
Updated by tjyrinki_suse over 4 years ago
- Project changed from openQA Tests (public) 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.
Updated by pcervinka over 4 years ago
- Project changed from 178 to 46
- Assignee changed from ph03nix to tjyrinki_suse
Kernel QE is not responsible for zfs testing.
Updated by tjyrinki_suse over 4 years ago
- Project changed from 46 to openQA Tests (public)
- 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.
Updated by ph03nix over 4 years ago
- Priority changed from Normal to Low
Still working on this one but with low priority.
Updated by ph03nix over 4 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
Updated by ph03nix over 4 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.
Updated by ph03nix over 4 years ago
- Checklist item changed from to [ ] Add handling for .zfs/snapshot directories, [ ] NFS automount, [ ] Schedule in Tumbleweed Development group
Updated by ph03nix over 4 years ago
- Checklist item changed from to [x] Add handling for .zfs/snapshot directories
Updated by ph03nix over 4 years ago
PR for the .zfs/snapshot handling: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/11654
Updated by tjyrinki_suse about 4 years ago
- Category set to Enhancement to existing tests
Updated by ph03nix over 3 years ago
- Status changed from In Progress to Resolved