Virgo Logbook
UTC--:--:--
GPS-
Reports
Online Computing›Software Management #53270

Partial migration of Virgo users environment to IGWN env

In this afternoon shift we attempted to put in operation the IGWN based users environment by activating igwn-py39. While working we realized that a full activation would imply strong impact on CMT based C/C++ compilations in Cascina so we preferred to postpone a full activation to a later stage.

We also encountered strange problems while working directly with the igwn-py39 so we preferred to proceed in using the igwn-py39-testing one on which all our previous tests were made. Further checks will be done in parallel, and after today work, the eventual swap to igwn-py39 will be trivial.

What we have done is a partial migration by basically sobstituting the python3 coming from anaconda with the igwn-py39-testing one and by making avalable all Virgo and Ligo software installed under the igwn-py39-testing bin area via the $PATH mechanism.

The testing sequence has been as follow:

  1. Put ITF to DOWN

  2. Stop all running phyton3 based applications from VPM:

    • All Python based slow control processes (See list from Fig. 1, 2)
    • All Tango -> DAQ bridges (See list from Fig. 3)
  3. Modify the bashr_virgo to set the new PATH configuration and add the following new env variables needed by the conda installed version of PythonVirgoTools:

    • LEAP_FILE=/virgoData/LeapSeconds/leap-seconds.list

    • CHANNEL_PREFIX="V1:"

    • FFLPATH="/virgoData/ffl"

  4. Modify the local igwn-py39-testing env by adding the following packages needed by the mentioned applications this way:

    • pip3 install pymodbus

    • pip3 install pyusb

    • conda install -c tango-controls tango

    • conda install -c tango-controls pytango

    • copied over: cp /virgoApp/pyserver/v1r0/scripts/tangodata.py /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39-testing/lib/python3.9/site-packages/  (this need to be fixed at pyserver package level)

  5. Verify that PyCm/ PyFd/ PythonVirgoTools is correctly setup by:

    1. Running the test suite that comes with the packages

    2. Attempt to read data from an ffl

    3. Connect online to a process and extract its data

  6. Stop/restart one automation node (NARM_LOCK) and one PyALP server from VPM to check no impact on python2 based applications

  7. Restart all previously running phyton3 based applications and verify they run correctly. For some of them attempt some cm commanding from VPM vas attempted (SNEB_MotSwitch on/off)

  8. Have the Operator check that the main python based user GUI were running fine

  9. Put the ITF in the further achievable locking state wich went all smooth

In this configuration, users in cascina will be able to access all python3 igwn software, and more in general find all command line igwn applications.

Big care should be taken that the default python(2) installation is still the previous anaconda2 one, that is supporting legacy python2 aplications (such as metatron or PyALP) until they are fully ported to python3. So if a user need to access the igwn python, must explicitly use the python3, ipython3, jupyter3 and pip3 commands.