-
Bug
-
Resolution: Done
-
Undefined
-
None
-
ACM 2.11.0
-
False
-
None
-
False
-
-
-
Important
-
No
Description of problem:
Version-Release number of selected component (if applicable):
ACM 2.11.0-DOWNSTREAM-2024-05-20-16-57-05
OCP 4.16.0-0.nightly-2024-05-19-083311
ODF 4.16.0-102.stable
Gitops 1.12.2
How reproducible: This issue was seen on multiple setups.
Steps to Reproduce:
- Install ACM 2.11 on OCP 4.16
- Install GitOps Operator
- Create GitOpsCluster CR and check it's phase in the yaml
apiVersion: apps.open-cluster-management.io/v1beta1
kind: GitOpsCluster
metadata:
name: gitops-cluster-sample
namespace: openshift-gitops
spec:
argoServer:
cluster: local-cluster
argoNamespace: openshift-gitops
placementRef:
kind: Placement
apiVersion: cluster.open-cluster-management.io/v1beta1
name: all-openshift-clusters
Actual results: GitOpsCluster CR fails with secret not found error
apiVersion: apps.open-cluster-management.io/v1beta1 kind: GitOpsCluster metadata: creationTimestamp: '2024-05-20T11:58:32Z' generation: 1 managedFields: - apiVersion: apps.open-cluster-management.io/v1beta1 fieldsType: FieldsV1 fieldsV1: 'f:spec': .: {} 'f:argoServer': .: {} 'f:argoNamespace': {} 'f:cluster': {} 'f:placementRef': .: {} 'f:apiVersion': {} 'f:kind': {} 'f:name': {} manager: Mozilla operation: Update time: '2024-05-20T11:58:32Z' - apiVersion: apps.open-cluster-management.io/v1beta1 fieldsType: FieldsV1 fieldsV1: 'f:status': .: {} 'f:lastUpdateTime': {} 'f:message': {} 'f:phase': {} manager: gitopscluster operation: Update subresource: status time: '2024-05-20T12:04:03Z' name: gitops-cluster-sample namespace: openshift-gitops resourceVersion: '119829' uid: fe5fed9a-8de0-45ed-bac0-fead6888a07c spec: argoServer: argoNamespace: openshift-gitops cluster: local-cluster placementRef: apiVersion: cluster.open-cluster-management.io/v1beta1 kind: Placement name: all-openshift-clusters status: lastUpdateTime: '2024-05-20T12:04:03Z' message: secrets "local-cluster-cluster-secret" not found phase: failed