Skip to content

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

@oleg68

Description

@oleg68

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions