Bug 2217848

Summary: tekton: ssp reconcile didn't happen correctly when tekton featuregate is enabled
Product: Container Native Virtualization (CNV) Reporter: Geetika Kapoor <gkapoor>
Component: InfrastructureAssignee: Ben Oukhanov <boukhano>
Status: CLOSED ERRATA QA Contact: Geetika Kapoor <gkapoor>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.14.0CC: boukhano, ycui
Target Milestone: ---   
Target Release: 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:05:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Geetika Kapoor 2023-06-27 09:32:58 UTC
Description of problem:

ssp failed to reconcile when featuregate deployTektonTaskResources is set to true

ssp failed to reconcile with  Error: namespaces "kubevirt-os-images" not found
Also, no alerts are generated at this point of time which is again a big problem. Users should be aware about any such changes/reconcile 

Version-Release number of selected component (if applicable):
4.14
Deployed: OCP-4.14.0-ec.1
Deployed: CNV-v4.14.0.rhel9-1052

How reproducible:
always

Steps to Reproduce:
1.Install pipelines
2.enable fg in hco
3.

Actual results:
ssp should reconcile didn't happen and no alerts are seen on the cluster due to reconcile issues

Expected results:
ssp should reconcile without any issue

Additional info:
 featureGates:
      deployTektonTaskResources: true
    tektonPipelines:
      namespace: openshift-cnv
    tektonTasks:
      namespace: openshift-cnv
    templateValidator:
      replicas: 2
    tlsSecurityProfile:
      intermediate: {}
      type: Intermediate
  status:
    conditions:
    - lastHeartbeatTime: "2023-06-27T06:21:18Z"
      lastTransitionTime: "2023-06-27T06:20:27Z"
      message: 'Error: namespaces "kubevirt-os-images" not found'
      reason: Available
      status: "False"
      type: Available
    - lastHeartbeatTime: "2023-06-27T06:21:18Z"
      lastTransitionTime: "2023-06-27T06:20:27Z"
      message: 'Error: namespaces "kubevirt-os-images" not found'
      reason: Progressing
      status: "True"
      type: Progressing
    - lastHeartbeatTime: "2023-06-27T06:21:18Z"
      lastTransitionTime: "2023-06-27T06:20:27Z"
      message: 'Error: namespaces "kubevirt-os-images" not found'
      reason: Degraded
      status: "True"
      type: Degraded
    observedGeneration: 6
    observedVersion: 4.14.0
    operatorVersion: 4.14.0
    phase: Deploying
    targetVersion: 4.14.0
kind: List
metadata:
  resourceVersion: ""
 
==================================
 
[cloud-user@ocp-ipi-executor-xl cnv-tests]$ oc get ssp -A -w
NAMESPACE       NAME                          PHASE
openshift-cnv   ssp-kubevirt-hyperconverged   Deploying
openshift-cnv   ssp-kubevirt-hyperconverged   Deploying
openshift-cnv   ssp-kubevirt-hyperconverged   Deploying

Comment 1 Geetika Kapoor 2023-07-03 13:12:46 UTC
Hi Ben , could you please add "Fixed In Version". Thanks

Comment 2 Geetika Kapoor 2023-07-10 11:15:14 UTC
Deployed version : v4.14.0.rhel9-1168	

Test passed and we see SSP reconcile without issues.

Comment 4 errata-xmlrpc 2023-11-08 14:05:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6817

Comment 5 Red Hat Bugzilla 2024-03-08 04:25:53 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days