Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797598 - sys-cluster/ceph with "-systemd" use-flag requires ceph_volume.systemd module
Summary: sys-cluster/ceph with "-systemd" use-flag requires ceph_volume.systemd module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-22 15:28 UTC by Alexey Boyko
Modified: 2021-09-17 01:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Boyko 2021-06-22 15:28:45 UTC
I do not remember all tested ceph versions, but this error appears on all of them.
Error happend during running of command like this:
"ceph-volume lvm prepare --bluestore --no-systemd --crush-device-class nvme --data /dev/ceph-all-0/osd-0"
or during starting ceph-osd services.
Problem in files below:
/usr/lib/python3.8/site-packages/ceph_volume/devices/lvm/activate.py
/usr/lib/python3.8/site-packages/ceph_volume/devices/lvm/zap.py
/usr/lib/python3.8/site-packages/ceph_volume/devices/simple/scan.py
/usr/lib/python3.8/site-packages/ceph_volume/devices/simple/activate.py
in line:
from ceph_volume.systemd import systemctl
If commenting the line, problem is solved without error in using ceph.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2021-09-17 01:20:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7da3a597a4b8d0f09e3e68bde8135ad4f8bee14b

commit 7da3a597a4b8d0f09e3e68bde8135ad4f8bee14b
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2021-09-17 00:06:53 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2021-09-17 01:20:44 +0000

    sys-cluster/ceph-16.2.6: Version bump
    
    Closes: https://bugs.gentoo.org/797622
    Closes: https://bugs.gentoo.org/797622
    Closes: https://bugs.gentoo.org/803947
    Closes: https://bugs.gentoo.org/803629
    Closes: https://bugs.gentoo.org/797598
    Closes: https://bugs.gentoo.org/795807
    Package-Manager: Portage-3.0.23, Repoman-3.0.3
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-cluster/ceph/Manifest           |   1 +
 sys-cluster/ceph/ceph-16.2.6.ebuild | 459 ++++++++++++++++++++++++++++++++++++
 2 files changed, 460 insertions(+)