fixing cache creation, if 0 do not create any, allow flag to create
There is problem with integration tests:
2024-05-03T14:35:58Z ERROR ClusterReconciler.Reconcile setting pod node_id annotation {"controller": "cluster", "controllerGroup": "redpanda.vectorized.io", "controllerKind": "Cluster", "Cluster": {"name":"internal-redpanda","namespace":"default"}, "namespace": "default", "name": "internal-redpanda", "reconcileID": "216e940b-28fc-4846-a26a-5c9280e17b05", "error": "cannot fetch node id for \"external-fixed-redpanda\" node-id annotation: cluster internal-redpanda: cannot convert pod name (external-fixed-redpanda) to ordinal: parsing int failed (panda): strconv.ParseInt: parsing \"panda\": invalid syntax\ncannot fetch node id for \"internal-redpanda\" node-id annotation: cluster internal-redpanda: cannot convert pod name (internal-redpanda) to ordinal: pod name (internal-redpanda) and cluster name (internal-redpanda): invalid input parameters"}
--
| github.com/redpanda-data/redpanda-operator/src/go/k8s/internal/controller/redpanda.(*ClusterReconciler).Reconcile
| /work/src/go/k8s/internal/controller/redpanda/cluster_controller.go:198
| sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
| /root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:119
| sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
| /root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:316
| sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
| /root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266
| sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
| /root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
| 2024-05-03T14:35:58Z ERROR ClusterReconciler.Reconcile Failed to reconcile resource {"controller": "cluster", "controllerGroup": "redpanda.vectorized.io", "controllerKind": "Cluster", "Cluster": {"name":"external-fixed-redpanda","namespace":"default"}, "namespace": "default", "name": "external-fixed-redpanda", "reconcileID": "be524327-5b19-421f-81a4-c0414baa4f7b", "resource": "StatefulSet", "error": "failed to retrieve node port service default/external-fixed-redpanda-external: Service \"external-fixed-redpanda-external\" not found"}
| github.com/redpanda-data/redpanda-operator/src/go/k8s/internal/controller/redpanda.(*attachedResources).Ensure
| /work/src/go/k8s/internal/controller/redpanda/cluster_controller_attached_resources.go:70
| github.com/redpanda-data/redpanda-operator/src/go/k8s/internal/controller/redpanda.(*ClusterReconciler).Reconcile
| /work/src/go/k8s/internal/controller/redpanda/cluster_controller.go:202
| sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
| /root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:119
| sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
| /root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:316
| sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
| /root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266
| sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
| /root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
https://buildkite.com/redpanda/redpanda-operator/builds/1350#018f3ede-8c4b-40fb-9165-a531e6684f6a/691-744
Maybe the log that I send is incorrect.
The ginkgo test suite timed out.
[FAILED] Timed out after 30.001s.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
This PR is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This PR was closed because it has been stalled for 5 days with no activity.