Bug 1249385

Summary: [RFE] support dnf packaging
Product: [oVirt] otopi Reporter: Alon Bar-Lev <alonbl>
Component: Plugins.packagersAssignee: Yaniv Kaul <ykaul>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: adahms, amureini, bazulay, bugs, didi, dougsland, gklein, iheim, lsurette, pbrilla, pstehlik, sbonazzo, yeylon, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: Improvement
Target Release: 1.4.0Flags: rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
pstehlik: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this update, otopi now supports the DNF packaging system in addition to YUM.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-23 09:02:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1162508, 1186650    

Description Alon Bar-Lev 2015-08-02 10:23:36 UTC
fc22 made it mandatory without backward compatibility.

Comment 1 Sandro Bonazzola 2015-08-03 06:03:15 UTC
fc22 provides yum-deprecated and yum api for backward compatibility.

Comment 2 Alon Bar-Lev 2015-08-04 17:18:06 UTC
for some reason yum package appears today, which is actually working.

Comment 3 Alon Bar-Lev 2015-08-04 19:55:31 UTC
there is minidnf now in otopi, great disappointment, still the user need to implement complex logic in order to use it. but error detection is better, most ugly hacks were removed.

I tried to keep it as compatible with miniyum as I could, please do not use it with over abstraction, just create the sync and object directly and then manipulate it the same. you should try to construct the minidnf and if fail to construct the miniyum.

one change: instead of install() followed by update(), use installUpdate().

the instance behaves differently, it lives only from transaction begin to transaction end, it should not be important, but may explain issues that may be found.

Comment 6 Petr Kubica 2016-02-19 09:33:01 UTC
Verified in ovirt-engine-3.6.2.6-1.fc22.noarch