https://jenkins.ovirt.org/job/ovirt-node-ng_4.2_build-artifacts-el7-x86_64/426/artifact/exported-artifacts/virt-install.log

Not sure what happened but yesterday ovirt Node 4.2 jenkins job started failing with:
06:28:14,517 INFO program:Error: Package: vdsm-client-4.20.47-2.git31d3591.el7.noarch (ovirt-4.2-snapshot)
06:28:14,518 INFO program:Requires: vdsm-api = 4.20.47-2.git31d3591.el7
06:28:14,518 INFO program:Available: vdsm-api-4.20.23-1.el7.noarch (ovirt-4.2-centos-ovirt42)
06:28:14,519 INFO program:vdsm-api = 4.20.23-1.el7
06:28:14,520 INFO program:Available: vdsm-api-4.20.39.1-1.el7.noarch (ovirt-4.2-centos-ovirt42)
06:28:14,521 INFO program:vdsm-api = 4.20.39.1-1.el7
06:28:14,522 INFO program:Error: Package: vdsm-jsonrpc-4.20.47-2.git31d3591.el7.noarch (ovirt-4.2-snapshot)
06:28:14,522 INFO program:Requires: vdsm-api = 4.20.47-2.git31d3591.el7
06:28:14,523 INFO program:Available: vdsm-api-4.20.23-1.el7.noarch (ovirt-4.2-centos-ovirt42)
06:28:14,524 INFO program:vdsm-api = 4.20.23-1.el7
06:28:14,525 INFO program:Available: vdsm-api-4.20.39.1-1.el7.noarch (ovirt-4.2-centos-ovirt42)
06:28:14,526 INFO program:vdsm-api = 4.20.39.1-1.el7
06:28:14,527 INFO program:Error: Package: vdsm-python-4.20.47-2.git31d3591.el7.noarch (ovirt-4.2-snapshot)
06:28:14,528 INFO program:Requires: vdsm-api = 4.20.47-2.git31d3591.el7
06:28:14,528 INFO program:Available: vdsm-api-4.20.23-1.el7.noarch (ovirt-4.2-centos-ovirt42)
06:28:14,529 INFO program:vdsm-api = 4.20.23-1.el7
06:28:14,530 INFO program:Available: vdsm-api-4.20.39.1-1.el7.noarch (ovirt-4.2-centos-ovirt42)
06:28:14,531 INFO program:vdsm-api = 4.20.39.1-1.el7
Looking at vdsm.spec I see:
grep "\-api" vdsm.spec.in:
Requires: %{name}-api = %{version}-%{release}
Requires:       %{name}-api = %{version}-%{release}
Obsoletes:      %{name}-api < 4.16
Requires:       %{name}-api = %{version}-%{release}
Requires: glusterfs-api >= %{gluster_version}

Looking at the Obsoletes:

%package jsonrpc
Summary:        VDSM API Server
BuildArch:      noarch
Requires:       %{name}-python = %{version}-%{release}
Requires:       %{name}-api = %{version}-%{release}
Requires:       %{name}-yajsonrpc = %{version}-%{release}
Obsoletes:      %{name}-api < 4.16

There's an Obsoletes without a Provides while there are still around lines with:
Requires:       %{name}-api = %{version}-%{release}

so I don't know how it could have worked till now.

--

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA

sbonazzo@redhat.com