ceph-disk-prepare: pull zap and jounral init out of prepare()

Signed-off-by: Sage Weil <sage@inktank.com>
ceph-disk-prepare: fix typo in error message for journal linking

Signed-off-by: Sage Weil <sage@inktank.com>
ceph-disk-prepare: pull data path conditionals into the caller

Make prepare_dev only do the device/partition conditional work and do the
type check in the caller.

Signed-off-by: Sage Weil <sage@inktank.com>
ceph-disk-prepare: enfoce disk vs dir/file for data, journal

Careful callers can do --data-dir or --journal-dev or similar to ensure
that we do what they want.  Without those args, we try to do the right
thing.

Signed-off-by: Sage Weil <sage@inktank.com>
ceph-disk-prepare: only zap disk/partitinos if --zap-disk is provided

This is a change of behavior, but for the better, I think.

Signed-off-by: Sage Weil <sage@inktank.com>
ceph-disk-prepare: allow journal_uuid to be predeclared

Signed-off-by: Sage Weil <sage@inktank.com>
ceph-create-keys: create mds bootstrap key

Signed-off-by: Sage Weil <sage@inktank.com>
debian: include /var/lib/ceph/bootstrap-mds in package

Signed-off-by: Sage Weil <sage@inktank.com>
ceph-disk-prepare: typos

Signed-off-by: Sage Weil <sage@inktank.com>
upstart: ceph-osd-activate-dmcrypt.conf

ceph-disk-activate trigger for dm-crypt volumes.

Signed-off-by: Sage Weil <sage@inktank.com>
debian: put ceph-mds upstart conf in ceph-mds package

Fixes: #3157
Signed-off-by: Sage Weil <sage@inktank.com>
ceph-disk-prepare: add initial support for dm-crypt

Keep keys in /etc/ceph/dmcrypt-keys.

Identify partition instances by the partition UUID.  Identify encrypted
partitions by a parallel set of type UUIDs.

Signed-off-by: Alexandre Marangone <alexandre.maragone@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>