Core Dumps & Data Files not available in Antithesis

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • STM 2022-01-24
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It looks like you can't kill PID 1 in Docker (https://unix.stackexchange.com/questions/457649/unable-to-kill-process-with-pid-1-in-docker-container), which is why core dumps weren't working. We need to change the docker-compose.yml entrypoint to be a shell script that starts `mongod` instead of directly starting `mongod` as the entrypoint. This makes it so that `mongod` is not PID 1. This is what we do with `mongos`, which is why the core dump for `mongos` worked as expected.

      We also need to volume mount the data directory out of the images so that Antithesis can get us the data files for each node.

            Assignee:
            Tausif Rahman (Inactive)
            Reporter:
            Tausif Rahman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: