Bug 2069966 - [RFE] adding Environment variables to set custom DEFAULT_XXX_IMAGE variables
Summary: [RFE] adding Environment variables to set custom DEFAULT_XXX_IMAGE variables
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.2
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: 7.0
Assignee: Adam King
QA Contact: Sunil Kumar Nagaraju
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-30 07:06 UTC by Michaela Lang
Modified: 2023-07-05 14:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-05 14:49:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 45703 0 None open * [cephadm]: [RFE] adding Environment variables to set custom DEFAULT_XXX_IMAGE … 2022-03-30 07:06:08 UTC
Red Hat Issue Tracker RHCEPH-3889 0 None Waiting on Red Hat Openshift 4.10 etcd won't start on 3rd master node during ocp install 2022-06-20 01:04:05 UTC

Description Michaela Lang 2022-03-30 07:06:09 UTC
Description of problem:

For disconnected/offline installations when using Satellite the
official way to set custom images is documented to run ceph set mgr
after bootstrapping the Cluster. Until done, the Cluster is in state
"HEALTH_WARN".

Automated deployment and testing require the additional shell commands
to be executed which makes it difficult and cumber sum.
The Request for Enhancement provides the functionality to bootstrap
with custom images when appropriate Environment variables are set.

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

as recommended by PM to be evaluated for 5.2


Actual results:
manual executing "ceph config set mgr" commands are necessary.


Expected results:
cephadm setting the custom image references during bootstrap


Additional info:
Documentation should note the possibility of setting the images through environment variables.

```
# example usage
$ export DEFAULT_NODE_EXPORTER_IMAGE=quay.io/prometheus/node-exporter:latest
$ export DEFAULT_GRAFANA_IMAGE=private-registry.local/grafana/customer-build:special-plugins

$ cephadm bootstrap ...
```


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