Skip to content

Commit

Permalink
stable-9.0: switch to ceph/ceph
Browse files Browse the repository at this point in the history
Signed-off-by: Seena Fallah <[email protected]>
  • Loading branch information
clwluvw committed Jan 17, 2025
1 parent 8460e73 commit cf1fac1
Show file tree
Hide file tree
Showing 37 changed files with 73 additions and 86 deletions.
4 changes: 2 additions & 2 deletions docs/source/installation/containerized.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ You can configure your own container register, image and tag by using the ``ceph
.. code-block:: yaml
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
.. note::

Expand Down
4 changes: 2 additions & 2 deletions group_vars/all.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@ dummy:
##########
# DOCKER #
##########
#ceph_docker_image: "ceph/daemon-base"
#ceph_docker_image_tag: latest-squid
#ceph_docker_image: "ceph/ceph"
#ceph_docker_image_tag: v19
#ceph_docker_registry: quay.io
#ceph_docker_registry_auth: false
# ceph_docker_registry_username:
Expand Down
4 changes: 2 additions & 2 deletions library/cephadm_adopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
cephadm_adopt:
name: mon.foo
style: legacy
image: quay.io/ceph/daemon-base:latest-squid-devel
image: quay.io/ceph/ceph:v19
pull: false
firewalld: false
Expand All @@ -93,7 +93,7 @@
name: mon.foo
style: legacy
environment:
CEPHADM_IMAGE: quay.io/ceph/daemon-base:latest-squid-devel
CEPHADM_IMAGE: quay.io/ceph/ceph:v19
'''

RETURN = '''# '''
Expand Down
4 changes: 2 additions & 2 deletions library/cephadm_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
cephadm_bootstrap:
mon_ip: 192.168.42.1
fsid: 3c9ba63a-c7df-4476-a1e7-317dfc711f82
image: quay.io/ceph/daemon-base:latest-squid-devel
image: quay.io/ceph/ceph:v19
dashboard: false
monitoring: false
firewalld: false
Expand All @@ -133,7 +133,7 @@
cephadm_bootstrap:
mon_ip: 192.168.42.1
environment:
CEPHADM_IMAGE: quay.io/ceph/daemon-base:latest-squid-devel
CEPHADM_IMAGE: quay.io/ceph/ceph:v19
'''

RETURN = '''# '''
Expand Down
4 changes: 2 additions & 2 deletions roles/ceph-defaults/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ ceph_tcmalloc_max_total_thread_cache: 134217728
##########
# DOCKER #
##########
ceph_docker_image: "ceph/daemon-base"
ceph_docker_image_tag: latest-squid
ceph_docker_image: "ceph/ceph"
ceph_docker_image_tag: v19
ceph_docker_registry: quay.io
ceph_docker_registry_auth: false
# ceph_docker_registry_username:
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/add-mdss/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ ceph_conf_overrides:
osd_pool_default_size: 1
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/add-mgrs/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ ceph_conf_overrides:
osd_pool_default_size: 1
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/add-mons/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ ceph_conf_overrides:
osd_pool_default_size: 1
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/add-osds/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ ceph_conf_overrides:
osd_pool_default_size: 1
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/add-rbdmirrors/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ ceph_conf_overrides:
osd_pool_default_size: 1
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/add-rgws/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ rgw_override_bucket_index_max_shards: 16
rgw_bucket_default_quota_max_objects: 1638400
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/all-in-one/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ lvm_volumes:
db: journal1
db_vg: journals
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/all_daemons/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ mds_max_mds: 2
dashboard_admin_password: $sX!cD$rYU6qR^B!
grafana_admin_password: +xFRe+RES@7vg24n
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
node_exporter_container_image: "quay.io/prometheus/node-exporter:v0.17.0"
prometheus_container_image: "quay.io/prometheus/prometheus:v2.7.2"
alertmanager_container_image: "quay.io/prometheus/alertmanager:v0.16.2"
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/all_daemons_ipv6/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ mds_max_mds: 2
dashboard_admin_password: $sX!cD$rYU6qR^B!
grafana_admin_password: +xFRe+RES@7vg24n
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
node_exporter_container_image: "quay.io/prometheus/node-exporter:v0.17.0"
prometheus_container_image: "quay.io/prometheus/prometheus:v2.7.2"
alertmanager_container_image: "quay.io/prometheus/alertmanager:v0.16.2"
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/cephadm/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ public_network: "192.168.30.0/24"
cluster_network: "192.168.31.0/24"
dashboard_admin_password: $sX!cD$rYU6qR^B!
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid-devel
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
containerized_deployment: true
4 changes: 2 additions & 2 deletions tests/functional/collocation/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ dashboard_admin_password: $sX!cD$rYU6qR^B!
dashboard_admin_user_ro: true
grafana_admin_password: +xFRe+RES@7vg24n
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
node_exporter_container_image: "quay.io/prometheus/node-exporter:v0.17.0"
prometheus_container_image: "quay.io/prometheus/prometheus:v2.7.2"
alertmanager_container_image: "quay.io/prometheus/alertmanager:v0.16.2"
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/docker2podman/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ handler_health_osd_check_delay: 10
dashboard_admin_password: $sX!cD$rYU6qR^B!
grafana_admin_password: +xFRe+RES@7vg24n
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
node_exporter_container_image: "quay.io/prometheus/node-exporter:v0.17.0"
prometheus_container_image: "quay.io/prometheus/prometheus:v2.7.2"
alertmanager_container_image: "quay.io/prometheus/alertmanager:v0.16.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ lvm_volumes:
fsid: 40358a87-ab6e-4bdc-83db-1d909147861c
generate_fsid: false
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/lvm-auto-discovery/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ dashboard_enabled: False
handler_health_mon_check_delay: 10
handler_health_osd_check_delay: 10
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/lvm-batch/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ dashboard_enabled: False
handler_health_mon_check_delay: 10
handler_health_osd_check_delay: 10
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/lvm-osds/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ dashboard_enabled: False
handler_health_mon_check_delay: 10
handler_health_osd_check_delay: 10
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/podman/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ handler_health_osd_check_delay: 10
dashboard_admin_password: $sX!cD$rYU6qR^B!
grafana_admin_password: +xFRe+RES@7vg24n
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
node_exporter_container_image: "quay.io/prometheus/node-exporter:v0.17.0"
prometheus_container_image: "quay.io/prometheus/prometheus:v2.7.2"
alertmanager_container_image: "quay.io/prometheus/alertmanager:v0.16.2"
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/rbdmirror/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ ceph_conf_overrides:
mon_max_pg_per_osd: 512
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/rbdmirror/container/secondary/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ ceph_conf_overrides:
mon_max_pg_per_osd: 512
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/shrink_mds/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ ceph_conf_overrides:
dashboard_enabled: False
copy_admin_key: True
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/shrink_mgr/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ ceph_conf_overrides:
osd_pool_default_size: 1
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/shrink_mon/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ ceph_conf_overrides:
osd_pool_default_size: 1
dashboard_enabled: False
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/shrink_osd/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ ceph_conf_overrides:
dashboard_enabled: False
copy_admin_key: True
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/shrink_rbdmirror/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ ceph_conf_overrides:
dashboard_enabled: False
copy_admin_key: True
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/shrink_rgw/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ceph_conf_overrides:
dashboard_enabled: False
copy_admin_key: True
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
4 changes: 2 additions & 2 deletions tests/functional/subset_update/container/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ dashboard_enabled: false
dashboard_admin_password: $sX!cD$rYU6qR^B!
grafana_admin_password: +xFRe+RES@7vg24n
ceph_docker_registry: quay.io
ceph_docker_image: ceph/daemon-base
ceph_docker_image_tag: latest-squid
ceph_docker_image: ceph/ceph
ceph_docker_image_tag: v19
node_exporter_container_image: "quay.io/prometheus/node-exporter:v0.17.0"
prometheus_container_image: "quay.io/prometheus/prometheus:v2.7.2"
alertmanager_container_image: "quay.io/prometheus/alertmanager:v0.16.2"
Expand Down
2 changes: 1 addition & 1 deletion tests/library/test_cephadm_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import cephadm_bootstrap

fake_fsid = '0f1e0605-db0b-485c-b366-bd8abaa83f3b'
fake_image = 'quay.io/ceph/daemon-base:latest-squid-devel'
fake_image = 'quay.io/ceph/ceph:v19'
fake_ip = '192.168.42.1'
fake_registry = 'quay.io'
fake_registry_user = 'foo'
Expand Down
1 change: 0 additions & 1 deletion tox-rbdmirror.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ setenv=
container: CEPH_RBD_MIRROR_REMOTE_MON_HOSTS = 192.168.144.10
non_container: CEPH_RBD_MIRROR_REMOTE_MON_HOSTS = 192.168.140.10

UPDATE_CEPH_DOCKER_IMAGE_TAG = latest-squid
UPDATE_CEPH_DEV_BRANCH = main
UPDATE_CEPH_DEV_SHA1 = latest
ROLLING_UPDATE = True
Expand Down
4 changes: 0 additions & 4 deletions tox-shrink_osd.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ setenv=
container: PURGE_PLAYBOOK = purge-container-cluster.yml
non_container: PLAYBOOK = site.yml.sample

CEPH_DOCKER_IMAGE_TAG = latest-squid
CEPH_DOCKER_IMAGE_TAG_BIS = latest-bis-main
UPDATE_CEPH_DOCKER_IMAGE_TAG = latest-squid

deps= -r{toxinidir}/tests/requirements.txt
changedir=
shrink_osd_single: {toxinidir}/tests/functional/shrink_osd{env:CONTAINER_DIR:}
Expand Down
1 change: 0 additions & 1 deletion tox-subset_update.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ setenv=
container: PLAYBOOK = site-container.yml.sample
non_container: PLAYBOOK = site.yml.sample

UPDATE_CEPH_DOCKER_IMAGE_TAG = latest-squid
UPDATE_CEPH_DEV_BRANCH = main
UPDATE_CEPH_DEV_SHA1 = latest
ROLLING_UPDATE = True
Expand Down
1 change: 0 additions & 1 deletion tox-update.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ setenv=
container: PLAYBOOK = site-container.yml.sample
non_container: PLAYBOOK = site.yml.sample

UPDATE_CEPH_DOCKER_IMAGE_TAG = latest-squid
UPDATE_CEPH_DEV_BRANCH = main
UPDATE_CEPH_DEV_SHA1 = latest
ROLLING_UPDATE = True
Expand Down
Loading

0 comments on commit cf1fac1

Please sign in to comment.