Details

      Description

      Discovered this while doing integration tests with DSS.

      This will cause the "contains" check in Mesos master to fail:

      I0208 23:27:10.276754 16734 master.cpp:3652] Authorizing principal 'dcos_marathon' to reserve resources '[{"allocation_info":{"role":"slave_public"},"disk":{"source":{"id":"volum
      e-group-1_57c24536-20fe-4497-89dc-f49d55494121","metadata":{},"mount":{"root":".\/csi\/io.mesosphere.dcos.storage.csilvm\/plugin_ead3c777_c070_4dbb_bdc8_cbab1d3e66e1\/mounts\/vol
      ume-group-1_57c24536-20fe-4497-89dc-f49d55494121"},"profile":"logs","type":"MOUNT"}},"name":"disk","provider_id":{"value":"cdd572bb-1420-4aeb-a1d8-ba9030a8f516"},"reservations":[
      {"labels":{"labels":[{"key":"marathon_framework_id","value":"2f5ee84e-4e27-4389-8713-59a8ce2d2dc3-0001"},{"key":"marathon_task_id","value":"app-persistent-stable-good-profile.95b
      f551d-0d27-11e8-81d9-2a47d9d7ee2d"}]},"principal":"dcos_marathon","role":"slave_public","type":"DYNAMIC"}],"scalar":{"value":10240.0},"type":"SCALAR"}]'
      W0208 23:27:10.278509 16729 master.cpp:2360] Dropping RESERVE operation from framework 2f5ee84e-4e27-4389-8713-59a8ce2d2dc3-0001 (marathon) at scheduler-4d037a38-07a0-443c-bed2-2
      bec3d4483c2@10.10.0.10:15101: ports(allocated: slave_public):[1025-2180, 2182-3636, 3638-3887, 3889-5049, 5052-8079, 8082-8180, 8182-8191, 8193-9272, 9274-32000]; disk(allocated:
       slave_public)[MOUNT:/dcos/volume0]:51042; disk(allocated: slave_public):50018; cpus(allocated: slave_public):3.25; mem(allocated: slave_public):13709; disk(allocated: slave_publ
      ic)[MOUNT(volume-group-1_57c24536-20fe-4497-89dc-f49d55494121,logs):./csi/io.mesosphere.dcos.storage.csilvm/plugin_ead3c777_c070_4dbb_bdc8_cbab1d3e66e1/mounts/volume-group-1_57c2
      4536-20fe-4497-89dc-f49d55494121]:10240 does not contain disk(allocated: slave_public)[MOUNT(volume-group-1_57c24536-20fe-4497-89dc-f49d55494121,logs):./csi/io.mesosphere.dcos.storage.csilvm/plugin_ead3c777_c070_4dbb_bdc8_cbab1d3e66e1/mounts/volume-group-1_57c24536-20fe-4497-89dc-f49d55494121]:10240
      

        Attachments

          Activity

            People

            • Assignee:
              ivanchernetsky Ivan Chernetsky
              Reporter:
              jie Jie Yu
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: