On Tue, May 24, 2016 at 5:23 AM, Max Vernimmen <m.vernimmen@xxxxxxxxxxxxxxx> wrote: > 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 ? lttng is also included[1] in epel-7 [2]. the lttng dependency was added in https://github.com/ceph/ceph/pull/7857 by me. personally, i am good either way: enable lttng or disable it in the rpm packages. Ken, do you have any insight on this? -- [1] http://lists.ceph.com/pipermail/ceph-users-ceph.com/2016-March/007957.html [2] https://fedoraproject.org/wiki/EPEL > > > > 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@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- Regards Kefu Chai _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com