Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
oleg68 opened this issue Apr 8, 2021 · 2 comments
Open

Comments

@oleg68
Copy link

oleg68 commented Apr 8, 2021

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
Copy link

were you able to get this resolved @oleg68

@oleg68
Copy link
Author

oleg68 commented Feb 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants