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

NetworkSettings.IPAddress field is deprecated in Docker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.25.0, 0.26.0, 0.27.0
    • 0.28.0
    • containerization, docker
    • Ubuntu 14.04
      Docker 1.9.1, Docker 1.10.x

    • Patch

    Description

      The latest docker API deprecates the NetworkSettings.IPAddress field, in favor of the NetworkSettings.Networks field.

      https://docs.docker.com/engine/reference/api/docker_remote_api/#v1-21-api-changes

      With this deprecation, NetworkSettings.IPAddress is not populated for containers running with networks that use new network plugins.

      As a result the mesos API has no data in container_status.network_infos.ip_address or container_status.network_infos.ipaddresses.

      The immediate impact of this is that mesos-dns is unable to retrieve a containers IP from the netinfo interface.

      Attachments

        Issue Links

          Activity

            People

              tnachen Timothy Chen
              clinta Clint Armstrong
              Timothy Chen Timothy Chen
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: