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

The platform scan fails due to “failed to parse Ignition config”

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • 4.19.0
    • Compliance Operator
    • Critical
    • Yes
    • True
    • Hide

      Blocking basic function of compliance operator on a 4.19 cluster

      Show
      Blocking basic function of compliance operator on a 4.19 cluster

      Description of problem:

      When trying to create a ssb with ocp4-moderate profile, the ocp4-moderate-api-checks-pod will always try to restart.
      % oc logs pod/ocp4-moderate-api-checks-pod  --all-containers
      …
      Fetching URI: '/apis/machineconfiguration.openshift.io/v1/machineconfigs'
      FATAL:Error fetching resources: streaming URIs failed: failed to filter machine configs: cannot parse MC 00-master: failed to parse Ignition config: parsing Ignition config failed: unknown version. Supported spec versions: 2.2, 3.0, 3.1, 3.2, 3.3, 3.4
      Error from server (BadRequest): container "log-collector" in pod "ocp4-moderate-api-checks-pod" is waiting to start: PodInitializing  
      

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

      4.19.0-0.nightly-2025-03-30-191359    

      How reproducible:

      Always    

      Steps to Reproduce:

          1. Create a ssb with default ss and ocp4-moderate profile

      Actual results:

      The ocp4-moderate-api-checks-pod will always try to restart. The pod log shows “failed to parse Ignition config: parsing Ignition config failed: unknown version. Supported spec versions: 2.2, 3.0, 3.1, 3.2, 3.3, 3.4”
      % oc get pod
      NAME                                             READY   STATUS       RESTARTS       AGE
      compliance-operator-54f764596f-j7xlb             1/1     Running      2 (6m2s ago)   6m15s
      ocp4-moderate-api-checks-pod                     0/2     Init:Error   5 (93s ago)    3m41s
      ocp4-moderate-rs-d64f8d5b4-5fm6t                 0/1     Pending      0              3m41s
      ocp4-openshift-compliance-pp-66886cb7fd-6jfzn    1/1     Running      0              5m43s
      rhcos4-openshift-compliance-pp-754bf6c46-hsvw2   1/1     Running      0              5m43s
      % oc logs pod/ocp4-moderate-api-checks-pod  --all-containers
      …
      Fetching URI: '/apis/machineconfiguration.openshift.io/v1/machineconfigs'
      FATAL:Error fetching resources: streaming URIs failed: failed to filter machine configs: cannot parse MC 00-master: failed to parse Ignition config: parsing Ignition config failed: unknown version. Supported spec versions: 2.2, 3.0, 3.1, 3.2, 3.3, 3.4
      Error from server (BadRequest): container "log-collector" in pod "ocp4-moderate-api-checks-pod" is waiting to start: PodInitializing    
      

      Expected results:

      The scan should finished soon and return Compliant/Non-Compliant    

      Additional info:

       

      The IGNITIONVERSION on 4.19 is up to 3.5.0 
      % oc get mc
      NAME                                               GENERATEDBYCONTROLLER                      IGNITIONVERSION   AGE
      00-master                                          06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      00-master-chronyd-custom                                                                      3.2.0             5h11m
      00-worker                                          06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      00-worker-chronyd-custom                                                                      3.2.0             5h11m
      01-master-container-runtime                        06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      01-master-kubelet                                  06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      01-worker-container-runtime                        06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      01-worker-kubelet                                  06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      97-master-generated-kubelet                        06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      97-worker-generated-kubelet                        06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      98-master-generated-kubelet                        06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      98-worker-generated-kubelet                        06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      99-master-generated-registries                     06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      99-master-ssh                                                                                 3.2.0             5h11m
      99-worker-generated-registries                     06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      99-worker-ssh                                                                                 3.2.0             5h11m
      rendered-master-3e82c35b4ce99ceb03f1da80590318ec   06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             4h33m
      rendered-master-8ed4610bef130f7c5d96bcd6cc1c5a19   06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             4h31m
      rendered-master-ce43d5bb44b7f2a1cc4ed87d4ed336c6   06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      rendered-worker-126bb272360884206b6168e1b12450de   06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             4h31m
      rendered-worker-a16915bdc1ea1dc7fbec61fa95ab395e   06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             5h
      rendered-worker-d2b62595396c684f6d7262f59b5ca6e9   06f828868216169b00eb17ddf8f271ac8c7b2913   3.5.0             4h33m
      

       

              wenshen@redhat.com Vincent Shen
              xiyuan@redhat.com Xiaojie Yuan
              Xiaojie Yuan Xiaojie Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: