With some help from Dan Szkola, I got a bit further (container ID is no longer 0) by adding my client to the gateways: eos -r 0 0 vid add gateway 10.254.58.4 grpc
However, no value of fileid seems permissible. I’ll look into the C++ code to see if I can understand this. However, I can leave the fileID off and it seems to work OK…
[root@client /]# eos-test-dir-inject --config /home/cta/CTAEvaluation/replacements/migration.conf --fileid 100 --path /eos/ctaeos/ewv
[{"id":"100","parentId":"0","uid":"1000","gid":"1000","treeSize":"0","mode":493,"flags":0,"name":"ZXd2","ctime":{"sec":"1553900400","nSec":"0"},"mtime":{"sec":"1553900400","nSec":"0"},"xattrs":{"sys.archive.storage_class":"bXlfc3RvcmFnZV9jbGFzcw=="},"path":"L2Vvcy9ncnBjL2Vvcy9jdGFlb3MvZXd2","etag":""}]FATAL ERROR: attempt to inject container with id=100, which exceeds EOS current container id=21
[root@client /]# eos-test-dir-inject --config /home/cta/CTAEvaluation/replacements/migration.conf --fileid 21 --path /eos/ctaeos/ewv
[{"id":"21","parentId":"0","uid":"1000","gid":"1000","treeSize":"0","mode":493,"flags":0,"name":"ZXd2","ctime":{"sec":"1553900400","nSec":"0"},"mtime":{"sec":"1553900400","nSec":"0"},"xattrs":{"sys.archive.storage_class":"bXlfc3RvcmFnZV9jbGFzcw=="},"path":"L2Vvcy9ncnBjL2Vvcy9jdGFlb3MvZXd2","etag":""}]FATAL ERROR: attempt to inject container with id=21, which exceeds EOS current container id=21
[root@client /]# eos-test-dir-inject --config /home/cta/CTAEvaluation/replacements/migration.conf --fileid 20 --path /eos/ctaeos/ewv
[{"id":"20","parentId":"0","uid":"1000","gid":"1000","treeSize":"0","mode":493,"flags":0,"name":"ZXd2","ctime":{"sec":"1553900400","nSec":"0"},"mtime":{"sec":"1553900400","nSec":"0"},"xattrs":{"sys.archive.storage_class":"bXlfc3RvcmFnZV9jbGFzcw=="},"path":"L2Vvcy9ncnBjL2Vvcy9jdGFlb3MvZXd2","etag":""}]EosTestDirInject::inject(): ContainerInsert failed with error 22: Attempted to create container with id=20, which already exists
[root@client /]# eos-test-dir-inject --config /home/cta/CTAEvaluation/replacements/migration.conf --fileid 22 --path /eos/ctaeos/ewv
[{"id":"22","parentId":"0","uid":"1000","gid":"1000","treeSize":"0","mode":493,"flags":0,"name":"ZXd2","ctime":{"sec":"1553900400","nSec":"0"},"mtime":{"sec":"1553900400","nSec":"0"},"xattrs":{"sys.archive.storage_class":"bXlfc3RvcmFnZV9jbGFzcw=="},"path":"L2Vvcy9ncnBjL2Vvcy9jdGFlb3MvZXd2","etag":""}]FATAL ERROR: attempt to inject container with id=22, which exceeds EOS current container id=21
[root@client /]# eos root://ctaeos ls /eos/ctaeos
cta
preprod
proc
tmp