]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agodoc/ceph-volume lvm prepare fully supports encryption now
Alfredo Deza [Fri, 2 Feb 2018 13:36:45 +0000 (08:36 -0500)]
doc/ceph-volume lvm prepare fully supports encryption now

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0b2075759e8788b2c4ae46f94fdee953cc82b21e)

7 years agodoc/ceph-volume scan update for encryption support
Alfredo Deza [Fri, 2 Feb 2018 13:36:02 +0000 (08:36 -0500)]
doc/ceph-volume scan update for encryption support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit e0d3bb82255a937cd937d33f966979fb541d1443)

7 years agodoc/ceph-volume remove notice that dmcrypt is not supported
Alfredo Deza [Fri, 2 Feb 2018 13:28:40 +0000 (08:28 -0500)]
doc/ceph-volume remove notice that dmcrypt is not supported

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a7d11ca27df1d22c8109cad5bf7be8fd23395c71)

7 years agodoc/man/ceph-volume add simple documentation
Alfredo Deza [Fri, 2 Feb 2018 13:26:58 +0000 (08:26 -0500)]
doc/man/ceph-volume add simple documentation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9524021aa15280d98f2b04d1fd66552733adf8a2)

7 years agoceph-volume simple.scan update help menu to indicate device support
Alfredo Deza [Fri, 2 Feb 2018 13:15:36 +0000 (08:15 -0500)]
ceph-volume simple.scan update help menu to indicate device support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 09f35cb249674eda044b8fceea6f402ffac7731d)

7 years agoceph-volume tests for keyring parsing
Alfredo Deza [Fri, 2 Feb 2018 13:13:12 +0000 (08:13 -0500)]
ceph-volume tests for keyring parsing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit b90c1a86843d8f0c8c7fb68fe059bdd72f3730fd)

7 years agoceph-volume tests for validate_devices
Alfredo Deza [Fri, 2 Feb 2018 13:12:51 +0000 (08:12 -0500)]
ceph-volume tests for validate_devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit bece7af0523b04d39c26011990cb1fe323aecdd8)

7 years agoceph-volume simple.activate b64decode keys for activation as well
Alfredo Deza [Fri, 2 Feb 2018 13:12:05 +0000 (08:12 -0500)]
ceph-volume simple.activate b64decode keys for activation as well

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 636ebc127797c8020cfb7aff09955b72beac8bdf)

7 years agoceph-volume tests add validation for lsblk parsers
Alfredo Deza [Thu, 1 Feb 2018 21:17:19 +0000 (16:17 -0500)]
ceph-volume tests add validation for lsblk parsers

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 03102e4417194e16deb8b738fcdaf87e699e6073)

7 years agoceph-volume tests validate parsing of cryptsetup
Alfredo Deza [Thu, 1 Feb 2018 20:51:41 +0000 (15:51 -0500)]
ceph-volume tests validate parsing of cryptsetup

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit cce6a12f4a0d8d9a3d7dcb509b42ed2536d9257f)

7 years agoceph-volume tests add a stub for process.call
Alfredo Deza [Thu, 1 Feb 2018 20:51:12 +0000 (15:51 -0500)]
ceph-volume tests add a stub for process.call

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit b80b61b90f8539b363c03c96e63f31c38c707fc8)

7 years agoceph-volume util.encryption add notes about extra b64decode call for ceph-disk
Alfredo Deza [Thu, 1 Feb 2018 20:35:11 +0000 (15:35 -0500)]
ceph-volume util.encryption add notes about extra b64decode call for ceph-disk

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit c2367ef4a4db1e9c62e33dc211474f652d6bc6af)

7 years agoceph-volume util.encryption parse legacy encrypted with dirs too
Alfredo Deza [Thu, 1 Feb 2018 20:34:09 +0000 (15:34 -0500)]
ceph-volume util.encryption parse legacy encrypted with dirs too

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 32cb810f8ab7e4a710bfb2590a065dea41369fce)

7 years agoceph-volume terminal create a logger to get terminal+log messages in one call
Alfredo Deza [Thu, 1 Feb 2018 20:32:54 +0000 (15:32 -0500)]
ceph-volume terminal create a logger to get terminal+log messages in one call

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f6dd0ff15f0aeda9f660e923153f1d3dae68e583)

7 years agoceph-volume simple.activate support dmcrypted devices for both plain and luks
Alfredo Deza [Thu, 1 Feb 2018 20:32:16 +0000 (15:32 -0500)]
ceph-volume simple.activate support dmcrypted devices for both plain and luks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 5ece73b533ee4b577c0ce61e3685a880e1de4851)

7 years agoceph-volume simple.scan parse the keyring out of the keyring file
Alfredo Deza [Thu, 1 Feb 2018 20:31:28 +0000 (15:31 -0500)]
ceph-volume simple.scan parse the keyring out of the keyring file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a1124362816cbaaad7255b7ffc3698b68601ffe5)

Conflicts:
src/ceph-volume/ceph_volume/devices/simple/scan.py

7 years agoceph-volume simple.scan support dmcrypt OSDs when scanning
Alfredo Deza [Tue, 30 Jan 2018 21:23:06 +0000 (16:23 -0500)]
ceph-volume simple.scan support dmcrypt OSDs when scanning

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 6c87d66d76ee1fc70f8dc6211d89dbd489c6ed3a)

7 years agoceph-volume util.encryption add a utilty to open plain encrypted devices
Alfredo Deza [Tue, 30 Jan 2018 14:35:53 +0000 (09:35 -0500)]
ceph-volume util.encryption add a utilty to open plain encrypted devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit e5759e4fc9485e92a2faec277c8a920295751844)

7 years agoceph-volume util.system tmp mounts can now remove a dmcrypt mapper
Alfredo Deza [Tue, 30 Jan 2018 14:34:53 +0000 (09:34 -0500)]
ceph-volume util.system tmp mounts can now remove a dmcrypt mapper

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 60e8699650a491013d51239b9dc58160946d3bf9)

7 years agoceph-volume util.system do not 'translate' using realpath
Alfredo Deza [Tue, 30 Jan 2018 14:22:19 +0000 (09:22 -0500)]
ceph-volume util.system do not 'translate' using realpath

Using realpath always means that device mapper paths, like for dmcrypt
or LVM will get mangled and will return something like `/dev/dm-1` which
is not useful for anything in ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 469d01dc1aee8d6528944ef0acec58df868a9da7)

7 years agoceph-volume util.disk add a PART_ENTRY_TYPE detection utility
Alfredo Deza [Tue, 30 Jan 2018 14:19:06 +0000 (09:19 -0500)]
ceph-volume util.disk add a PART_ENTRY_TYPE detection utility

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit cdb812438d6064089bac964cf38817d877afca38)

7 years agoceph-volume util.encryption add helpers for legacy devices
Alfredo Deza [Fri, 26 Jan 2018 15:44:14 +0000 (10:44 -0500)]
ceph-volume util.encryption add helpers for legacy devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d59b087e50e4e2076c59f6316cc89eb2a070aa52)

7 years agoceph-volume util.constants add ceph-disk partition labels
Alfredo Deza [Fri, 26 Jan 2018 15:25:31 +0000 (10:25 -0500)]
ceph-volume util.constants add ceph-disk partition labels

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 548a74bd239abe6b1b7a5a27fb2779800cfa7ac1)

7 years agoceph-volume util.disk support PKNAME and absolute paths in lsblk
Alfredo Deza [Thu, 25 Jan 2018 16:04:15 +0000 (11:04 -0500)]
ceph-volume util.disk support PKNAME and absolute paths in lsblk

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit b90044c2ffff38d0dc36d598d237fcb066efe400)

7 years agoMerge pull request #20323 from ceph/backport-20203
Alfredo Deza [Wed, 7 Feb 2018 13:19:29 +0000 (08:19 -0500)]
Merge pull request #20323 from ceph/backport-20203

luminous: ceph-volume: fix usage of the --osd-id flag

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20322 from ceph/backport-20059
Alfredo Deza [Wed, 7 Feb 2018 13:18:32 +0000 (08:18 -0500)]
Merge pull request #20322 from ceph/backport-20059

luminous: doc/ceph-volume OSD use the fsid file, not the osd_fsid

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20162 from tchaikov/wip-pr-20130-luminous
Yuri Weinstein [Tue, 6 Feb 2018 22:21:16 +0000 (14:21 -0800)]
Merge pull request #20162 from tchaikov/wip-pr-20130-luminous

mgr: balancer: fixed mistype "AttributeError: 'Logger' object has no ...

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20325 from jcsp/wip-22851-luminous
Yuri Weinstein [Tue, 6 Feb 2018 22:20:18 +0000 (14:20 -0800)]
Merge pull request #20325 from jcsp/wip-22851-luminous

luminous: pybind/mgr/dashboard: fix duplicated slash in html href

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20326 from theanalyst/wip-22892-luminous
Yuri Weinstein [Tue, 6 Feb 2018 22:19:14 +0000 (14:19 -0800)]
Merge pull request #20326 from theanalyst/wip-22892-luminous

 luminous: _read_bdev_label unable to decode label at offset

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19157 from pdvian/wip-22237-luminous
Yuri Weinstein [Tue, 6 Feb 2018 17:40:01 +0000 (09:40 -0800)]
Merge pull request #19157 from pdvian/wip-22237-luminous

luminous: mds: don't delay processing completed requests in replay queue

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #20327 from theanalyst/wip-22922-luminous
Yuri Weinstein [Tue, 6 Feb 2018 17:37:50 +0000 (09:37 -0800)]
Merge pull request #20327 from theanalyst/wip-22922-luminous

luminous: rgw: bucket resharding should not update bucket ACL or user stats

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agorgw: bucket resharding should not update bucket ACL or user stats 20327/head
Orit Wasserman [Sun, 21 Jan 2018 08:12:43 +0000 (10:12 +0200)]
rgw: bucket resharding should not update bucket ACL or user stats

bucket link op resets bucket ACL using rgw_link_bucket instead

Fixes: http://tracker.ceph.com/issues/22124
Fixes: http://tracker.ceph.com/issues/22742
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit 1223baf76b45559f171c67c5e737f8e5f7d843e0)

7 years agoos/bluestore: change bdev parse error to ENOENT 20326/head
Sage Weil [Wed, 24 Jan 2018 03:07:08 +0000 (21:07 -0600)]
os/bluestore: change bdev parse error to ENOENT

If there is not a valid label, then the label is not found.  This is a
more reasonable error code than "Invalid argumnet".

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 5cd98b0dfdc7758761ff789b12faca2266a7e128)

7 years agoos/bluestore: make bdev label parse error less noisy
Sage Weil [Wed, 24 Jan 2018 03:06:27 +0000 (21:06 -0600)]
os/bluestore: make bdev label parse error less noisy

This happens during the normal initialization of a new bluestore osd and it
is confusing for users.  Make it less noisy.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 14c498dd22d1e89d30a0896e89fe83e8adf6ac76)

7 years agoceph-volume: adds tests for zap --destroy and --osd-id 20323/head
Andrew Schoen [Wed, 31 Jan 2018 21:45:44 +0000 (15:45 -0600)]
ceph-volume: adds tests for zap --destroy and --osd-id

These are not added for dmcrypt right now because there is a bug related
to zapping encrypted disks that needs fixed first.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 8d38932c211c589b6171d9e17b100869c23890ac)

7 years agoceph-volume: no need to return osd_id from util.prepare.check_id
Andrew Schoen [Wed, 31 Jan 2018 15:04:09 +0000 (09:04 -0600)]
ceph-volume: no need to return osd_id from util.prepare.check_id

Now that osd_id is passed to util.prepare.create_id it doesn't
make any sense to return osd_id from check_id anymore as it's
not being used.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit f88f2d3bc1f5dcae1e9b2be62dab20942374fc29)

7 years agoceph-volume: when reusing an osd ID you must give that id to 'osd new'
Andrew Schoen [Tue, 30 Jan 2018 21:00:04 +0000 (15:00 -0600)]
ceph-volume: when reusing an osd ID you must give that id to 'osd new'

If you do not then auth will not be created for the new OSD and the
daemon will not be able to start.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 43f699fcbc9f30875f70295e086a4e423008b266)

7 years agoceph-volume: prepare_* methods do not need to recreate fsid or osd_id
Andrew Schoen [Tue, 30 Jan 2018 17:39:05 +0000 (11:39 -0600)]
ceph-volume: prepare_* methods do not need to recreate fsid or osd_id

The prepare_filestore and prepare_bluestore methods do not need to
attempt to recreate osd_id or fsid because this happens in prepare
already.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 7c809166aed82298b1fe1581f0e28174a535574f)

7 years agoceph_volume: modify util.prepare.check_id to handle stdout as a list
Andrew Schoen [Tue, 30 Jan 2018 17:32:53 +0000 (11:32 -0600)]
ceph_volume: modify util.prepare.check_id to handle stdout as a list

process.call returns stdout as a list, not a string

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit a08fc639613b3d9bcb3a09875e535287dd58870a)

7 years agoceph-volume: tests for util.prepare.check_id
Andrew Schoen [Tue, 30 Jan 2018 15:22:58 +0000 (09:22 -0600)]
ceph-volume: tests for util.prepare.check_id

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 0d27fff319f1c4705648fdaff18ee47441f26a24)

7 years agoceph-volume: return osd_id from util.prepare.check_id if it exists
Andrew Schoen [Tue, 30 Jan 2018 15:21:47 +0000 (09:21 -0600)]
ceph-volume: return osd_id from util.prepare.check_id if it exists

This also changes this so the osd_id is returned as a string so
an ID of 0 would evaluate to True.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 699aa65878ca18f2e2cd70d7444cad18b4a3fd98)

7 years agoceph-volume: check to see if an OSD id exists before reusing it
Andrew Schoen [Mon, 29 Jan 2018 16:48:09 +0000 (10:48 -0600)]
ceph-volume: check to see if an OSD id exists before reusing it

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 548eadeec6fb42a18c3e84dbbd8164862f8836e6)

7 years agoceph-volume: adds a prepare util for checking OSD ID existance
Andrew Schoen [Mon, 29 Jan 2018 16:43:04 +0000 (10:43 -0600)]
ceph-volume: adds a prepare util for checking OSD ID existance

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 4ac99de6d98b646bf160230584f6532775cdc9cb)

7 years agopybind/mgr/dashboard: fix duplicated slash in html href 20325/head
Shengjing Zhu [Thu, 1 Feb 2018 08:47:26 +0000 (16:47 +0800)]
pybind/mgr/dashboard: fix duplicated slash in html href

The url_prefix val in html templates is expected not containing '/'
in the end. Otherwise the href will be rendered as '//static/', which
causes browser treating it as http://static/.

Fixes: http://tracker.ceph.com/issues/22851
Signed-off-by: Shengjing Zhu <zhsj@umcloud.com>
(cherry picked from commit 24fe1cae636bf00e3d5923c7e826992d42d92946)

7 years agodoc/ceph-volume OSD use the fsid file, not the osd_fsid 20322/head
Alfredo Deza [Mon, 22 Jan 2018 20:16:40 +0000 (15:16 -0500)]
doc/ceph-volume OSD use the fsid file, not the osd_fsid

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a5f26c622b0f11b7d8179da22d18f719b9febe0a)

7 years agoMerge pull request #20241 from ceph/backport-wip-rm22619
Andrew Schoen [Mon, 5 Feb 2018 15:08:27 +0000 (16:08 +0100)]
Merge pull request #20241 from ceph/backport-wip-rm22619

luminous ceph-volume: dmcrypt support for lvm

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge PR #18930 into luminous
Patrick Donnelly [Sat, 3 Feb 2018 19:31:34 +0000 (11:31 -0800)]
Merge PR #18930 into luminous

* refs/pull/18930/head:
mds: additional damage handling case in EImportStart

7 years agoMerge pull request #20098 from ovh/bp-luminous-snaptrimq-visibility
Josh Durgin [Fri, 2 Feb 2018 23:47:11 +0000 (15:47 -0800)]
Merge pull request #20098 from ovh/bp-luminous-snaptrimq-visibility

luminous: osd, pg, mgr: make snap trim queue problems visible

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19267 from tchaikov/wip-ceph-disk-fsid-luminous
Yuri Weinstein [Fri, 2 Feb 2018 23:10:18 +0000 (15:10 -0800)]
Merge pull request #19267 from tchaikov/wip-ceph-disk-fsid-luminous

luminous: ceph_disk: allow "no fsid" on activate

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #19387 from ceph/wip-cd-luminous-upgrade
Yuri Weinstein [Fri, 2 Feb 2018 23:09:49 +0000 (15:09 -0800)]
Merge pull request #19387 from ceph/wip-cd-luminous-upgrade

luminous: tests: ceph-deploy: use wip branch for final upgrade step

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19610 from ukernel/luminous-22306
Yuri Weinstein [Fri, 2 Feb 2018 23:08:49 +0000 (15:08 -0800)]
Merge pull request #19610 from ukernel/luminous-22306

luminous: osdc/Journaler: add 'stopping' check to various finish callbacks

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19967 from smithfarm/wip-22707-luminous
Yuri Weinstein [Fri, 2 Feb 2018 23:08:10 +0000 (15:08 -0800)]
Merge pull request #19967 from smithfarm/wip-22707-luminous

luminous: ceph_objectstore_tool: no flush before collection_empty() calls; ObjectStore/StoreTest.SimpleAttrTest/2 fails

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19047 from shinobu-x/wip-22193-luminous
Yuri Weinstein [Fri, 2 Feb 2018 23:04:29 +0000 (15:04 -0800)]
Merge pull request #19047 from shinobu-x/wip-22193-luminous

luminous: bluestore: OSD crash on boot with assert caused by Bluefs on flush write

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19388 from ceph/wip-cv-luminous-bp
Yuri Weinstein [Fri, 2 Feb 2018 23:01:50 +0000 (15:01 -0800)]
Merge pull request #19388 from ceph/wip-cv-luminous-bp

luminous: qa: ceph-volume updates

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19487 from smithfarm/wip-22389-luminous
Yuri Weinstein [Fri, 2 Feb 2018 23:01:04 +0000 (15:01 -0800)]
Merge pull request #19487 from smithfarm/wip-22389-luminous

luminous: ceph-objectstore-tool: Add option dump-import to examine an export

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #19501 from shinobu-x/wip-22399-luminous
Yuri Weinstein [Fri, 2 Feb 2018 23:00:26 +0000 (15:00 -0800)]
Merge pull request #19501 from shinobu-x/wip-22399-luminous

luminous: Manager daemon x is unresponsive. No standby daemons available

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19865 from smithfarm/wip-22634-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:59:49 +0000 (14:59 -0800)]
Merge pull request #19865 from smithfarm/wip-22634-luminous

luminous: build/ops: ceph-mgr dashboard has dependency on python-jinja2

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19966 from smithfarm/wip-22706-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:59:08 +0000 (14:59 -0800)]
Merge pull request #19966 from smithfarm/wip-22706-luminous

luminous: tests: force backfill test can conflict with pool removal

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20116 from smithfarm/wip-22266-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:58:23 +0000 (14:58 -0800)]
Merge pull request #20116 from smithfarm/wip-22266-luminous

tools/ceph_monstore_tool: include mgrmap in initial paxos epoch

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20215 from smithfarm/wip-22701-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:57:20 +0000 (14:57 -0800)]
Merge pull request #20215 from smithfarm/wip-22701-luminous

luminous: build/ops: ceph-volume fails when centos7 image doesn't have lvm2 installed

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20219 from tchaikov/wip-pr-20128-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:56:30 +0000 (14:56 -0800)]
Merge pull request #20219 from tchaikov/wip-pr-20128-luminous

luminous: common/pick_address: wrong prefix_len in pick_iface()

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #19849 from liewegas/wip-monlog-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:38:23 +0000 (14:38 -0800)]
Merge pull request #19849 from liewegas/wip-monlog-luminous

mon: allow cluster and debug logs to both go to stderr with different prefixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #19888 from pdvian/wip-22633-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:36:55 +0000 (14:36 -0800)]
Merge pull request #19888 from pdvian/wip-22633-luminous

luminous: OSD crushes with FAILED assert(used_blocks.size() > count) during the first start after upgrade 12.2.1 -> 12.2.2

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19928 from jdurgin/wip-luminous-omap-recovery
Yuri Weinstein [Fri, 2 Feb 2018 22:36:03 +0000 (14:36 -0800)]
Merge pull request #19928 from jdurgin/wip-luminous-omap-recovery

config: lower default omap entries recovered at once

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #19938 from liewegas/wip-list-size-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:35:38 +0000 (14:35 -0800)]
Merge pull request #19938 from liewegas/wip-list-size-luminous

luminous: common: compute SimpleLRU's size with contents.size() instead of lru.size()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19947 from tchaikov/wip-pr-18191-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:34:27 +0000 (14:34 -0800)]
Merge pull request #19947 from tchaikov/wip-pr-18191-luminous

qa/standalone/osd/osd-mark-down: create pool to get updated osdmap faster

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19969 from smithfarm/wip-22691-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:33:48 +0000 (14:33 -0800)]
Merge pull request #19969 from smithfarm/wip-22691-luminous

luminous: ceph-base symbols not stripped in debs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19976 from pdvian/wip-22690-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:33:13 +0000 (14:33 -0800)]
Merge pull request #19976 from pdvian/wip-22690-luminous

luminous: tests: increase osd count for ec testing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19977 from pdvian/wip-22692-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:32:39 +0000 (14:32 -0800)]
Merge pull request #19977 from pdvian/wip-22692-luminous

luminous: common: compute SimpleLRU's size with contents.size() instead of lru.…

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19995 from pdvian/wip-22698-luminous
Yuri Weinstein [Fri, 2 Feb 2018 22:31:56 +0000 (14:31 -0800)]
Merge pull request #19995 from pdvian/wip-22698-luminous

luminous: common/throttle: start using 64-bit values

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agodoc/ceph-volume add lvm/encryption to the index 20241/head
Alfredo Deza [Mon, 22 Jan 2018 19:21:37 +0000 (14:21 -0500)]
doc/ceph-volume add lvm/encryption to the index

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 163ee6a61235e97c341b2817114d98b576697096)

7 years agodoc/man/ceph-volume add dmcrypt support
Alfredo Deza [Mon, 22 Jan 2018 17:11:32 +0000 (12:11 -0500)]
doc/man/ceph-volume add dmcrypt support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit babcdf2fa59baab6bc2cd8a1ac190b8d02fa3fce)

7 years agodoc/man/ceph-volume add docs for zap sub-command
Alfredo Deza [Mon, 22 Jan 2018 17:06:25 +0000 (12:06 -0500)]
doc/man/ceph-volume add docs for zap sub-command

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit ad73be2c2a6ee273d37b706626974d6900742256)

7 years agodoc/man/ceph-volume add docs for list sub-command
Alfredo Deza [Mon, 22 Jan 2018 17:03:18 +0000 (12:03 -0500)]
doc/man/ceph-volume add docs for list sub-command

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 498d7a06a1f17c769c11da7ba9f83bcf2c0e433d)

7 years agodoc/dev/ceph-volume update internal LVM metadata information
Alfredo Deza [Mon, 22 Jan 2018 16:41:32 +0000 (11:41 -0500)]
doc/dev/ceph-volume update internal LVM metadata information

Includes dmcrypt information, and updated key names to reflect current
code

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 46babe80b638eb607e2af6f0c8bb77e675d4d63b)

7 years agoceph-volume tests.functional add xenial filestore tests for dmcrypt
Alfredo Deza [Fri, 19 Jan 2018 16:12:52 +0000 (11:12 -0500)]
ceph-volume tests.functional add xenial filestore tests for dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f0f0c1f8c4dc433d8978de134c120328842a5d7f)

7 years agoceph-volume tests.functional add xenial bluestore tests for dmcrypt
Alfredo Deza [Fri, 19 Jan 2018 16:12:40 +0000 (11:12 -0500)]
ceph-volume tests.functional add xenial bluestore tests for dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit be0dfe76535fa135168763275513d7fafba6fe4c)

7 years agoceph-volume tests.functional add dmcrypt support in tox.ini
Alfredo Deza [Fri, 19 Jan 2018 16:08:25 +0000 (11:08 -0500)]
ceph-volume tests.functional add dmcrypt support in tox.ini

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d1ef5c487ba1ea868fd85b8c425986a2cf435519)

7 years agoceph-volume tests.functional add centos7 filestore tests for dmcrypt
Alfredo Deza [Fri, 19 Jan 2018 16:03:58 +0000 (11:03 -0500)]
ceph-volume tests.functional add centos7 filestore tests for dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 2477ac805e172a10ae3214151a78b4601cf88021)

7 years agoceph-volume tests.functional add centos7 bluestore tests for dmcrypt
Alfredo Deza [Fri, 19 Jan 2018 15:45:32 +0000 (10:45 -0500)]
ceph-volume tests.functional add centos7 bluestore tests for dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 18972322567e158a56d0e71ca4f2afbed413c855)

7 years agoceph-volume tests add util.prepare unit tests
Alfredo Deza [Fri, 19 Jan 2018 14:58:36 +0000 (09:58 -0500)]
ceph-volume tests add util.prepare unit tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a774eae43a089798f895507f18b0c5d68a49fbb4)

7 years agoceph-volume tests add fixture helpers for call and run
Alfredo Deza [Fri, 19 Jan 2018 14:58:18 +0000 (09:58 -0500)]
ceph-volume tests add fixture helpers for call and run

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d51973a64d9f18e0dfde7601b3ffbc57571ea653)

7 years agoceph-volume util allow prepare module to work with encryption keys
Alfredo Deza [Thu, 18 Jan 2018 21:37:00 +0000 (16:37 -0500)]
ceph-volume util allow prepare module to work with encryption keys

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a36dcdf9cfbc3ca012c5cb022e0d7dbcd95984f4)

7 years agoceph-volume lvm.activate allow encryption setups for luks
Alfredo Deza [Thu, 18 Jan 2018 21:22:06 +0000 (16:22 -0500)]
ceph-volume lvm.activate allow encryption setups for luks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 3476e87cec353b100cf8c117d74708f51dd6de2c)

7 years agoceph-volume lvm.prepare allow encryption setups for luks
Alfredo Deza [Thu, 18 Jan 2018 21:19:26 +0000 (16:19 -0500)]
ceph-volume lvm.prepare allow encryption setups for luks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit be3300455e479b03ac072d28bb05ccc7eaddb2e9)

7 years agoceph-volume process allow silencing output on file logging for sensitive data
Alfredo Deza [Thu, 18 Jan 2018 19:46:42 +0000 (14:46 -0500)]
ceph-volume process allow silencing output on file logging for sensitive data

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0e2190c7a22b61aeecdb60b6c8bfe5ba6aa873a4)

7 years agoceph-volume util create a helper module for encryption
Alfredo Deza [Thu, 18 Jan 2018 19:29:53 +0000 (14:29 -0500)]
ceph-volume util create a helper module for encryption

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit dc34a32675a870da98931adffacb2d3db4f74c6c)

7 years agoceph-volume lvm.common add dmcrypt flag
Alfredo Deza [Tue, 16 Jan 2018 14:02:31 +0000 (09:02 -0500)]
ceph-volume lvm.common add dmcrypt flag

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 88ff873e9a60bd811356f7e15c8ef7f826d09337)

7 years agodoc/ceph-volume create an encryption doc explaining dmcrypt workflows
Alfredo Deza [Thu, 11 Jan 2018 14:02:03 +0000 (09:02 -0500)]
doc/ceph-volume create an encryption doc explaining dmcrypt workflows

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 477670a0912c9e01fe59155bf135eaf92bdc3318)

7 years agoMerge pull request #20244 from ceph/backport-19276
Sage Weil [Fri, 2 Feb 2018 19:19:51 +0000 (13:19 -0600)]
Merge pull request #20244 from ceph/backport-19276

luminous: ceph-volume: do not use --key during mkfs

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20247 from ceph/revert-19552-wip-22452-luminous
Josh Durgin [Thu, 1 Feb 2018 23:40:51 +0000 (15:40 -0800)]
Merge pull request #20247 from ceph/revert-19552-wip-22452-luminous

Revert " luminous: msg/async: unregister connection failed when racing happened"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoRevert " luminous: msg/async: unregister connection failed when racing happened" 20247/head
Sage Weil [Thu, 1 Feb 2018 23:28:06 +0000 (17:28 -0600)]
Revert " luminous: msg/async: unregister connection failed when racing happened"

7 years agoMerge pull request #19187 from liewegas/wip-trim-mgrmap-luminous
Yuri Weinstein [Thu, 1 Feb 2018 23:10:13 +0000 (15:10 -0800)]
Merge pull request #19187 from liewegas/wip-trim-mgrmap-luminous

mon/MgrMonitor: limit mgrmap history

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19269 from tchaikov/wip-pr-19202-luminous
Yuri Weinstein [Thu, 1 Feb 2018 23:09:29 +0000 (15:09 -0800)]
Merge pull request #19269 from tchaikov/wip-pr-19202-luminous

luminous: cmake,common/RWLock: check for libpthread extensions

Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19499 from shinobu-x/wip-22402-luminous
Yuri Weinstein [Thu, 1 Feb 2018 23:08:45 +0000 (15:08 -0800)]
Merge pull request #19499 from shinobu-x/wip-22402-luminous

luminous: osd: replica read can trigger cache promotion

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #19552 from shinobu-x/wip-22452-luminous
Yuri Weinstein [Thu, 1 Feb 2018 23:08:07 +0000 (15:08 -0800)]
Merge pull request #19552 from shinobu-x/wip-22452-luminous

 luminous: msg/async: unregister connection failed when racing happened

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19628 from shinobu-x/wip-22501-luminous
Yuri Weinstein [Thu, 1 Feb 2018 23:07:36 +0000 (15:07 -0800)]
Merge pull request #19628 from shinobu-x/wip-22501-luminous

 luminous: tests: do not configure ec data pool with memstore

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19630 from shinobu-x/wip-22507-luminous
Yuri Weinstein [Thu, 1 Feb 2018 23:06:56 +0000 (15:06 -0800)]
Merge pull request #19630 from shinobu-x/wip-22507-luminous

 luminous: bluestore: do not crash on over-large objects

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19742 from tchaikov/wip-luminous-pr-19649-and-19650
Yuri Weinstein [Thu, 1 Feb 2018 23:06:17 +0000 (15:06 -0800)]
Merge pull request #19742 from tchaikov/wip-luminous-pr-19649-and-19650

luminous: common/dns, erasure-code: fix mem leaks

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20049 from liewegas/wip-zero-length-luminous
Yuri Weinstein [Thu, 1 Feb 2018 23:02:15 +0000 (15:02 -0800)]
Merge pull request #20049 from liewegas/wip-zero-length-luminous

os: fix 0-length zero semantics, test

Reviewed-by: Josh Durgin <jdurgin@redhat.com>