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

CNI isolator should print plugin's stderr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • containerization, network
    • None

    Description

      It's quite difficult for both Operators and CNI plugin developers to diagnose CNI plugin errors in production or in test when the only error information available is the stdout error string returned by the plugin (assuming it managed to even print its correctly formatted text to stdout).

      Many CNI plugins print logging information to stderr, as per the CNI spec:

      In addition, stderr can be used for unstructured output such as logs.

      Therefore, I propose the Mesos CNI Isolator capture the CNI plugin's stderr output and log it to the Agent Logs, for easier diagnosis.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: