Description of problem: When I was removing old cnv provider from engine DC was left untouched by removal of provider Version-Release number of selected component (if applicable): 4.4.0-25 How reproducible: 100%
Created attachment 1670784 [details] engine log form time of operation
With current design, kubevirt data-center is used to serve all of kubernetes clusters. The data-center is being added and marked as initialized. On Kubevirt provider removal, we remove all of that cluster resources (cluster, hosts, vms, templates and networks). However the data-center remains. If we wish to remove the 'kubevirt' data-center when the last kubevirt provider is removed, we need to add that to: https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/cluster/KubevirtProviderProxy.java#L309
Once all kubevirt/cnv providers are removed, DC is removed as well. Data Center kubevirt was removed by SYSTEM on ovirt-engine.noarch 4.4.0-0.33.master.el8ev
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 (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), 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/RHSA-2020:3247