Hi,
I upgraded to 10.2.1 and noticed that lttng is a dependency for the RHEL 
packages in that version. Since I have no intention of doing traces on ceph I 
find myself  wondering why ceph is now requiring these libraries to be 
installed. Since the lttng packages are not included in RHEL/CentOS 7 I’ll need 
to pull these in from http://packages.efficios.com/ which is easy enough but 
I’m not really looking forward to adding and managing another package source 
for my systems. Anyone have some info on the reasoning behind the dependency ?

Our ceph machines are CentOS 7.2 based. Upon boot of one of the nodes I would 
like the rbd’s to be mapped automatically. So I tried `sudo systemctl enable 
rbdmap.service` but it slapped me in the face because:
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
   .wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
   a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
   D-Bus, udev, scripted systemctl call, ...).
I checked the wants of other services, but none of them seems to want rbmap. So 
it’s not being included anywhere. I’m guessing it should be triggered through 
udev, but we don’t have the udev rules for cehp working at the moment because 
of several reasons. I added in the [install] section and it works fine now, but 
why wouldn’t that be there by default? If an admin wants rbdmap to be run 
automatically shouldn’t that be possible?
Thanks,

Max
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to