Project

General

Profile

Actions

Bug #12033

closed

file /usr/bin/ceph-objectstore-tool from install of ceph-1:0.94.2-0.el6.x86_64 conflicts with file from package ceph-test-1:0.94.1-0.el6.x86_64

Added by Dan van der Ster almost 9 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi,
This conflict prevents upgrading from ceph 0.94.1 to 0.94.2 if ceph-test package is installed on an el6 platform. Output from 'yum update ceph' is below. Workaround is to uninstall ceph-test before the update.
Cheers, Dan

Loaded plugins: changelog, kernel-module, priorities, rpm-warm-cache, security, tsflags, versionlock
Setting up Update Process
369 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package ceph.x86_64 1:0.94.1-0.el6 will be updated
---> Package ceph.x86_64 1:0.94.2-0.el6 will be an update
--> Processing Dependency: python-rbd = 1:0.94.2-0.el6 for package: 1:ceph-0.94.2-0.el6.x86_64
--> Processing Dependency: librbd1 = 1:0.94.2-0.el6 for package: 1:ceph-0.94.2-0.el6.x86_64
--> Processing Dependency: python-cephfs = 1:0.94.2-0.el6 for package: 1:ceph-0.94.2-0.el6.x86_64
--> Processing Dependency: ceph-common = 1:0.94.2-0.el6 for package: 1:ceph-0.94.2-0.el6.x86_64
--> Processing Dependency: librados2 = 1:0.94.2-0.el6 for package: 1:ceph-0.94.2-0.el6.x86_64
--> Processing Dependency: python-rados = 1:0.94.2-0.el6 for package: 1:ceph-0.94.2-0.el6.x86_64
--> Processing Dependency: libcephfs1 = 1:0.94.2-0.el6 for package: 1:ceph-0.94.2-0.el6.x86_64
--> Running transaction check
---> Package ceph-common.x86_64 1:0.94.1-0.el6 will be updated
---> Package ceph-common.x86_64 1:0.94.2-0.el6 will be an update
---> Package libcephfs1.x86_64 1:0.94.1-0.el6 will be updated
---> Package libcephfs1.x86_64 1:0.94.2-0.el6 will be an update
---> Package librados2.x86_64 1:0.94.1-0.el6 will be updated
--> Processing Dependency: librados2 = 1:0.94.1 for package: 1:libradosstriper1-0.94.1-0.el6.x86_64
---> Package librados2.x86_64 1:0.94.2-0.el6 will be an update
---> Package librbd1.x86_64 1:0.94.1-0.el6 will be updated
---> Package librbd1.x86_64 1:0.94.2-0.el6 will be an update
---> Package python-cephfs.x86_64 1:0.94.1-0.el6 will be updated
---> Package python-cephfs.x86_64 1:0.94.2-0.el6 will be an update
---> Package python-rados.x86_64 1:0.94.2-0.el6 will be an update
---> Package python-rbd.x86_64 1:0.94.1-0.el6 will be updated
---> Package python-rbd.x86_64 1:0.94.2-0.el6 will be an update
--> Running transaction check
---> Package libradosstriper1.x86_64 1:0.94.1-0.el6 will be updated
---> Package libradosstriper1.x86_64 1:0.94.2-0.el6 will be an update
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin
Total size: 35 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
file /usr/bin/ceph-objectstore-tool from install of ceph-1:0.94.2-0.el6.x86_64 conflicts with file from package ceph-test-1:0.94.1-0.el6.x86_64

Error Summary
-------------

Actions #1

Updated by Nathan Cutler almost 9 years ago

  • Status changed from New to 12

In 0.94.1 ceph-objectstore-tool was in the ceph-test package. Before 0.94.2 was released, https://github.com/ceph/ceph/commit/46a4e8af5be54d8348a920c4a3a58e24dbf35988 moved it to ceph proper.

Actions #2

Updated by Ken Dreyer almost 9 years ago

Ordinarily our Ceph RPMs have strict version dependencies in order to resolve this sort of thing (files moving between packages) seamlessly, but ceph-test is a special case, due to #10989.

Dan, can you paste the exact yum command that you ran? I'm guessing it was "yum update ceph" or something? If that's the case, I think "yum update ceph ceph-test" would fix this. That's pretty much what our Teuthology tests run, so that's why they didn't catch this issue :(

Is there a particular command-line utility in the ceph-test package that you use at your site on a regular basis? ceph-test is a special package that only the developers use, as far as I know. If there are utilities in there that are popular among users, we should move them to the user packages like "ceph" or "ceph-common".

Actions #3

Updated by Dan van der Ster almost 9 years ago

Indeed I was running "yum update ceph" and didn't try "yum update ceph ceph-test". We had installed ceph-test in a few places to fix a ceph-mon leveldb issue, but we don't need anything in ceph-test for normal daily ops. From what you describe, this issue is known & expected behaviour following #10989. Thus it's OK for me if you close this.

Actions #4

Updated by Sage Weil almost 6 years ago

  • Status changed from 12 to Rejected
Actions

Also available in: Atom PDF