Description of problem:
When installing Ceph on Ubuntu with ceph-ansible, we are trusting that our package versions in Red Hat Ceph Storage will always be newer than the packages in Ubuntu itself.
The implication here is that if the Ubuntu maintainer ever ships a newer package than what we ship, then Ubuntu's package will override ours.
With ceph-deploy and ice-setup, we used to use apt pinning to make Ubuntu nodes prefer Red Hat's packages. We need ceph-ansible to do the same.
Version-Release number of selected component (if applicable):
all versions of ceph-ansible prior to 2.1
Steps to Reproduce:
1. Use ceph-ansible to set up a cluster
2. Look in /etc/apt/preferences.d on each cluster node
No Red Hat pref file exists
An rhcs.pref file exists, and "ceph --version" prints something with "redhat" in it.
reported upstream @ https://github.com/ceph/ceph-ansible/issues/1182
upstream PR: https://github.com/ceph/ceph-ansible/pull/1186
Verified on build:
Tested 2 cases where the RHEL packages are ahead of ubuntu packages and lagging behind the ubuntu packges.
No issues seen.
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.