Skip to content

Commit b06700d

Browse files
authored
Merge pull request #8591 from aldbr/fix-doc-certification
docs: add a note about the Site Director for overriding the DIRAC version installed in the pilot
2 parents 438ba33 + 2d5187b commit b06700d

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

  • docs/source/AdministratorGuide/Systems/WorkloadManagement/Pilots

docs/source/AdministratorGuide/Systems/WorkloadManagement/Pilots/index.rst

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,23 @@ Further details:
101101
Version override
102102
================
103103

104-
If you want to override, for development or debugging purposes, the version of DIRAC being installed by the pilot, you can set the option `/Resources/Computing/CEDefaultsModules` to `https://github.com/$DIRAC_test_repo/DIRAC.git:::DIRAC:::$DIRAC_test_branch`.
105-
This trick allows, for example, to install at runtme a specific branch of DIRAC. For example `https://github.com/DIRACGrid/DIRAC.git:::DIRAC:::integration` would install the `integration` branch,
104+
If you want to override, for development or debugging purposes, the version of DIRAC being installed by the pilot, you can set the option ``/Resources/Computing/CEDefaults/Modules`` to ``https://github.com/$DIRAC_test_repo/DIRAC.git:::DIRAC:::$DIRAC_test_branch``.
105+
This trick allows, for example, to install at runtime a specific branch of DIRAC. For example ``https://github.com/DIRACGrid/DIRAC.git:::DIRAC:::integration`` would install the ``integration`` branch,
106106
but similarly a non-released in-development branch can be set.
107107

108-
DIRAC extensions can be added on the same line after a comma, e.g. `/Resources/Computing/CEDefaultsModules=https://github.com/$DIRAC_test_repo/DIRAC.git:::DIRAC:::$DIRAC_test_branch,https://gitlab.cern.ch/$LHCBDIRAC_repo/LHCbDIRAC.git:::LHCbDIRAC:::$LHCbDIRAC_branch,https://gitlab.cern.ch/$LHCBDIRAC_repo/LHCbDIRAC.git:::LHCbDIRAC:::$LHCbDIRAC_branch`.
108+
.. note::
109+
110+
The SiteDirector reads this option when it builds the pilots. After changing ``/Resources/Computing/CEDefaults/Modules`` (or any other pilot configuration), you have to restart the SiteDirector agent for the change to be taken into account by the pilots it submits.
111+
112+
DIRAC extensions can be added on the same line after a comma, e.g.:
113+
114+
.. code-block:: bash
115+
116+
/Resources/Computing/CEDefaults/Modules=https://github.com/$DIRAC_test_repo/DIRAC.git:::DIRAC:::$DIRAC_test_branch,https://gitlab.cern.ch/$LHCBDIRAC_repo/LHCbDIRAC.git:::LHCbDIRAC:::$LHCbDIRAC_branch
117+
118+
.. note::
119+
120+
If the pilot version (e.g. ``Operations/Default/Pilot/Version``) points to a release that is already available on CVMFS, the pilot will favour that pre-installed release and ignore the ``Modules`` override. To force the pilot to perform the installation from the URL(s) above every time, set ``GenericOptions = diracInstallOnly`` in the same ``/Resources/Computing/CEDefaults`` section.
109121

110122
Pilot Commands
111123
==============

0 commit comments

Comments
 (0)