Commit 8acd44e
python: uri: use path to current flux executable in lsf resovler
Problem: The lsf URI resolver plugin executes `ssh flux uri resolve..`
on a compute host during URI resolution, but this may not work if the
remote host has a different version of Flux installed as the system
instance.
Assume a shared filesystem by default and replace `flux` with the path
to the local flux executable by using shutil.which("flux"). As with the
ssh connector, allow this to be overridden with `FLUX_SSH_RCMD`.
Fixes #45581 parent c315685 commit 8acd44e
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
84 | 96 | | |
85 | 97 | | |
86 | 98 | | |
| |||
0 commit comments