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

Unable to delete AddressPool #268

Closed
masa213f opened this issue Jan 5, 2024 · 0 comments · Fixed by #283
Closed

Unable to delete AddressPool #268

masa213f opened this issue Jan 5, 2024 · 0 comments · Fixed by #283
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@masa213f
Copy link
Contributor

masa213f commented Jan 5, 2024

Describe the bug
Unable to delete AddressPool

Environments

  • Version: Coil v2.4.0

To Reproduce

Create an AddressPool and Delete it.

$ kubectl apply -f <manifest file of AddressPool>
$ kubectl delete addresspool <AddressPool Name>

Then coil-controller outputs the following error.

{
  "level": "error",
  "ts": "2023-12-12T02:04:11Z",
  "msg": "Reconciler error",
  "controller": "addresspool",
  "controllerGroup": "coil.cybozu.com",
  "controllerKind": "AddressPool",
  "AddressPool": {
    "name": "test"
  },
  "namespace": "",
  "name": "test",
  "reconcileID": "6f2ae24d-86de-4ec0-b52c-96ded1c22ae6",
  "error": "failed to remove finalizer from address pool: addresspools.coil.cybozu.com \"test\" is forbidden: User \"system:serviceaccount:kube-system:coil-controller\" cannot update resource \"addresspools\" in API group \"coil.cybozu.com\" at the cluster scope",
  "stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.3/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.3/pkg/internal/controller/controller.go:265\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.3/pkg/internal/controller/controller.go:226"
}

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@masa213f masa213f added the bug Something isn't working label Jan 5, 2024
@terassyi terassyi self-assigned this Jan 9, 2024
@terassyi terassyi removed their assignment Jan 24, 2024
@terassyi terassyi added the good first issue Good for newcomers label Feb 20, 2024
@terassyi terassyi linked a pull request Apr 22, 2024 that will close this issue
@terassyi terassyi self-assigned this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants