Project

General

Profile

Actions

Bug #55167

closed

ceph-volume lvm new-db does not create encrypted devices

Added by Marius Schiffer about 2 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
reef, quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If an OSD is created with --dmcrypt and later a DB or WAL device is added via ceph-volume new-db/new-wal, no LUKS device is created in the specified LV.
Instead the LV is used directly. Consequently, OSD activation fails as luksOpen fails.
During activation, ceph-volume wants to open the DB as an encrypted device, which it isn't. Manually creating the block.db symlink in the tmpfs allows starting.

Migrate also does not take encrypted devices into account.


Related issues 3 (0 open3 closed)

Copied to ceph-volume - Backport #62358: reef: ceph-volume lvm new-db does not create encrypted devicesResolvedIgor FedotovActions
Copied to ceph-volume - Backport #62359: quincy: ceph-volume lvm new-db does not create encrypted devicesResolvedIgor FedotovActions
Copied to ceph-volume - Backport #62360: pacific: ceph-volume lvm new-db does not create encrypted devicesResolvedIgor FedotovActions
Actions #1

Updated by Marius Schiffer about 2 years ago

I'm currently working on a fix

Actions #2

Updated by Guillaume Abrioux about 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Marius Schiffer
Actions #3

Updated by Igor Fedotov about 1 year ago

Marius, any progress on that?

Actions #5

Updated by Igor Fedotov about 1 year ago

  • Assignee changed from Marius Schiffer to Igor Fedotov
  • Backport set to reef, quincy, pacific
Actions #6

Updated by Igor Fedotov 9 months ago

  • Pull request ID set to 50429
Actions #7

Updated by Igor Fedotov 9 months ago

  • Pull request ID changed from 50429 to 50427
Actions #8

Updated by Igor Fedotov 9 months ago

  • Status changed from In Progress to Pending Backport
Actions #9

Updated by Backport Bot 9 months ago

  • Copied to Backport #62358: reef: ceph-volume lvm new-db does not create encrypted devices added
Actions #10

Updated by Backport Bot 9 months ago

  • Copied to Backport #62359: quincy: ceph-volume lvm new-db does not create encrypted devices added
Actions #11

Updated by Backport Bot 9 months ago

  • Copied to Backport #62360: pacific: ceph-volume lvm new-db does not create encrypted devices added
Actions #12

Updated by Backport Bot 9 months ago

  • Tags set to backport_processed
Actions #13

Updated by Guillaume Abrioux 8 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF