[ https://issues.apache.org/jira/browse/MESOS-6208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15505978#comment-15505978 ]
Jan Schlicht commented on MESOS-6208: ------------------------------------- Also see discussion in https://reviews.apache.org/r/51865/ > Containers that use the Mesos containerizer but don't want to provision a > container image fail to validate. > ----------------------------------------------------------------------------------------------------------- > > Key: MESOS-6208 > URL: https://issues.apache.org/jira/browse/MESOS-6208 > Project: Mesos > Issue Type: Bug > Components: containerization > Environment: Mesos HEAD, change was introduced with > e65f580bf0cbea64cedf521cf169b9b4c9f85454 > Reporter: Jan Schlicht > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)