Bug 1313525 - MiniYum must support Obsoletes
Summary: MiniYum must support Obsoletes
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: otopi
Classification: oVirt
Component: Plugins.packagers
Version: master
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: ovirt-3.6.6
: ---
Assignee: Yedidyah Bar David
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks: ovirt-node-ng
TreeView+ depends on / blocked
 
Reported: 2016-03-01 19:20 UTC by Fabian Deutsch
Modified: 2017-05-11 09:26 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-03-04 08:38:24 UTC
oVirt Team: Integration
Embargoed:
fdeutsch: ovirt-3.6.z?
fdeutsch: blocker?
fdeutsch: planning_ack?
fdeutsch: devel_ack?
fdeutsch: testing_ack?


Attachments (Terms of Use)
host deploy log (102.62 KB, text/plain)
2016-03-02 11:26 UTC, Eli Mesika
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 54334 0 master MERGED spec: Add Provides in addition to Obsoletes 2016-03-04 08:41:24 UTC

Description Fabian Deutsch 2016-03-01 19:20:16 UTC
Description of problem:
oVirt Node Next depends support for the rpm Obsoletes directives. MiniYum does currently not support Obsolete dependencies, but it should support it to allow oVirt node Next updates,

Version-Release number of selected component (if applicable):
3.6

How reproducible:
Always

Steps to Reproduce:
1. Try to get updates for packages which use the Obsoletes dependency to express an update
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fabian Deutsch 2016-03-01 19:20:53 UTC
This is currently blocking Engine initiated oVirt Node Next upgrade flow

Comment 2 Sandro Bonazzola 2016-03-02 08:09:33 UTC
As far as I know, miniyum support obsoletes. If something goes wrong it's probably a bug in the spec file with the obsoletes directive.

Can you please provide full log and link to src.rpm of the packages failing the upgrade?

Comment 3 Fabian Deutsch 2016-03-02 11:21:28 UTC
Eli, can you provide the logs?

Comment 5 Eli Mesika 2016-03-02 11:26:37 UTC
Created attachment 1132254 [details]
host deploy log

This is the host deploy log , please search for "obsolete" to find  the relevant error that causes miniyum to rollback the yum transaction

Comment 6 Sandro Bonazzola 2016-03-04 08:38:24 UTC
missing provides in https://gerrit.ovirt.org/gitweb?p=ovirt-node-ng.git;a=blob;f=packaging/ovirt-node-ng.spec.in;h=20fac922f422d97ab64ef6b6c7c082ed38eb77a0;hb=HEAD

Obsoletes:  ovirt-node-ng-image-update-placeholder <= %{version}-%{release}
missing: Provides: ovirt-node-ng-image-update-placeholder  %{version}-%{release}
and the obsoletes should be < not <=

Please reopen if after above changes it still fails.


Note You need to log in before you can comment on or make changes to this bug.