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

Systemd Fails to Parse Multiline EC Keys

XMLWordPrintable

    • Low
    • None
    • Installer (PB) Sprint 259, Installer Sprint 260
    • 2
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      Description of problem:

      Multiline EC private and public keys are causing systemd services to fail during cluster installations. While this issue does not result in a complete cluster failure, it generates warnings in the `journalctl` logs, which could confuse users when diagnosing installation issues. The root cause is systemd's inability to properly parse multiline keys, leading to service crashes and unnecessary log noise. This should be addressed to improve the clarity of logs and prevent misleading warnings during the cluster setup process.

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

          

      How reproducible:

          Always

      Steps to Reproduce:

          1. Create a 4.16 cluster using ABI
          2. Observ the journaltctl logs
          3. You will see warning/errors mentioning the EC keys(EC_PUBLIC_KEY_PEM) are not parsed correctly
          

      Actual results:

      Parsing errors related to EC keys    

      Expected results:

          1. No parsing errors related to EC keys. Example: agent-register-infraenv.service: Ignoring invalid environment assignment
           2. No multiline public key in /usr/local/share/assisted-service/assisted-service.env.  Public key should be base64 encoded

      Additional info:

          

              ppinjark@redhat.com pawan pinjarkar
              ppinjark@redhat.com pawan pinjarkar
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: