From b3a25cdca2907f06e870d0f2f3811b72dc4ae324 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Mon, 24 Oct 2022 17:09:02 +0200 Subject: [PATCH] Switch Ceph for Ubuntu Jammy to distro Ubuntu Jammy repository is not available on download.ceph.com but we still want/need to test out ceph deployment one way or another. So instead of failing installation we install distro-provided ceph. Change-Id: I3c1151449afe545780f98c01afa9fc6948f685a4 --- inventory/group_vars/all/ceph.yml | 3 ++- .../notes/jammy_ceph_experimental-7783ead1c07fe0ed.yaml | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/jammy_ceph_experimental-7783ead1c07fe0ed.yaml diff --git a/inventory/group_vars/all/ceph.yml b/inventory/group_vars/all/ceph.yml index 1db8c8c9a4..c2e382f12c 100644 --- a/inventory/group_vars/all/ceph.yml +++ b/inventory/group_vars/all/ceph.yml @@ -22,7 +22,8 @@ osd_group_name: ceph-osd rgw_group_name: ceph-rgw mds_group_name: ceph-mds nfs_group_name: ceph-nfs -ceph_origin: repository +ceph_origin: "{{ (ansible_facts['distribution'] | lower == 'ubuntu' and ansible_facts['distribution_version'] | lower == '22.04') | ternary('distro', 'repository') }}" +ceph_pkg_source: "{{ (ansible_facts['distribution'] | lower == 'ubuntu' and ansible_facts['distribution_version'] | lower == '22.04') | ternary('distro', 'ceph') }}" ceph_repository: community # The _stable_release var is used by both the OSA ceph_client role and the # ceph-ansible roles. It is defaulted in ceph_client but set here to keep the diff --git a/releasenotes/notes/jammy_ceph_experimental-7783ead1c07fe0ed.yaml b/releasenotes/notes/jammy_ceph_experimental-7783ead1c07fe0ed.yaml new file mode 100644 index 0000000000..0dc92daefa --- /dev/null +++ b/releasenotes/notes/jammy_ceph_experimental-7783ead1c07fe0ed.yaml @@ -0,0 +1,8 @@ +--- +issues: + - | + As of today ceph community repository (download.ceph.com) does not provide + packages for Ubuntu 22.04 (Jammy). Based on that OpenStack-Ansible does + install ceph packages from distro-provided repositories. Thus, you can not + control packages version that will be installed and ceph support should be + considered as experimental.