-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normal cephadm setups use different labels than osism #95
Comments
Thank you very much for your findings. Do I read your list of systemd units correctly that there's no unit file named See https://docs.ceph.com/en/reef/rados/operations/operating/#starting-all-daemons-by-type |
ok I ran my testsetup again, on this cephadm version:
looking for targets like in the link you send me gives this: vagrant@master:~$ sudo systemctl status ceph\*.target
● ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0.target - Ceph cluster fe0d9064-95e1-11ef-9868-67dc24888cb0
Loaded: loaded (/etc/systemd/system/ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0.target; enabled; vendor preset: enabled)
Active: active since Tue 2024-10-29 12:16:33 UTC; 53min ago
Oct 29 12:16:33 master systemd[1]: Reached target Ceph cluster fe0d9064-95e1-11ef-9868-67dc24888cb0.
● ceph.target - All Ceph clusters and services
Loaded: loaded (/etc/systemd/system/ceph.target; enabled; vendor preset: enabled)
Active: active since Tue 2024-10-29 12:16:33 UTC; 53min ago
Oct 29 12:16:33 master systemd[1]: Reached target All Ceph clusters and services. systemd services look like this, the one targets has a "wants" which in turn has all services: vagrant@master:~$ ls /etc/systemd/system/
ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0.target final.target.wants paths.target.wants snap.lxd.user-daemon.unix.socket
ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0.target.wants getty.target.wants rescue.target.wants snapd.mounts.target.wants
[email protected] iscsi.service sleep.target.wants sockets.target.wants
ceph.target k3s.service snap-core20-2318.mount [email protected]
ceph.target.wants k3s.service.env snap-lxd-29351.mount sshd.service
cloud-final.service.wants mdmonitor.service.wants snap-snapd-21759.mount sudo.service
cloud-init.target.wants multi-user.target.wants snap.lxd.activate.service sysinit.target.wants
dbus-org.freedesktop.resolve1.service multipath-tools.service snap.lxd.daemon.service syslog.service
dbus-org.freedesktop.timesync1.service network-online.target.wants snap.lxd.daemon.unix.socket timers.target.wants
emergency.target.wants open-vm-tools.service.requires snap.lxd.user-daemon.service vmtoolsd.service
vagrant@master:~$ ls /etc/systemd/system/ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0.target.wants
ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0@alertmanager.master.service ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0@mgr.master.hhdsag.service
ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0@ceph-exporter.master.service [email protected]
[email protected] ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0@node-exporter.master.service
[email protected] [email protected]
ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0@mds.mds.master.folfpu.service ceph-fe0d9064-95e1-11ef-9868-67dc24888cb0@prometheus.master.service
vagrant@master:~$
so a mon service looks like this: note: the number after |
I do wonder if that has something todo with my setup though :) checking... |
It could be some ceph realted bug, looks a bit like this: https://bugzilla.redhat.com/show_bug.cgi?id=1324589#c4 |
ok @NotTheEvilOne I found out. |
So should we adapt the README to inform that such postinstalls for targets to appear are a requirement? |
I'll add a configurable solution as well. |
This issue is related to #94.
It seems e.g. cephadm setups use the fsid of the cluster for their systemd units:
because of this migration with rookify fails e.g. here:
The text was updated successfully, but these errors were encountered: