Bug 2046775
| Summary: | ZTP gitops apps report errors and do not recover when openshift-gitops-operator.v1.4.1 is used | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Marius Cornea <mcornea> | ||||||
| Component: | Telco Edge | Assignee: | melserng | ||||||
| Telco Edge sub component: | ZTP | QA Contact: | Marius Cornea <mcornea> | ||||||
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | |||||||
| Severity: | high | ||||||||
| Priority: | unspecified | CC: | imiller, keyoung, melserng, vlaad | ||||||
| Version: | 4.10 | ||||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.11.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2022-08-26 15:15:55 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 2058191 | ||||||||
| Attachments: |
|
||||||||
|
Description
Marius Cornea
2022-01-27 09:27:08 UTC
Created attachment 1855970 [details]
openshift-gitops-application-controller-0.log
Note: with openshift-gitops-operator.v1.3.2 the same error manifests when the apps are created for the first time but they eventually recover after 5 minutes or after trigerring Hard Refresh as described in BZ#2036729. The current workaround is to pin the operator to v1.3.2. This CR can be used to install v1.3.2 of the operator:
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: openshift-gitops-operator
#namespace: openshift-gitops
namespace: openshift-operators
spec:
name: openshift-gitops-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
startingCSV: openshift-gitops-operator.v1.3.2
installPlanApproval: Manual
You may need to manually approve the installplan created for the subscription:
$ oc get installplan -n openshift-operators
NAME CSV APPROVAL APPROVED
install-7wdfv openshift-gitops-operator.v1.3.2 Manual false
Note the name of the install plan will vary, but you are looking for the one with CSV v1.3.2
oc edit installplan -n openshift-operators install-7wdfv
Set the "approved" field to true:
spec:
approval: Manual
approved: true
clusterServiceVersionNames:
- openshift-gitops-operator.v1.3.2
Could we please get the fix backported to release-4.10 branch? The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days |