Virgo Logbook
UTC--:--:--
GPS-

Search results

964 results Latest activity first Clear
5 / 39

Words are matched anywhere in the title or body and all must appear. Put a phrase in "quotes" to keep it together, or separate spelling variants with commas to match any of them (65Hz, 65 Hz).

Reset
AdV-DET›Commissioning Updated · comment 22 Aug · 17:19 gouaty 22 Aug 2022 · 12:13 #56796

Problem of Vbias/shutter enabling for B1p quadrants

This morning I was alerted by the control room of a problem concerning the enabling of the B1p quadrants. They had to be rearmed and opened manually as they were not enabled automatically as we expected.

Fig.1 shows an ITF unlock that happened yesterday and produced a flash triggering the closing of the B1p QPD shutter and switch off of their Vbias. This explains why this morning we started with quadrants disabled (Vbias OFF and shutter closed).

During the relocks of this morning, The DRMI_LOCK node tried many times to enable the quadrants and we can infer it from the messages written in its log file:

2022-08-22-07h24m57-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h24m57-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h25m03-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h25m03-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h30m04-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h30m04-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h35m54-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h35m54-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h36m00-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h36m00-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h39m23-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h39m23-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h48m59-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h48m59-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h49m05-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h49m05-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2

However these commands did not seem to produce any effect on the quadrants as shown on Fig.2: the Vbias remained off and the shutter closed (no power seen on B1p_QD1/2_Sum) until 07h53 utc when the quadrants were enabled manually (with the vpm commands).

There does not seem to be any communication problem with the quadrant (the ethernet bridge ethmt7 answers to ping request, the commands sent to the QPD with VPM works). This suggests a possible software issue. To be further investigated.

1 2
carbognani, poulton · 22 Aug 2022 · 16:19 #56801

Investigating the problem, this seems specific to the utilization of Popen inside the automation in the action_QPD() function. What is happening is that the environment inherited in the Popen is not set correctly including the PATH variable and then the command telnet used for connecting to the ethernet bridge is not found.

The problem was indeed repeatedly reported by the DRMI_LOCK node in the log file wich also include the python errors themselves (the META_ one) as:

couldn't execute "telnet": no such file or directory
    while executing
"spawn telnet $remote_server $port"
    (file "/virgoData/VirgoOnline/Quadrant_cmd.exp" line 32)


From those log files it seems the problem started at the time of the automation porting to python3 done on the 9th of July.


While we keep investigating, we have solved the problem by passing explicitly the content of the current environment to the Popen via env=. This resulted in the following modification inside the action_QPD() function (META_library.py):

from:
handle = Popen(['/virgoData/VirgoOnline/Quadrant_cmd.exp', server, port, device, commandStr])
to:
d = dict(os.environ)
handle = Popen(['/virgoData/VirgoOnline/Quadrant_cmd.exp', server, port, device, commandStr], env=d)


We have tested this modification by trying a shutter opening (offline in the TESTTRON1 node and while already open not to interfere with ongoing shift) and verfing that the error above was not reported anymore.

Online Computing›Online System Processes Updated · comment 12 Aug · 10:38 carbognani, cortese, dibiase 11 Aug 2022 · 17:51 #56721

Problems with the Tango database cluster (olserver124 node corrupted)

This afternoon we experienced problems on the Tango database cluster with one machine (olserve124) becoming unresponsive and the cluster doing automatic swapping on olserver125.
Unfortunately, in this situation the Tango database servers (DataBaseds) were anyhow not able to connect to the database and reporting the error:

Starting tango db server in itf domain as user uid=1228(virgod) gid=5000(cvs) groups=5000(cvs),1100(virgo) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
virgod@olserver129[~]: main(): arrived
Received a CORBA::Exception
Tango exception
Severity = ERROR
Error reason = DB_SQLError
Desc : Failed to query TANGO database (error=Got error 157 'Unknown error code' from NDBCLUSTER)
The query was: SELECT count(*) FROM property_device_hist
Origin : DataBase::check_history_tables()
Exiting


From the ITF/Automation point of view, processes like SatServer (interfacing with the Tango DSPServers) doing only parameters reading at the moment, were able to carry on, but as soon as the Automation (INJ_MAIN) tried to set a value for the LNFS, we got immediately the error:
Received set_8_ampl message from INJ_MAIN
2022-08-11 14h00m23 UTC
Error communication with LNFS
.......
desc = Failed to connect to device sys/database/2
....

so the locking procedure was stuck.


Continuing on the investigation of the problem, the machine olserve124 resulted corrupted (and need to be later restored) and to complete a working fail over on olserve125 the restart of the whole cluster was needed (which took some time).

Ultimately, as soon as the cluster was again operational, we could restart correctly the DataBaseds, resume standard operation for Tango and ITF locking could proceed.

This event (and few other recent occurrences of Tango infrastructure problems) is another push toward the removal of the very few remaining critical dependencies on Tango within the Automation/Locking procedure, basically involving only LNFS100, SatServer and the Virgopll SQZ servers. Failures on the remaining Tango process (providing maily data collection) sould not prevent locking.
Porting of Virgopll SQZ servers to pyserver is already ongoing and, since quite straightforward, we are also working on a new version of the PyLnfs100 server connectly directly to the LNFS box and making redundant the Lnfs100 Tango server.

1
dibiase · 12 Aug 2022 · 09:38 #56732

Olserver124 recovered. All nodes in Cluster Mysql on line and working:

[root@olserver124 ~]# ndb_mgm
-- NDB Cluster -- Management Client --
ndb_mgm> show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)]    2 node(s)
id=3    @90.147.137.26  (mysql-5.6.21 ndb-7.3.7, Nodegroup: 0, *)
id=4    @90.147.137.27  (mysql-5.6.21 ndb-7.3.7, Nodegroup: 0)


[ndb_mgmd(MGM)]    2 node(s)
id=1    @90.147.137.24  (mysql-5.6.21 ndb-7.3.7)
id=2    @90.147.137.25  (mysql-5.6.21 ndb-7.3.7)


[mysqld(API)]    15 node(s)
id=5    @90.147.137.25  (mysql-5.6.21 ndb-7.3.7)
id=6    @90.147.137.25  (mysql-5.6.21 ndb-7.3.7)
id=7    @90.147.137.25  (mysql-5.6.21 ndb-7.3.7)
id=8    @90.147.137.24  (mysql-5.6.21 ndb-7.3.7)
id=9    @90.147.137.24  (mysql-5.6.21 ndb-7.3.7)
id=10 (not connected, accepting connect from any host)
id=11 (not connected, accepting connect from any host)
id=12 (not connected, accepting connect from any host)
id=13 (not connected, accepting connect from any host)
id=14 (not connected, accepting connect from any host)
id=15 (not connected, accepting connect from any host)
id=16 (not connected, accepting connect from any host)
id=17    @90.147.137.24  (mysql-5.6.21 ndb-7.3.7)
id=18    @90.147.137.25  (mysql-5.6.21 ndb-7.3.7)
id=19    @90.147.137.24  (mysql-5.6.21 ndb-7.3.7)

 

 

IT infrastructure›Computing Updated · comment 26 Jul · 18:11 dibiase 26 Jul 2022 · 16:01 #56551

Mysql Cluster down

Mysql Cluster environment lost iscsi disk that hosted Mysql-data because of removing all paths to the storage. It is an human action that caused this. Mysql Cluster was up and running since 2575 days.

I recovered those paths and reconnected the iscsi disk. All machines restarted and MysqlCluster recovered on olserver124, olserver125, olserver126 and olserver127.

 

1
carbognani · 26 Jul 2022 · 17:11 #56554
As soon as the mysql server was back online I just needed to restart the DataBaseds server on olserver120 to have back the Tango SAT operative. The depending SusDaqBridge and SatServer could resume their normal functioning without the need to restart (as supposed to be).

For INJ subsystem there was no need to restart DataBaseds to resume standard operation.

Everything seems back to normal since Automation has fully resumed  (INJ_MAIN is back to IMC_RESTORED and ITF_LOCK back to LOCKED_ARMS_IR)
Online Computing›Virgo Platforms and Services Updated · comment 22 Jul · 13:54 carbognani, cortese, dibiase, masserot 22 Jul 2022 · 12:54 #56512

Reboot of olservers/ctrls

Yesterday morning, in order to perform the following actions:

  1. Downgrade the olservers/ctrls kernel for common baseline
  2. Remount the /data nfs directory to restore the read/write block size
  3. have the Cm NameServer running from latest Cm version

the machines reported in the list below have been rebooted. The corresponding sequence that has been followed, in order to have the DAQ back operative asap, was:

  • Cm Name servers (for the Cascina, CascinaTest, CascinaLV, CascinaLVTest domains) restart from latest version (v10r03p3)
  • DAQ shutdown (Collection, Storage, Access)
  • VPM processes (for the VirgoOnline, VirgoOnlineTest, LowLatencyAnalysis and LowLatencyTest domains) shutdown
  • olserver52/53 and olserver113 reboot
  • VPM processes restart
  • DAQ restart (Collection, Storage, Access)
  • Stop from VPM of all  processes running on the olservers left to be rebooted
  • rest of olservers reboot
  • Restart from VPM of all  stopped processes

After checking that the situation was back as before, in particular looking at the DMS status, also the ctrls servers have been reboted (with corresponding reset of all thinlinc sessions running there)

 

---------------------------

 

ctrl1:..:ctrl26

olserver52
olserver53

olserver37
olserver38
olserver112
olserver113
olserver114

olserver115
olserver117
olserver118

olserver119
olserver121
olserver122
olserver129
olserver130
olserver134
olserver137
olserver141
olserver147

rdserver2

olserver220
olserver221
olserver222
olserver223
olserver224
olserver226
olserver227
olserver228

olserver225

servertcs1

olserverwin
cryolink-gui.virgo.infn.it

AdV-COM›automation Updated · comment 12 Jul · 07:51 carbognani, poulton 9 Jul 2022 · 18:03 #56396

Transition of the Automation nodes from python 2 to python 3

On today shift we successfully ported the Virgo Automation (metatron) from python 2 to python 3.

For the purpose we followed those steps:

  1. backup the current (python2 based) automation user code (in /virgoDev/Automation/userapps) into: /data/archive/software/SWRepository/misc/Automation/userapps/
  2. convert all scripts in /virgoDev/Automation/userapps to python 3 using the 2to3 utility including Meta_library
  3. reach the best locking achievable state (LOCKED_ARMS_BEAT_DRMI_1F) and then bring ITF_LOCK to DOWN and stop all nodes
  4. attempt manually to restart few test nodes (INJ_MAIN, SUS_*) using the latest version of python3 metatron installed in the production area: /virgoApp/metatron
  5. make default command line metatron and metamedm executables point to python3 install, ex:
    • metatron -> /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metatron-conda
    • metamedm -> /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metamedm-conda
  6. and so updating also the VPM configuration (which use the default metatron command)
  7. For all automation nodes (one at a time)
    1. start the node from VPM
    2. Run the corresponding python3 medm interface to control the node from ICEwm menu
    3. Drive the node in the further achievable state in stand alone
    4. Once all nodes have been started with python3 attempt to put the ITF in the further achievable locking state


While working and discovering some problem we have cycled trough the procedure 8.1-8.4 few times until stabilizing on version v0r2p1. In particular:

  • It was required that the python-ezca package was updated to include some extra conversions to python3.
  • In addition the metatron package was updated to include the metamedm-conda executable and to also kill any ghost guardian processes.
  • To get the medm client from the conda environment the epics-medm package was installed. The conda installation also installed the (LIGO) ezca package (which was required by the cdsutils package and must of been force removed before). But since we want to use the (VIRGO) ezca, the (LIGO) ezca was uninstalled along with cdsutils.
  • There was a problem with sudden missing channels, which could be due to the virgoLog filling ongoing at that moment. Once the filling (due to core files flooding by MBTA processes) was solved the probem did not occurr anymore.
  • It was also necessary to add guardlog into the InstallArea so the guardlog from conda would not be picked up.


At the end of the shift we leave all automation nodes running with python3 and the metamedm user interface pointing to the python3 version.

For full comparison, attached to this entry are the differences for all files into the userapp directory that have been introduced by our activities.

Activitiy and tests have started on the SQZ nodes at the end of our shift and will probably reported on a separate entry.

Further details:

  • The python3 based version of metratron (as separate guardian/ezca branches) are in Gitlab:
    • https://git.ligo.org/virgo/virgoapp/guardian-py3/-/tree/virgo
    • https://git.ligo.org/virgo/virgoapp/python-ezca/-/tree/virgo
  • This metatron version is taking all its dependencies from the cmt-conda standards environments inline with all the rest of python3 control application in Cascina (at the moment: /virgo/conda/envs/cmt-conda-py39-20220317)
  • In order to ease the python3 porting, what has been done is a pure replica of the existing integration of guardian into the Virgo environment and DAQ. A planned future step (most probably for the O5 timeframe) is the development of a unified IGWN guardian/metatron (similarly to the current effort for the kafka python client).
3 1
masserot · 11 Jul 2022 · 06:43 #56404

This morning I found that several metatron servers are using 100% of an olserver52 core :

  PID   TID  PPID USER     TT       PSR %CPU  NI PRI POL WCHAN     VSZ    SZ     ELAPSED COMMAND

12349 12349 12343 virgod   ?         18 99.8   0  19 TS  -      2095956 523989  15:25:30 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12952 12952 12946 virgod   ?         22 99.8   0  19 TS  -      2095956 523989  15:25:25 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
23872 23872 23866 virgod   ?         21 99.9   0  19 TS  -      2183412 545853 1-13:41:56 guardian SQZ_MAIN /virgoDev/Automation/userapps/SQZ_MAIN.py
34108 34108 34094 virgod   ?         31 99.9   0  19 TS  -      2183412 545853 1-12:47:26 guardian SQZ_MAIN /virgoDev/Automation/userapps/SQZ_MAIN.py
 5854  5854  5845 virgod   ?         25 99.9   0  19 TS  -      2093132 523283 1-07:03:41 guardian SQZ_FLT /virgoDev/Automation/userapps/SQZ_FLT.py

Morevover it seems that there is more than one instance of the ITF_LOCK  and SQZ_MAIN  metatron servers. Below the ITF_LOCK case where there is 3 instances of the ITF_LOCK metatron server

  PID   TID  PPID USER     TT       PSR %CPU  NI PRI POL WCHAN     VSZ    SZ     ELAPSED COMMAND
17222 17222     1 virgod   ?         16  0.0   0  19 TS  poll_s  28948  7237  1-14:15:22 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
17223 17223 17222 virgod   ?          9  0.0   0  19 TS  do_wai 113420 28355  1-14:15:22 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
17966 17966 17223 virgod   ?         27  0.0   0  19 TS  do_wai 113300 28325  1-14:15:22 bash /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
19151 19151 17966 virgod   ?         22  3.5   0  19 TS  poll_s 2104916 526229 1-14:15:20 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19151 19248 17966 virgod   ?         24  0.0   0  19 TS  futex_ 2104916 526229 1-14:15:16 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19250 19151 virgod   ?         18  1.3   1  18 TS  futex_ 2602420 650605 1-14:15:16 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19261 19151 virgod   ?         24  0.0   1  18 TS  futex_ 2602420 650605 1-14:15:16 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19262 19151 virgod   ?         29  0.2   1  18 TS  futex_ 2602420 650605 1-14:15:16 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19269 19151 virgod   ?         29  0.0   1  18 TS  skb_wa 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19272 19151 virgod   ?         28  0.0   1  18 TS  sk_wai 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19273 19151 virgod   ?         26  0.0   1  18 TS  futex_ 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19275 19151 virgod   ?         20  0.0   1  18 TS  sk_wai 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19276 19151 virgod   ?         20  0.0   1  18 TS  futex_ 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19277 19151 virgod   ?         28  0.0   1  18 TS  sk_wai 2602420 650605 1-14:15:14 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19278 19151 virgod   ?         28  0.0   1  18 TS  futex_ 2602420 650605 1-14:15:14 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19281 19151 virgod   ?         22  0.0   1  18 TS  sk_wai 2602420 650605 1-14:14:51 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19282 19151 virgod   ?         29  0.0   1  18 TS  futex_ 2602420 650605 1-14:14:51 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
11868 11868     1 virgod   ?          2  0.0   0  19 TS  poll_s  28948  7237    15:39:58 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
11869 11869 11868 virgod   ?          9  0.0   0  19 TS  do_wai 113420 28355    15:39:58 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12343 12343 11869 virgod   ?         28  0.0   0  19 TS  do_wai 113300 28325    15:39:57 bash /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12349 12349 12343 virgod   ?         30 99.8   0  19 TS  -      2095956 523989  15:39:55 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12349 12968 12343 virgod   ?         21  0.0   0  19 TS  futex_ 2095956 523989  15:39:48 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12471 12471     1 virgod   ?          8  0.0   0  19 TS  poll_s  28948  7237    15:39:53 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12472 12472 12471 virgod   ?          4  0.0   0  19 TS  do_wai 113420 28355    15:39:53 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12946 12946 12472 virgod   ?         27  0.0   0  19 TS  do_wai 113300 28325    15:39:52 bash /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12952 12952 12946 virgod   ?         28 99.8   0  19 TS  -      2095956 523989  15:39:50 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12952 12974 12946 virgod   ?         29  0.0   0  19 TS  futex_ 2095956 523989  15:39:46 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12970 12970 12349 virgod   ?         26  0.0   1  18 TS  futex_ 2102308 525577  15:39:48 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12976 12976 12952 virgod   ?         28  0.0   1  18 TS  futex_ 2102308 525577  15:39:46 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py

 

The situation has to be improved by the experts

carbognani, poulton · 11 Jul 2022 · 16:17 #56411
The duplicate process have been cleaned up by Alain.

The quick fix in order to prevent this problem occurring again was to have the killing of automation node duplicated process (zombies) mechanism restored. The duplicated process were not being killed anymore because of a change in behavior of the command to stop processes (most likely introduced in the computing upgrade). This has been resolved by correcting the command to stop the process before starting a new node process. This required a new version of metatron v0r2p2 to be deployed, this was tested by stopping and restarting a low-impact Node (ITF_STATUS) selected by the operator along with further test to the GUI log, graph and edit.
A longer term investigation on restoring full proper stopping/restarting of automation nodes from VPM has been started.
masserot · 12 Jul 2022 · 06:51 #56415

This morning there is still one metatron server ITF_STATUS using 100% of one of the olserver52 cpus :

Tue Jul 12 07:32:01 CEST 2022
27273 27273 26542 virgod   ?         25  0.0   0  19 TS  do_wai 113300 28325    14:57:00 bash /virgoApp/metatron/v0r2p2/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
27583 27583 26817 virgod   ?         30  0.0   0  19 TS  do_wai 113304 28326    14:57:00 bash /virgoApp/metatron/v0r2p2/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
26542 26542 26541 virgod   ?         14  0.0   0  19 TS  do_wai 113420 28355    14:57:01 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
26817 26817 26815 virgod   ?          9  0.0   0  19 TS  do_wai 113420 28355    14:57:01 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
27593 27623 27583 virgod   ?         31  0.0   0  19 TS  futex_ 2104116 526029  14:56:54 guardian ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27592 27621 27273 virgod   ?         23  0.0   0  19 TS  futex_ 2104116 526029  14:56:55 guardian ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
43538 43538 15909 virgod   pts/4     43  0.0   0  19 TS  pipe_w 112816 28204       00:00 grep --color=auto -E PID|ITF_STATUS
26541 26541     1 virgod   ?         24  0.0   0  19 TS  poll_s  28948  7237    14:57:01 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
26815 26815     1 virgod   ?         22  0.0   0  19 TS  poll_s  28948  7237    14:57:01 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
27627 27627 27592 virgod   ?         30  0.0   1  18 TS  futex_ 2106192 526548  14:56:54 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27639 27593 virgod   ?         23  0.0   1  18 TS  futex_ 2449616 612404  14:56:21 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27631 27593 virgod   ?         18  0.0   1  18 TS  futex_ 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27635 27593 virgod   ?         22  0.0   1  18 TS  futex_ 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27633 27593 virgod   ?         25  0.0   1  18 TS  skb_wa 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27638 27593 virgod   ?         26  0.0   1  18 TS  sk_wai 2449616 612404  14:56:21 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27634 27593 virgod   ?         28  0.0   1  18 TS  sk_wai 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27632 27593 virgod   ?         19  0.2   1  18 TS  futex_ 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27626 27593 virgod   ?         30  1.0   1  18 TS  poll_s 2449616 612404  14:56:54 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27593 27593 27583 virgod   ?         28  2.9   0  19 TS  poll_s 2104116 526029  14:56:58 guardian ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27592 27592 27273 virgod   ?         22 99.9   0  19 TS  -      2104116 526029  14:56:58 guardian ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
  PID   TID  PPID USER     TT       PSR %CPU  NI PRI POL WCHAN     VSZ    SZ     ELAPSED COMMAND

All the ITF_STATUS processes were stopped by hand and the ITF_STATUS Metatron server restarted from VPM

AdV-COM›automation Updated · comment 3 Jul · 17:44 bersanetti, carbognani 22 Jun 2022 · 17:33 #56229

Autorelock implementation

Today we worked on the Autorelock implementation, on two different items.


DRMI_LOCK node: what was still missing was to fix the issue reported in #56174, which is correct implementation of the management of the SUS_PR node by the DRMI_LOCK node during the initial DRMI lock acquisition, in case that the PR safety trips (Figure 1, last Thursday night).

The code changes are only in the DRMI_LOCK node, in the ACQUIRE_DRMI_1F state: here we delayed by 1 cycle the assessment of the state of SUS_PR, which is now successful; as a result, the logic of the state ACQUIRE_DRMI_1F had to be revised, as it could lead to the node actually preventing the usual misalignement of the PR done by hand in order to perform the DRMI pre-alignment.

As a consequence, after entering such state the user must wait until the notification disappears (a few seconds if everything is in place already) before performing the pre-alignment by hand.

Four forced tests of this have been performed; in all of them the DRMI_LOCK node correctly acknowledged the PR being tripped, and brought it back before re-attempting the lock of the DRMI.


ITF_STATUS node: here the issue was that, with the Autorelock engaged, after the timeout was reached the node did acquire control of the main locking node, ITF_LOCK, but it did not request the fallback state to be reached (Figure 2); the code of the LOCKING state of such node has been revised, and we enforced the management of ITF_LOCK by ITF_STATUS as soon as the Autorelock is engaged, not only in the case we need the fallback; this has the following consequences/advantages:

  • if ITF_LOCK is managed (i.e. the GUI is purple), the user knows that the Autorelock has been enabled, without the need of checking ITF_STATUS; in this case, the user can disable the Autorelock by asking ITF_STATUS the STOP state, in which ITF_LOCK will return un-managed;
  • we don't need to use perilous time.sleep calls inside the Metatron code.

The code has been prepared but we could not test it due to lack of time, so it's still not in production.

1 2
carbognani, magazzu · 3 Jul 2022 · 16:44 #56337

The goal of the shift was to verify the safety of lock losses when autorelock_failsafe is engaged, in particular considering the issues emerged during the previous tests.

The actions and tests performed were the following:

  • Restart of the ITF_STATUS node, verifying that the new stategy for management of ITF_LOCK node worked correctly, namely:

    • The management of ITF_LOCK by ITF_STATUS is performed while entering into AUTORELOCK_FAILSAFE

    • It is unmanage (by setting its MODE to AUTO) inside the STOP state and in any other human controlled state (COMMISSIONING, MAINTENANCE, etc.)

  • During the tests we encountered an error condition as soon as there was an unlock and transition to DOWN of ITF_LOCK plus transition to NOT_LOCKED of ITF_STATUS. In that case, an occurrence of ITF_LOCK stall was happening but the use of the standard unstall_nodes() decorator lead to an exeption. unstall_nodes() issue a guardian.Node.revive() command, which re-requests the last requested state but there was not any previous requested state. To overcome the problem a new decorator unstall_itf_lock() was introduced just issuing a request of the currently requested state:  nodes['ITF_LOCK'] = ezca['GRD-ITF_LOCK_REQUEST']

  • Test of the autorelock in case the retry number of locking attempts exceeds the max allowed retries set in the ini file (See plot #1, #2). For this test we set: locked_state_index = 65, locked_state_sqz_index = 65, max_lock_retries = 10 during the first test, 5 in the second, max_trans_duration = 2400. To perform systematics unlocks we waited for ITF_LOCK to surpass the step LOCKED_ARMS_IR_ALS and, from VPM, we closed and opened the Flip Mirror on the Green Path on SNEB. The test was performed twice to take into accounts modification of ITF_STATUS. At the end of both tests ITF_STATUS acknowledged the number of retries exceeded the one indicated and asked ITF_LOCK for the Fallback State (LOCKED_ARMS_IR). 

  • Test the autorelock to verify the retry count reset for the locking attempts in case ITF_LOCK could reach the target state (see Plot #3). For this test we set: locked_state_index = 58, locked_state_sqz_index = 58, max_lock_retries = 10, max_trans_duration = 2400. We manually triggered an unlock during the first attempt to increase the value of AUTRELOCK_RETRIES by 1, then to reach it the target. The counter resetted after ITF_STATUS switched to LOCKED State.

  • Test the autorelock in case the current locking attempt exceeds the max allowed duration set in the ini file (see plot #4). For this test we set:  locked_state_index = 65, locked_state_sqz_index = 65, max_lock_retries = 10, max_trans_duration = 300. To perform this test we manually set ITF_STATUS in AUTORELOCK_FAILSAFE, then asked ITF_LOCK to reach LOCKED_ARMS_BEAT_DRMI_1F. The timeout was triggered every time, putting the ITF back in the Fallback State (LOCKED_ARMS_IR). This test was repeated multiple times to verify its robustness.

  • Finally, we tried to reproduce the issue happened on June 13 Morning (see plot #5): after disengaging the Autorelock, the ITF was manually put in LOCKED_ARMS_IR but, after an unlock, it tried to reach CARM_NULL_1F. For this test we replicated the same condition of Sunday: while at LOCKING_ARMS_BEAT_DRMI_1F, we disegnaged the Autorelock and ask ITF_LOCK to go to LOCKED_ARMS_IR. After reaching this state, we triggered an unlock (by unlocking the IMC via VPM) and verified that it went back to LOCKED_ARMS_IR.

 

In the last 1/2 hour of the shift, while satisfied with the autorelock tests results we have attempted to put in operation a node (INJ_MAIN) running using the python3 ported version of metatron. After a simple and plain conversion of the user code via 2to3 (impacting actually only 2 lines of code) we made the node running and be managed by ITF_LOCK while reaching LOCKED_ARMS_IR without any evident misbehaviour. We have then reversed to the python2 version of the node. The generated data and logs will be analized offlline but this test result look quite promising for a smooth python3 porting.

AdV-TCS›CO2 laser projector Updated · comment 3 Jul · 08:48 taranto 2 Jul 2022 · 23:10 #56333

WI CH centering measurement

The goal of the shift is to check the centering of the WI CH/DAS on the CP centre identified by the lens induced by the RH, switched on last night (see entry 56330).

At 06.58 UTC I stopped the HWS-INJ acquisition and analysed the wavefronts acquired during the night to evaluate the coordinates of the RH lens: Y=(-3.01 +- 0.05) cm and X=(3.44 +- 0) cm (CP coordinate system).

At 08.20 UTC I started a new HWS-INJ acquisition and at 08.25 UTC WI CH was switched on @ 485 mW. I found the CH to be misaligned with respect to the CP centre (see table below). Thus, I proceeded to move the Hot Mirror on the CO2 WI bench. In this bench, the picomotors work properly.

All the HWS steady state maps are shown in figure 1 and the steps made to align the CH and their results are summarised in the following table.

 

Y coordinate [cm]

X coordinate [cm]

Reference (RH centre)

-3.01 +- 0.05

3.44 +- 0

CH at the beginning

-0.63 +- 0.04

1.65 +- 0

First movement: TX BACKWARD 11000 steps

CH after first movement

-2.56 +- 0.05

2.12 +- 0.04

Second movement: TY FORWARD 5500 steps

CH after second movement

-1.98 +- 0.04

3.58 +- 0.03

Third movement: TX BACKWARD 4500 steps and TY BACKWARD 2000 steps

CH after third movement

-3.89 +- 0

4.18 +- 0

Fourth movement: TY BACKWARD 3500 steps

CH after fourth movement

-3.07 +- 0.08

2.74 +- 0.07

After the last step, the WI-CH is better centred on the WI-RH centre, the differences are Y=(0.06 +- 0.13) cm and X= (0.70 +- 0.07) cm.

At 15.15 UTC I switched off the WI-RH.

I left the TCS powers condition of June 28th (see entry 56314):

 

CH [mW]

DAS IN [mW]

DAS OUT [mW]

WI

120

625

1510

NI

160

730

2570

1 1
carbognani · 3 Jul 2022 · 07:48 #56334

Since the swap of the NI and WI picomotor controllers was made (with no effect), the fact that the WI picomotors could be moved without problems confirm that at NI the problems must be somewhere after the controller.

Detector Operation›Operations Report Ops Rep Updated · comment 1 Jul · 18:59 Sposito 1 Jul 2022 · 15:01 #56326

Operator Report - Morning shift

The shift was dedicated to the planned TCS activity NI CH centering measurements performed by C. Taranto. We found an issue with TCSPicoNI,  we tried to stop and restart the process and to manually switch off and on the driver but we still have problems. 13:50 UTC I went into the TCS room in order to swap the NI and WI picomotors driver in order to see if it was the problem an investigation is ongoing, afternoon operator was informed about all situation.
Activity still in progress.

No DMS Events to report

Other
Vpm
10:47 UTC TCSPicoNI not working properly, so I stopped and restarted the process.
TCS
around 12:05 UTC F. Carbognani went into the TCS room to manually reset the PC unit that controls the Picomotors of the TCS benches in order to fix a problem.

1
carbognani, gherardini, sposito, taranta · 1 Jul 2022 · 17:59 #56328

As far as the problems reported to move the NI_HM_tx/ty picomotors we tryied:

  • stop/restart the TCSPicoNI server: no effects
  • reset (OFF/ON) the controller: no effects
  • swap WI and NI controllers: no effects

From the software/config point of view:

  • the ActuatorApp corresponding software (version v5r1p1) is unchanged from 2018
  • TCSPicoNI server config file is unchanged from 2016

We tryied to send command from a terminal via cm send just to exclude any problem from the Python client side but we had the same result.

The behaviour is that while moving both tx and ty channels in Forward direction, logs from the server report the move is performed but from the HWS we see no move at all,  while moving in Backward direction the move is reported as not performed by the controller. Correspondig logs below.

2022-07-01-12h23m11-UTC>INFO...-MoveRel NI_HM_ty F 5500.000000 command received from position -53337.000000
2022-07-01-12h23m15-UTC>INFO...-Memory Used increase, cur. 3884.00(KB), inc. 24.00(KB)
2022-07-01-12h23m19-UTC>INFO...-Ping command received
2022-07-01-12h23m40-UTC>INFO...-Ping command received
2022-07-01-12h23m51-UTC>INFO...-Ping command received
2022-07-01-12h24m09-UTC>INFO...-main> Stopped at position = -47837.000000
--------------------------------

2022-07-01-10h30m06-UTC>INFO...-MoveRel NI_HM_tx B 5500.000000 command received from position -50365.000000
2022-07-01-10h30m08-UTC>INFO...-main> Stopped at position = -50365.000000
 

Check to hear the picomotor  noise from outside the TCS bench enclousure were inconclusive. Inspection on the bench itself  seems needed., 

Detector Operation›Operations Report Ops Rep Updated · comment 13 Jun · 09:07 berni 12 Jun 2022 · 19:01 #56122

Operator Report - Daily shift

The goal of the shift was verify the safety of lock losses when the autorelock is engaged, see dedicated entry (56121); the activity was carried out without issues.
At the end of the shift the ITF was left in CARM_NULL_1F with the autorelock activated; Franco Carbognani will monitor the situation and in case of anomaluos situations will take care to put the ITF in safe condition.
Durng the shift we also verified the transition of the ITF modes from ITF_STATUS; the node has been left running and we can start to set the ITF Mode from that.
 
SUSP
At 14:09 UTC I manually open the WE LC to generate an unlcok for the autorelock tests; properly closed.
 
HVAC
High temperature in WAB; Davide has been informed by mail.

1 1
carbognani · 13 Jun 2022 · 08:07 #56124

After collecting a last unlock I checked again the correct behaviour of the autorelock failsafe.

While relocking, the system get stuck in the PR fine tuning (as usual). For not waiting the engagement of the failsafe (after 2400 sec) I just stopped the autorelock mode in the ITF_STATUS node (STOP) and put ITF_LOCK in the standard LOCKED_ARMS_IR state.

I leave the ITF_STATUS node up and running.

AdV-COM›automation Updated · comment 13 Jun · 09:03 berni, carbognani 13 Jun 2022 · 08:03 #56121

autorelock verification

The goal of the shift was to verify the safety of lock losses when autorelock_failsafe is engaged.

The procedure was the following:

  • restart the of the node ITF_STATUS and verify the new channels generated by the node (added by Diego in the last days):
    • DQ_META_AUTORELOCK_ENABLED: 0 if autorelock not engaged; 1 if autorelock engaged.
    • DQ_META_AUTORELOCK_DURATION: indicates how many seconds have passed since the start of current locking attempt.
    • DQ_META_AUTORELOCK_RETRIES: indicates the retry number the machine is currently at.
  • Test the autorelock in case the current locking attempt exceeds the max allowed duration set in the ini file. For this test we set:  locked_state_index = 105, locked_state_sqz_index = 105, max_lock_retries = 1, max_trans_duration = 300, tf_lock_fallback_state = LOCKED_ARMS_IR. The aurorelock was activate during a lock acquisition, the current lock acquisition exceeded 300s and triggered the safe condition: ITF_STATUS asked to ITF_LOCK to go in LOCKED_ARMS_IR and stopped to try lock (see plot1).
  • Test the autorelock in case the retry number of locking attemps exceeds max allowed number set in the ini file. For this test we set:  locked_state_index = 105, locked_state_sqz_index = 105, max_lock_retries = 10, max_trans_duration = 2400, tf_lock_fallback_state = LOCKED_ARMS_IR. To generate the unlock we have modified the function LSC_ENABLE_tripped() in meta library to always return a False value. We collected 9 unlocks at LOCKING_CARM_MC_IR and one 'natural unlock'; the tenth unlocks triggered the safe condition: ITF_STATUS asked to ITF_LOCK to go in LOCKED_ARMS_IR and stopped the lock retries (see plot2).
  • Test that the two counters are reset once reached the LOCKED status CARM_NULL_1F. For this test we set:  locked_state_index = 105, locked_state_sqz_index = 105, max_lock_retries = 10, max_trans_duration = 2400, tf_lock_fallback_state = LOCKED_ARMS_IR. To generate the unlock during the lock acquisition we manually open the WE loop, then the ITF was relocked and the counters reset. (see plot3)

We accumulated also few unlock/relock while in the CARM_NULL_1F status and verified that the relock mechanism was correctly triggered.

During the preparation/performing of those tests we checked/fixed the folowings:

  • A wrong indentation of the  ezca['GRD-ITF_STATUS_REQUEST'] = 'LOCKED' statement in the LOCKING run() was preventing the correct state transition and the correct relock attempt counting
  • We realized that every time an unlock occurred/was triggered the ITF_LOCK node (now managed by ITF_STATUS) was going into STALLED. To fix this we have added the @unstall_nodes(nodes) decorator in the LOCKED, NOT_LOCKED and LOCKING states (It should be probably added to all the rest of states just to stay on the safe side, to be discussed)
3
AdV-TCS›Wavefront sensing Updated · comment 9 Jun · 22:42 capocasa, carbognani derossi, menzione, nardecchia, taranto 9 Jun 2022 · 21:42 #56103

HWS-INJ full recovery

Today afternoon, we checked the alignment of the HWS-INJ SLED centering on the WI TM by switching on the WI CH as the reference. First of all, we switched off all the WI CO2 actuators (14.40 UTC) to allow the CP to cool down.

After switching on the WI CH @ 450 mW (16.03 UTC), it appeared miscentered on the HWS map in both horizontal and vertical directions (see ‘reference’ in fig.1). In agreement with the weekly coordinator and ISC people, it has been decided to go on with the activity in order to complete the HWS-INJ recovery. After Camilla put to the ground EIB, the SLED beam has been slightly moved by acting on the steering mirror ElB_Har_M0 (see fig. 2). We proceeded in an iterative way and finally we achieved a good centering (see ‘final’ in fig. 1).

Then, the WI CH power has been re-settled @120 mW and all the CO2 actuators have been switched on  at ~ 20.20 UTC.

 

2
AdV-DAQ›On Call Updated · comment 7 Jun · 13:41 pacaud, berni, verkindt, masserot, carbognani, cortese 17 May 2022 · 14:26 #55875

olserver52 issues

This morning, at around 6h30 UTC, olserver52 started to misbehave, showing an unreliable ethernet connection. As the problem was not easy to fix, we decided to move all the DAQ processes running on this machine to the spare machine, olserver53.

Most of the other processes already running on olserver53 were left untouched, except SpectroMoni, EnvDataWrite and Spare_IN1, which were stopped to free some ressources.

The 50Hz processes fed by FbmFFE complained about missing data. That was due to outdated info files already present in /dev/shm/VirgoOnline/FbmFFE. A removal of these files and a restart of the processes fixed the issue.

InjMoni and DetMoni consistently crashed on restart. This was due to an invalid memory access from the Frame library. These processes are temporarily restarted using a MoniServer compiled against the latest Frame library which include a fix for this issue. Dider is preparing a new version of Moni to be installed in /virgoApp.

INJ_MAIN metatron instances also refused to start. The issue is not yet understood but we are suspecting this is the same issue as for the MoniServer instances. Franco is preparing a new metatron using the fixed Frame library.

6
pacaud · 17 May 2022 · 14:38 #55876
At 2022-05-17 13h36m08 UTC, all the MoniServer instances were stoppped, and then restarted using Moni v2r11.

2022-05-17 13h36m08 UTC pacaud moniserver stopped (AliMoni, CaliMoni, HrecMoni not running and ignored)
2022-05-17 13h36m14 UTC pacaud process:DetMoni started
2022-05-17 13h36m18 UTC pacaud process:DaqMoni started
2022-05-17 13h36m19 UTC pacaud process:DQMoni started
2022-05-17 13h36m19 UTC pacaud process:EnvMoni started
2022-05-17 13h36m20 UTC pacaud process:InfraMoni started
2022-05-17 13h36m20 UTC pacaud process:InfraMoniAlarmed started
2022-05-17 13h36m21 UTC pacaud process:InjMoni started
2022-05-17 13h36m22 UTC pacaud process:ITFOnCallMoni started
2022-05-17 13h36m23 UTC pacaud process:QuadMoni started
2022-05-17 13h36m23 UTC pacaud process:ServersMoni started
2022-05-17 13h36m25 UTC pacaud process:SqzMoni started
2022-05-17 13h36m26 UTC pacaud process:SuspMoni started
2022-05-17 13h36m27 UTC pacaud process:SuspEBMoni started
2022-05-17 13h36m27 UTC pacaud process:SuspShortMoni started
2022-05-17 13h36m28 UTC pacaud process:TCSMoni started
2022-05-17 13h36m28 UTC pacaud process:VacuumMoni started
2022-05-17 13h36m49 UTC pacaud process:LockMoni started
2022-05-17 13h37m00 UTC pacaud process:SLCMoni started
bersanetti, carbognani · 17 May 2022 · 18:54 #55881

The issue regarding INJ_MAIN was due to the read of problematic post-processing channels found in the full frame and possibly linked to the mix of Frame library versions in use.

The solution about the new Metatron version using the fixed Frame library will be pursued during the move to Python3; for the time being it was sufficient to use the FDIN_TAG facility (see #55487) in order to acquire from the frame only the needed and standard channels from the DAQ.

INJ_MAIN was then restarted correctly and ITF_LOCK, which was temporarily disconnected from its use, has been restored correctly.

Right now, the only nodes which still are missing the FDIN_TAG functionality are SQZ_MAIN, SQZ_FLT, TCS_MAIN and CALI.

bawaj · 17 May 2022 · 21:47 #55884
SQZ_MAIN and SQZ_FLT nodes code was checked for the necessary channels and the FDIN_TAG was added. These processes shared Metatron.cfg configuration file between themselves and with the TCS_MAIN. To disentangle them, before placing the tag, the main configuration was edited to ensure separated cfg.

None of the nodes were turned on due to the on-going commissioning activity on the SQZ subsystem. The test of the tags will be performed in the next days.
bersanetti · 18 May 2022 · 11:38 #55894

The TCS_MAIN Metatron node has been updated to use the FDIN_TAG functionality; possible issues will be addressed when the node will be in use again.

narnaud · 18 May 2022 · 22:27 #55901

BRMSMon recompiled against Fd v8r43p3, as suggested by Benoît. New tag created (v6r0), VPM configuration updated and server restarted.

cortese · 7 Jun 2022 · 12:41 #56077

The problem was that the old olserver52 server hardware has been turned on by mistake and therefore it was causing IP address and authentication membership contention with the current server.

The good news are that there are no native failures in the current olserver52 server and it can be used again in redundancy with olserver53

Online Computing›Online System Processes Updated · comment 30 Apr · 13:47 carbognani 30 Apr 2022 · 12:47 #55666

TCSAgilisRot not running correctly from VPM

Today I was called by the operator because of the impossibility to restart correctly TCSAgilisRot from VPM.

Checking the situation I realized that TCSAgilisRot was left into a somehow not consistent configuration state in VPM after the Computing restart. To fix the situation I have generated the version v3r5 with a minor fix in order to run directly the PyAgilis.py application instead on the PyAgliis.sh script otherwise the environment would not be set correctly.

Correct restart from VPM could be then restored using v3r5 version.

Correct operativity will be confirmed this afternoon by the TCS team.

AdV-DET›Commissioning Updated · comment 15 Apr · 16:34 gouaty, spinicelli, bonnand, bulten, letendre, masserot, pacaud, carbognani, gherardini 15 Apr 2022 · 15:01 #55547

SPRB weight reshuffling and rebalancing

Following the replacement of the B4 diaphragm (https://logbook.virgo-gw.eu/virgo/?r=55516) and the installation of the new ethernet bridge and agilis driver (https://logbook.virgo-gw.eu/virgo/?r=55543), we removed the camera B6B9 (which was never used) from the bench. Fig.1 shows the picture before the camera removal, and Fig.2 shows the picture avec the camera removal.

The table below gives the list of added and removed weights during the whole week.

Added/removed weight on SPRB
Components Added weight Removed weight
Netcom 780 g  
Rotator controler 292 g  
In-air cable picomotors/rotator 119 g  
Domino 5 g  
USB power supply cable for the rotator controler 11 g  
Old netcom and screws   520 g
Old SPRB diaphragm   171 g
New SPRB diaphragm 116 g  
Camera box with basis and screws   1705 g
Clamp and screw to hold camera cable 20 g  
TOTAL 1343 g 2396 g

Thus in total we removed 1053 g from the bench. This was exactly compensated by adding the same amount of counter-weights as shown in Fig.3.

Then we displaced counter-weights on the bench in order to rebalance it. During this operation we put temporary weights in a symmetrical way with respect to bench center in order to lower the bench height close to 0.

Once we were able to close the angular control loops with the bench in air and the temporary weights still on, we contacted Henk Jan who reajusted the bench position in X and Z (https://logbook.virgo-gw.eu/virgo/?r=55544) and was then able to close the position loops (Fig.4).

We then reopened the position and angular loops, removed the temporary weights, and close the minitower door.

Vacuum team was contacted to start the evacuation.

1 4
gouaty, spinicelli · 15 Apr 2022 · 15:34 #55549

Forgot to mention that when the position loops were closed, the TX correction became a bit larger (around ~4V), thus we acted on the motorized counter weight in TX, performing -30000 steps to bring the correction back to 0.

Online Computing›Online System Processes Updated · comment 14 Apr · 20:00 carbognani, letendre, masserot, pacaud, poulton 14 Apr 2022 · 19:00 #55534

ITF Applications restart

Once the IT systems were again online  this morning we started the procedure for the ITF Applications restart with the folowing sequence:

Cm Name Servers and VPM processes restart

  • In this phase we profided for the creation of the CascinaLVTest domain to be associated to the LowLatencyTest VPM

DAQ restart (Collection, Storage, Access)
All other Virgo application restart
#1

  • Start of all Moni processes
  • Start of DMS processes

#2

  • Start of all MiniTower processes
  • Start of all INJ processes including TANGO ones (from Astor)
  • Start of all SQZ processes
  • Start of all Env Monitoring and Infrastructure processes
  • Start of all TCS processes
  • Start of all SAT processes including TANGO ones (from Astor)
  • Start of all VACUUM processes including TANGO ones (from Astor as supervis user on ctrl2)

#3

  • Start LowLatency Analysis processes
  • Start of all Automation processes
  • Start of all Detector Monitoring processes

As far as the:

  • Closing all Control Loops of minitowers and SAT towers
  • Closing all Control Loops of suspended benches

Those are still ongoing and will be covered by a separate entry

 

Online Computing›Virgo Platforms and Services Updated · comment 11 Apr · 11:24 amagazzu, carbognani 11 Apr 2022 · 10:24 #55509

ITF Applications shutdown

This morning we started the Computing Shutdown, here is the list of actions and related timetable:

Hardware in safe mode

  • TCS safe mode (see entries #55500, #55503);
  • Laser safe mode (see entry #55501);
  • Photon Calibrator safe mode (performed by Rolland on Friday from remote);
  • Squezeer safe mode (see entry #55505 and verified together with Zendri this morning);

All other Virgo application shutdown

#1 - Started at 6:30 UTC and concluded at 7:00 UTC;

  • Open all Control Loops of suspended benches

#2 - SBE Positions loops and Local Control opened on Sunday (see entry #55504), SAT Towers loops opened from 6:30 UTC to 7:00 UTC.

  • Open all Control Loops of minitowers and SAT towers

#3 - From 7:00 UTC to 8:20 UTC;

  • Stop LowLatency Analysis processes (including CascinaLV Cm sever and dedicated VPM server)
  • Stop of all Automation processes
  • Stop of all Calibration + Reconstruction processes
  • Stop of all DETChar processes

#4 - From 7:00 UTC to 8:20 UTC;

  • Stop of all MiniTower processes
  • Stop of all INJ processes including TANGO ones (from Astor)
  • Stop of all SQZ processes
  • Stop of all Env Monitoring and Infrastructure processes
  • Stop of all TCS processes
  • Stop of all SAT processes including TANGO ones (from Astor)
  • Stop of all VACUUM processes including TANGO ones (from Astor as supervis user on ctrl2)

#5 - From 7:00 UTC to 8:20 UTC;

  • Stop of all Moni processes
  • Stop of DMS processes

DAQ shutdown (Collection, Storage, Access) (Performed by Alain from remote)

Cascina Cm and VPM processes shutdown

--------------------------

Computing activity (as detailed here) are in progress.

Online Computing›Software Management Updated · comment 9 Apr · 17:12 carbognani, poulton 9 Apr 2022 · 16:12 #55496

Migration of VPM python applications to latest cmt-conda environment and users to latest IGWN environment

Python ITF control applications running from VPM in Cascina need to:

  • have available libraries that for any reason may not make sense to install at IGWN level into the igwn standard environments
  • point explicitly to the instance of a conda environment from were they get their libraries so that an update of the environment do not impact them (as it happen on C/C++ libraries with the rpath mechanism)

Such needs have been satisfied by:

  • the introduction of Cascina specific conda envisonments (so called cmt-conda envs) cloned from igwn standard ones and adding on top any further needed library. Those environment are made accessible at site level into the /virgo/conda/envs shared NFS HA area
  • The introduction of the Conda CMT package https://git.ligo.org/virgo/virgoapp/Conda from were pointing to a specific environment is managed via the standard "use" CMT mechanism

On today shift we have put in operation those mechanisms by running version of the pyton applications aligned on top of Conda v2r1p0 pointing to /virgo/conda/envs/cmt-conda-py39-20220317/

The cmt-conda-py39-20220317 contains the following additional/updated packages respect to the standard igwn-py39-20220317 environment:

  1. PyCm  - v7r5p6 - Required to fix pointer error described here: https://git.ligo.org/virgo/virgoapp/PyCm/-/issues/1
  2. websockets - 10.2   - Required by PyDdsServer
  3. pytango - 9.3.3 - Required by TangoDAQSmsBridge
  4. pyusb - 1.2.1 - Required by PyAgilis
  5. pymodbus  - 2.5.3 - Required by PySb

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 of corresponding python pakages with their updated version below)
    • All Tango -> DAQ bridges (TangoDAQSmsBridge package)
  3. 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

  4. Stop/restart one automation node (ITF_LOCK) and to check no impact on python2 based applications

  5. Restart all previously running phyton3 based applications and verify they run correctly. For few of them some cm commanding from VPM vas attempted (ex: SIB2_MotSwitch on/off)

  6. Put the ITF in the further achievable locking state which went all smooth

Once this was achived we proceeded in updating the standard igwn environment in Cascina to the latest gwn-py39-20220317 one (by updating the igwn-py39 link under /cvmfs). This way recent additions like the Igwn Alert are now available ( which hop: /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39/bin/hop).

From now on we intend to remain in sync with the update cycle of igwn envs

We should remind that 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.

-------------------------------

List of python based packages referred in VPM (except automation)

## Updated
PyRingHeater v1r4
PyPlc v2r2
PySb v4r4
PyLnfs100 v2r3
PySbEth v1r5
PartCount v2r3
PyGenie v2r3
PyVPMlauncher v1r3
PyCernpli v2r6
EnvSwepts v1r5
TangoDAQSmsBridge v6r3
PySat v2r3
PyGRBSNAlert v2r3

### Not updated
PyKeopsys - Waiting for https://git.ligo.org/virgo/virgoapp/PyKeopsys/-/merge_requests/2
PyALP - Waiting for https://git.ligo.org/virgo/virgoapp/PyALP/-/merge_requests/1
PyAgilis v3r3 - Need to understand what is the latest version with developers
PyDdsServer - using own conda env
VIRGODQR -waiting for new version with LIGO
Seismon - waiting for new version with LIGO
PyThorlabs - no repository
PyHWS - no repository
DMSserver  - No cmt directory/ python2
DMSpublisher  - still in python 2
DMSguard - No cmt directory/ python2
dms_web_app  - No cmt directory/ python2
 

 

 

AdV-ISC›Commissioning up to first full interferometer lock Updated · comment 10 Feb · 10:58 bersanetti, capocasa 9 Feb 2022 · 03:24 #54773

ISC Shift: Tests of LowNoise1 and Scan for SR AA Signals for DRMI Configuration

Today we wanted to work on the two items of testing again the LowNoise1 configuration (also disabling the ITM coils) and exploring the DRMI configuration (arms on beating signals and out of resonance for the IR, DRMI locked on 3f) in order to find viable error signals for a SR drift control in such phase, in order to make the alignment configuration for the DRMI repeatable during the CARM offset reduction phase of the lock acquisition.

At the very beginning of the shift we had some difficulties in acquiring the lock of the DRMI and keeping it, as we unlocked several times before the PR AA loops could be engaged; later during the shift, this problem partially mitigated itself.

We had only a small number of unlocks before reaching CARM Null, DRMI acquisition excluded:

  • 18:23:26 UTC : we unlocked because of a widespread missing of data, which triggered the new protection of the ALS_NARM node in case either the green source is missing or PSTAB is malfunctioning (Figure 1); although this was a good (and first, I guess) test of such protection, it makes us a little more vulnerable when this kind of events happens;
  • 18:43:56 UTC : unlock during the engagement of the SSFS.

We did several locks at CARM Null (trend in Figure 2), but almost all of them were quite fast in their degradation, especially in terms of stability of cavity powers and dark fringe power; many times a sort "bi-stable" behaviour showed up, sometimes related to the DARM optical spring becoming negative. About this, the general need for a high SRCL_SET was not present, as most of times the pole frequency was already around 20 Hz at the beginning of the lock and did not drift up considerably; during the locks we did the usual manual tunings of BS and SR TX, PR and DIFFp setpoints, DARM and SRCL boost filters were engaged; today, the BS_TX drift control was not reliable, but the cause has not been investigated yet.

During our trials, we made a short scan on SR in the aforementioned configuration: the data are from 20:33 to 20:40 UTC (quick trend in Figure 3) and we will look at the data offline.

Given that our trials to make the ITF more stable once in CARM Null were not very much successfull, towards the end of the shift we decided to do a very quick optimization and test the LowNoise1 configuration quite soon after reaching CARM Null and performing the usual manual operations:

  • 20:47:22 UTC : we reached CARM_NULL_1F, manual tunings started;
  • 20:50:00 UTC : 180s of clean data in HighPower configuration (the standard one);
  • 20:53:00 UTC : LowNoise1 configuration engaged;
  • 20:53:38 UTC : ITM coils moved to the 10k resistor configuration; In Figure 4 we can see the trend of the operations: while the switch from ITM to ETM was successfull, we are not sure that the disengagement of the ITM coils was as well: look more closely (Figure 5) we can see that the ITM coils (if these are good channels to look at) show a little jump, but not temporally correlated with the GPS of the command; also, the processes related to these threw several errors during the procedure, of the type:
    • 2022-02-08-20h53m38-UTC>INFO...-setting binary key 000000000000000000000000
      2022-02-08-20h53m38-UTC>INFO...-setting relay 24 to 0
      2022-02-08-20h53m38-UTC>ERROR..-unpack requires a buffer of 4 bytes
      2022-02-08-20h53m38-UTC>ERROR..-Modbus Error: [Input/Output] Unable to decode request
      Traceback (most recent call last):
        File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39/lib/python3.9/site-packages/pymodbus/transaction.py", line 208, in execute
          self.client.framer.processIncomingPacket(response,
        File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39/lib/python3.9/site-packages/pymodbus/framer/socket_framer.py", line 153, in processIncomingPacket
          self._process(callback)
        File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39/lib/python3.9/site-packages/pymodbus/framer/socket_framer.py", line 175, in _process
          raise ModbusIOException("Unable to decode request")
      pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request
  • 21:03:30 UTC : we unlocked, after several minutes of increased instability of the ITF, of the same kind of the one described above, showing though that the LN1 actuation can withstand these conditions; we did not see in this time frame any particular glitch on DARM, which was thought to have caused the unlocks during the previous tests; the only notable one was at 21:03:10 UTC, but with the ITF already quite degraded and the glitch was of a different, slower nature;
  • after the unlock we reverted the ITM coils to their standard state, again witnessing the same process errors as the one reported above.

We then left the ITF to the other scheduled activity.

1 5
carbognani, poulton · 10 Feb 2022 · 10:58 #54788

The reported Modbus error is followed up in this issue:
https://git.ligo.org/virgo/virgoapp/PySb/-/issues/1

To make the story short it seems that the commands sent are actually correctly executed so those errors can be discarded. Waiting for a final solution (which may imply the upgrade of the relay boards firmware) we will attemp to identify and silence this error so is not flooding the logs and possibly hide other errors.

A corresponding new version of the PySb code should be ready soon.

Deployment and Test of the TCS_MAIN Metatron Node

Today we put in operation the TCS_MAIN node, which is for now devoted to the automatization of the DAS characterization measurements via the HWS image acquisitions, as recently performed several times. This involves the management and the interaction of several layer of software, which make the controllability of the process not straightforwardly possible only at the Metatron level. Here I try to recap the several layers present, then the node states and their interface with the other software.


Software processes (all in the VPM unless specified):

  • ISYS_EER_DAC : used to drive the INJ HWS, as the flip mirror cannot be used as it is on EIB;
  • TTL_det : used to drive (with the flip mirror) the DET HWS; this will soon be decommissioned and it will be done in a similar way to the INJ one;
  • PyTCS : cm-enabled slow servo for the DAS/CH powers;
  • TCSAgilisRot : used to drive the waveplates for the DAS/CH actuators, handled directly by PyTCS;
  • HWS : cm-enabled server which interacts with the HWS acquisition software (this one is still in the VirgoOnlineTest environment but lives in the same cm space as the others);
  • TTL_co2 : used to drive the flip mirrors for the DAS/CH actuators;
  • TCS_MAIN : Metatron node which uses all of the above.

TCS_MAIN node: it has two configuration files: the usual .ini is where the user should put the desired parameters in the usual way. The .set one is used only by the node itself to store the reference powers of the DAS actuators. List of current states:

  • INIT (idx = 0) : initialization state, nothing is done here but the following; when the node is started a new channel is pushed in the DAQ, named V1:DQ_META_TCS_CALI_ON; when this is 1, it means that the measurement is ongoing or the node is not in a standard state (more below) so that this can be seen by other HWS acquisition softwares to avoid any superposition;
  • DOWN (idx = 1) : standard state when not operational; nothing is done here, besides putting the DQ_META_TCS_CALI_ON channel to 0;
  • DAS_CALI_FAULT (idx = 2, unrequestable) : fault state, where the nodes automatically goes when there is some error or user misconfiguration; the state cannot be exited automatically (redirect = False) and an error message is visible on the interface; user intervention required;
  • DAS_CALI_INIT (idx = 9, unrequestable) : transient state, where the pre-conditions for the measurement are set: the target DAS and RING are read from configuration. Then, the current DAS powers are saved in the .set file, the DQ_META_TCS_CALI_ON flag is put to 1, the PyTCS loop for the chosen actuator is switched off and all the flip mirrors are closed; then, a long cooldown is waited; all of this can be done while the ITF is in the LOCKED_ARMS_IR state (integration has been prepared offline, not deployed yet);
  • DAS_CALI_START (idx = 10, requestable) : steady state, nothing is done here but the state is entered only after the cooldown time; once here, the arms will be unlocked;
  • DAS_CALI_SETUP (idx = 11, unrequestable) : transient state, here the desired actuator to be characterized is prepared: the desired actuator power is read from the configuration file and it is set via the PyTCS process, then its loop is enabled and the relevant flip mirror opened; then the node checks that the power is actually reached by checking the accuracy down to a configurable percentile tolerance; if this does not happen after a configurable time, the DAS_CALI_FAULT state is triggered; instead, upon success, a heat-up time is waited before going on;
  • DAS_CALI_READY (idx = 12, requestable) : steady state, nothing is done here but the state is entered only after the heat-up time;
  • DAS_CALI_ACQUIRE (idx = 13, unrequestable) : transient state, where the actual measurement is performed: first, the relevant HWS is turned on and the other one is disabled; then, the node builds the data path where it expects the several type of images/wavefronts to show up; then, it launches in sequence the three measurements (dark = 1 img; ref = N imgs; live = N wavefronts each from M imgs); each measurement is launched via the HWS process and it waits for the last image (or wavefront) to appear on disk before moving to the next; for each case, there is also a safety timer which triggers the DAS_CALI_FAULT state in case there has been some problem with the Python script it actually launches (or the MATLAB one launched by it downstream);
  • DAS_CALI_DONE (idx = 14, requestable) : steady state, nothing is done here but the state is entered only after all the measurements have been made;
  • DAS_CALI_RESTORE (idx = 15, unrequestable) : transient state where the standard configuration is restored: nothing is done on the HWS, meaning that the one used will be left on while the other one will be left disabled; the reference power of the characterized actuator will be read from the .set configuration file and set as setpoint on its PyTCS loop; then, the same checks of loop convergence vs time/accuracy will be made, with the DAS_CALI_FAULT state as fallback; while doing this, all the flip mirrors will be opened and a heat-up time will be waited; in this state we may try to relock the arms already;
  • DAS_CALI_COMPLETE (idx = 16, requestable) : steady state, nothing is done here besides putting the DQ_META_TCS_CALI_ON channel back to 0, but the state is entered only after everything has been restored.

Commissioning of the node: we tested almost everything (we tried the WI OUTer ring, INJ HWS with low power drifts and smaller times and number of acquisitions) and we made almost everything work; a few things still to be addressed:

  • all the images were acquired correctly, but the wavefronts were not computed: this is because the HWS process launches the hwsAna2021.py script with an absolute path; instead, such script then launches MATLAB passing a local path for other scripts, which therefore cannot be found; this has to be addressed in the hwsAna2021.py script itself;
  • the correct filename for the last wavefront needs to be fixed, as it has a variable number of trailing zeros depending on the number of wavefronts acquired.

Other issues:

  • due to a code error in the _RESTORE state, we made the PyTCS process to crash; due to the ongoing development this was not started and should not be started again unless further notice; the WI OUT DAS power has been restored by hand and it is consistent to what was saved in the reference file;
  • we found a issue about the node itself: I moved it from the VirgoOnlineTest to VirgoOnline and used the standard parameters; however, due to the presence of the /virgoData/Automation/TCS_MAIN.cfg file the standard parameters were overridden and it expected to talk with the FbmMainTest and FbmAlpTest servers instead of the unTest ones, making the node stuck; thanks to Alain and Nicolas we could kill the process and the renaming of such file to TCS_MAIN.bak.cfg prevented other issues;
  • the .ini and .set files still need to be added to svn (swmgr permissions required);
  • the Metatron node consistently crashes when a code LOAD is attempted, even when there is no change in the code itself; this was already found as an issue for the SQZ_FLT node and it is under investigation; my first, naive, guess, given the only thing they have in common and by which they differ from the other nodes, is that the presence of two different configuration files is creating somehow the issue, but this should be tested throughly as an hypothesis.

At the end of the activity the node has been stopped, the integration with ITF_LOCK is still to be done, and the PyTCS process should be left turned off. Node layout is attached.

1

Restart of the Cascina and CascinaLV NameServer using Cm v10r00

In order to put in operation the Cm v10r00 version, the NameServer for the Cascina and CascinaLV domains have been restarted at around 08:40 local time.

This new version is fixig the problem of the limitation to 1024 Cm connections which has been experienced in the past (see 53832)

No apparent problems were observed during the restart and the corresponding NameServer downtime was limited to few minutes.

add an online server to control remotely the laser of the PCal

The laser pump on WE PCal sometimes shutdown without explaination, (as shown on posts 52955 and 53384). It was impossible to restart the laser without restarting the pump manually.

Two servers has been added on the Virgo RD page: "CaliAmpliNE/WE", running a python scripts name "PyKeopsys", in order to control the laser pump of both PCal by remote.

ISC shift: lock acquisition recovery and handoff to beating signals troubleshooting

Task of the shift was to recover the lock acquisition (up to CARM offset zero), after TCS tuning of yesterday (see 53823).

At the beginning of the shift we managed to lock the CITF without any trouble and started the usual increase of power. 

During the lock acquisition we unlocked several times right after the ramp to 160 mW of arms power, due to a differential oscillation at around 10-11 Hz. In order to avoid this issue, some loop gains (MICH adn DARM) and the SDB2_B1p_56MHz_phi0 demodulation phase have been adjusted between the step before (80 mW) and, accordingly,  the step after (160 mW). However, nothing seemed to solve the problem. To be verified if this behavior might be due to the new TCS working point.

After several tests, we encountered some troubles with the Green beam. During the acquisition, we experienced several unlocks during the transition to the beating signals. Note that yesterday Camilla and Matthieu realigned the West ALS (see  53818), so we needed to adjust the WEB_fast gain (and also a bit the NEB_fast) and, accordingly, we reduced of the same scaling factor all the CARM and DARM gain in the ARMS_LOCK.ini configuration file. In the subsequent locks, some fine tuning has been performed in order to clean the intermediate step of the ARMS_BEATING step (the one between the initial handoff and the final filter boost engage).

The early afternoon shift activities were delayed due to a crash of a rtpc process.

After the problem was solved, we locked the cavities in the IR, and let the TCS crew work with their activities on WI regarding the centering procedure started yesterday evening.

 

1
carbognani, cortese, masserot · 10 Nov 2021 · 22:25 #53832

None rtpc has crashed.

The Cm problem was triggered

  • by the huge number of dataDisplay server , more than 400 ,(some people have more than 20 one)
  • and a  limitation of the Cm librairy based on the select C function and more precisely of the __FD_SETSIZE definition set by default to 1024 in the bits/typesize.h  file  that has been reached

The problem was fixed by stopping some dataDisplay servers,

investigations are in-progress to see if this limitation can be overcome

AdV-COM›automation Updated · comment 7 Oct · 11:15 carbognani, masserot 7 Oct 2021 · 08:16 #53409

Selection of the channels available in the input frame for the SUS nodes

In an attempt to reduce the CPU load on the olserver52 machine (main DAQ server), this early morning we have stopped all SUS automation nodes and restarted them after introducing a selection of the input frame channels via the following FDIN_TAG statement:

FDIN_TAG "#ADC V1:Sa_XX* V1:Sc_XX* #SER V1:SAT* V1:SA_XX*"  (with XX customized for each tower, BS, PR, SR, NI, NE, WI, WE)

Relock of the ITF until LOCKED_ARMS_IR_ALS could be achived afterward without any problem.

Significant gain in CPU load could be oberved for all SUS nodes, wich has lead to an overall reduction of 6% in CPU load on olderver52.

Considering the good results, most probably we will attempt to extend a dedicated channel triage also on the other automation nodes in future sessions.

1
masserot · 7 Oct 2021 · 10:15 #53412

For each SUS metatron node we observed  a mofication of the CPU%  from 18% to  2% , meaning an expected reduction of 7*0.12 = 1.14  core due only to the SUS nodes

The plot show

  • a small decrease of the latency of the SUS nodes frame receiver (FbmAlp)
  • the whole idle cpu  changing from 0.45 to 0.50  meaning a total reduction of 0.05*32 = 1.5 core
Online Computing›Software Management Updated · comment 24 Sep · 23:20 carbognani, poulton 24 Sep 2021 · 22:20 #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.

 

 

 

3