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

NetworkSettings.IPAddress field is deprecated in Docker

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.25.0, 0.26.0, 0.27.0
    • Fix Version/s: 0.28.0
    • Component/s: containerization, docker
    • Labels:
    • Environment:

      Ubuntu 14.04
      Docker 1.9.1, Docker 1.10.x

    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: