Commit 4529b62
authored
The NFS mount in test_main_prep_node.sh can fail with "access denied"
when the NFS server on FIRST_NODE hasn't fully registered its exports
before client nodes attempt to mount. This is a race between
setup_nfs.sh completing on the server and clush launching
test_main_prep_node.sh on all nodes simultaneously.
Add a retry loop (3 attempts, 5s apart) around the mount call, and
on final failure print showmount/getent diagnostics to aid debugging.
Also tighten the /proc/mounts grep to avoid false substring matches.
Signed-off-by: Ryon Jensen <ryon.jensen@hpe.com>
1 parent f0e08e5 commit 4529b62
1 file changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
345 | 364 | | |
346 | 365 | | |
347 | 366 | | |
| |||
0 commit comments