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

Agent silently ignores FS isolation when protobuf is malformed

    XMLWordPrintableJSON

Details

    • Mesos Foundations RI12 Sp 42
    • 5

    Description

      cc vinodkone

      I accidentally set my Mesos ContainerInfo to include a DockerInfo instead of a MesosInfo:

      executorInfoBuilder.setContainer(
                           Protos.ContainerInfo.newBuilder()
                           .setType(Protos.ContainerInfo.Type.MESOS)
                           .setDocker(Protos.ContainerInfo.DockerInfo.newBuilder()
                               .setImage(podSpec.getContainer().get().getImageName()))
      

      I would have expected a validation error before or during containerization, but instead, the agent silently decided to ignore filesystem isolation altogether, and launch my executor on the host filesystem.

      Attachments

        Issue Links

          Activity

            People

              asekretenko Andrei Sekretenko
              mgummelt Michael Gummelt
              Benno Evers Benno Evers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m