Looks like the issue is here:

 https://github.com/ceph/ceph/blob/luminous/src/ceph-
disk/ceph_disk/main.py#L2085

the lockbox is prepared first; and then the main data prepare tries to
re-zap the disk, but /dev/<device>5 is already mounted by the first
step.

** Changed in: ceph (Ubuntu)
       Status: Fix Released => Triaged

** Also affects: ceph (Ubuntu Bb-series)
   Importance: Undecided
       Status: New

** Also affects: ceph (Ubuntu Artful)
   Importance: High
       Status: Triaged

** Changed in: ceph (Ubuntu Bb-series)
   Importance: Undecided => Medium

** Changed in: ceph (Ubuntu Bb-series)
       Status: New => Triaged

** Changed in: ceph (Ubuntu Bb-series)
   Importance: Medium => High

** Changed in: ceph (Ubuntu Xenial)
   Importance: High => Medium

** Changed in: ceph (Ubuntu Zesty)
   Importance: High => Medium

** Changed in: ceph (Ubuntu Artful)
   Importance: High => Medium

** Changed in: ceph (Ubuntu Bb-series)
   Importance: High => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1604501

Title:
  ceph-osd fails to initialize when encrypt is enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph/+bug/1604501/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to