[LU-11162] run_lfsck() is not functional on suites where check_and_setup_lustre() is not called Created: 20/Jul/18 Updated: 21/Jan/22 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Gryaznova | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | test_script_improvements | ||
| Attachments: |
|
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
run_lfsck () {
...
wait_update_facet --verbose mds${k} "$LCTL get_param -n \
mdd.$(facet_svc mds${k}).lfsck_layout |
...
wait_update_facet --verbose mds${k} "$LCTL get_param -n \
mdd.$(facet_svc mds${k}).lfsck_namespace |
}
facet_svc() {
local facet=$1
local var=${facet}_svc
echo -n ${!var}
}
${facet}_svc is initialized here : check_and_setup_lustre() -> init_facets_vars() -> init_facet_vars() performance-sanity does not call check_and_setup_lustre(), all performance-sanity tests run with LFSCK_ALWAYS=yes fail as : == performance-sanity test complete, duration 169 sec ================================================ 09:24:18 (1531905858) fre1233: error: get_param: param_path 'mdd//lfsck_layout': No such file or directory fre1233: error: get_param: param_path 'mdd//lfsck_layout': No such file or directory
|