Basic CTA task
Implement a task that can be triggered by the platform that copies a file to our CTA path.
Currently, this can be done manually, on LXPLUS:
# Prepare certificates, according to https://ca.cern.ch/ca/Help/?kbid=024010
voms-proxy-init
fts-rest-transfer-submit -s https://fts3-devel.cern.ch:8446 -f submit.json
where submit.json
is:
{
"files": [
{
"sources": [
"root://eosuser.cern.ch//eos/user/a/avivace/www/42"
],
"destinations": [
"root://eosctapublicpps.cern.ch//eos/ctapublicpps/archivetest/digital-memory/42"
]
},
],
"params": {
"archive_timeout": 604800
}
}
Currently blocked because on the FTS test instance eosuser
and eosctapublicpps
are not linked.
We need to make this work headlessly, possibly with a service account.