Skip to content

Projects stuck on deletion shows misleading message #2613

@dnaeon

Description

@dnaeon

What happened:

Deleting a project got stuck and the dashboard was suggesting that it deletion is still pending because of existing backupentries.

Image

However, checking the project namespace shows that there are no backupentries.

> kubectl --namespace garden-myproject get backupentries
No resources found in garden-myproject namespace.

What appears to be blocking the project namespace deletion in this particular case are secrets with attached finalizers. There might be other resources, though.

The message however displayed on the dashboard is misleading and might confuse people when trying to understand why deletion is stuck.

What you expected to happen:

Better message indicating the reason why deletion is stuck.

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

  • Create a new project.
  • Create a new secret and add a finalizer to it
  • Delete the project

Anything else we need to know:

Environment:

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/dashboardGardener Dashboardkind/bugBuglifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions