Closed andresailer closed 5 months ago
TLDR: it effectively only works with DIRAC v9. The error shown is not dangerous, so ignore it.
In integration branch of DIRAC dirac-admin-add-pilot
has the following switches:
Script.registerSwitches(params.switches)
Script.registerArgument("pilotRef: pilot reference")
Script.registerArgument("VO: VO, or pilot owner group")
Script.registerArgument("gridType: grid type")
Script.registerArgument("pilotStamp: DIRAC pilot stamp")
So, basically there is an interface change because of the many DB changes. In the end I gave up on trying to make this work for every release (https://github.com/DIRACGrid/Pilot/pull/234/files, https://github.com/DIRACGrid/Pilot/pull/226).
Thanks for the explanation @fstagni !
Compare https://github.com/DIRACGrid/DIRAC/blob/baf7bb530b724b53d97fa74fccba19716447a9da/src/DIRAC/WorkloadManagementSystem/scripts/dirac_admin_add_pilot.py#L71-L76
with
https://github.com/DIRACGrid/Pilot/blob/c9bfc413ce862c66391892e05fda63f5dc8a96bd/Pilot/
And pilots having the message
So ownergroup/ownerdn should be VO or vice versa?