Bug 1850708

Summary: installer should never install or upgrade to upstream images
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ken Dreyer (Red Hat) <kdreyer>
Component: CephadmAssignee: Juan Miguel Olmo <jolmomar>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: high Docs Contact: Karen Norteman <knortema>
Priority: high    
Version: 5.0CC: pnataraj, sewagner, tserlin, vereddy
Target Milestone: ---   
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.0.0-7209.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:25:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ken Dreyer (Red Hat) 2020-06-24 19:05:54 UTC
Description of problem:
Our RH Ceph Storage 5 installer should never install or upgrade to upstream images.

Version-Release number of selected component (if applicable):
RH Ceph Storage 5

Steps to Reproduce:
Install or upgrade a cluster with cephadm with default options

Actual results:
cephadm defaults to upstream images and repos

Expected results:
cephadm should never enable upstream images or repos

Additional information:

src/cephadm/cephadm has DEFAULT_IMAGE='docker.io/ceph/ceph:v15'. This means that cephadm will install ceph from Docker Hub. We must patch this to install registry.redhat.io/rhceph/rhceph-5-rhel8 instead.

src/cephadm/cephadm also has a lot of code that adds a Yum repository to a node. We must remove this, because customers should install from the CDN (subscription-manager) or Satellite instead.

Comment 4 Preethi 2020-11-19 15:45:10 UTC
@Juan, Issue is not seen with latest container image.

[root@magna105 ubuntu]# ./cephadm version
Using recent ceph image registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest
ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev)

Comment 9 errata-xmlrpc 2021-08-30 08:25:57 UTC
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 (Red Hat Ceph Storage 5.0 bug fix and enhancement), 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/RHBA-2021:3294