Symlink /etc/ceph/ceph.conf -> /etc/pve/ceph.conf not created automatically

VictorSTS

Distinguished Member
Oct 7, 2019
1,028
559
158
Spain
Hello,

PVE8.4.1 cluster + Ceph Squid 19.2.1. I'm doing some hardware replacement to remove old nodes and adding new ones, so I added some of the new nodes to the cluster. Once in the cluster, from the webUI I deployed Ceph packages on 4 of the new nodes. Everything seems ok, but the symlink at /etc/ceph/ceph.conf isn't created and any ceph command returns a Error initializing cluster client: ObjectNotFound('RADOS object not found (error calling conf_read_file)') error, as expected. Manually recreating the symlink makes it all work as expected (created MON, MGR, I haven't tried to create OSD in that host yet).

Tried restarting services, rebooting the host, etc. Not even creating a MON or a MGR made it create the symlink (the service got deployed correctly but it could not start).

Why it may be failing to create the symlink? Still got a few more hosts to add if there's something I could try. Even if the solution is easy, it's a first for me and I've done similar procedures a few dozen times already, so I would like to know what could be going on.

Thanks!