fdb-joshua
fdb-joshua copied to clipboard
Agent fails because there is no cluster file at the default location
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
were you able to get this resolved @oleg68
@saurabhchatterjee you can modify the dockerfile manually with a proper value of ENV FDB_CLUSTER_FILE