Skip to content

Commit

Permalink
Doc: add release info (#469)
Browse files Browse the repository at this point in the history
# Description

Release info documentation

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] CleanCode (Code refactor, test updates, does not introduce
functional changes)
- [x] Documentation update (Doc only change)

## How Has This Been Tested?

> **_NOTE:_** All functional changes should accompany corresponding
tests (unit tests, functional tests etc).

Please describe the addition/modification of tests done to verify this
change. Please also list any relevant details for your test
configuration.

## Contributor's Checklist

Please check that you have:

- [ ] self-reviewed the code in this PR.
- [ ] added code comments, particularly in hard-to-understand areas.
- [ ] updated the user documentation with corresponding changes.
- [ ] added tests to verify effectiveness of this change.

Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
  • Loading branch information
sabaini authored Nov 12, 2024
1 parent f968ec6 commit ef442bc
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/.sphinx/spellingcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ matrix:
- .custom_wordlist.txt
output: .sphinx/.wordlist.dic
sources:
- _build/**/*.html
- _build/**/*.html|!_build/reference/release-notes/**
pipeline:
- pyspelling.filters.html:
comments: false
Expand Down
5 changes: 2 additions & 3 deletions docs/how-to/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,12 @@ RBD pools and images.
Upgrading your cluster
----------------------

Follow these steps carefully to ensure a smooth transition from v.17.2.x (Quincy)
to v.18.2.x (Reef)
Follow these steps carefully to perform a major upgrade.

.. toctree::
:maxdepth: 1

reef-upgrade
major-upgrade


Consuming cluster storage
Expand Down
42 changes: 28 additions & 14 deletions docs/how-to/reef-upgrade.rst → docs/how-to/major-upgrade.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,41 @@
===============
Upgrade to Reef
Major Upgrades
===============


Overview
--------

This guide provides step-by-step instructions on how to upgrade your MicroCeph cluster from the Quincy release to the Reef release. Follow these steps carefully to prevent to ensure a smooth transition.
This guide provides step-by-step instructions on how to upgrade your MicroCeph cluster to a new major release.

Follow these steps carefully to prevent to ensure a smooth transition.

In the code examples below an upgrade to the Squid stable
release is shown. The procedure should apply to any major release
upgrade in a similar way however.



Procedure
---------


Prerequisites
~~~~~~~~~~~~~

Firstly, before initiating the upgrade, ensure that the cluster is healthy. Use the below command to check the cluster health:

.. code-block:: none
sudo ceph -s
**Note**: Do not start the upgrade if the cluster is unhealthy.


Secondly, review the :doc:`release notes </reference/release-notes>` to check for any version-specific information.



Optional but Recommended: Preparation Steps
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand All @@ -26,16 +49,6 @@ Carry out these precautionary steps before initiating the upgrade:
sudo ceph osd set noout
Checking Ceph Health
~~~~~~~~~~~~~~~~~~~~

Before initiating the upgrade, ensure that the cluster is healthy. Use the below command to check the cluster health:

.. code-block:: none
sudo ceph -s
**Note**: Do not start the upgrade if the cluster is unhealthy.
Upgrading Each Cluster Node
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -44,7 +57,7 @@ If your cluster is healthy, proceed with the upgrade by refreshing the snap on e

.. code-block:: none
sudo snap refresh microceph --channel reef/stable
sudo snap refresh microceph --channel squid/stable
Be sure to perform the refresh on every node in the cluster.

Expand All @@ -68,5 +81,6 @@ If you had previously set noout, unset it with this command:
sudo ceph osd unset noout
You have now successfully upgraded to the Reef Release.
You have now successfully upgraded your Ceph cluster.


12 changes: 11 additions & 1 deletion docs/reference/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Reference
=========

Our Reference section is for when you need to know which MicroCeph commands to use.
Our Reference section provides technical details about MicroCeph, such
as reference information about the command line interface and notes on
major MicroCeph releases.


CLI Commands
------------
Expand All @@ -10,7 +13,14 @@ MicroCeph has a command line interface that can be used to manage a client and t
Each command is documented separately, or use the help argument from the command line to learn more about the commands while working with MicroCeph,
with ``microceph help``.


Release Notes
-------------

The release notes section provides details on major MicroCeph releases.

.. toctree::
:maxdepth: 1

commands/index
release-notes
69 changes: 69 additions & 0 deletions docs/reference/release-notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
Overview
========

The Ceph team is happy to announce the release of MicroCeph 19.2.0
(squid). This is the first stable release in the Squid series of
releases.

The MicroCeph squid release can be installed from the squid/stable
track.

Highlights
==========

- Uses Ceph 19.2.0 (squid)
- Support for RBD remote replication
- OSD support for many additional block device types such as NVMe,
partitions, LVM volumes
- Improved ipv6 support
- Updated dependencies, based off of Ubuntu 24.04
- Various fixes and documentation improvements

Known Issues
============

iSCSI users are advised that the upstream developers of Ceph encountered
a bug during an upgrade from Ceph 19.1.1 to Ceph 19.2.0. Read Tracker
Issue 68215 before attempting an upgrade to 19.2.0.

List of pull requests
=====================

- `#467 <https://github.com/canonical/microceph/pull/467>`__: Fix: increase timings for osd release
- `#466 <https://github.com/canonical/microceph/pull/466>`__: Adjust ‘verify_health’ iterations
- `#464 <https://github.com/canonical/microceph/pull/464>`__: Test: upgrade update
- `#463 <https://github.com/canonical/microceph/pull/463>`__: Fix: add python3-packaging
- `#462 <https://github.com/canonical/microceph/pull/462>`__: Test: upgrade reef to local build
- `#461 <https://github.com/canonical/microceph/pull/461>`__: Test: add reef to squid upgrade test
- `#460 <https://github.com/canonical/microceph/pull/460>`__: Improve require-osd-release
- `#459 <https://github.com/canonical/microceph/pull/459>`__: Set the ‘require-osd-release’ option on startup
- `#458 <https://github.com/canonical/microceph/pull/458>`__: Updated readme.md
- `#457 <https://github.com/canonical/microceph/pull/457>`__: Modify post-refresh hook to set OSD-release
- `#456 <https://github.com/canonical/microceph/pull/456>`__: Make remote replication CLI conformant to CLI guidelines
- `#454 <https://github.com/canonical/microceph/pull/454>`__: Pin LXD and use microcluster with dqlite LTS
- `#447 <https://github.com/canonical/microceph/pull/447>`__: Update mods, build from noble
- `#443 <https://github.com/canonical/microceph/pull/443>`__: Bootstrap: wait for daemon
- `#441 <https://github.com/canonical/microceph/pull/441>`__: Build from noble-proposed
- `#440 <https://github.com/canonical/microceph/pull/440>`__: Remove tutorial section
- `#438 <https://github.com/canonical/microceph/pull/438>`__: MicroCeph Remote Replication (3/3): Site Failover/Failback
- `#437 <https://github.com/canonical/microceph/pull/437>`__: MicroCeph Remote Replication (2/3): RBD Mirroring
- `#433 <https://github.com/canonical/microceph/pull/433>`__: Docs: fix indexes
- `#432 <https://github.com/canonical/microceph/pull/432>`__: Use square brackets around IPv6 in ceph.conf
- `#430 <https://github.com/canonical/microceph/pull/430>`__: Adds support for RO cluster configs
- `#429 <https://github.com/canonical/microceph/pull/429>`__: Move mounting CephFS shares tutorial to how-to section
- `#428 <https://github.com/canonical/microceph/pull/428>`__: Move mounting RBD tutorial to how-to section
- `#427 <https://github.com/canonical/microceph/pull/427>`__: Move multi-node tutorial to how-to section
- `#426 <https://github.com/canonical/microceph/pull/426>`__: Move multi-node tutorial to how-to section
- `#422 <https://github.com/canonical/microceph/pull/422>`__: Change tutorial landing page
- `#419 <https://github.com/canonical/microceph/pull/419>`__: Change explanation landing page
- `#418 <https://github.com/canonical/microceph/pull/418>`__: Add CephFS to wordlist
- `#417 <https://github.com/canonical/microceph/pull/417>`__: Move MicroCeph charm to explanation section
- `#416 <https://github.com/canonical/microceph/pull/416>`__: Fix reference landing page
- `#415 <https://github.com/canonical/microceph/pull/415>`__: Move single-node tutorial to how-to section
- `#409 <https://github.com/canonical/microceph/pull/409>`__: Fetch current OSD pool configuration over the API
- `#407 <https://github.com/canonical/microceph/pull/407>`__: Add interfaces: rbd kernel module and support
- `#405 <https://github.com/canonical/microceph/pull/405>`__: MicroCeph Remote Replication (1/3): Remote Awareness
- `#401 <https://github.com/canonical/microceph/pull/401>`__: doc: remove ``woke-install`` as prereq for building the docs
- `#400 <https://github.com/canonical/microceph/pull/400>`__: doc: remove ``woke-install`` as prereq for building the docs
- `#398 <https://github.com/canonical/microceph/pull/398>`__: MicroCeph Remote Replication (2/3): RBD Mirroring
- `#395 <https://github.com/canonical/microceph/pull/395>`__: Use LTS microcluster

0 comments on commit ef442bc

Please sign in to comment.