]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: use osd new instead of osd create
authorLoic Dachary <ldachary@redhat.com>
Thu, 8 Jun 2017 17:31:12 +0000 (19:31 +0200)
committerLoic Dachary <ldachary@redhat.com>
Fri, 14 Jul 2017 17:47:00 +0000 (19:47 +0200)
commit9fa13d4c3ccde25770b8de5e9ad5d3d2dc0d96e0
tree91b481abcf1538873e70fc424b3e32f3eb35b9e5
parent625a7d515bce04cb9a003afcd3731f280065e85c
ceph-disk: use osd new instead of osd create

When using --dmcrypt, the lockbox stores the OSD id and the cephx secret
that will be used when activating the OSD.

When activating, the OSD id is copied from the lockbox if available,
otherwise it is obtained from osd new.

Add support for re-using an OSD id via the --osd-id option to prepare.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/ceph-disk/ceph_disk/main.py