Change in vdsm[master]: spec: Update libvrit-daemon and libvirt-python requirements

nsoffer at redhat.com nsoffer at redhat.com
Sun Apr 5 13:45:47 UTC 2015


Hello Adam Litke,

I'd like you to do a code review.  Please visit

    https://gerrit.ovirt.org/39551

to review the following change.

Change subject: spec: Update libvrit-daemon and libvirt-python requirements
......................................................................

spec: Update libvrit-daemon and libvirt-python requirements

The errata RHBA-2015:0742-05 fixes bug 1177220 by updating libvirt to
version 1.2.8-16.el7_1.2.  Details from the advisory follow:

When using the QEMU emulator to search for a file name in a backing
chain, QEMU previously searched for an incorrect string. As a
consequence, QEMU was unable to perform blockpull and blockcommit
actions involving the affected part of the backing chain. With this
update, libvirt queries the QEMU version of the string associated with a
backing chain element. As a result, it is now possible to create
multiple snapshots and then use consecutive blockcommit actions to clear
the snapshots. (Bug 1203119)

In order to resolve the problems with live merge we must require this
version of libvirt on EL7 hosts. On Fedora this fix is available only in
1.2.14, which available only on Fedora 22. When running on Fedora < 22,
we don't have any fix yet to this issue.

This version of libvirt also includes a fix for LSM (Bug 1176673). The
libvirt flag VIR_DOMAIN_BLOCK_REBASE_COPY_DEV was added to libvirt and
the python bindings and will be used by vsdm to make sure block disks
are handled properly by libvirt.  We need both libvirt-daemon >=
1.2.8-16.el7_1.1 and libvirt-python >= 1.2.8-7.el7_1.1. for a complete
fix to the problem.

Finally, on Fedora, we must require libvit-python that properly supports
the new virDomainBlockCopy API (1.2.9-2), needed for live storage
migration between mixed domain types (Bug 1200718).

Change-Id: I571cc86e0f478b4169f398a6d54c96fc8bb4da30
Bug-Url: https://bugzilla.redhat.com/1158563
Bug-Url: https://bugzilla.redhat.com/1176673
Bug-Url: https://bugzilla.redhat.com/1200718
Signed-off-by: Adam Litke <alitke at redhat.com>
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M vdsm.spec.in
1 file changed, 10 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/51/39551/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index 9783ff8..4cf44bb 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -193,18 +193,26 @@
 %endif
 
 %if 0%{?rhel} >= 7
-Requires: libvirt-daemon >= 1.2.8-15.el7
+Requires: libvirt-daemon >= 1.2.8-16.el7_1.2
+Requires: libvirt-python >= 1.2.8-7.el7_1.1
 %endif
 
 %if 0%{?rhel} == 6
 Requires: libvirt >= 0.10.2-29.el6_5.4
+Requires: libvirt-python
+%endif
+
+%if 0%{?fedora} >= 22
+Requires: libvirt-daemon >= 1.2.14
+Requires: libvirt-python >= 1.2.9-2
 %endif
 
 %if 0%{?fedora} >= 20
 Requires: libvirt-daemon >= 1.2.9
+Requires: libvirt-python >= 1.2.9-2
 %endif
 
-Requires: libvirt-python, libvirt-lock-sanlock, libvirt-client
+Requires: libvirt-lock-sanlock, libvirt-client
 
 # iscsi-intiator versions
 %if 0%{?rhel}


-- 
To view, visit https://gerrit.ovirt.org/39551
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I571cc86e0f478b4169f398a6d54c96fc8bb4da30
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>


More information about the vdsm-patches mailing list