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

Marathon 1.4.8 -> 1.5.8 - negative taskKillGracePeriodSeconds

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: DC/OS 1.11.3, DC/OS 1.10.8
    • Component/s: None
    • Labels:
      None

      Description

      I tried to upgrade marathon from 1.4.8 to new 1.5.8.

      All apps were converted to new format automatically once Marathon 1.5.8 took leadership.

      App with taskKillGracePeriodSeconds set to "null" are OK.

      All apps that had taskKillGracePeriodSeconds parameter set to explicit value was converted incorrectly.

      I had 2 apps with taskKillGracePeriodSeconds = 3.

      After I upgraded marathon the value of taskKillGracePeriodSeconds became -1294967296 and -296517632.

      I reproduced it once again and got one different big negative value and one different positive value. So looks this is random.

       

      Marathon configuration is almost the same as in MARATHON-8064.
      App definitions:

      Initial state:

      https://drive.google.com/file/d/1UjRg19POHdxS8UpT21NQ-1eauqPnH93e

       

      State after upgrade:

       

      https://drive.google.com/file/d/1J6lMIDdIE8ctyWIq_0OprejZ60BHeNCn

      Logs during upgrade:

       

      https://drive.google.com/file/d/1CE-EXe2RNqlwGXp73Ms7Pwn60a4eP29t

       

       

      P. S. there is a workaround to send PATCH HTTP request to change only taskKillGracePeriodSeconds parameter

        Attachments

          Activity

            People

            • Assignee:
              nikitamelkozerov Nikita Melkozerov
              Reporter:
              paveltimofeev Pavel Timofeev
              Team:
              Orchestration Team
              Watchers:
              daltonmatos, Pavel Timofeev
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: