]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
common: upgrade/install ceph-test RPM first
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 16:09:52 +0000 (18:09 +0200)
commit3752cc6f38dbf476845e975e6448225c0e103ad6
treeb03ca92c0da64ba3e1e520c3681b3ea484bb8528
parentbb60f2fea4d7646cef67f1bb16cedba39fd43e99
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.
roles/ceph-common/tasks/installs/install_redhat_packages.yml