Bug 2021381

Summary: [RFE] Warn user if default registry information is not provided in bootstrap command
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Rahul Lepakshi <rlepaksh>
Component: CephadmAssignee: Adam King <adking>
Status: NEW --- QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.1CC: saraut
Target Milestone: ---Keywords: FutureFeature
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Rahul Lepakshi 2021-11-09 04:04:29 UTC
Description of problem:
With no registry information (like registry-url, registry-username, registry-password) in bootstrap command, user must be warned with a message that registry details information is not provided, before bootstrap. This avoids to pull container images individually on every node, which required for building ceph cluster

Version-Release number of selected component (if applicable): 5.1


How reproducible:
Bootstrap a cluster without default registry information in bootstrap command


Steps to Reproduce:
1.sudo cephadm bootstrap --mon-ip <mon_ip>

or

2. With default image - sudo cephadm --image registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.0-rhel-8-containers-candidate-82880-20200915232213 bootstrap --mon-ip <mon_ip>


Actual results: Bootstrap proceeds without giving user, a message or a warning that registry information is not provided


Expected results:User should be notified with a warning to provide registry configuration information to pull container/ monitor stack images before bootstrap


Additional info: