Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8971

Application cannot be deleted when related Account is deleted first

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 2.14.0 GA
    • 3scale Operator
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

    Description

      I deleted Account before I've tried to delete related Application and it was possible:

       {"level":"error","ts":1670508351.3842933,"msg":"Reconciler error","controller":"application","controllerGroup":"capabilities.3scale.net","controllerKind":"Application","application":{"name":"testuxdkrzgsyi","namespace":"3scale-mas-dev2"},"namespace":"3scale-mas-dev2","name":"testuxdkrzgsyi","reconcileID":"44fa9879-0899-4393-bc07-9c166c109440","error":"providerAccountFromLocal3scaleSource: Secret \"system-seed\" not found","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234"}
      

      I think it will be great to add deleting of Applications to Account finalizer.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkudlej@redhat.com Martin Kudlej
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: