Update host operating system - Ceph version 18.2.4 reef
Ceph version 18.2.4 reef (cephadm) Hello, We have a cluster running with 6 Ubuntu 20.04 servers and we would like to add another host but with Ubuntu 22.04, will we have any problems? We would like to add new HOST with Ubuntu 22.04 and deactivate the Ubuntu 20.04 ones, our idea would be to update the hosts from Ubuntu 20.04 to 22.04. If anyone can give us some guidance, thank you very much. Best regards, Alessandro
Ceph version 18.2.4 reef (cephadm) Hello, We have a cluster running with 6 Ubuntu 20.04 servers and we would like to add another host but with Ubuntu 22.04, will we have any problems? We would like to add new HOST with Ubuntu 22.04 and deactivate the Ubuntu 20.04 ones, our idea would be to update the hosts from Ubuntu 20.04 to 22.04. If anyone can give us some guidance, thank you very much.
If the new host uses the same ceph version, it will be fine. -- May the most significant bit of your life be positive.
Hi, On Tue, Dec 17, 2024 at 12:48 PM Janne Johansson <icepic.dz@gmail.com> wrote:
Ceph version 18.2.4 reef (cephadm) Hello, We have a cluster running with 6 Ubuntu 20.04 servers and we would like to add another host but with Ubuntu 22.04, will we have any problems? We would like to add new HOST with Ubuntu 22.04 and deactivate the Ubuntu 20.04 ones, our idea would be to update the hosts from Ubuntu 20.04 to 22.04. If anyone can give us some guidance, thank you very much.
If the new host uses the same ceph version, it will be fine.
It seems that mixing different versions also seems to work, at least on a small scale, light load, non-intensive app. I mixed up pacific and reef, on Ubuntu 22.04, 24.04 and Debian Stable. Nothing in the Ceph documentation says "don't do this". I did experience some file corruption, but I don't know if I can blame Ceph for that. FWIW, I think I used a Ceph config far outside the norm of conventional use: it mixed OS'es, it mixed Ceph releases, and it (initially) had one mon, one host and 2 OSD's and a week later three mons, two hosts, 4 OSD's, and later still three hosts and 6 OSD's and through-out this extended upgrade period, I was copying files into Ceph. I'm 99% sure that no one in the Ceph testing community tests setups like this, so maybe there's a bug. But I'm also using consumer-grade h/w so maybe the h/w is to blame. Cosmic rays, you know. -- Linas -- Patrick: Are they laughing at us? Sponge Bob: No, Patrick, they are laughing next to us.
We have a cluster running with 6 Ubuntu 20.04 servers and we would like to add another host but with Ubuntu 22.04, will we have any problems? We would like to add new HOST with Ubuntu 22.04 and deactivate the Ubuntu 20.04 ones, our idea would be to update the hosts from Ubuntu 20.04 to 22.04. If anyone can give us some guidance, thank you very much.
If the new host uses the same ceph version, it will be fine.
It seems that mixing different versions also seems to work, at least on a small scale, light load, non-intensive app. I mixed up pacific and reef, on Ubuntu 22.04, 24.04 and Debian Stable. Nothing in the Ceph documentation says "don't do this".
Well, when you upgrade from one major version to another, you will always have a certain amount of time when half the cluster is running one major and the other half is running another version, so that is meant to work, even if it might be unwise to run like that for a very long time. -- May the most significant bit of your life be positive.
On 02-12-2024 21:53, alessandro@universonet.com.br wrote:
Ceph version 18.2.4 reef (cephadm)
Hello, We have a cluster running with 6 Ubuntu 20.04 servers and we would like to add another host but with Ubuntu 22.04, will we have any problems?
We would like to add new HOST with Ubuntu 22.04 and deactivate the Ubuntu 20.04 ones, our idea would be to update the hosts from Ubuntu 20.04 to 22.04.
If anyone can give us some guidance, thank you very much.
I would first upgrade Ceph to the newer version you want to use on the _existing_ Ceph hosts (20.04), see [1]. After that you can replace the 20.04 hosts with 22.04 hosts using the same Ceph version. One of the benefits of taking this approach is that you decouple OS and Ceph upgrades. Any (performance) issues that might pop-up can be attributed to either Ceph or OS. While you can mix and match, why would you want to do that? I can tell you it is not the intended way to run Ceph. There are even health checks nowadays to inform users about these conditions (mixed versions, incomplete upgrades, etc., see [2]). Gr. Stefan [1]: https://docs.ceph.com/en/reef/cephadm/upgrade/ [2]: https://docs.ceph.com/en/reef/rados/operations/health-checks/#daemon-old-ver...
participants (4)
-
alessandro@universonet.com.br
-
Janne Johansson
-
Linas Vepstas
-
Stefan Kooman