Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1404515 - ceph-ansible should set set apt pinning for deb packages
ceph-ansible should set set apt pinning for deb packages
Status: CLOSED ERRATA
Product: Red Hat Storage Console
Classification: Red Hat
Component: ceph-ansible (Show other bugs)
3
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 2
Assigned To: leseb
ceph-qe-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-13 20:24 EST by Ken Dreyer (Red Hat)
Modified: 2018-04-16 18:46 EDT (History)
9 users (show)

See Also:
Fixed In Version: ceph-ansible-2.1.1-1.el7scon
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-03-14 11:52:35 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0515 normal SHIPPED_LIVE Important: ansible and ceph-ansible security, bug fix, and enhancement update 2017-04-18 17:12:31 EDT

  None (edit)
Description Ken Dreyer (Red Hat) 2016-12-13 20:24:21 EST
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

How reproducible:
always

Steps to Reproduce:
1. Use ceph-ansible to set up a cluster
2. Look in /etc/apt/preferences.d on each cluster node

Actual results:
No Red Hat pref file exists

Expected results:
An rhcs.pref file exists, and "ceph --version" prints something with "redhat" in it.
Comment 2 Ken Dreyer (Red Hat) 2016-12-13 20:24:46 EST
reported upstream @ https://github.com/ceph/ceph-ansible/issues/1182
Comment 3 seb 2016-12-14 12:17:48 EST
upstream PR: https://github.com/ceph/ceph-ansible/pull/1186
Comment 5 Tejas 2017-02-06 22:46:16 EST
Verified on build:
ceph-ansible-2.1.6-1.el7scon.noarch

Tested 2 cases where the RHEL packages are ahead of ubuntu packages and lagging behind the ubuntu packges.
No issues seen.
Comment 7 errata-xmlrpc 2017-03-14 11:52:35 EDT
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.

https://access.redhat.com/errata/RHSA-2017:0515

Note You need to log in before you can comment on or make changes to this bug.