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

Reset `LIBPROCESS_IP` in `network\cni` isolator.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • containerization
    • None
    • Linux

    • Mesosphere Sprint 32
    • 1

    Description

      Currently the `LIBPROCESS_IP` environment variable was being set to
      the Agent IP if the environment variable has not be defined by the
      `Framework`. For containers having their own IP address (as with
      containers on CNI networks) this becomes a problem since the command
      executor tries to bind to the `LIBPROCESS_IP` that does not exist in
      its network namespace, and fails. Thus, for containers launched on CNI
      networks the `LIBPROCESS_IP` should not be set, or rather is set to
      "0.0.0.0", allowing the container to bind to the IP address provided
      by the CNI network.

      Attachments

        Issue Links

          Activity

            People

              avinash.mesos Avinash Sridharan
              avinash.mesos Avinash Sridharan
              Jie Yu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: