Pre-existing issues and follow-ups found while working on other tasks, kept out
of those changes. See "Scope Discipline" in AGENTS.md; the severity uses the
P0-P5 scale of "Debug And Ticket Priorities" there.
- File:
mgm/ofs/XrdMgmOfsFile.cc:1733-1745(PIO refusal inXrdMgmOfsFile::open),mgm/ofs/XrdMgmOfsFile.cc:4417(eos_errinXrdMgmOfsFile::Emsg). - Symptom: every PIO open of an obfuscated or encrypted file, read or write,
is refused with
ENOTSUPand logged at ERROR throughEmsg. The refusal is expected: the RAIN plugin always falls back to a gateway access, and the access works. A client using the plugin on such files produces one ERROR line per file in the MGM log. - Evidence:
Emsgcallseos_errfor every error it returns. VM check of 2026-10-23 (EOS-6676):Unable to open - PIO is not supported for obfuscated or encrypted files /eos/dev/test/piofb/f; Operation not supported, followed by a successful gateway write. - Severity: P4 (wrong log: an expected refusal the client recovers from is logged at ERROR; no data or metadata damage).
- Blocks the task: no (follow-up of MR !522, EOS-6676).
- File:
fst/xrdcl_plugins/RainFile.cc:248(OpenPio), reported atfst/xrdcl_plugins/RainFile.cc:162and:183. - Symptom: when the MGM refuses the PIO open request,
OpenPioreturns its ownerrNotImplementedstatus ("error PIO open request") instead of the status of the query. The fallback warnings, and the caller, then only show[ERROR] Operation is not implemented, whatever the reason: obfuscated or encrypted file, non-RAIN layout, anonymous client. - Evidence: plugin log of the VM check of 2026-10-23 (EOS-6676):
failed PIO write open, fall back to gateway write,err="[ERROR] Operation is not implemented"; the reason was only in the MGM log.RainFile.cc:246logs the status of the query at ERROR before replacing it; whether that status carries the MGM's message was not checked. - Severity: P4 (wrong error output: the plugin reports the wrong reason; the fallback works and nothing persists).
- Blocks the task: no (follow-up of MR !522, EOS-6676).
- File:
mgm/http/rest-api/config/tape/TapeRestApiConfig.cc:106(isStageEnabled, no caller), set bymgm/proc/admin/SpaceCmd.cc:1782-1811(SpaceCmd::TapeRestApiStageSubcmd). - Symptom:
eos space config default taperestapi.stage=offis stored and reported, butPOST /api/v1/stage/still accepts stage requests.StageController::handleRequest, which answered "not implemented" when the switch was off, was the only caller ofisStageEnabled(); 158b54e2d removed it with the controller. - Evidence:
git show 158b54e2dshows the removed check;grep -rn 'isStageEnabled()'now only finds its definition and declaration. Not reproduced on an instance. - Severity: P4 (an operator switch that has no effect; no data or metadata damage).
- Blocks the task: no (found while planning EOS-6713).
- File:
unit_tests/mgm/http/rest-api/tape/RestApiTest.cc:72-150,mgm/http/rest-api/handler/tape/TapeRestHandler.cc:50. - Symptom: the tests build
TapeRestHandler(createConfig(...).get()). Theunique_ptrreturned bycreateConfigis a temporary destroyed at the end of that statement, while the handler keeps the raw pointer inmTapeRestApiConfig.handleRequestdoesn't read the config today, so the tests pass; any code that reads it duringhandleRequestwould make them undefined behaviour. - Evidence: code reading.
- Severity: P5 (tests only, no failure today).
- Blocks the task: no (found while planning EOS-6713).
- File:
unit_tests/mgm/http/rest-api/tape/RestApiTestSupport.hh:38-47(createHttpRequest),common/http/HttpRequest.cc:47and:62. - Symptom:
createHttpRequestpasses&dataSize, the address of a local variable, to theHttpRequestconstructor, which keeps the pointer inmRequestBodySize. The local is gone when the function returns, soGetBodySize()on the returned request reads a dangling pointer. No tape REST code callsGetBodySize()today, so the tests pass; a handler that reads it would make them undefined behaviour. - Evidence: code reading (review of !590, 2026-11-27).
- Severity: P5 (tests only, no failure today).
- Blocks the task: no (found while reviewing EOS-6730).
- File:
mgm/http/rest-api/business/tape/TapeRestApiBusiness.cc:218-263(TapeRestApiBusiness::deleteStageBulkRequest),mgm/bulk-request/prepare/manager/PrepareManager.cc:505-521(doPrepare, end of the cancel and release path). - Symptom:
DELETE /api/v1/stage/{id}answers 500 and keeps the request when one of its files does not exist, e.g. a stage request accepted with a per-file "does not exist" error. The delete cancels every file of the request with a plainPrepareManager, whoseignorePrepareFailures()is false, so one missing file fails the whole cancel, and the request is only removed after a successful cancel. The request stays in/proc/tape-rest-api/bulkrequests/stageuntil an operator removes it.POST stage/{id}/cancelis not affected: it skips the files that have an error and uses theBulkRequestPrepareManager. - Evidence: reproduced on 2026-11-24 on the dev VM with
tapejwt(EOS-6721 red run): a stage of$dir/in/missingwith an in-scope token got 201 and a new entry, and the cleanup'sDELETE stage/<id>gotHTTP 500. The test now creates the file before its cleanup. - Severity: P4 (wrong error and an undeletable request through the API; no data or namespace damage, an operator can remove the entry).
- Blocks the task: no (EOS-6721; worked around in the instance test).
- File:
mgm/proc/user/RecycleCmd.cc(listing for the current uid); the help is inconsole/commands/native/recycle-proto-native.cc:33. - Symptom: as root, after
eos rmof a file in a directory with a recycle bin,eos recycle lsprints no entry;eos recycle ls --allshows it, with owner root. - Evidence: dev box (5.5.4, 2026-11-25): a probe directory with
recycle config --add-bin, an upload andeos rmas root:recycle ls | grep <path>finds 0 lines,recycle ls --all | grep <path>finds 1. The### Recycle-Lsline of the instance suite (namespace/recycle.bats) fails on it. The old eos-instance-test piped that line outside runtest, so its result was never checked. - Severity: P4 (wrong output of a listing; the entry exists and can be restored and purged).
- Blocks the task: no.
- File:
test/instance/io/rain.bats(the### Uploadline of the eoscp-rain test), same in the oldtest/eos-instance-test. - Symptom:
xrdcp: no such file or directory processing /tmp/eos-instance-test/rain/file3.rain. The setup makes the file, but it is gone when the eoscp-rain test runs. - Evidence: dev box, 2026-11-25: the old script (10:10) and the BATS suite (rerun at 13:4x) fail on the same line with the same message.
- Severity: P5 (test only, no EOS behavior; the eoscp-rain conversion is not tested).
- Blocks the task: no.