[LU-12726] sanity-sec "error: set_param: setting /sys/fs/lustre/mdt/lustre-MDT0000/identity_upcall=NONE: wrote only 1" Created: 04/Sep/19 Updated: 26/Nov/19 Resolved: 12/Nov/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0 |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | James Nunez (Inactive) | Assignee: | James Nunez (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
sanity-sec tests are passing, but there is are errors seen in the suite_log when setting the identity_upcall parameter. Looking at the logs at https://testing.whamcloud.com/test_sets/b76d7526-cf1b-11e9-98c8-52540065bddc , all tests pass, but it looks like ‘lctl set_param’ is failing when setting identity_upcall: CMD: trevis-3vm6 lctl get_param -n mdt.lustre-MDT0000.identity_upcall CMD: trevis-3vm6 lctl set_param -n mdt.lustre-MDT0000.identity_upcall "/usr/sbin/l_getidentity" trevis-3vm6: error: set_param: setting /sys/fs/lustre/mdt/lustre-MDT0000/identity_upcall=/usr/sbin/l_getidentity: wrote only 1 CMD: trevis-3vm6 lctl set_param -n mdt/lustre-MDT0000/identity_flush=-1 == sanity-sec test 0: uid permission ================================================================= 06:02:21 (1567576941) … == sanity-sec test 16: test nodemap all_off fileops ================================================== 06:19:44 (1567577984) CMD: trevis-3vm6 /usr/sbin/lctl get_param -n version 2>/dev/null || /usr/sbin/lctl lustre_build_version 2>/dev/null || /usr/sbin/lctl --version 2>/dev/null | cut -d' ' -f2 CMD: trevis-3vm6 /usr/sbin/lctl set_param mdt.*.identity_upcall=NONE trevis-3vm6: error: set_param: setting /sys/fs/lustre/mdt/lustre-MDT0000/identity_upcall=NONE: wrote only 1 .. We see this error prior to test 0, in tests 16, 17, 18, 19, 20, 21, 22, 23a, 23b, 24, 27a and 31 This error started on 02 August 2019 with Lustre 2.12.56.84 with logs at https://testing.whamcloud.com/test_sets/8867f248-b561-11e9-b753-52540065bddc Logs from 31 July 2019 Lustre 2.12.56.72 does not show this error; https://testing.whamcloud.com/test_sets/8c552c22-b3cc-11e9-9f36-52540065bddc . The following patches landed between 2.12.56.72 and 2.12.56.84 and, of these, the LU-8066 mdt: migrate procfs files to sysfs patch looks like a possible candidate for this issue: |
| Comments |
| Comment by Gerrit Updater [ 04/Sep/19 ] |
|
Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36052 |
| Comment by Patrick Farrell (Inactive) [ 04/Sep/19 ] |
|
The tests are passing because the error is kind of spurious - the setting is still being stored correctly, we're just not returning the right value to userspace so it looks like the write didn't work. |
| Comment by Gerrit Updater [ 12/Nov/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36052/ |
| Comment by Peter Jones [ 12/Nov/19 ] |
|
Landed for 2.14 |