FoundationDB / fdb-joshua

FoundationDB Correctness service
Apache License 2.0
28 stars 25 forks source link

Agent fails because there is no cluster file at the default location #9

Open oleg68 opened 3 years ago

oleg68 commented 3 years ago

I've put the cluster file to /home/oleg/work/fdb/devops/clusters/joshua/fdb.cluster

When I try to start agent in the docker container with mounting a volume to /opt/joshua, I receive error No cluster file found in current directory or default location

docker run --rm  --security-opt label=disable -v /home/oleg/work/fdb/devops/clusters/joshua:/opt/joshua -it foundationdb/joshua-agent:latest

The reason is setting environment variable ENV FDB_CLUSTER_FILE=/etc/foundationdb/fdb.cluster instead of ENV FDB_CLUSTER_FILE=/opt/joshua/fdb.cluster So joshua does not read the cluster file from /opt/joshua

saurabhchatterjee commented 2 years ago

were you able to get this resolved @oleg68

oleg68 commented 2 years ago

@saurabhchatterjee you can modify the dockerfile manually with a proper value of ENV FDB_CLUSTER_FILE