PilotSyncAgent fails to sync pilot files to web server #5981
-
Hi, I have 7.3.17 py3 dirac server installation setup, spread over 3 VMs: web, proxy and wms(everything else). All looks good but the syncing of the pilot files from the wms to web server is failing. In the logs I'm seeing the following. On the wms server: /opt/dirac/runit/WorkloadManagement/PilotSyncAgent/log/current:
On the web server, at the same time: /opt/dirac/runit/Web/WebApp/log/current:
Some relevant sections from the dirac configuration:
Reading on the other end from https://nl-dirac-web.grid.surfsara.nl/pilot works fine. If I copy by hand all the pilot files in /opt/dirac/webRoot/www/pilot on the web server, a the pilot wrapper script is able to download all the pilot files and run a job. Together with my colleague, we've tried many things but can get it to work. We feel this is maybe be some kind of permission problem. It did work on the py2 3vm installation but not sure what I did different there. Hope you can help, Ernst |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi Ernst,
Check that /opt/dirac/webRoot/www/pilot is indeed the directory from which the web server serves pilot files. Andrei |
Beta Was this translation helpful? Give feedback.
-
Hi Ernst,
The console has a help command. Andrei |
Beta Was this translation helpful? Give feedback.
Hi Ernst,
Setting up the web server for files uploading is tricky, but I do not think you need it. Just run the PilotSyncAgent on the nl-dirac-web.grid.surfsara.nl host. In its configuration, leave the UploadLocations blank, e.g.