| Summary: | vds_bootstrap - dependencies of vdsm are missing during adding host | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Pavel Stehlik <pstehlik> | ||||
| Component: | vdsm | Assignee: | Dan Kenigsberg <danken> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | unspecified | CC: | abaron, acathrow, alonbl, bazulay, djasa, iheim, ykaul, zfridler | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.2 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-03-12 10:46:33 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
I hit it today too. It seems as more of yum/rpm design bug but vdsm should be able to work around it nonetheless as it probably won't be fixed anytime soon. Running 'yum -y update "vdsm*"' (with asterisks that gets other vdsm-something packages updated, too) should do the trick. 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>
*** Bug 782387 has been marked as a duplicate of this bug. *** |
Created attachment 558311 [details] bootstrap log Description of problem: When older vdsm & vdsm-cli are installed on the host & there is in repo newer vdsm - when adding host host to the setup fails. Att bootstrap.log Version-Release number of selected component (if applicable): vdsm-bootstrap-4.9.3.2-0.fc16.noarch How reproducible: 100% Steps to Reproduce: 1. have an older setup (host has older vdsm installed), engine-cleanup, yum update, engine-setup 2. new vdsm & vdsm-cli has to be available in yum on host 3. login to webadmin & try to add host Actual results: Expected results: Additional info: ... Transaction Check Error: file /usr/share/vdsm/SecureXMLRPCServer.pyc from install of vdsm-4.9.3.2-0.fc16.x86_64 conflicts with file from package vdsm-cli-4.9.3.1-0.fc16.noarch file /usr/share/vdsm/SecureXMLRPCServer.pyo from install of vdsm-4.9.3.2-0.fc16.x86_64 conflicts with file from package vdsm-cli-4.9.3.1-0.fc16.noarch file /usr/share/vdsm/vdscli.pyc from install of vdsm-4.9.3.2-0.fc16.x86_64 conflicts with file from package vdsm-cli-4.9.3.1-0.fc16.noarch file /usr/share/vdsm/vdscli.pyo from install of vdsm-4.9.3.2-0.fc16.x86_64 conflicts with file from package vdsm-cli-4.9.3.1-0.fc16.noarch Error Summary ------------- Mon, 30 Jan 2012 09:50:46 DEBUG <BSTRAP component='VDS PACKAGES' status='FAIL' result='vdsm' message='Loaded plugins: langpacks, presto, refresh-packagekit Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package vdsm.x86_64 0:4.9.3.1-0.fc16 will be updated ---> Package vdsm.x86_64 0:4.9.3.2-0.fc16 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: vdsm x86_64 4.9.3.2-0.fc16 ovirt-engine 552 k Transaction Summary ================================================================================ Upgrade 1 Package Total download size: 552 k Downloading Packages: Setting up and reading Presto delta metadata Running Transaction Check Running Transaction Test Transaction Check Error: file /usr/share/vdsm/SecureXMLRPCServer.pyc from install of vdsm-4.9.3.2-0.fc16.x86_64 conflicts with file from package vdsm-cli-4.9.3.1-0.fc16.noarch file /usr/share/vdsm/SecureXMLRPCServer.pyo from install of vdsm-4.9.3.2-0.fc16.x86_64 conflicts with file from package vdsm-cli-4.9.3.1-0.fc16.noarch file /usr/share/vdsm/vdscli.pyc from install of vdsm-4.9.3.2-0.fc16.x86_64 conflicts with file from package vdsm-cli-4.9.3.1-0.fc16.noarch file /usr/share/vdsm/vdscli.pyo from install of vdsm-4.9.3.2-0.fc16.x86_64 conflicts with file from package vdsm-cli-4.9.3.1-0.fc16.noarch Error Summary ------------- '/> Mon, 30 Jan 2012 09:50:46 ERROR packagesExplorer test failed ...