Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

The ReportType cluster(appsubreport) still exists, even though the application ReportType has been removed #323

@yanmxa

Description

@yanmxa

Describe the bug
When I deploy a subscription on OCM hub, I can see the below appsubreport on hub:

» oc get appsubreport -A
NAMESPACE            NAME                 REPORTTYPE    DEPLOYED   INPROGRESS   FAILED   PROPAGATIONFAILED   CLUSTERS   AGE
helloworld           helloworld-appsub    Application   1          0            0        0                   1          5m20s
kind-hub1-cluster1   kind-hub1-cluster1   Cluster       n/a        n/a          n/a      n/a                 n/a        7s

Then I delete the subscription, and see that the appsubreport helloworld(Application) is gone, but the other appsubreport(Cluster) created by the subscription is still there.

» oc get appsubreport -A
NAMESPACE            NAME                 REPORTTYPE   DEPLOYED   INPROGRESS   FAILED   PROPAGATIONFAILED   CLUSTERS   AGE
kind-hub1-cluster1   kind-hub1-cluster1   Cluster      n/a        n/a          n/a      n/a                 n/a        32m

Expected behavior
I understand that deleting subscribtion should delete all AppSubreports related to it, but now some reports of cluster type are still retained. Is this the intention?

Environment ie: Kubernetes version:

» oc version                                                         
Client Version: 4.8.11
Kubernetes Version: v1.23.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions