Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-24641

coredns-monitor complains about missing /run/nodeip-configuration/ipv4 file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Undefined
    • None
    • 4.15
    • None
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem: While debugging a (probably) separate issue, I noticed that my coredns-monitor container was complaining every 30s about failing to read the /run/nodeip-configuration/ipv4 file. As seen in this log file :

      time="2023-12-07T06:22:55Z" level=info msg="Failed to read ip from file /run/nodeip-configuration/ipv4" error="open /run/nodeip-configuration/ipv4: no such file or directory"
      time="2023-12-07T06:23:25Z" level=info msg="Failed to read ip from file /run/nodeip-configuration/ipv4" error="open /run/nodeip-configuration/ipv4: no such file or directory"
      time="2023-12-07T06:23:55Z" level=info msg="Failed to read ip from file /run/nodeip-configuration/ipv4" error="open /run/nodeip-configuration/ipv4: no such file or directory"
      time="2023-12-07T06:24:25Z" level=info msg="Failed to read ip from file /run/nodeip-configuration/ipv4" error="open /run/nodeip-configuration/ipv4: no such file or directory"
      

      While the host has a /run/nodeip-configuration/ipv4 file, the container does not bind-mount it. Should it?

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

      Attachments

        Activity

          People

            bnemec@redhat.com Benjamin Nemec
            maandre@redhat.com Martin André
            Zhanqi Zhao Zhanqi Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: