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

Differences reported by additional spec entries compared to the reference CR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 4.18
    • 4.17
    • oc / cluster-compare
    • None
    • Important
    • None
    • Telco kube-compare Sprint 259, Telco kube-compare Sprint 260, Telco kube-compare Sprint 261
    • 3
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      When running the cluster compare tool against an SNO with RAN RDS profile there are a couple of differences reported because the objects spec have additional entries compared to the reference CR, some of them get added automatically. I think these differences should be tolerated since the spec defined in the reference CR match. You can find below such occurrences.
      Differences found in CR: imageregistry.operator.openshift.io/v1_Config_cluster, Compared To Reference CR: optional/image-registry/ImageRegistryConfig.yaml
      diff -u -N /tmp/MERGED-3171539454/imageregistry-operator-openshift-io-v1_config_cluster /tmp/LIVE-3619350941/imageregistry-operator-openshift-io-v1_config_cluster
      --- /tmp/MERGED-3171539454/imageregistry-operator-openshift-io-v1_config_cluster	2024-08-24 12:51:55.151027399 +0000
      +++ /tmp/LIVE-3619350941/imageregistry-operator-openshift-io-v1_config_cluster	2024-08-24 12:51:55.151027399 +0000
      @@ -3,10 +3,12 @@
       metadata:
         name: cluster
       spec:
      +  httpSecret: 9ff08e099ee1c42c207a515917b21d7b877882471b334d4b8b17483ed040b845438b37da961093a8aa60bcd7b876dc16b6322cae7126f89439cfd530cd9f720e
         logLevel: Normal
         managementState: Managed
         observedConfig: null
         operatorLogLevel: Normal
      +  proxy: {}
         replicas: 1
         requests:
           read:
      
      

       

      Differences found in CR: operator.openshift.io/v1_Network_cluster, Compared To Reference CR: required/cluster-tuning/disabling-network-diagnostics/DisableSnoNetworkDiag.yaml
      diff -u -N /tmp/MERGED-1683964405/operator-openshift-io-v1_network_cluster /tmp/LIVE-1077754160/operator-openshift-io-v1_network_cluster
      --- /tmp/MERGED-1683964405/operator-openshift-io-v1_network_cluster	2024-08-24 12:51:55.180028468 +0000
      +++ /tmp/LIVE-1077754160/operator-openshift-io-v1_network_cluster	2024-08-24 12:51:55.180028468 +0000
      @@ -1,6 +1,39 @@
       apiVersion: operator.openshift.io/v1
       kind: Network
       metadata:
      +  labels:
      +    machineconfiguration.openshift.io/role: master
         name: cluster
       spec:
      +  clusterNetwork:
      +  - cidr: fd01::/48
      +    hostPrefix: 64
      +  defaultNetwork:
      +    ovnKubernetesConfig:
      +      egressIPConfig: {}
      +      gatewayConfig:
      +        ipv4: {}
      +        ipv6: {}
      +        routingViaHost: false
      +      genevePort: 6081
      +      ipsecConfig:
      +        mode: Disabled
      +      mtu: 1400
      +      policyAuditConfig:
      +        destination: "null"
      +        maxFileSize: 50
      +        maxLogFiles: 5
      +        rateLimit: 20
      +        syslogFacility: local0
      +    type: OVNKubernetes
      +  deployKubeProxy: false
      +  disableMultiNetwork: false
         disableNetworkDiagnostics: true
      +  logLevel: Normal
      +  managementState: Managed
      +  observedConfig: null
      +  operatorLogLevel: Normal
      +  serviceNetwork:
      +  - fd02::/112
      +  unsupportedConfigOverrides: null
      +  useMultiNetworkPolicy: true 

       

       

       

      Differences found in CR: v1_Namespace_openshift-local-storage, Compared To Reference CR: optional/local-storage-operator/StorageNS.yaml
      diff -u -N /tmp/MERGED-2709879431/v1_namespace_openshift-local-storage /tmp/LIVE-3407155783/v1_namespace_openshift-local-storage
      --- /tmp/MERGED-2709879431/v1_namespace_openshift-local-storage	2024-08-24 12:51:55.772050282 +0000
      +++ /tmp/LIVE-3407155783/v1_namespace_openshift-local-storage	2024-08-24 12:51:55.772050282 +0000
      @@ -3,4 +3,7 @@
       metadata:
         annotations:
           workload.openshift.io/allowed: management
      +  labels:
      +    pod-security.kubernetes.io/enforce: privileged
      +    pod-security.kubernetes.io/enforce-version: v1.24
         name: openshift-local-storage 

       

            jramsay1@redhat.com Jim Ramsay
            mcornea@redhat.com Marius Cornea
            Yogesh Ahire Yogesh Ahire
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: