Skip to content

operator gets stuck while processing platformmesh resource #92

@akafazov

Description

@akafazov

Current state

The operator fails to reconcile the PlatformMesh resource. The logs are observed in the operator pod:

{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"2def79b3-e919-40fd-94b7-64d1d25e4b1b","subroutine":"FeatureToggleSubroutine","subroutine":"FeatureToggleSubroutine","error":"getting secret kcp-cluster-admin-client-cert/platform-mesh-system: Failed to get secret: Secret \"kcp-cluster-admin-client-cert\" not found","time":"2025-11-03T15:40:35Z","caller":"/workspace/pkg/subroutines/featuretoggles.go:86","message":"Failed to build kubeconfig"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"2def79b3-e919-40fd-94b7-64d1d25e4b1b","subroutine":"FeatureToggleSubroutine","error":"Failed to build kubeconfig: getting secret kcp-cluster-admin-client-cert/platform-mesh-system: Failed to get secret: Secret \"kcp-cluster-admin-client-cert\" not found","retry":true,"time":"2025-11-03T15:40:35Z","caller":"/go/pkg/mod/github.com/platform-mesh/[email protected]/controller/lifecycle/lifecycle.go:200","message":"subroutine ended with error"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","controller":"PlatformMeshReconciler","controllerGroup":"core.platform-mesh.io","controllerKind":"PlatformMesh","PlatformMesh":{"name":"platform-mesh","namespace":"platform-mesh-system"},"namespace":"platform-mesh-system","name":"platform-mesh","reconcileID":"0099f3f2-4933-4bbd-b92f-e6e724f4e098","error":"Failed to build kubeconfig: getting secret kcp-cluster-admin-client-cert/platform-mesh-system: Failed to get secret: Secret \"kcp-cluster-admin-client-cert\" not found","time":"2025-11-03T15:40:35Z","caller":"/go/pkg/mod/github.com/kcp-dev/[email protected]/pkg/internal/controller/controller.go:316","message":"Reconciler error"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"0b73dc9b-4c7e-4277-917f-28d3dc9da735","subroutine":"FeatureToggleSubroutine","subroutine":"FeatureToggleSubroutine","error":"getting secret kcp-cluster-admin-client-cert/platform-mesh-system: Failed to get secret: Secret \"kcp-cluster-admin-client-cert\" not found","time":"2025-11-03T15:40:55Z","caller":"/workspace/pkg/subroutines/featuretoggles.go:86","message":"Failed to build kubeconfig"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"0b73dc9b-4c7e-4277-917f-28d3dc9da735","subroutine":"FeatureToggleSubroutine","error":"Failed to build kubeconfig: getting secret kcp-cluster-admin-client-cert/platform-mesh-system: Failed to get secret: Secret \"kcp-cluster-admin-client-cert\" not found","retry":true,"time":"2025-11-03T15:40:55Z","caller":"/go/pkg/mod/github.com/platform-mesh/[email protected]/controller/lifecycle/lifecycle.go:200","message":"subroutine ended with error"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","controller":"PlatformMeshReconciler","controllerGroup":"core.platform-mesh.io","controllerKind":"PlatformMesh","PlatformMesh":{"name":"platform-mesh","namespace":"platform-mesh-system"},"namespace":"platform-mesh-system","name":"platform-mesh","reconcileID":"da8b9a7c-1715-4e9a-b64c-7b7ef1225294","error":"Failed to build kubeconfig: getting secret kcp-cluster-admin-client-cert/platform-mesh-system: Failed to get secret: Secret \"kcp-cluster-admin-client-cert\" not found","time":"2025-11-03T15:40:55Z","caller":"/go/pkg/mod/github.com/kcp-dev/[email protected]/pkg/internal/controller/controller.go:316","message":"Reconciler error"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"bd25ca8e-f2e7-4530-90ae-ac220cbe29af","subroutine":"FeatureToggleSubroutine","subroutine":"FeatureToggleSubroutine","error":"getting secret kcp-cluster-admin-client-cert/platform-mesh-system: Failed to get secret: Secret \"kcp-cluster-admin-client-cert\" not found","time":"2025-11-03T15:41:36Z","caller":"/workspace/pkg/subroutines/featuretoggles.go:86","message":"Failed to build kubeconfig"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"bd25ca8e-f2e7-4530-90ae-ac220cbe29af","subroutine":"FeatureToggleSubroutine","error":"Failed to build kubeconfig: getting secret kcp-cluster-admin-client-cert/platform-mesh-system: Failed to get secret: Secret \"kcp-cluster-admin-client-cert\" not found","retry":true,"time":"2025-11-03T15:41:36Z","caller":"/go/pkg/mod/github.com/platform-mesh/[email protected]/controller/lifecycle/lifecycle.go:200","message":"subroutine ended with error"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","controller":"PlatformMeshReconciler","controllerGroup":"core.platform-mesh.io","controllerKind":"PlatformMesh","PlatformMesh":{"name":"platform-mesh","namespace":"platform-mesh-system"},"namespace":"platform-mesh-system","name":"platform-mesh","reconcileID":"24534f97-eeae-4da1-869f-1eeda506d03c","error":"Failed to build kubeconfig: getting secret kcp-cluster-admin-client-cert/platform-mesh-system: Failed to get secret: Secret \"kcp-cluster-admin-client-cert\" not found","time":"2025-11-03T15:41:36Z","caller":"/go/pkg/mod/github.com/kcp-dev/[email protected]/pkg/internal/controller/controller.go:316","message":"Reconciler error"}

-------------------------------------------------------------------------------------------------------------------------------------------------{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"ea0fd0ac-6879-4faf-96a2-a66527b757ee","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to apply manifest file: /operator/manifests/kcp/workspace-orgs.yaml (Workspace/orgs): workspaces.tenancy.kcp.io \"orgs\" is forbidden: Internal error occurred: workspacetypes.tenancy.kcp.io \"root:orgs\" not found","file":"/operator/manifests/kcp/workspace-orgs.yaml","time":"2025-11-03T15:42:58Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"ea0fd0ac-6879-4faf-96a2-a66527b757ee","subroutine":"KcpsetupSubroutine","subroutine":"KcpsetupSubroutine","error":"Failed to apply manifest file: /operator/manifests/kcp/workspace-orgs.yaml (Workspace/orgs): workspaces.tenancy.kcp.io \"orgs\" is forbidden: Internal error occurred: workspacetypes.tenancy.kcp.io \"root:orgs\" not found","time":"2025-11-03T15:42:59Z","caller":"/workspace/pkg/subroutines/kcpsetup.go:197","message":"Failed to apply dir structure"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"ea0fd0ac-6879-4faf-96a2-a66527b757ee","subroutine":"KcpsetupSubroutine","subroutine":"KcpsetupSubroutine","error":"Failed to apply dir structure: Failed to apply manifest file: /operator/manifests/kcp/workspace-orgs.yaml (Workspace/orgs): workspaces.tenancy.kcp.io \"orgs\" is forbidden: Internal error occurred: workspacetypes.tenancy.kcp.io \"root:orgs\" not found","time":"2025-11-03T15:42:59Z","caller":"/workspace/pkg/subroutines/kcpsetup.go:113","message":"Failed to create kcp workspaces"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"ea0fd0ac-6879-4faf-96a2-a66527b757ee","subroutine":"KcpsetupSubroutine","error":"Failed to create kcp workspaces: Failed to apply dir structure: Failed to apply manifest file: /operator/manifests/kcp/workspace-orgs.yaml (Workspace/orgs): workspaces.tenancy.kcp.io \"orgs\" is forbidden: Internal error occurred: workspacetypes.tenancy.kcp.io \"root:orgs\" not found","retry":true,"time":"2025-11-03T15:42:59Z","caller":"/go/pkg/mod/github.com/platform-mesh/[email protected]/controller/lifecycle/lifecycle.go:200","message":"subroutine ended with error"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","controller":"PlatformMeshReconciler","controllerGroup":"core.platform-mesh.io","controllerKind":"PlatformMesh","PlatformMesh":{"name":"platform-mesh","namespace":"platform-mesh-system"},"namespace":"platform-mesh-system","name":"platform-mesh","reconcileID":"0d3aa287-f155-4f2a-9e91-851a01b9521f","error":"Failed to create kcp workspaces: Failed to apply dir structure: Failed to apply manifest file: /operator/manifests/kcp/workspace-orgs.yaml (Workspace/orgs): workspaces.tenancy.kcp.io \"orgs\" is forbidden: Internal error occurred: workspacetypes.tenancy.kcp.io \"root:orgs\" not found","time":"2025-11-03T15:42:59Z","caller":"/go/pkg/mod/github.com/kcp-dev/[email protected]/pkg/internal/controller/controller.go:316","message":"Reconciler error"}
{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"eec55263-8056-4ec9-a900-0e3d1ee1ecc8","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to apply manifest file: /operator/manifests/kcp/01-platform-mesh-system/apibinding-core-platform-mesh.io.yaml (APIBinding/core.platform-mesh.io): apibindings.apis.kcp.io \"core.platform-mesh.io\" is forbidden: unable to create APIBinding: no permission to bind to export root:platform-mesh-system:core.platform-mesh.io","file":"/operator/manifests/kcp/01-platform-mesh-system/apibinding-core-platform-mesh.io.yaml","time":"2025-11-03T15:43:01Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"eec55263-8056-4ec9-a900-0e3d1ee1ecc8","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-account-home.yaml (ContentConfiguration/account-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","file":"/operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-account-home.yaml","time":"2025-11-03T15:43:01Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"eec55263-8056-4ec9-a900-0e3d1ee1ecc8","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-account-namespace.yaml (ContentConfiguration/account-namespace): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","file":"/operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-account-namespace.yaml","time":"2025-11-03T15:43:01Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"eec55263-8056-4ec9-a900-0e3d1ee1ecc8","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-accounts.yaml (ContentConfiguration/main-account-ui): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","file":"/operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-accounts.yaml","time":"2025-11-03T15:43:01Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"eec55263-8056-4ec9-a900-0e3d1ee1ecc8","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","file":"/operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml","time":"2025-11-03T15:43:01Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"eec55263-8056-4ec9-a900-0e3d1ee1ecc8","subroutine":"KcpsetupSubroutine","subroutine":"KcpsetupSubroutine","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","time":"2025-11-03T15:43:01Z","caller":"/workspace/pkg/subroutines/kcpsetup.go:197","message":"Failed to apply dir structure"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"eec55263-8056-4ec9-a900-0e3d1ee1ecc8","subroutine":"KcpsetupSubroutine","subroutine":"KcpsetupSubroutine","error":"Failed to apply dir structure: Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","time":"2025-11-03T15:43:01Z","caller":"/workspace/pkg/subroutines/kcpsetup.go:113","message":"Failed to create kcp workspaces"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"eec55263-8056-4ec9-a900-0e3d1ee1ecc8","subroutine":"KcpsetupSubroutine","error":"Failed to create kcp workspaces: Failed to apply dir structure: Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","retry":true,"time":"2025-11-03T15:43:01Z","caller":"/go/pkg/mod/github.com/platform-mesh/[email protected]/controller/lifecycle/lifecycle.go:200","message":"subroutine ended with error"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","controller":"PlatformMeshReconciler","controllerGroup":"core.platform-mesh.io","controllerKind":"PlatformMesh","PlatformMesh":{"name":"platform-mesh","namespace":"platform-mesh-system"},"namespace":"platform-mesh-system","name":"platform-mesh","reconcileID":"68726fbe-fd8a-4bd5-a4ac-61905d1ad6f2","error":"Failed to create kcp workspaces: Failed to apply dir structure: Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","time":"2025-11-03T15:43:01Z","caller":"/go/pkg/mod/github.com/kcp-dev/[email protected]/pkg/internal/controller/controller.go:316","message":"Reconciler error"}
{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"c390ac7a-97c5-46aa-911d-37943a5b6b3d","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-account-home.yaml (ContentConfiguration/account-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","file":"/operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-account-home.yaml","time":"2025-11-03T15:43:02Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"c390ac7a-97c5-46aa-911d-37943a5b6b3d","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-account-namespace.yaml (ContentConfiguration/account-namespace): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","file":"/operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-account-namespace.yaml","time":"2025-11-03T15:43:02Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"c390ac7a-97c5-46aa-911d-37943a5b6b3d","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-accounts.yaml (ContentConfiguration/main-account-ui): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","file":"/operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-accounts.yaml","time":"2025-11-03T15:43:02Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"warn","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"c390ac7a-97c5-46aa-911d-37943a5b6b3d","subroutine":"KcpsetupSubroutine","subroutine":"","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","file":"/operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml","time":"2025-11-03T15:43:02Z","caller":"/workspace/pkg/subroutines/subroutine_helpers.go:466","message":"Failed to apply manifest file, continuing to next file in directory"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"c390ac7a-97c5-46aa-911d-37943a5b6b3d","subroutine":"KcpsetupSubroutine","subroutine":"KcpsetupSubroutine","error":"Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","time":"2025-11-03T15:43:02Z","caller":"/workspace/pkg/subroutines/kcpsetup.go:197","message":"Failed to apply dir structure"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"c390ac7a-97c5-46aa-911d-37943a5b6b3d","subroutine":"KcpsetupSubroutine","subroutine":"KcpsetupSubroutine","error":"Failed to apply dir structure: Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","time":"2025-11-03T15:43:02Z","caller":"/workspace/pkg/subroutines/kcpsetup.go:113","message":"Failed to create kcp workspaces"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","operator":"platform-mesh-operator","controller":"PlatformMeshReconciler","name":"platform-mesh","namespace":"platform-mesh-system","reconcile_id":"c390ac7a-97c5-46aa-911d-37943a5b6b3d","subroutine":"KcpsetupSubroutine","error":"Failed to create kcp workspaces: Failed to apply dir structure: Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","retry":true,"time":"2025-11-03T15:43:02Z","caller":"/go/pkg/mod/github.com/platform-mesh/[email protected]/controller/lifecycle/lifecycle.go:200","message":"subroutine ended with error"}
{"level":"error","service":"/go/pkg/mod/github.com/platform-mesh/[email protected]/logger/logger.go","controller":"PlatformMeshReconciler","controllerGroup":"core.platform-mesh.io","controllerKind":"PlatformMesh","PlatformMesh":{"name":"platform-mesh","namespace":"platform-mesh-system"},"namespace":"platform-mesh-system","name":"platform-mesh","reconcileID":"241f5d81-8c4c-427c-a1ca-adfc196c5c3f","error":"Failed to create kcp workspaces: Failed to apply dir structure: Failed to get existing object: /operator/manifests/kcp/01-platform-mesh-system/contentconfiguration-main-home.yaml (ContentConfiguration/main-home): no matches for kind \"ContentConfiguration\" in version \"ui.platform-mesh.io/v1alpha1\"","time":"2025-11-03T15:43:02Z","caller":"/go/pkg/mod/github.com/kcp-dev/[email protected]/pkg/internal/controller/controller.go:316","message":"Reconciler error"}

Immediately after restarting the operator by deleting the POD, the resource is reconciled correctly with no errors in the log.

Desired state

Successful reconcile does not require restarting the operator.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions