Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"error"unable to update status: RisingWave.risingwave.risingwavelabs.com "CRD_NAME" is invalid: componentReplicas.connector: Required value #674

Open
yalattas opened this issue Jun 26, 2024 · 1 comment

Comments

@yalattas
Copy link

After applying resources changes to risingwave suddenly operator broke due to not having an attribute called componentReplicas.connector
I tried adding it in the CRD with no luck

Docs doesn't specify this and couldn't find an example of it

    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:32:10Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "e756d43e-197a-4099-b0b8-ffdcab77cfaa", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:32:20Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "12b37450-f53c-49e2-a569-98ecd97bdc1e", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:32:30Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "093c6560-4eec-44ef-aaa6-6d6c5ecbfe29", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:32:40Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "1df1ed67-f57f-4a98-a5cf-ddc9f1ec823f", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:32:50Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "162bd59e-3a29-4ac4-9df0-44ce5374dbce", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:33:00Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "91022550-e2c1-4357-8b58-04dde0eca0f6", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:33:11Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "c9a8be91-6e23-4dd7-a85f-6a36ed0546f9", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:33:21Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "e1bfb61e-a55d-4cd2-bc2b-1e3cb092b841", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:33:31Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "0812ce44-27c3-4aef-ba73-b701cbc1323b", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:33:41Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "94432377-3de4-49c3-ae68-0f58b1fb4122", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:33:51Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "60927b7a-d115-45cc-bd63-14bfcdff1a2e", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:34:01Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "7bb5282b-af81-4ad6-a09b-909f9a0606dc", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:34:11Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "a7e509a7-de53-468b-947f-2bec59adcaf3", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:34:21Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "c58ef898-054f-407e-948d-766721e5ba9a", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-06-26T23:34:31Z    ERROR    Reconciler error    {"controller": "risingwave", "controllerGroup": "risingwave.risingwavelabs.com", "controllerKind": "RisingWave", "RisingWave": {"name":"risingwave-etcd-s3","namespace":"risingwave"}, "namespace": "risingwave", "name": "risingwave-etcd-s3", "reconcileID": "050613c0-c8c7-4c81-8bcc-33d8eff26cb4", "error": "unable to update status: RisingWave.risingwave.risingwavelabs.com \"risingwave-etcd-s3\" is invalid: componentReplicas.connector: Required value"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /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
    /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
@arkbriar
Copy link
Collaborator

arkbriar commented Jun 27, 2024

Hi @yalattas, thanks for trying the operator. The connector field was removed in the #585 and it was included in the v0.6.0 release. May I know the operator version you are running now? Could you try the latest version?

kubectl apply --server-side -f https://github.com/risingwavelabs/risingwave-operator/releases/latest/download/risingwave-operator.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants