Bug 1455456

Summary: otopi uses deprecated dnf.Base.plugins() function
Product: [oVirt] otopi Reporter: Yedidyah Bar David <didi>
Component: Plugins.packagersAssignee: Yedidyah Bar David <didi>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: medium    
Version: masterCC: bugs, gzaidman
Target Milestone: ovirt-4.4.0Flags: rule-engine: ovirt-4.3+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-09 06:53:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1542482, 2047251, 2121662    
Bug Blocks: 1455452    

Description Yedidyah Bar David 2017-05-25 08:57:26 UTC
Description of problem:

$Summary. This function is removed in 2.0, we should find an alternative. This might be init_plugins [1], need to check.

[1] http://dnf.readthedocs.io/en/latest/api_base.html

Comment 1 Sandro Bonazzola 2017-06-30 06:45:39 UTC
(In reply to Yedidyah Bar David from comment #0)
> Description of problem:
> 
> $Summary. This function is removed in 2.0, we should find an alternative.
> This might be init_plugins [1], need to check.
> 
> [1] http://dnf.readthedocs.io/en/latest/api_base.html

checked with one of the dnf maintainers. In dnf.Base() there is:

def init_plugins(self, disabled_glob=(), enable_plugins=(), cli=None):
    # :api
    """Load plugins and run their __init__()."""
    if self.conf.plugins:
        self._plugins._load(self.conf, disabled_glob, enable_plugins)
    self._plugins._run_init(self, cli)

Comment 2 Sandro Bonazzola 2019-01-21 08:28:26 UTC
re-targeting to 4.3.1 since this BZ has not been proposed as blocker for 4.3.0.
If you think this bug should block 4.3.0 please re-target and set blocker flag.

Comment 3 Yedidyah Bar David 2019-09-09 06:53:21 UTC
Was handled as part of bug 1542529, closing.

*** This bug has been marked as a duplicate of bug 1542529 ***