Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-3750

CNI module should store configuration on a tmpfs dir (e.g., /var/run) against agent reboot case.

    Details

    • Sprint:
      Networking Team 1.12 Sprint 9, Networking 1.12 RI-3 Sprint 25
    • Story Points:
      5

      Description

      Currently, CNI module configuration can persist after the agent reboot, which leads to possibilities that the recovered agent may pick up stale IP addressed that was checkpointed.

      We should keep these configuration in a tmpfs (maybe under /var/run/dcos/cni/networks/<plugin-name>/) for:

      1. Overlay module
        https://github.com/dcos/dcos-mesos-modules/blob/master/overlay/agent.cpp#L748
      1. UCR Bridge CNI plugin
        https://github.com/dcos/dcos/blob/master/gen/dcos-config.yaml#L187

      Also, backward compatibility is one of the major concern for DC/OS. If there is no such a way to make it backward compatible, we may have to work around this issue with a config management script.

        Attachments

          Activity

            People

            • Assignee:
              dgoel Deepak Goel
              Reporter:
              gilbert Gilbert Song
              Team:
              Networking Team
              Watchers:
              Deepak Goel, Gilbert Song, Jie Yu, Marco Monaco, Sergey Urbanovich, Vinod Kone
            • Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: