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

The MQ Sever Is Not Started If There Are Any Other Filesystems Mounted Under /mnt #172

Closed
dpeckett opened this issue Jul 26, 2018 · 0 comments
Assignees
Labels

Comments

@dpeckett
Copy link

If we wish to use the mq server in a nonpersistent mode (eg. for integration testing our applications) we don't mount the data directory and we rely on the overlayfs provided by docker.

This works fine and dandy if there are no other filesystems mounted, but we sometimes run these integration tests on a Mesos cluster, which by default mounts a sandbox directory under /mnt/mesos. In this case the container fails to start.

The logic to check if we are running in non-persistent mode only works if there are no other file systems under /mnt:

if strings.Contains(mountPoint, "/mnt") {

Perhaps this should verify the exact path /mnt/mqm is mounted before performing the checkFs call.

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

No branches or pull requests

3 participants