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

CI failure due to istios resource added to related objects before CRD is created

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • Important
    • None
    • None
    • Rejected
    • NI&D Sprint 269, NI&D Sprint 270, NI&D Sprint 271
    • 3
    • Done
    • Bug Fix
    • Hide
       * Before this update, the Ingress Operator sometimes added `GatewayClass` and `istio` resources to the `relatedObjects` parameter of the configuration of the Cluster Operator. Additionally, the Ingress Operator specified a namespace these resources even though the `istios` resource is cluster-scoped and the `GatewayClass` is managed irrespective of namespace details. As a result of these configurations, the information in the `relatedObjects` parameter contained misleading information. With this release, an update to the status controller of the Ingress Operator ensures the controller checks if these resources already exist and then checks the related `FeatureGate` CRs before adding any resources to the `relatedObjects` parameter . The controller no longer specifies namespaces for the `GatewayClass` and `istio` resources. This update ensures that the relatedObjects` parameter contains accurate information for the `GatewayClass` and `istio` resources. (link:https://issues.redhat.com/browse/OCPBUGS-57433[OCPBUGS-57433])
      Show
       * Before this update, the Ingress Operator sometimes added `GatewayClass` and `istio` resources to the `relatedObjects` parameter of the configuration of the Cluster Operator. Additionally, the Ingress Operator specified a namespace these resources even though the `istios` resource is cluster-scoped and the `GatewayClass` is managed irrespective of namespace details. As a result of these configurations, the information in the `relatedObjects` parameter contained misleading information. With this release, an update to the status controller of the Ingress Operator ensures the controller checks if these resources already exist and then checks the related `FeatureGate` CRs before adding any resources to the `relatedObjects` parameter . The controller no longer specifies namespaces for the `GatewayClass` and `istio` resources. This update ensures that the relatedObjects` parameter contains accurate information for the `GatewayClass` and `istio` resources. (link: https://issues.redhat.com/browse/OCPBUGS-57433 [ OCPBUGS-57433 ])
    • None
    • None
    • None
    • None

      Description of problem:

          CI test results show an unexpected error for the ClusterOperators test, due to the istios resource being added to the related objects before the CRD is created.
      
      The error message looks like:
      
       • [FAILED] [3.062 seconds]
        [sig-arch] ClusterOperators [apigroup:config.openshift.io] should define [It] valid related objects [Suite:openshift/conformance/parallel]
        github.com/openshift/origin/test/extended/operators/clusteroperators.go:81
      
          [FAILED] Unexpected error:
              <*meta.NoResourceMatchError | 0xc002446060>: 
              no matches for sailoperator.io/, Resource=istios
              {
                  PartialResource: {
                      Group: "sailoperator.io",
                      Version: "",
                      Resource: "istios",
                  },
              }
          occurred
          In [It] at: github.com/openshift/origin/test/extended/operators/clusteroperators.go:113 @ 04/08/25 00:31:03.7
        ------------------------------
      
        Summarizing 1 Failure:
          [FAIL] [sig-arch] ClusterOperators [apigroup:config.openshift.io] should define [It] valid related objects [Suite:openshift/conformance/parallel]
          github.com/openshift/origin/test/extended/operators/clusteroperators.go:113

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

          4.19

      How reproducible:

          Seen in CI results such as https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/29644/pull-ci-openshift-origin-main-e2e-gcp-ovn-techpreview/1909373465886986240/artifacts/e2e-gcp-ovn-techpreview/openshift-e2e-test/build-log.txt

      Steps to Reproduce:

          1. Run e2e-gc-ovn-techpreview test
          2. Review log

      Actual results:

          Error message as listed above.

      Expected results:

          No error related to gateway api feature.

      Additional info:

          Discussed in https://redhat-internal.slack.com/archives/C01CQA76KMX/p1744141399405579

              mmasters1@redhat.com Miciah Masters
              cholman@redhat.com Candace Holman
              None
              None
              Ishmam Amin Ishmam Amin
              Darragh Fitzmaurice Darragh Fitzmaurice
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: