[LU-14632] sanity-hsm test_606: losetup: /dev/mapper/mds1_flakey: failed to set up loop dev Created: 22/Apr/21 Updated: 05/May/21 Resolved: 05/May/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0 |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Gryaznova | Assignee: | Elena Gryaznova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Epic/Theme: | patch |
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
To reproduce: setup Lustre with config mds1_HOST != mds1failover_HOST; without llmount.sh before the test run: ONLY=606 sh sanity-hsm.sh Test fails with : losetup: /dev/mapper/mds1_flakey: failed to set up loop device: No such file or directory The reason of failure: After check_and_setup_lustre() mds1_dev is equal to /dev/mapper/mds1_flakey, which is unexported to saved real device (/dev/vdc) by stop(): stop mds1 elif dm_flakey_supported mds1; then dm_cleanup_dev mds1 unexport_dm_dev mds1 As a result test_606():stack_trap() is called with non existing /dev/mapper/mds1_flakey:
stack_trap 'stop mds1; start mds1 /dev/mapper/mds1_flakey -o rw,user_xattr' EXIT
and failed as: losetup: /dev/mapper/mds1_flakey: failed to set up loop device: No such file or directory
|
| Comments |
| Comment by Gerrit Updater [ 22/Apr/21 ] |
|
Elena Gryaznova (c17455@cray.com) uploaded a new patch: https://review.whamcloud.com/43409 |
| Comment by Gerrit Updater [ 05/May/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43409/ |
| Comment by Peter Jones [ 05/May/21 ] |
|
Landed for 2.15 |