btw, as I see ceph-exporter is started by
/etc/systemd/system/ceph-8e911cca-248a-11ee-8971-84160c1b4d0c.target.wants
in this target there is
ceph-8e911cca-248a-11ee-8971~c@ceph-exporter.vmx2.service
the same is on other nodes
can I just stop this service on each server and remove it from
ceph-8e911cca-248a-11ee-8971-84160c1b4d0c.target.wants ?
or I have to do this somehow by using cephadm ?
Thank you!
08.11.2023 07:07, Dmitry Melekhov пишет:
07.11.2023 22:51, Adam King пишет:
Sorry, there ended up being an issue with the ceph-exporter when it
was backported to quincy so it was removed for 17.2.7 . You should be
able to do `ceph orch rm ceph-exporter` if there is a "ceph-exporter"
service in "ceph orch ls" output. If it's not in the "ceph orch ls"
output, I believe cephadm will just remove the ceph-exporter daemons
on its own and the warnings will clear out. It shouldn't cause any
issues with the rest of the cluster I believe.
It is not in output:
[root@vmx1 ~]# ceph orch ls
NAME PORTS RUNNING REFRESHED AGE PLACEMENT
alertmanager ?:9093,9094 1/1 7m ago 3M count:1
crash 3/3 8m ago 3M *
grafana ?:3000 1/1 7m ago 3M count:1
mds.cephfs 3/3 8m ago 3M count:3
mgr 2/2 8m ago 3M count:2
mon 3/3 8m ago 3M
vmx1;vmx2;vmx3;count:3
node-exporter ?:9100 3/3 8m ago 3M *
osd 3 8m ago - <unmanaged>
osd.all-available-devices 15 8m ago 3M *
prometheus ?:9095 1/1 7m ago 3M count:1
[root@vmx1 ~]#
but it is still running after several hours, and I still have warnings
in logs:
cephadm ['--image',
'quay.io/ceph/ceph@sha256:1fcdbead4709a7182047f8ff9726e0f17b0b209aaa6656c5c8b2339b818e70bb',
'--timeout', '895', 'ls']
2023-11-08 06:53:01,463 7f4e063a3740 WARNING version for unknown
daemon type ceph-exporter
and looks like it is started at latest server reboot:
[root@vmx1 ceph]# podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS
PORTS NAMES
00a7bef5e61b
quay.io/ceph/ceph@sha256:11e9bcdd06cfd4f6b0fef3da5c2a3f0f87d7a48c043080d6f5d02f7010ad72eb
-n client.ceph-ex... 3 weeks ago Up 3 weeks
ceph-8e911cca-248a-11ee-8971-84160c1b4d0c-ceph-exporter-vmx1
other containers are startet 17 hours ago during ceph upgrade:
c28fdaa53e77
quay.io/ceph/ceph@sha256:1fcdbead4709a7182047f8ff9726e0f17b0b209aaa6656c5c8b2339b818e70bb
-n mgr.vmx1.cfbiw... 17 hours ago Up 17 hours
ceph-8e911cca-248a-11ee-8971-84160c1b4d0c-mgr-vmx1-cfbiwh
So, looks like cephadm will not stop ceph-exporter.
Could you tell me, how can I correctly stop it and prevent from start
on boot, if it is not disabled already ?
I'm very new in podman, really I know almost nothing about it right
now :-(
Thank you!
On Tue, Nov 7, 2023 at 8:10 AM Dmitry Melekhov <dm@xxxxxxxxxx> wrote:
Hello!
I see
[WRN] Found unknown daemon type ceph-exporter on host
for all 3 ceph servers in logs, after upgrade to 17.2.7 from
17.2.6 in
dashboard
and
cephadm ['--image',
'quay.io/ceph/ceph@sha256:1fcdbead4709a7182047f8ff9726e0f17b0b209aaa6656c5c8b2339b818e70bb
<http://quay.io/ceph/ceph@sha256:1fcdbead4709a7182047f8ff9726e0f17b0b209aaa6656c5c8b2339b818e70bb>',
'--timeout', '895', 'ls']
2023-11-07 16:15:37,531 7fddb699b740 WARNING version for unknown
daemon
type ceph-exporter
in
cephadm.log
There were no such messages before.
I guess this will not create any problem, but is there any way to
fix this?
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx