[Bug 2033428] Re: [FFe] Update Ceph to new 18.2.0 (Reef) version

Luciano Lo Giudice 2033428 at bugs.launchpad.net
Thu Aug 31 21:09:07 UTC 2023


Test plan:

We start by cloning the openstack-tester repo:

git clone https://github.com/openstack-charmers/charmed-openstack-tester

Afterwards, we apply the following diff to the file "tests/distro-
regression/tests/bundles/jammy-antelope.yaml":

```
diff --git a/tests/distro-regression/tests/bundles/jammy-antelope.yaml b/tests/distro-regression/tests/bundles/jammy-antelope.yaml
index 3b80ab9..4ded2a5 100644
--- a/tests/distro-regression/tests/bundles/jammy-antelope.yaml
+++ b/tests/distro-regression/tests/bundles/jammy-antelope.yaml
@@ -3,13 +3,15 @@ variables:
   openstack-origin: &openstack-origin cloud:jammy-antelope/proposed
   retrofit-uca-pocket: &retrofit-uca-pocket antelope
   openstack-channel: &openstack-channel 2023.1/edge
-  ceph-channel: &ceph-channel quincy/edge
+  ceph-channel: &ceph-channel latest/edge
   ovn-channel: &ovn-channel 23.03/edge
   mysql-channel: &mysql-channel 8.0/edge
   rabbitmq-channel: &rabbitmq-channel 3.9/edge
   memcached-channel: &memcached-channel latest/edge
   vault-channel: &vault-channel 1.8/edge
 
+local_overlay_enabled: false
+
 series: &series jammy
 applications:
   aodh:
@@ -46,21 +48,21 @@ applications:
     num_units: 1
     charm: ch:ceph-fs
     options:
-      source: *source
+      source: 'ppa:lmlogiudice/ceph-reef-jammy'
     channel: *ceph-channel
   ceph-mon:
     charm: ch:ceph-mon
     num_units: 3
     options:
       expected-osd-count: 3
-      source: *source
+      source: 'ppa:lmlogiudice/ceph-reef-jammy'
     constraints: mem=1024
     channel: *ceph-channel
   ceph-osd:
     charm: ch:ceph-osd
     num_units: 3
     options:
-      source: *source
+      source: 'ppa:lmlogiudice/ceph-reef-jammy'
     storage:
       osd-devices: cinder,10G
     constraints: mem=4096
```

This changes are meant to make the ceph units use the Reef packages from
our PPA.

We then deploy the model by running:

`tox -e func-target -- jammy-antelope`

Eventually, the model will settle and run the tests, resulting in
something like:

======
Totals
======
Ran: 179 tests in 729.1815 sec.
 - Passed: 167
 - Skipped: 12
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 841.2089 sec.

We can further check that Reef (18.2.0) is installed by running the
following:

```
juju ssh ceph-mon/0
sudo ceph -v
```

The output will be something like the following:

ceph version 18.2.0 (5dd24139a1eada541a3bc16b6941c5dde975e26d) reef
(stable)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/2033428

Title:
  [FFe] Update Ceph to new 18.2.0 (Reef) version

Status in ceph package in Ubuntu:
  Triaged
Status in ceph source package in Mantic:
  Triaged

Bug description:
  Hello,
  The release of Ceph Reef [0] was delayed and didn't happen before the feature freeze in Mantic.

  Reef includes fixes and features that are important to our community
  and us, so we would like to include it in the Ubuntu Mantic release.

  Our plan is to upload a package based on this PPA [1], corresponding
  to the following git branch [2] if the FFe is accepted and the package
  and sources pass their review.

  0: https://docs.ceph.com/en/latest/releases/reef/
  1: https://launchpad.net/~lmlogiudice/+archive/ubuntu/ceph-reef-mantic
  2: https://git.launchpad.net/~lmlogiudice/ubuntu/+source/ceph/log/?h=mantic-reef-18.2.0

  Please let us know if you need any additional details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2033428/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list