Skip to content

MongoDB container in Nomad with data on SeaweedFS mount hangs #190

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

Open
gutleib opened this issue Mar 17, 2025 · 0 comments
Open

MongoDB container in Nomad with data on SeaweedFS mount hangs #190

gutleib opened this issue Mar 17, 2025 · 0 comments

Comments

@gutleib
Copy link

gutleib commented Mar 17, 2025

I'm getting no particular errors, but MongoDB never deploys, and if I transfer database to SeaweedFS mount, it never listens to connections.

Details:

SeaweedFS 3.85 cluster is deployed on 3 VMs, each has Master+Volume+Filer daemons. Filer runs in S3 mode, and uses MariaDB+Galera cluster with daemons run on same 3 VMs. So, it's 3 identicaly configured VMs. Volumes are placed on BTRFS-formatted bcache devices, mounted with noatime and zstd:2 options.
MongoDB (official DockerHub image mongo:8) is deployed in Nomad (v1.9.3) cluster, which has SeaweedFS CSI controllers (chrislusf/seaweedfs-csi-driver:v1.2.7) installed and volumes placed directly on SeaweedFS.
And one more strange detail: if I use upper folder for mount (e.g. /data instead of /data/db) inside container, data does not go to SeaweedFS. I see "db" folder in SeaweedFS via fs.ls in weed shell, but it's empty. And MongoDB works ephemerally then.

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

1 participant