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

Improve logging in dcos-overlay [step 3]

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: DC/OS 1.12
    • Fix Version/s: None
    • Component/s: dcos-net
    • Labels:

      Description

      Basic logging was added in DCOS_OSS-3945. Human-readable error codes were introduced in DCOS_OSS-4146. We must explicitly catch all badmatch errors and print good error messages.

      2018-07-20 16:08:13.339 [error] emulator Error in process <0.11959.0> on node 'navstar@10.191.193.9' with exit value:
      {{badmatch,{error,3942645759,[]}},[{dcos_overlay_configure,configure_overlay_entry,4,[{file,"/pkg/src/dcos-net/_build/prod/lib/dcos_overlay/src/dcos_overlay_configure.erl"},{line,116}]},{lists,map,2,[{file,"lists.erl"},{line,1239}]},{lists,map,2,[{file,"lists.erl"},{line,1239}]},{lists,map,2,[{file,"lists.erl"},{line,1239}]},{lists,map,2,[{file,"lists.erl"},{line,1239}]},{dcos_overlay_configure,maybe_configure,2,[{file,"/pkg/src/dcos-net/_build/prod/lib/dcos_overlay/src/dcos_overlay_configure.erl"},{line,38}]}]}
      

        Attachments

          Activity

            People

            • Assignee:
              sergeyurbanovich Sergey Urbanovich
              Reporter:
              sergeyurbanovich Sergey Urbanovich
              Team:
              Networking Team
              Watchers:
              Deepak Goel, Orlando Hohmeier, Sergey Urbanovich
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: