fdb-joshua icon indicating copy to clipboard operation
fdb-joshua copied to clipboard

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

Open oleg68 opened this issue 3 years ago • 2 comments

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

oleg68 avatar Apr 08 '21 13:04 oleg68

were you able to get this resolved @oleg68

saurabhchatterjee avatar Feb 10 '22 20:02 saurabhchatterjee

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

oleg68 avatar Feb 11 '22 08:02 oleg68