Package: ceph-osd Version: 12.2.11+dfsg1-2 Severity: normal Dear Maintainer,
* What led up to the situation? I was learning how to set up a ceph cluster. I got this error when setting up an osd: root@mnemos-000:~# ceph-volume lvm create --data /dev/sda4 Running command: /usr/bin/ceph-authtool --gen-print-key Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new f28b9512-b4b7-4fd4-a9c6-6b811f3e2668 Running command: vgcreate --force --yes ceph-f1faaddc-1461-46cb-b4a0-5eb7686e10da /dev/sda4 stdout: Physical volume "/dev/sda4" successfully created. stdout: Volume group "ceph-f1faaddc-1461-46cb-b4a0-5eb7686e10da" successfully created Running command: lvcreate --yes -l 100%FREE -n osd-block-f28b9512-b4b7-4fd4-a9c6-6b811f3e2668 ceph-f1faaddc-1461-46cb-b4a0-5eb7686e10da stdout: Logical volume "osd-block-f28b9512-b4b7-4fd4-a9c6-6b811f3e2668" created. Running command: /usr/bin/ceph-authtool --gen-print-key Running command: mount -t tmpfs tmpfs /var/lib/ceph/osd/ceph-0 --> Absolute path not found for executable: restorecon --> Ensure $PATH environment variable contains common executable locations Running command: chown -h ceph:ceph /dev/ceph-f1faaddc-1461-46cb-b4a0-5eb7686e10da/osd-block-f28b9512-b4b7-4fd4-a9c6-6b811f3e2668 Running command: chown -R ceph:ceph /dev/dm-0 Running command: ln -s /dev/ceph-f1faaddc-1461-46cb-b4a0-5eb7686e10da/osd-block-f28b9512-b4b7-4fd4-a9c6-6b811f3e2668 /var/lib/ceph/osd/ceph-0/block Running command: ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring mon getmap -o /var/lib/ceph/osd/ceph-0/activate.monmap stderr: got monmap epoch 1 Running command: ceph-authtool /var/lib/ceph/osd/ceph-0/keyring --create-keyring --name osd.0 --add-key AQBFHnlcTgfKNBAAYZJWbQKfEZMqslPZ6RLaAg== stdout: creating /var/lib/ceph/osd/ceph-0/keyring added entity osd.0 auth auth(auid = 18446744073709551615 key=AQBFHnlcTgfKNBAAYZJWbQKfEZMqslPZ6RLaAg== with 0 caps) Running command: chown -R ceph:ceph /var/lib/ceph/osd/ceph-0/keyring Running command: chown -R ceph:ceph /var/lib/ceph/osd/ceph-0/ Running command: /usr/bin/ceph-osd --cluster ceph --osd-objectstore bluestore --mkfs -i 0 --monmap /var/lib/ceph/osd/ceph-0/activate.monmap --keyfile - --osd-data /var/lib/ceph/osd/ceph-0/ --osd-uuid f28b9512-b4b7-4fd4-a9c6-6b811f3e2668 --setuser ceph --setgroup ceph --> ceph-volume lvm prepare successful for: /dev/sda4 Running command: chown -R ceph:ceph /var/lib/ceph/osd/ceph-0 Running command: ceph-bluestore-tool --cluster=ceph prime-osd-dir --dev /dev/ceph-f1faaddc-1461-46cb-b4a0-5eb7686e10da/osd-block-f28b9512-b4b7-4fd4-a9c6-6b811f3e2668 --path /var/lib/ceph/osd/ceph-0 Running command: ln -snf /dev/ceph-f1faaddc-1461-46cb-b4a0-5eb7686e10da/osd-block-f28b9512-b4b7-4fd4-a9c6-6b811f3e2668 /var/lib/ceph/osd/ceph-0/block Running command: chown -h ceph:ceph /var/lib/ceph/osd/ceph-0/block Running command: chown -R ceph:ceph /dev/dm-0 Running command: chown -R ceph:ceph /var/lib/ceph/osd/ceph-0 Running command: systemctl enable ceph-volume@lvm-0-f28b9512-b4b7-4fd4-a9c6-6b811f3e2668 stderr: Failed to enable unit: Unit file ceph-volume@lvm-0-f28b9512-b4b7-4fd4-a9c6-6b811f3e2668.service does not exist. --> Was unable to complete a new OSD, will rollback changes --> OSD will be fully purged from the cluster, because the ID was generated Running command: ceph osd purge osd.0 --yes-i-really-mean-it stderr: purged osd.0 --> RuntimeError: command returned non-zero exit status: 1 It appears that the /lib/systemd/system/ceph-volume@.service file is actually missing. If I'm not mistaken, it should be shipped in ceph-osd package. Best Regards. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ceph-osd depends on: ii ceph-base 12.2.11+dfsg1-2 ii ceph-common 12.2.11+dfsg1-2 ii libaio1 0.3.111-1 ii libblkid1 2.33.1-0.1 ii libboost-iostreams1.67.0 1.67.0-13 ii libboost-program-options1.67.0 1.67.0-13 ii libboost-regex1.67.0 1.67.0-13 ii libboost-system1.67.0 1.67.0-13 ii libboost-thread1.67.0 1.67.0-13 ii libc6 2.28-7 ii libfuse2 2.9.9-1 ii libgcc1 1:7.2.0-16 ii libgoogle-perftools4 2.7-1 ii libibverbs1 22.1-1 ii libleveldb1v5 1.20-2 ii libnspr4 2:4.20-1 ii libnss3 2:3.42.1-1 ii librados2 12.2.11+dfsg1-2 ii libsnappy1v5 1.1.7-1 ii libstdc++6 7.2.0-16 ii python 2.7.15-4 ii python-pkg-resources 40.7.1-1 ii python2.7 2.7.16~rc1-1 ceph-osd recommends no packages. ceph-osd suggests no packages. -- no debconf information