Re: Preflight Playbook
Do you mean RHCS 5 to 6? The recommended and documented upgrade path is actually RHCS 5 to 7 after upgrading RHCS 5 nodes to RHEL 9. Did you upgrade cephadm and cephadm-ansible packages before running the preflight playbook? Regards, Frédéric. ________________________________ De : Alex <mr.alexey@gmail.com> Envoyé : mercredi 16 avril 2025 20:03 À : Frédéric Nass Cc: ceph-users Objet : Re: [ceph-users] Preflight Playbook I was upgrading from Ceph 5 to 6 on RHEL 9. Looking at the dnf logs it seems that i was running crun 1.8.7 and now on 1.16.1 Thanks.
Did you enable RHCS 9 repository before upgrading cephadm and cephadm-ansible as specified in the documentation [1]? subscription-manager repos --enable=rhceph-7-tools-for-rhel-9-x86_64-rpms Were all hosts running up-to-date RHEL 9 when you ran the preflight playbook? I've been through the whole process which I can say works. Whatever the reason, cephadm-preflight.yaml is not the culprit as 'crun' should be updated as it's a podman dependency on enterpise linux. If you need further assistance, I would advise you to open a support case at Red Hat. Regards, Frédéric. [1] https://docs.redhat.com/en/documentation/red_hat_ceph_storage/7/html/upgrade... ________________________________ De : Alex <mr.alexey@gmail.com> Envoyé : mercredi 16 avril 2025 21:11 À : Frédéric Nass Cc: ceph-users Objet : Re: [ceph-users] Preflight Playbook Yeah.
Thanks. Nothing is broken so there's no support case needed. Dnf update is one of the steps which probably updates crun as well. We didn't run that since we didn't want to update all of the software on the server, we just wanted to update the Ceph related packages. I manually updated podman but not crun. I know crun was an issue since podman containers were failing with that error. I was just making an argument that maybe the preflight playbook should be updating that.
Updating podman should automatically update crun as well. This applies whether you update podman manually or by running the cephadm-preflight playbook (which does update podman). So yeah, something weird here. Regards, Frédéric. ----- Le 17 Avr 25, à 14:20, Alex <mr.alexey@gmail.com> a écrit :
Thanks.
Nothing is broken so there's no support case needed.
Dnf update is one of the steps which probably updates crun as well. We didn't run that since we didn't want to update all of the software on the server, we just wanted to update the Ceph related packages. I manually updated podman but not crun. I know crun was an issue since podman containers were failing with that error.
I was just making an argument that maybe the preflight playbook should be updating that.
For some reason `dnf update podman` did not update crun. I'm proposing adding crun to main.yml: infra_pkgs: - chrony - podman - lvm2 - sos - rpcbind - firewalld
Hi Alex, It's kind of you to propose a PR, but we still don't know why crun was not updated at the same time as podman in your environment when it should have. Without a detailed investigation and clear evidence of a package dependency problem (or other issue), this PR has no chance of being accepted. $ podman run -it rockylinux:9 $ dnf install podman [root@5a6df9b4c6fb /]# dnf install podman Rocky Linux 9 - BaseOS 3.1 MB/s | 2.3 MB 00:00 Rocky Linux 9 - AppStream 5.1 MB/s | 8.4 MB 00:01 Rocky Linux 9 - Extras 43 kB/s | 16 kB 00:00 Dependencies resolved. ============================================================================================================================================================================================== Package Architecture Version Repository Size ============================================================================================================================================================================================== Installing: podman x86_64 4:5.2.2-15.el9_5 appstream 16 M Installing dependencies: conmon x86_64 3:2.1.12-1.el9 appstream 51 k containers-common x86_64 2:1-96.el9_5 appstream 139 k criu x86_64 3.19-1.el9 appstream 559 k crun x86_64 1.16.1-1.el9 appstream 223 k (...) Regards, Frédéric. ----- Le 17 Avr 25, à 19:45, Alex mr.alexey@gmail.com a écrit :
For some reason `dnf update podman` did not update crun.
I'm proposing adding crun to main.yml: infra_pkgs: - chrony - podman - lvm2 - sos - rpcbind - firewalld
Hi Frédéric. I have more Ceph servers to update (unsure when) and I'll try to do more troubleshooting. Thanks.
participants (2)
-
Alex
-
Frédéric Nass