Bug 2079418
| Summary: | cluster update status is stuck, also update is not even visible | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Advanced Cluster Management for Kubernetes | Reporter: | Ilkka Tengvall <ikke> | ||||
| Component: | Cluster Lifecycle | Assignee: | Jian Qiu <jqiu> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Hui Chen <huichen> | ||||
| Severity: | medium | Docs Contact: | Christopher Dawson <cdawson> | ||||
| Priority: | unspecified | ||||||
| Version: | rhacm-2.4.z | CC: | dhuynh, kcormier, leyan, nagbetra, yuhe | ||||
| Target Milestone: | --- | Flags: | bot-tracker-sync:
rhacm-2.4.z+
|
||||
| Target Release: | rhacm-2.4.6 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-09-26 14:52:19 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: | |||||||
| Attachments: |
|
||||||
|
Description
Ilkka Tengvall
2022-04-27 14:11:31 UTC
logs from clustrer-curator-controller: bin/sh: ./cluster-curator-controller: No such file or directory I0426 21:36:32.633030 1 request.go:665] Waited for 1.600608866s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/operators.coreos.com/v1alpha2?timeout=32s 2022-04-26T21:36:35.436Z INFO controller-runtime.metrics metrics server is starting to listen {"addr": ":8080"} 2022-04-26T21:36:36.232Z INFO setup starting manager 2022-04-26T21:36:36.531Z INFO starting metrics server {"path": "/metrics"} I0426 21:36:36.532049 1 leaderelection.go:248] attempting to acquire leader lease open-cluster-management/d362c584.cluster.open-cluster-management.io... I0426 23:01:06.832334 1 leaderelection.go:258] successfully acquired lease open-cluster-management/d362c584.cluster.open-cluster-management.io 2022-04-26T23:01:06.832Z DEBUG events Normal {"object": {"kind":"ConfigMap","namespace":"open-cluster-management","name":"d362c584.cluster.open-cluster-management.io","uid":"aa8d8ae1-5f68-4506-ba94-1c823584dee4","apiVersion":"v1","resourceVersion":"45350134"}, "reason": "LeaderElection", "message": "cluster-curator-controller-76bc4968b5-zbsfn_d2f9927a-e079-4a75-acfb-240d7cda7ac8 became leader"} 2022-04-26T23:01:06.832Z DEBUG events Normal {"object": {"kind":"Lease","namespace":"open-cluster-management","name":"d362c584.cluster.open-cluster-management.io","uid":"42d06700-a958-4c44-8e39-709217f798d2","apiVersion":"coordination.k8s.io/v1","resourceVersion":"45350139"}, "reason": "LeaderElection", "message": "cluster-curator-controller-76bc4968b5-zbsfn_d2f9927a-e079-4a75-acfb-240d7cda7ac8 became leader"} 2022-04-26T23:01:07.133Z INFO controller.clustercurator Starting EventSource {"reconciler group": "cluster.open-cluster-management.io", "reconciler kind": "ClusterCurator", "source": "kind source: /, Kind="} 2022-04-26T23:01:07.133Z INFO controller.clustercurator Starting Controller {"reconciler group": "cluster.open-cluster-management.io", "reconciler kind": "ClusterCurator"} 2022-04-26T23:01:07.632Z INFO controller.clustercurator Starting workers {"reconciler group": "cluster.open-cluster-management.io", "reconciler kind": "ClusterCurator", "worker count": 1} B2Gsync Seems similar to https://bugzilla.redhat.com/show_bug.cgi?id=2005759 It looks like we did not deliver a fix for 2.4.z but that something was improved for 2.5 When upgrading a managed cluster, cluster-curator-controller will create a job to monitor the progress of the upgrading and update the status of the clustercurator CR accordingly. If the job fails for some reason, the status of the clustercurator CR will stuck in a stale status, while the upgrading may have already been completed. ACM console reads the upgrading status from the clustercurator CR, If it find the cluster is in a upgrading status, it will not show upgrade options on the UI. That's the root cause of this issue. It has been fixed in 2.5 release and the fix should be backport to 2.4 as well. The fix has been merged. It will be available in ACM 2.4.6. Verified on 2.4.6-DOWNSTREAM-2022-09-07-18-40-46 Cluster update status was visible on both UI and cluster curator yaml Upgrade was completed 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 (Critical: Red Hat Advanced Cluster Management 2.4.6 security update and bug fixes), 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-2022:6696 |