Support #24637

Feature #24546: Add the ability to use CVMFS on sites that do not provide local installations

Integrate CVMFS feature with GlideinWMS code base

Added by Namratha Urs 8 months ago. Updated 3 months ago.

Work in progress
Target version:
Start date:
Due date:
% Done:


Estimated time:


Document all updates with respect to the integration of CVMFS feature with GlideinWMS code base (including running all required tests).


#1 Updated by Namratha Urs 7 months ago

  • % Done changed from 0 to 30
  • Status changed from New to Work in progress
Started work on the CVMFS feature integration with GlideinWMS this week:
  • Gained a fair understanding of the integration process and how the configurations work internally
  • Reviewed the script to understand what happens during startup of glideins
  • Experimented with <file> and <attr> settings to understand how the configurations in the factory xml map to the glidein configuration file
  • Completed configuration for the shipping of the executable script and the tarball with the glidein
  • Successful in incorporating parts of the prototype code into the executable script that performs system checks and logs system information during glidein startup
  • Continuing to work on integrating the remaining of the prototype code with GWMS
Issue(s) encountered:
  • (RESOLVED) Tarball containing cvmfs utilities was not being unpacked in the glidein's main directory
    • Defined sequence in the factory config xml had the executable script first followed by the tarball (file named under the glidein main directory had the exact same sequence)
      • The contents of the tarball do not get untarred until the executable script completed, thereby making the untar location inaccessible while the script was in execution
    • Reordered the sequence under <file> parameter to have the tarball first followed by the executable script that uses the tarball (xml snippet below)
      <file absfname="/etc/gwms-factory/cvmfs_gwms/cvmfs_utils.tar.gz" executable="False" wrapper="False" untar="True" const="True" relfname="cvmfs_utils.tar.gz"  comment="Tarball containing utilities for CVMFS." />
      <file absfname="/etc/gwms-factory/cvmfs_gwms/" executable="True" wrapper="False" untar="False" const="True" relfname=""  comment="Wrapper script used for CVMFS detection/setup." />

#2 Updated by Namratha Urs 7 months ago

  • % Done changed from 30 to 50

Code refactoring in progress for feedback received during the code review meeting and 1:1 discussions. Intermittent code changes will be pushed to the refactor-code branch on the following github repository -

#3 Updated by Namratha Urs 7 months ago

  • % Done changed from 50 to 80
  • Completed testing of the CVMFS-related scripts (including the tarball) with the glideins.
  • Working on the last step of the integration process, i.e. to include the script and the tarball to the default list of uploads.
    • Having trouble locating the script to make the modifications.

#4 Updated by Dennis Box 4 months ago

  • Target version changed from v3_7_1 to v3_7_2
  • Assignee set to Namratha Urs

#5 Updated by Marco Mambelli 3 months ago

  • Target version changed from v3_7_2 to v3_7_3

Also available in: Atom PDF