-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I updated the domain and apiCert of an existing clusterrelocation CR.
The operator keeps logging this:
2023-09-12T15:17:00Z INFO controllers/clusterrelocation_controller.go:398 Waiting for kube-apiserver to update {"controller": "clusterrelocation", "controllerGroup": "rhsyseng.github.io", "controllerKind": "ClusterRelocation", "ClusterRelocation": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "daa97d73-2824-4080-8eea-c8431e4c665a"}
^[[B^[[D2023-09-12T15:17:10Z INFO controllers/clusterrelocation_controller.go:398 Waiting for kube-apiserver to update {"controller": "clusterrelocation", "controllerGroup": "rhsyseng.github.io", "controllerKind": "ClusterRelocation", "ClusterRelocation": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "daa97d73-2824-4080-8eea-c8431e4c665a"}
Seems that the operator will not move to progressing because there's no need to update the kube-apiserver deployment (the secret name stay the same...)
so it just hangs here:
| func WaitForCO(ctx context.Context, c client.Client, logger logr.Logger, operator string) error { |
Expected Behavior
Expected the update to work, I geuss a better check we have here is good enough, after that we can just wait for the operator status to be available, why do we need to wait for progressing??
Current Behavior
the opeartor is stuck waiting for apiserver to update (move to progressing=true) although it's already updated...
Possible Solution
Steps to Reproduce (for bugs)
Context
Regression
Your Environment
- Version used (
cluster-relocation-operator): - Environment name and version (e.g. OCP v1.12.20):
- Server type and version:
- Operating System and version (
uname -a): - Link to your deployment file:
Metadata
Metadata
Assignees
Labels
No labels