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

Kargs from MCO not added to worker nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • 4.16.0
    • None
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:
      I have a machine config entry that I add to the CI shared dir so that it can be consumed by the install logic. It looks like so:

      sh-4.4$ cat 99_worker_kdump.yml 
      # Generated by Butane; do not edit
      apiVersion: machineconfiguration.openshift.io/v1
      kind: MachineConfig
      metadata:
        labels:
          machineconfiguration.openshift.io/role: worker
        name: 99-worker-kdump
      spec:
        config:
          ignition:
            version: 3.2.0
          storage:
            files:
              - contents:
                  compression: ""
                  source: data:,path%20%2Fvar%2Fcrash%0Acore_collector%20makedumpfile%20-l%20--message-level%207%20-d%2031%0A
                mode: 420
                overwrite: true
                path: /etc/kdump.conf
              - contents:
                  compression: gzip
                  source: data:;base64,H4sIAAAAAAAC/2TQzWrcQBAE4Ps+RaO7hJz7HBavMMbRenFIyG2Yn5bUZP62p0dx/PRhAxsCudWhDlXfy+nrfNGPr/N8PJ8+P58n/TbNr98m1W1txWJWrPA3fUANzWqPtq1wbYQCIa/atkUHTFB/UpZg//QlWO2iAVoTCeU0LMRVbM4C7IfYglAxsimPi2lBusP/Q46Xy3Q+qY74WnIIEM27K62qB0iZ+OqpCpMFxoqiPe7ksIJbObeiPVVjA6qIMfMvSC0alZcFmsd9cBsFz5j6aN7VJ8ANzdAq6uiqGqGYRE49jPBjj7cLmrHumo1QViMIm1SLYUyi7y4q4Y4MKe/RZUbv/xVQI1R2TRhxsLRqV5oOFNXYHV6m79OjPr49fVFd33vpU+5z8D3flPp6N3men1S3x0CpfXSH3wEAAP//mSxBprEBAAA=
                mode: 420
                overwrite: true
                path: /etc/sysconfig/kdump
          systemd:
            units:
              - enabled: true
                name: kdump.service
        kernelArguments:
          - crashkernel="2G-4G:384M,4G-16G:512M,16G-64G:1G,64G-128G:2G,128G-:4G"

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

          

      How reproducible:

      I've been reproducing this in my CI PR (https://github.com/openshift/release/pull/44057)

      Steps to Reproduce:

          1. Kick of a rehearsal job for https://github.com/openshift/release/pull/44057
          2. ssh to the worker using debug node
              $ oc debug node/{node-name} --to-namespace default
          3. $ chroot /host
          4. Check kdump status    

      Actual results:
      $ cat /proc/cmdline

      BOOT_IMAGE=(ieee1275/disk,gpt3)/ostree/rhcos-d08c5c9c6bbe0e1651583cd5744867d5269c8f1f690219651074d54455e73297/vmlinuz-5.14.0-430.el9.ppc64le ignition.platform.id=qemu console=hvc0 console=tty0 ostree=/ostree/boot.0/rhcos/d08c5c9c6bbe0e1651583cd5744867d5269c8f1f690219651074d54455e73297/0 root=UUID=dab277cf-85d5-4f3d-b089-576a4bc7797f rw rootflags=prjquota boot=UUID=5cbdee89-9a15-4b68-869f-fe3487ebdf50 systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=all psi=1
      

      Kdump service

      kdump.service - Crash recovery kernel arming
           Loaded: loaded (/usr/lib/systemd/system/kdump.service; disabled; preset: disabled)
           Active: inactive (dead)
        Condition: start condition failed at Wed 2024-03-20 01:01:44 UTC; 6min ago
                   └─ ConditionKernelCommandLine=crashkernel was not met

      Expected results:

      /proc/cmdline contains entry from MCO config file

       

      Additional info:

          

       

            jpoulin Jeremy Poulin
            jpoulin Jeremy Poulin
            Sergio Regidor de la Rosa Sergio Regidor de la Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: