Skip to content

How can I get marathon to restart all services after reboot ? #306

@kopax

Description

@kopax

Hello all, and thanks for reading.

I am testing v0.4.3 in standalone mode.

After starting two services on marathon, I have tried to reboot the server with sudo reboot.

After reboot, PanteraS is starting but marathon is not restoring any services despites the following mounted volumes:

  volumes:
    - "/etc/resolv.conf:/etc/resolv.conf.orig"
    - "/var/run/docker.sock:/tmp/docker.sock"
    - "/var/run/docker.sock:/var/run/docker.sock"
    - "/var/lib/docker:/var/lib/docker"
    - "/sys:/sys"
    - "/tmp/mesos:/tmp/mesos"
    - "/tmp/supervisord:/tmp/supervisord"
    - "/tmp/consul/data:/opt/consul/data"
    - "/tmp/zookeeper:/var/lib/zookeeper/version-2"
    - "/proc:/host/proc:ro" 
    - "/sys:/host/sys:ro"
    - "./docker.tar.gz:/etc/docker.tar.gz"

I expected - "/tmp/mesos:/tmp/mesos" and - "/tmp/zookeeper:/var/lib/zookeeper/version-2" to save the state.

How can I get marathon to restart all services after reboot ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions