Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1489865

Summary: dmcrypt activation for bluestore
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: seb
Component: ContainerAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Sidhant Agrawal <sagrawal>
Severity: medium Docs Contact:
Priority: low    
Version: 3.0CC: anharris, ceph-qe-bugs, dang, hchen, hnallurv, jim.curtis, kdreyer, pprakash
Target Milestone: rcKeywords: CodeChange
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhceph:ceph-3.0-rhel-7-docker-candidate-64440-20171009211408 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:18:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description seb 2017-09-08 14:04:25 UTC
Description of problem:

When using bluestore with dmcrypt each encrypted partition needs to opened so the OSD can run normally.
We need to support opening encrypted bluestore devices.

    This prevents the following error:

    mount: unknown filesystem type 'crypto_LUKS'
    Traceback (most recent call last):
      File "/usr/sbin/ceph-disk", line 9, in <module>
        load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
      File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5704, in run
        main(sys.argv[1:])
      File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5655, in main
        args.func(args)
      File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3759, in main_activate
        reactivate=args.reactivate,
      File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3499, in mount_activate
        path = mount(dev=dev, fstype=fstype, options=mount_options)
      File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 1449, in mount
        raise MountError(e)
    ceph_disk.main.MountError: Mounting filesystem failed: Command '['/bin/mount', '-t', u'crypto_LUKS', '-o', '', '--', '/dev/sdb1', '/var/lib/ceph/tmp/mnt.ReDJVo']' returned non-zero exit status 32

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 7 errata-xmlrpc 2017-12-05 23:18:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3388