Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1995

Errors retrieving interface address

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.9.0, 3.7.4
    • Component/s: None
    • Labels:
      None

      Description

      On Solaris hosts I see the following error message pretty frequently:

      2015-06-17T16:18:22-0400 error: Could not get interface dmzgrp0 addresses (ioctl(SIOCGARP): 'No such device or address')
      

      Apparently this error is generated when the interface in question does not have a MAC address associated with it. It can be suppressed by adding it to /var/cfengine/inputs/ignore_interfaces.rx but I don't think that failing to identify a mac address on an interface really warrents an error level log. Perhaps it would be useful in INFORM or DEBUG.

      This adds a lot of relatively useless information to emails and log files.

      Additionally I think the error message could be made more human readable by saying Could not get interface dmxgrp0 MAC address (ioctl(SIOCGARP)) instead of assuming the reader will understand what ioctl(SIOCGARP is.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10042 Nick Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified