Member-only story
Ceph Version Upgrade: Air-gapped Environment
In a previous article, we demonstrate how to upgrade Ceph versions. There, we assume that Internet connection is available. This article shows how to upgrade a Ceph in an air-gapped environment. The environment we use for this article is described in the air-gapped deployment article.
We will upgrade from Ceph Quincy (specific version: v17.2.5) to Ceph Reef (specific version 18.2.2).
To check available versions, we used the following command.
sudo ceph orch upgrade ls
As shown below, the command will fail since it tries to connect to https://quay.io/v2/ceph/ceph/tags/list.

The normal upgrade command will fail as well.

By running stop command, we can stop upgrade.
sudo ceph orch upgrade stop
Preparation
We need two preparations: putting necessary images into a private repository and turning some OSD operations off.
Container Image Preparation
The following table shows the default images for both versions.