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

Setup proper /etc/hostname, /etc/hosts and /etc/resolv.conf for containers in network/cni isolator.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: containerization
    • Labels:
    • Epic Link:
    • Sprint:
      Mesosphere Sprint 32, Mesosphere Sprint 33
    • Story Points:
      5

      Description

      The network/cni isolator needs to properly setup /etc/hostname and /etc/hosts for the container with a hostname (e.g., randomly generated) and the assigned IP returned by CNI plugin.
      We should consider the following cases:
      1) container is using host filesystem
      2) container is using a different filesystem
      3) custom executor and command executor

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                avinash.mesos Avinash Sridharan
                Reporter:
                qianzhang Qian Zhang
                Shepherd:
                Jie Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: