]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
common: upgrade/install ceph-test RPM first v3.0.30
authorKen Dreyer <kdreyer@redhat.com>
Thu, 5 Apr 2018 19:40:15 +0000 (13:40 -0600)
committerSébastien Han <seb@redhat.com>
Mon, 9 Apr 2018 18:20:23 +0000 (20:20 +0200)
commite1586128516d9eee2534cf456a6fc46f4c44008f
treefe68c2b7599a6a19ab1be57e6e5c5fdd0c0af496
parent7b995a3105065ac0aca563a851b2de3bc3eb1c19
common: upgrade/install ceph-test RPM first

Prior to this change, if a user had ceph-test-12.2.1 installed, and
upgraded to ceph v12.2.3 or newer, the RPM upgrade process would
fail.

The problem is that the ceph-test RPM did not depend on an exact version
of ceph-common until v12.2.3.

In Ceph v12.2.3, ceph-{osdomap,kvstore,monstore}-tool binaries moved
from ceph-test into ceph-base. When ceph-test is not yet up-to-date, Yum
encounters package conflicts between the older ceph-test and newer
ceph-base.

When all users have upgraded beyond Ceph < 12.2.3, this is no longer
relevant.

(cherry picked from commit 3752cc6f38dbf476845e975e6448225c0e103ad6)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-common/tasks/installs/install_redhat_packages.yml