Project

General

Profile

Actions

Bug #54566

open

Dockerized ceph hangs on cryptsetup during osd_ceph_volume_activate

Added by Zachary Winnerman about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

I'm having an issue where it looks like ceph-volume lvm activate isn't calling cryptsetup properly, causing it to hang.

Here is the command I used to run the docker container: docker run --rm --net=host --privileged=true -v /etc/ceph:/etc/ceph -v /var/lib/ceph:/var/lib/ceph -v /dev/:/dev/ -v /run/udev/:/run/udev/ -e OSD_TYPE=activate -e OSD_VOLUME_TYPE=lvm -e OSD_ID=24 quay.io/ceph/daemon:latest-pacific osd_ceph_volume_activate

I removed --pid=host to make the output of ps cleaner, the same behavior happens both with and without the flag.

Here is the output of ps -ef that makes me think that its this particular issue:

UID PID PPID C STIME TTY TIME CMD
root 1 0 0 04:37 ? 00:00:00 /bin/bash /opt/ceph-container/bin/entrypoint.sh osd_ceph_volume_activate
root 65 1 0 04:37 ? 00:00:00 /usr/libexec/platform-python -s /usr/sbin/ceph-volume lvm activate --no-systemd --bluestore 24 2c563283-289c-44c6-9128-090267b1a432
root 99 65 5 04:37 ? 00:00:05 /usr/sbin/cryptsetup --key-file - --allow-discards luksOpen /dev/ceph-block-24/block-24 Fw7Yr6-bx4H-1tjQ-Fz0g-9dBm-ud2q-dezGXu

No data to display

Actions

Also available in: Atom PDF