Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694140 - sys-cluster/ceph-14.2.3 fails to create OSD
Summary: sys-cluster/ceph-14.2.3 fails to create OSD
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: https://github.com/ceph/ceph/commit/a...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: 684860
  Show dependency tree
 
Reported: 2019-09-12 07:24 UTC by thezombiehunter
Modified: 2019-09-17 22:56 UTC (History)
2 users (show)

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


Attachments
Fix (fix.patch,12.48 KB, patch)
2019-09-12 07:24 UTC, thezombiehunter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description thezombiehunter 2019-09-12 07:24:47 UTC
Created attachment 589724 [details, diff]
Fix

Did a quick search and couldn't find a open or closed bug for this.

14.2.3 on a OpenRC setup it cannot use any of the ceph-volume commands for OSD creation. I tried both the regular lvm create and the prepare options, nothing worked.

This can be worked around by the long method described in the master manual (probably), but that doesn't go into the process of how dmcrypt is installed on OSD with lockbox.

I am marking this as blocker because if you are using an encrypted ceph array you can't add/replace any drives. I suppose it's possible if you know exactly what you're doing, but this isn't covered in any of the ceph documentation. You could look at the source code, but that's still not something I'd try on a active cluster.

This is the git commit that fixes the issue:

https://github.com/ceph/ceph/commit/a73400cdefcf502e97844bdc5545b6552d2da658

User patch attached, credit goes to a stranger on IRC.
Comment 1 Larry the Git Cow gentoo-dev 2019-09-17 22:56:00 UTC
The bug has been closed via the following commit(s):

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

commit c7b2b02c6ba86ca2e4d36ee847fa4cca88dc46c2
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2019-09-17 22:55:07 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2019-09-17 22:55:52 +0000

    sys-cluster/ceph: Version bump to 14.2.4, drop x86 (bug 687344)
    
    Dropped x86 keyword since it doesn't build (bug #687344)
    
    Upstream fix for bug #694140 included in release
    
    Closes: https://bugs.gentoo.org/687344
    Closes: https://bugs.gentoo.org/694140
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-cluster/ceph/Manifest                          |   1 +
 sys-cluster/ceph/ceph-14.2.4.ebuild                | 356 +++++++++++++++++++++
 .../files/ceph-14.2.3-dpdk-compile-fix-1.patch     | 111 +++++++
 3 files changed, 468 insertions(+)