Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-10133

Task launched with 0 scalar value for persistent volume.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • master
    • None

    Description

      We saw the following task launch message:

      I0520 17:58:11.559875  2913 master.cpp:4985] Launching task T of framework 288ebd4e-8bbf-4f2a-ac3a-2e5eb2885266 (name) with resources [{"allocation_info":{"role":"role"},"disk":{"persistence":{"id":"ID","principal":"p"},"volume":{"container_path":"path","mode":"RW"}},"name":"disk","reservations":[{"labels":{"labels":[{"key":"marathon_framework_id","value":"16fa03ca-0048-4124-bdac-aff56e679c95-0000"},{"key":"marathon_task_id","value":"T"}]},"principal":"p","role":"role","type":"DYNAMIC"}],"scalar":{"value":0.0},"type":"SCALAR"},{"allocation_info":{"role":"role"},"name":"mem","scalar":{"value":544.0},"type":"SCALAR"},{"allocation_info":{"role":"role"},"name":"cpus","scalar":{"value":0.1},"type":"SCALAR"}] on agent 16fa03ca-0048-4124-bdac-aff56e679c95-S49 at slave(1)@IP:5051 (IP) on  new executor
      

      In which the persistent volume is being used with a 0 scalar value. This should have been considered invalid since we require the entire persistent volume to be used, however perhaps it gets considered as not being used since the value is 0 (e.g. cpus:1;foobars:0 == cpus:1).

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: