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

Can not add kernelArguments.should_not_exist to MachineConfig

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

         Trying to use machineconfig to remove kernelarguments but error with validation.  

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

          4.14 -4.16

      How reproducible:

          100

      Steps to Reproduce:

          1. Create object 
      
      
      apiVersion: machineconfiguration.openshift.io/v1
      kind: MachineConfig
      metadata:
        labels:
          machineconfiguration.openshift.io/role: worker
        name: 08-worker-kernelarg-console-remove
      spec:
        kernelArguments:  
          should_not_exist:
            - console=ttyS0,115200n8
          

      Actual results:

          The MachineConfig "08-worker-kernelarg-console-remove" is invalid: spec.kernelArguments: Invalid value: "object": spec.kernelArguments in body must be of type array: "object"
      

      Expected results:

       To work based on ignition config spec 3.4   https://coreos.github.io/ignition/configuration-v3_4/    

      Additional info:

          

              zzlotnik@redhat.com Zack Zlotnik
              rhn-support-rhowe Ryan Howe
              None
              None
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: