Cephadm adoption - service reconfiguration changes container image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Everyone,

We are looking at migrating all our production clusters from ceph-ansible to cephadm. We are currently experiencing an issue where when reconfiguring a service through ceph orch, it will change the running container image for that service which has led to the mgr services running an earlier version than the rest of the cluster, this has caused cephadm/ceph orch to not be able to manage services in the cluster.

Does anyone have any help with this as I cannot find anything in the docs that would correct this.


[root@de1-ceph-mon-ceph-site-a-1 ~]# cephadm --image quay.io/ceph/ceph:v16.2.9 adopt --style legacy --name mon.$(hostname -s)

[root@de1-ceph-mon-ceph-site-a-1 ~]# cat ./mon.yaml
service_type: mon
service_name: mon
  host_pattern: '*mon*'
- -v
- /etc/ceph/ceph.client.admin.keyring:/etc/ceph/ceph.client.admin.keyring

[root@de1-ceph-mon-ceph-site-a-1 ~]# cephadm shell -- ceph config get mgr mgr/cephadm/container_image_base

[root@de1-ceph-mon-ceph-site-a-1 ~]# podman ps -a | grep mon
55fe8bc10476  quay.io/ceph/ceph:v16.2.9                                            -n mgr.de1-ceph-m...  5 minutes ago  Up 5 minutes              ceph-da9e9837-a3cf-4482-9a13-790a721598cd-mgr-de1-ceph-mon-ceph-site-a-1

[root@de1-ceph-mon-ceph-site-a-1 ~]# cat ./mon.yaml | cephadm --image quay.io/ceph/ceph:v16.2.9 shell -- ceph orch apply -i -
Inferring fsid da9e9837-a3cf-4482-9a13-790a721598cd
Scheduled mon update...

[root@de1-ceph-mon-ceph-site-a-1 ~]# podman ps -a | grep mon
ecec1d62c719  docker.io/ceph/daemon-base:latest-pacific-devel                      -n mon.de1-ceph-m...  25 seconds ago  Up 26 seconds              ceph-da9e9837-a3cf-4482-9a13-790a721598cd-mon-de1-ceph-mon-ceph-site-a-1

[root@de1-ceph-mon-ceph-site-a-2 ~]# ceph versions
    "mon": {
        "ceph version 16.2.5-387-g7282d81d (7282d81d2c500b5b0e929c07971b72444c6ac424) pacific (stable)": 3
    "mgr": {
        "ceph version 16.2.9 (4c3647a322c0ff5a1dd2344e039859dcbd28c830) pacific (stable)": 3
    "osd": {
        "ceph version 16.2.9 (4c3647a322c0ff5a1dd2344e039859dcbd28c830) pacific (stable)": 8
    "mds": {},
    "rgw": {
        "ceph version 16.2.9 (4c3647a322c0ff5a1dd2344e039859dcbd28c830) pacific (stable)": 3
    "overall": {
        "ceph version 16.2.5-387-g7282d81d (7282d81d2c500b5b0e929c07971b72444c6ac424) pacific (stable)": 3,
        "ceph version 16.2.9 (4c3647a322c0ff5a1dd2344e039859dcbd28c830) pacific (stable)": 14

Iain Stott
OpenStack Engineer
[THG Ingenuity Logo]<https://www.thg.com>
[https://i.imgur.com/wbpVRW6.png]<https://www.linkedin.com/company/thgplc/?originalSubdomain=uk>  [https://i.imgur.com/c3040tr.png] <https://twitter.com/thgplc?lang=en>
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]

  Powered by Linux