Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682664 - sys-cluster/ceph with sys-fs/lvm2 USE=device-mapper-only - some commands do not work correctly
Summary: sys-cluster/ceph with sys-fs/lvm2 USE=device-mapper-only - some commands do n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-06 09:31 UTC by Richard Landsiedel
Modified: 2019-04-15 23:29 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 Richard Landsiedel 2019-04-06 09:31:52 UTC
Due to dependency to lvm2 binaries some ceph commands do not work correctly with "device-mapper-only" USE flag set in sys-fs/lvm2

Even if this USE flag is unsupported the ceph ebuild should block in my opinion.
Comment 1 Patrick McLean gentoo-dev 2019-04-09 01:29:52 UTC
Which ceph commands do not work, and how do they fail?
Comment 2 Richard Landsiedel 2019-04-09 20:08:34 UTC
Sorry did not mention i am using sys-cluster/ceph-14.2.0-r3

Since version 13.0.0, "ceph-disk" is being deprecated and was removed in 14.2.0.
There seems to be no other way than using ceph-volume/lvm for creating new osd volumes.


ceph-volume lvm prepare --data /dev/sdb

Fails with
--> Absolute path not found for executable: lvs
--> Ensure $PATH environment variable contains common executable locations
-->  FileNotFoundError: [Errno 2] No such file or directory: 'lvs': 'lvs'
Comment 3 Larry the Git Cow gentoo-dev 2019-04-15 23:29:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c1469bcc815ad185bba2b5300887a3a142e8603

commit 9c1469bcc815ad185bba2b5300887a3a142e8603
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2019-04-15 23:26:37 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2019-04-15 23:26:37 +0000

    sys-cluster/ceph: Revbumps, 681068, 651460, 671482, 682664, 638750
    
    Cleanups for a lot of old bugs that had fallen through the cracks/
    
    Closes: https://bugs.gentoo.org/681068
    Closes: https://bugs.gentoo.org/651460
    Closes: https://bugs.gentoo.org/671482
    Closes: https://bugs.gentoo.org/682664
    Closes: https://bugs.gentoo.org/638750
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 ...{ceph-12.2.12.ebuild => ceph-12.2.12-r1.ebuild} | 13 +++++-----
 ...ceph-13.2.5-r2.ebuild => ceph-13.2.5-r3.ebuild} | 23 +++++++++--------
 ...ceph-14.2.0-r4.ebuild => ceph-14.2.0-r5.ebuild} | 13 +++++-----
 .../ceph/files/ceph-12.2.12-ncurses-tinfo.patch    | 20 +++++++++++++++
 .../ceph/files/ceph-14.2.1-ncurses-tinfo.patch     | 30 ++++++++++++++++++++++
 5 files changed, 77 insertions(+), 22 deletions(-)