Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.
This repository was archived by the owner on May 6, 2022. It is now read-only.

Cannot delete ServiceInstance when namespace is missing #2255

@nilebox

Description

@nilebox

Bug Report

What happened:
When namespace is missing due to #2254, Service Catalog rejects request to delete ServiceInstance. The only way to fix this is to manually re-create the namespace, then deletion works fine.

What you expected to happen:
Deletion of ServiceInstance should not rely on the existence of namespace

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

  1. Follow steps from Orphaned Service Catalog objects after Namespace deletion during Service Catalog API server outage #2254
  2. Try deleting an "orphaned" ServiceInstance:
❯ kubectl delete serviceinstance -n ns ups-instance
Error from server (NotFound): namespaces "ns" not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions