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

Update nodeip-configuration.service service files to use SyslogIdentifier

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The service nodeip-configuration.service does not have a SyslogIdentifier, resulting in "bash" string as the service identifier name from journalctl.

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

      4.18

      How reproducible:

      100%

      Steps to Reproduce:

      # systemctl restart nodeip-configuration.service

      Actual results:

      # journalctl --no-pager --boot | tail -300 | grep bash | head -5
      Feb 19 11:35:10 ip-10-0-29-212 bash[627295]: Trying to pull quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:9507e58d2922c2297e9776dc663d90eee96d70b82d4fc88eae0e50d59810bcd4...
      Feb 19 11:35:12 ip-10-0-29-212 bash[627295]: Getting image source signatures
      Feb 19 11:35:12 ip-10-0-29-212 bash[627295]: Copying blob sha256:ab4be2a9bafe908a78e700f724ab3e6535887ff53efd59d3ed5ad77bcda4cd81
      Feb 19 11:35:12 ip-10-0-29-212 bash[627295]: Copying blob sha256:bdfaa80ba7e0e8d79787ef32100317de82204b8f237ce6d5f58788e05f879f6f
      Feb 19 11:35:12 ip-10-0-29-212 bash[627295]: Copying blob sha256:ca1636478fe5b8e2a56600e24d6759147feb15020824334f4a798c1cb6ed58e2

      Expected results:

      # journalctl --no-pager --boot | tail -300 | grep nodeip-configuration | head -5 
      Feb 19 11:35:10 ip-10-0-29-212 nodeip-configuration[627295]: Trying to pull quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:9507e58d2922c2297e9776dc663d90eee96d70b82d4fc88eae0e50d59810bcd4... 
      Feb 19 11:35:12 ip-10-0-29-212 nodeip-configuration[627295]: Getting image source signatures 
      Feb 19 11:35:12 ip-10-0-29-212 nodeip-configuration[627295]: Copying blob sha256:ab4be2a9bafe908a78e700f724ab3e6535887ff53efd59d3ed5ad77bcda4cd81 
      Feb 19 11:35:12 ip-10-0-29-212 nodeip-configuration[627295]: Copying blob sha256:bdfaa80ba7e0e8d79787ef32100317de82204b8f237ce6d5f58788e05f879f6f 
      Feb 19 11:35:12 ip-10-0-29-212 nodeip-configuration[627295]: Copying blob sha256:ca1636478fe5b8e2a56600e24d6759147feb15020824334f4a798c1cb6ed58e2 

      Additional info:

      Accomplish it by modifiying the service nodeip-configuration.service by adding SyslogIdentifier field:
      
      
        [Service]  
        # Need oneshot to delay kubelet  
        Type=oneshot  
        SyslogIdentifier=nodeip-configuration
        ...

              rhn-support-gmeghnag Gabriel Meghnagi
              rhn-support-gmeghnag Gabriel Meghnagi
              None
              None
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: