Bug 870079
Summary: | 3.1 - packaging: vdsm and vdsm-cli conflict causes rhevm-3.0 bootstrap to fail | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Dafna Ron <dron> |
Component: | vdsm | Assignee: | Alon Bar-Lev <alonbl> |
Status: | CLOSED ERRATA | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.3 | CC: | abaron, alonbl, bazulay, iheim, ilvovsky, jbiddle, lpeer, pstehlik, sgrinber, thildred, ykaul |
Target Milestone: | rc | Keywords: | Regression, ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | infra | ||
Fixed In Version: | vdsm-4.9.6-40.0 | Doc Type: | Bug Fix |
Doc Text: |
The VDSM and vdsm-cli packages were changed in 3.1 in a way that creates a conflict with previous packages if VDSM and vdsm-cli are not upgraded at the same yum transaction. rhevm-3.0 tries to upgrade VDSM and vdsm-cli in different yum transactions and fails because of that conflict.
Now, vdsm-cli is a dependency of vdsm and is pulled into the vdsm yum transaction, allowing yum to resolve the conflict.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-04 19:13:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dafna Ron
2012-10-25 14:20:17 UTC
I just talked with Itamar about this. Manual update can have conflicts. There is no problem in that. Had this been only that it was left as-is. However as our bootstrap process of previous vdsm-bootstrap faulty and is not expected to be fixed in rhevm-3.0 engines. We should resolve the conflict <some how> --- BTW: Dafna, it will be great if you CC discussion people from previous but to new bugs, and copy the relevant discussion. commit 21b6561bb24db9c1043adac545f7d18989b7b3a2 Author: Alon Bar-Lev <alonbl> Date: Thu Oct 25 18:11:19 2012 +0200 packaging: add vdsm-cli dependency to vdsm dumpStorageTable.py was moved[1][2] from vdsm-cli to vdsm package. As result when updating vdsm without vdsm-cli there is a conflict between the old vdsm-cli and the new vdsm packages. Our old bootstrap code which is shipped with rhevm-3.0 installs packages one by one, failing any bootstrap if such conflict exists. The temporary simplest solution is to pull vdsm-cli into dependency try of vdsm package, this dependency will be removed in future when newer vdsm-bootstrap be distributed to all rhevm machines. [1] Ic9dfdc2 [2] http://gerrit.ovirt.org/1889 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=870079 Change-Id: Ie62e19d5e1abf9c0e33b11313018a6d59640ae9c Signed-off-by: Alon Bar-Lev <alonbl> diff --git a/vdsm.spec.in b/vdsm.spec.in index 8dbe5cc..e3fe0eb 100644 --- a/vdsm.spec.in +++ b/vdsm.spec.in @@ -79,6 +79,12 @@ Requires: selinux-policy-targeted >= 3.7.19-80.el6 Requires(pre,preun): policycoreutils-python Requires(post): /usr/sbin/saslpasswd2 +# backward compatible with older bootstrap code +# see bug#870079 +# can be removed when rhevm-3.0 hosts are +# updated with latest vdsm-bootstrap +Requires: %{name}-cli = %{version}-%{release} + %description The VDSM service is required by a Virtualization Manager to manage the Linux hosts. VDSM manages and monitors the host's storage, memory and *** Bug 870315 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-1508.html |