Description of problem: KubevirtCommonTemplatesBundle custom resources is created on different namespace than its owner - hyperconverged-cluster, which might lead to it being garbage-collected in future. Version-Release number of selected component (if applicable): 2.2.0 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: KubevirtCommonTemplatesBundle is eventually being deleted by GC. Expected results: KubevirtCommonTemplatesBundle is not deleted without explicit request by the user. Additional info: Owner and dependent should be in same namespace if both of them are namespace-scoped, otherwise dependent would be garbage-collected. Dependent: Name: common-templates-hyperconverged-cluster; Kind: KubevirtCommonTemplatesBundle; Namespace: openshift Owner: Name: hyperconverged-cluster; Kind: HyperConverged; Namespace: openshift-cnv
Moving to QE as this issue was addressed in PR #393.
Verified. >> oc describe KubevirtCommonTemplatesBundle common-templates-hyperconverged-cluster -n openshift Name: common-templates-hyperconverged-cluster Namespace: openshift Labels: app=hyperconverged-cluster Annotations: <none> API Version: kubevirt.io/v1 Kind: KubevirtCommonTemplatesBundle Metadata: Creation Timestamp: 2020-01-16T09:27:54Z Generation: 1 Resource Version: 1290573 Self Link: /apis/kubevirt.io/v1/namespaces/openshift/kubevirtcommontemplatesbundles/common-templates-hyperconverged-cluster UID: c06f717b-fa90-4d3e-8dcd-1719164dd36d Spec: Status: Conditions: Last Transition Time: 2020-01-16T09:34:00Z Message: Templates progressing. Reason: progressing Status: False Type: Progressing Last Transition Time: 2020-01-16T09:34:00Z Message: Common templates available. Reason: available Status: True Type: Available Ansible Result: Changed: 0 Completion: 2020-01-16T16:58:27.892602 Failures: 0 Ok: 11 Skipped: 0 Last Transition Time: 2020-01-16T16:07:56Z Message: Awaiting next reconciliation Reason: Successful Status: True Type: Running Events: <none> >> oc get kubevirtcommontemplatesbundles.kubevirt.io -n openshift -o yaml apiVersion: v1 items: - apiVersion: kubevirt.io/v1 kind: KubevirtCommonTemplatesBundle metadata: creationTimestamp: "2020-01-16T09:27:54Z" generation: 1 labels: app: hyperconverged-cluster name: common-templates-hyperconverged-cluster namespace: openshift resourceVersion: "1290573" selfLink: /apis/kubevirt.io/v1/namespaces/openshift/kubevirtcommontemplatesbundles/common-templates-hyperconverged-cluster uid: c06f717b-fa90-4d3e-8dcd-1719164dd36d spec: {} status: conditions: - lastTransitionTime: "2020-01-16T09:34:00Z" message: Templates progressing. reason: progressing status: "False" type: Progressing - lastTransitionTime: "2020-01-16T09:34:00Z" message: Common templates available. reason: available status: "True" type: Available - ansibleResult: changed: 0 completion: 2020-01-16T16:58:27.892602 failures: 0 ok: 11 skipped: 0 lastTransitionTime: "2020-01-16T16:07:56Z" message: Awaiting next reconciliation reason: Successful status: "True" type: Running kind: List metadata: resourceVersion: "" selfLink: ""
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:0307