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

The latest Karmada-operator cannot install karmada instance #4209

Closed
wawa0210 opened this issue Nov 6, 2023 · 0 comments · Fixed by #4210
Closed

The latest Karmada-operator cannot install karmada instance #4209

wawa0210 opened this issue Nov 6, 2023 · 0 comments · Fixed by #4210
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@wawa0210
Copy link
Member

wawa0210 commented Nov 6, 2023

What happened:

When I installed the karmada instance through karmada-operator by referring to the documentation https://github.com/karmada-io/karmada/tree/master/operator#create-a-karmada-instance

I found an error.

E1106 19:15:40.649295   60506 planner.go:93] "failed to executed the workflow" err="failed to apply aggregated APIService resource to karmada controlplane, err: namespaces \"test1\" not found" workflow=init karmada="test1/karmada-demo"
E1106 19:15:40.664007   60506 controller.go:324] "Reconciler error" err="[failed to apply aggregated APIService resource to karmada controlplane, err: namespaces \"test1\" not found, Operation cannot be fulfilled on karmadas.operator.karmada.io \"karmada-demo\": the object has been modified; please apply your changes to the latest version and try again]" controller="karmada" controllerGroup="operator.karmada.io" controllerKind="Karmada" Karmada="test1/karmada-demo" namespace="test1" name="karmada-demo" reconcileID=c3e5137b-2ae7-4291-82c9-13f941e5d2f6

The service needs to be created in the cluster's built-in ns karmada-system corresponding to the karmada control plane. However, the ns test1 where the CR is located is used in the code, so the error ns does not exist.

What you expected to happen:

karmada instance can be installed normally

How to reproduce it (as minimally and precisely as possible):

follow the doc https://github.com/karmada-io/karmada/tree/master/operator#create-a-karmada-instance

Anything else we need to know?:

It should be a bug introduced by this issue #3750

Environment:

  • Karmada version:
  • kubectl-karmada or karmadactl version (the result of kubectl-karmada version or karmadactl version):
  • Others:
@wawa0210 wawa0210 added the kind/bug Categorizes issue or PR as related to a bug. label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant