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

Containers that use the Mesos containerizer but don't want to provision a container image fail to validate.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • containerization
    • None
    • Mesos HEAD, change was introduced with e65f580bf0cbea64cedf521cf169b9b4c9f85454

    Description

      Tasks using features like volumes or CNI in their containers, have to define these in TaskInfo.container. When these tasks don't want/need to provision a container image, neither ContainerInfo.docker nor ContainerInfo.mesos will be set. Nevertheless, the container type in ContainerInfo.type needs to be set, because it is a required field.
      In that case, the recently introduced validation rules in master/validation.cpp (validateContainerInfo will fail, which isn't expected.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nfnt Jan Schlicht
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: