Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-7394

how to auto launch new task instance when mesos-slave stopped?

    Details

      Description

      1. version Info and command line args
      mesos-master & mesos-slave version 1.1.0
      marathon version 1.4.3
      docker server version 1.28

      mesos-master's command line args:
      --zk=zk://ip1:2181,ip2:2181,ip3:2181/mesos --port=5050 --log_dir=/var/log/mesos --hostname=ip1 --quorum=2 --work_dir=/var/lib/mesosmaster

      mesos-slave's command line args:
      -master=zk://ip1:2181,ip2:2181,ip3:2181/mesos --log_dir=/var/log/mesos --containerizers=docker,mesos --executor_registration_timeout=10mins --hostname=ip1 --recovery_timeout=1mins --resources=ports:[25000-65000] --work_dir=/var/lib/mesos

      2. operation
      step 1:
      In marathon web UI,run a app via docker image,and task state is "Unknown". (Because I doesn't add health check)

      step 2:
      reboot the machine which runs the task.

      step 3:
      now,the expected result what I thought is that the task will be killed and marathon will create a new task,but now (see below picture)


      the State of Task became "Unscheduled". the the task can not be killed only after about 15mins.

      finally,what I want is the new task will auto launch and the old task auto be killed ( or removed or expunged)

        Attachments

        1. 1.png
          35 kB
          supershll
        2. 2.png
          11 kB
          supershll
        3. 3.png
          37 kB
          supershll
        4. nginx.json
          0.7 kB
          Ondrej Smola

          Issue Links

            Activity

              People

              • Assignee:
                icharalampidis Ioannis Charalampidis
                Reporter:
                marathon-bot Marathon Bot
                Team:
                Orchestration Team
                Watchers:
                Ioannis Charalampidis, Karsten Jeschkies, Marathon Bot, Matthias Eichstedt, Ondrej Smola, subodhp, supershll
              • Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: