Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-4593

vector fails to start on a node with IPv6 disabled

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • ASSIGNED
    • Hide
      Prior to this fix, vector failed to start on IPv4-only nodes, failing to create a listener for its metrics endpoint with an error "Failed to start Prometheus exporter: TCP bind failed: Address family not supported by protocol (os error 97)".
      With the fix, vector operates normally on IPv4-only nodes.
      Show
      Prior to this fix, vector failed to start on IPv4-only nodes, failing to create a listener for its metrics endpoint with an error "Failed to start Prometheus exporter: TCP bind failed: Address family not supported by protocol (os error 97)". With the fix, vector operates normally on IPv4-only nodes.
    • Bug Fix
    • Done
    • Log Collection - Sprint 243

      Description of problem:

      On an IPv4-only cluster, vector fails to start, with the following error:
      2023-09-29T17:03:26.734456936Z 2023-09-29T17:03:26.734384Z ERROR sink

      {component_kind="sink" component_id=prometheus_output component_type=prometheus_exporter component_name=prometheus_output}

      : vector::sinks::prometheus::exporter: Failed to start Prometheus exporter: TCP bind failed: Address family not supported by protocol (os error 97)

      Version-Release number of selected component (if applicable):

      5.7.6

      How reproducible:

      Always

      Steps to Reproduce:

      • Deploy Logging Operator
      • Create a CLF collecting logs to the default log storage

      Actual results:

      Vector fails to start with the "TCP bind failed: Address family not supported by protocol (os error 97)" error message.

      Expected results:

      Vector operates normally

      Additional Notes

      It takes setting the ipv6.disable=1 kernel boot parameter to reproduce this issue.

            syedriko_sub@redhat.com Sergey Yedrikov
            syedriko_sub@redhat.com Sergey Yedrikov
            Anping Li Anping Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: