]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoosd: If ending on a head object get all of meta map 21546/head
David Zafman [Sat, 28 Apr 2018 22:44:06 +0000 (15:44 -0700)]
osd: If ending on a head object get all of meta map

When ending on a head object, the head and snapshots would stay in
cleaned_meta_map until more maps arrive.  The problem as that
during a scrub an eviction could occur because scrubber.start
is already past the stray object(s) so range_intersects_scrub() is false.

Fixes: http://tracker.ceph.com/issues/23909
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Add test cases for multiple copy pool and snapshot errors
David Zafman [Wed, 25 Apr 2018 22:19:57 +0000 (15:19 -0700)]
test: Add test cases for multiple copy pool and snapshot errors

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Prepare for second test and minor improvements
David Zafman [Fri, 20 Apr 2018 22:56:36 +0000 (15:56 -0700)]
test: Prepare for second test and minor improvements

Check list-inconsistent-obj output
Check how many _scan_snap groupings
Use more general check for crashed osd(s)

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: process _scan_snaps() with all snapshots with head
David Zafman [Fri, 20 Apr 2018 19:19:56 +0000 (12:19 -0700)]
osd: process _scan_snaps() with all snapshots with head

Fixes: http://tracker.ceph.com/issues/22881
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Fix comment at end of scrub test scripts
David Zafman [Wed, 25 Apr 2018 22:15:50 +0000 (15:15 -0700)]
test: Fix comment at end of scrub test scripts

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #21583 from yanghonggang/disable-cache
Sage Weil [Sat, 28 Apr 2018 18:19:12 +0000 (13:19 -0500)]
Merge pull request #21583 from yanghonggang/disable-cache

kv/RocksDBStore: fix rocksdb error when block cache is disabled

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #21670 from xiexingguo/wip-23878
Sage Weil [Sat, 28 Apr 2018 18:17:36 +0000 (13:17 -0500)]
Merge pull request #21670 from xiexingguo/wip-23878

osd/OSDMap: more pg upmap fixes

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21709 from liewegas/wip-23917
Sage Weil [Sat, 28 Apr 2018 18:17:04 +0000 (13:17 -0500)]
Merge pull request #21709 from liewegas/wip-23917

ceph_test_rados_api_aio: fix race with full pool and osdmap

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21641 from zy751713126/total_size_format
Kefu Chai [Sat, 28 Apr 2018 14:49:40 +0000 (22:49 +0800)]
Merge pull request #21641 from zy751713126/total_size_format

tools: correct total size formatting

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21710 from neha-ojha/wip-cosbench-workloads
Josh Durgin [Sat, 28 Apr 2018 01:30:11 +0000 (18:30 -0700)]
Merge pull request #21710 from neha-ojha/wip-cosbench-workloads

qa: add cosbench workloads and override teuthology default settings

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/suites/perf-basic: add cosbench write workload 21710/head
Neha Ojha [Fri, 27 Apr 2018 23:10:13 +0000 (16:10 -0700)]
qa/suites/perf-basic: add cosbench write workload

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoqa/suites/perf-basic: override default teuthology settings
Neha Ojha [Fri, 27 Apr 2018 23:07:11 +0000 (16:07 -0700)]
qa/suites/perf-basic: override default teuthology settings

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoqa/suites/rados/perf: add cosbench workloads
Neha Ojha [Fri, 27 Apr 2018 21:49:41 +0000 (14:49 -0700)]
qa/suites/rados/perf: add cosbench workloads

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoceph_test_rados_api_aio: fix race with full pool and osdmap 21709/head
Sage Weil [Fri, 27 Apr 2018 22:32:38 +0000 (17:32 -0500)]
ceph_test_rados_api_aio: fix race with full pool and osdmap

We send ops until we get a EDQUOT, and then assert our next op to
a different object also gets EDQUOT.  However, if the second osd
doesn't have as new a map it may succeed.  Make sure the client has
the latest (mon) map, and thus the one marking the pool full, before
we send the second op.  That ensures the second OSD also has that
newer map and also returns EDQUOT.

Fixes: http://tracker.ceph.com/issues/23917
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21704 from liewegas/wip-rados-old-clients
Jason Dillaman [Fri, 27 Apr 2018 21:35:58 +0000 (17:35 -0400)]
Merge pull request #21704 from liewegas/wip-rados-old-clients

qa/suites/rados/thrash-old-clients: add rbd tests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21339 from guzhongyan/tp-cleanup
Yuri Weinstein [Fri, 27 Apr 2018 21:22:35 +0000 (14:22 -0700)]
Merge pull request #21339 from guzhongyan/tp-cleanup

osd: drop unused osd_disk_tp related options

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21630 from neha-ojha/wip-rgw-pools
Yuri Weinstein [Fri, 27 Apr 2018 21:21:52 +0000 (14:21 -0700)]
Merge pull request #21630 from neha-ojha/wip-rgw-pools

qa: modify rgw default pool names

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/suites/rados/thrash-old-clients: add cls_rbd, rbd api tests 21704/head
Sage Weil [Thu, 26 Apr 2018 19:25:56 +0000 (14:25 -0500)]
qa/suites/rados/thrash-old-clients: add cls_rbd, rbd api tests

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/perf: override default teuthology settings
Neha Ojha [Fri, 27 Apr 2018 19:04:00 +0000 (12:04 -0700)]
qa/suites/rados/perf: override default teuthology settings

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agokv/RocksDBStore: fix rocksdb error when block cache is disabled 21583/head
Yang Honggang [Sat, 21 Apr 2018 15:39:21 +0000 (15:39 +0000)]
kv/RocksDBStore: fix rocksdb error when block cache is disabled

Fixes: http://tracker.ceph.com/issues/23816
Signed-off-by: Yang Honggang <yanghonggang@umcloud.com>
7 years agoMerge pull request #21703 from liewegas/wip-rados-old-clients
Sage Weil [Fri, 27 Apr 2018 17:25:48 +0000 (12:25 -0500)]
Merge pull request #21703 from liewegas/wip-rados-old-clients

qa/suites/rados/thrash-old-clients: add hammer clients

7 years agoqa/suites/rados/thrash-old-clients: add hammer 21703/head
Sage Weil [Fri, 27 Apr 2018 16:11:42 +0000 (11:11 -0500)]
qa/suites/rados/thrash-old-clients: add hammer

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21679 from liewegas/wip-rados-old-clients
Sage Weil [Fri, 27 Apr 2018 16:30:39 +0000 (11:30 -0500)]
Merge pull request #21679 from liewegas/wip-rados-old-clients

qa/suites/rados/thrash-old-clients: do some thrashing with jewel and luminous clients

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21605 from liewegas/wip-osdmap-encode
Sage Weil [Fri, 27 Apr 2018 16:13:56 +0000 (11:13 -0500)]
Merge pull request #21605 from liewegas/wip-osdmap-encode

mon: cache reencoded osdmaps

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
7 years agomessages/MOSDMap: fix compat_version for MOSDMap 21605/head
Sage Weil [Thu, 26 Apr 2018 15:31:34 +0000 (10:31 -0500)]
messages/MOSDMap: fix compat_version for MOSDMap

Jewel clients see
 will not decode message of type 41 version 4 because compat_version 4 > supported version 3

The problem is when compat_version == 0 and head_version != 0, we
interpret compat_version == head_version.  From Message::encode,

    // if the encoder didn't specify past compatibility, we assume it
    // is incompatible.
    if (header.compat_version == 0)
      header.compat_version = header.version;

Broken by 49833c3bb264949b8126796997a95a95b50af411 for the
head_version=4 case (compat_version needs to be 3).

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocrush/CrushWrapper: clean up member init
Sage Weil [Tue, 24 Apr 2018 14:16:52 +0000 (09:16 -0500)]
crush/CrushWrapper: clean up member init

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomessages/MOSDMap: significant feature bits.
Xiaoxi CHEN [Mon, 23 Apr 2018 17:58:11 +0000 (12:58 -0500)]
messages/MOSDMap: significant feature bits.

1. MOSDMap go with features indicating the features
this map encoded for.

2. Only reencode if significant bits mismatch between
target features and my features.

also update mon/OSDMonitor and osd/OSDService to adopt this change.

Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
7 years agomon/OSDMonitor: add feature into osdmap cache key.
Xiaoxi CHEN [Mon, 23 Apr 2018 17:57:52 +0000 (12:57 -0500)]
mon/OSDMonitor: add feature into osdmap cache key.

Change the cache from
SimpleLRU<version_t, bufferlist> inc_osd_cache;
to
SimpleLRU<pair<version_t, uint64_t>, bufferlist> inc_osd_cache;

By doing this , we can cache several encoded osdmap for different
features, not necessary to re-encoding for each client.

Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
7 years agoMerge pull request #21693 from LenzGr/mgr-dashboard-documentation
Ricardo Dias [Fri, 27 Apr 2018 13:28:02 +0000 (14:28 +0100)]
Merge pull request #21693 from LenzGr/mgr-dashboard-documentation

doc: Updated dashboard feature list.

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21586 from trociny/wip-deep-copy-fixes
Jason Dillaman [Fri, 27 Apr 2018 12:37:24 +0000 (08:37 -0400)]
Merge pull request #21586 from trociny/wip-deep-copy-fixes

 librbd: skip head object map update when deep copying object beyond image size

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agodoc: Updated dashboard feature list. 21693/head
Lenz Grimmer [Fri, 27 Apr 2018 12:17:58 +0000 (14:17 +0200)]
doc: Updated dashboard feature list.

Updated the dashboard documentation and added recently merged
RBD management features (flatten, clone, copy)

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoMerge pull request #21681 from Devp00l/wip-rbd-form-type-error-fix
Lenz Grimmer [Fri, 27 Apr 2018 09:35:27 +0000 (11:35 +0200)]
Merge pull request #21681 from Devp00l/wip-rbd-form-type-error-fix

mgr/dashboard: Fixes type error in RBD form

Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21682 from dillaman/wip-23888
Mykola Golub [Fri, 27 Apr 2018 08:52:26 +0000 (11:52 +0300)]
Merge pull request #21682 from dillaman/wip-23888

rbd-mirror: rename asok hook to match image name when not replaying

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21657 from dillaman/wip-23876
Mykola Golub [Fri, 27 Apr 2018 08:51:27 +0000 (11:51 +0300)]
Merge pull request #21657 from dillaman/wip-23876

rbd-mirror: properly translate remote tag mirror uuid for local mirror

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21662 from tchaikov/wip-cmake
Kefu Chai [Fri, 27 Apr 2018 06:20:17 +0000 (14:20 +0800)]
Merge pull request #21662 from tchaikov/wip-cmake

cmake: enable new policies to silence cmake warnings

Review-by: Casey Bodley <cbodley@redhat.com>
7 years agoosd/OSDMap: check pending pg upmap changes too 21670/head
xiexingguo [Thu, 26 Apr 2018 13:08:15 +0000 (21:08 +0800)]
osd/OSDMap: check pending pg upmap changes too

Signed-off-by: xiexingguo <xie.xingguo@gmail.com>
7 years agoosd/OSDMap: check against crush-tree changing
xiexingguo [Thu, 26 Apr 2018 11:47:35 +0000 (19:47 +0800)]
osd/OSDMap: check against crush-tree changing

pg_upmap/pg_upmap_items should not bring osds which
no longer belong to a specific crush-tree in.

Signed-off-by: xiexingguo <xie.xingguo@gmail.com>
7 years agoosd/OSDMap: more sanity checks before applying pg_upmap[_items]
xiexingguo [Thu, 26 Apr 2018 11:41:47 +0000 (19:41 +0800)]
osd/OSDMap: more sanity checks before applying pg_upmap[_items]

Fixes: http://tracker.ceph.com/issues/23878
Signed-off-by: xiexingguo <xie.xingguo@gmail.com>
7 years agoosd/OSDMap: refactor maybe_remove_pg_upmaps()
xiexingguo [Thu, 26 Apr 2018 10:48:21 +0000 (18:48 +0800)]
osd/OSDMap: refactor maybe_remove_pg_upmaps()

There is too much code redundancy..

Signed-off-by: xiexingguo <xie.xingguo@gmail.com>
7 years agoMerge pull request #21649 from dillaman/wip-23872
Kefu Chai [Fri, 27 Apr 2018 00:55:42 +0000 (08:55 +0800)]
Merge pull request #21649 from dillaman/wip-23872

osdc/Objecter: prevent double-invocation of linger op callback

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21656 from neha-ojha/wip-integrate-cosbench
Josh Durgin [Fri, 27 Apr 2018 00:38:27 +0000 (17:38 -0700)]
Merge pull request #21656 from neha-ojha/wip-integrate-cosbench

qa/tasks: run cosbench using the CBT task

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/tasks: run cosbench using the CBT task 21656/head
Neha Ojha [Wed, 25 Apr 2018 23:00:11 +0000 (16:00 -0700)]
qa/tasks: run cosbench using the CBT task

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #21676 from liewegas/wip-23871
Sage Weil [Thu, 26 Apr 2018 22:22:40 +0000 (17:22 -0500)]
Merge pull request #21676 from liewegas/wip-23871

osd/PrimaryLogPG: clear data digest on WRITEFULL if skip_data_digest

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21686 from jdurgin/wip-ec-backend-comment
Josh Durgin [Thu, 26 Apr 2018 21:52:59 +0000 (14:52 -0700)]
Merge pull request #21686 from jdurgin/wip-ec-backend-comment

osd/ECBackend: update misleading comment about EIO handling

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #21653 from liewegas/wip-23364
Josh Durgin [Thu, 26 Apr 2018 21:51:59 +0000 (14:51 -0700)]
Merge pull request #21653 from liewegas/wip-23364

osd/PrimaryLogPG: avoid infinite loop when flush collides with write lock

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21222 from bmflynn/pybind-alignment
Josh Durgin [Thu, 26 Apr 2018 21:48:08 +0000 (14:48 -0700)]
Merge pull request #21222 from bmflynn/pybind-alignment

pybind/rados: add alignment getter to IoCtx

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoosd/ECBackend: update misleading comment about EIO handling 21686/head
Josh Durgin [Thu, 26 Apr 2018 18:49:01 +0000 (14:49 -0400)]
osd/ECBackend: update misleading comment about EIO handling

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21061 from jan--f/jan-prometheus-file-sd-command
Sage Weil [Thu, 26 Apr 2018 17:39:51 +0000 (12:39 -0500)]
Merge pull request #21061 from jan--f/jan-prometheus-file-sd-command

pybind/mgr/prometheus: add file_sd_config command

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21646 from liewegas/wip-rados-api-tests
Sage Weil [Thu, 26 Apr 2018 17:39:23 +0000 (12:39 -0500)]
Merge pull request #21646 from liewegas/wip-rados-api-tests

qa/suites/rados/verify/tasks/rados_api_tests: whitelist OBJECT_MISPLACED

7 years agorbd-mirror: rename asok hook to match image name when not replaying 21682/head
Jason Dillaman [Thu, 26 Apr 2018 16:24:27 +0000 (12:24 -0400)]
rbd-mirror: rename asok hook to match image name when not replaying

Fixes: http://tracker.ceph.com/issues/23888
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agomgr/dashboard: Fixes type error in RBD form 21681/head
Stephan Müller [Thu, 26 Apr 2018 13:24:15 +0000 (15:24 +0200)]
mgr/dashboard: Fixes type error in RBD form

The form validation function wasn't a 'ValidatorFn' because it didn't
return something, now it's returning null in order to be valid for
type checking engines that also type check functions that are returned
by other functions.

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #19509 from cooboos/wip-cephdencoder-additem
Yuri Weinstein [Thu, 26 Apr 2018 15:42:30 +0000 (08:42 -0700)]
Merge pull request #19509 from cooboos/wip-cephdencoder-additem

ceph-dencoder: add missing begin_iter & end_iter item for RGWObjManifest

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
7 years agoMerge pull request #20835 from croit/fix-mon-crash-on-bad-snap-rm
Yuri Weinstein [Thu, 26 Apr 2018 15:40:02 +0000 (08:40 -0700)]
Merge pull request #20835 from croit/fix-mon-crash-on-bad-snap-rm

mon: handle bad snapshot removal reqs gracefully

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21093 from guzhongyan/mgr-ov
Yuri Weinstein [Thu, 26 Apr 2018 15:38:32 +0000 (08:38 -0700)]
Merge pull request #21093 from guzhongyan/mgr-ov

mgr/DaemonServer: add overrides value to 'config show'

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21585 from xxhdx1985126/wip-23807
Yuri Weinstein [Thu, 26 Apr 2018 15:37:36 +0000 (08:37 -0700)]
Merge pull request #21585 from xxhdx1985126/wip-23807

msgr/simple: set Pipe::out_seq to in_seq of the connecting side

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoosd/PrimaryLogPG: clear data digest on WRITEFULL if skip_data_digest 21676/head
Sage Weil [Thu, 26 Apr 2018 14:15:50 +0000 (09:15 -0500)]
osd/PrimaryLogPG: clear data digest on WRITEFULL if skip_data_digest

If we detect we are on bluestore and should skip the data digest, we
need to clear any old digest on WRITEFULL.  This aligns us with the
WRITE behavior, which is also either an update or a clear (but never
neither!).

Fixes: https://tracker.ceph.com/issues/23871
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21667 from ricardoasmarques/wip-fix-delete-modal
Ricardo Dias [Thu, 26 Apr 2018 14:04:34 +0000 (15:04 +0100)]
Merge pull request #21667 from ricardoasmarques/wip-fix-delete-modal

mgr/dashboard: Fix missing $event on deletion modal

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21584 from oritwas/wip-rgw-resharding-versioning
Orit Wasserman [Thu, 26 Apr 2018 10:29:13 +0000 (13:29 +0300)]
Merge pull request #21584 from oritwas/wip-rgw-resharding-versioning

rgw: Fix infinite call for bi list when resharding a bucket

7 years agomgr/dashboard: Fix missing $event on deletion modal 21667/head
Ricardo Marques [Thu, 26 Apr 2018 10:27:16 +0000 (11:27 +0100)]
mgr/dashboard: Fix missing $event on deletion modal

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #21658 from tchaikov/wip-msg-many-failure
Kefu Chai [Thu, 26 Apr 2018 09:48:46 +0000 (17:48 +0800)]
Merge pull request #21658 from tchaikov/wip-msg-many-failure

qa: reduce "mon client hunt interval max multiple" to 2 for all clients

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19491 from yaarith/wip-mgr-module-hello
Kefu Chai [Thu, 26 Apr 2018 09:46:23 +0000 (17:46 +0800)]
Merge pull request #19491 from yaarith/wip-mgr-module-hello

pybind/mgr: new 'hello world' mgr module skeleton

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21529 from ricardoasmarques/wip-fix-rbd-form
Lenz Grimmer [Thu, 26 Apr 2018 09:44:20 +0000 (11:44 +0200)]
Merge pull request #21529 from ricardoasmarques/wip-fix-rbd-form

mgr/dashboard: Display RBD form errors on submission

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21591 from zhouyuan/fix_wo_mgr_build
Kefu Chai [Thu, 26 Apr 2018 09:13:22 +0000 (17:13 +0800)]
Merge pull request #21591 from zhouyuan/fix_wo_mgr_build

cmake: fix building without mgr module

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: enable CMP0051 21662/head
Kefu Chai [Thu, 26 Apr 2018 08:46:57 +0000 (16:46 +0800)]
cmake: enable CMP0051

the new behavior of get_target_property(<var> <target> SOURCES) will be
enforced in future versions of cmake, so let ready for this change now
by removing the generator expressions from the returned source file
list.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: enable CMP0046
Kefu Chai [Thu, 26 Apr 2018 08:44:07 +0000 (16:44 +0800)]
cmake: enable CMP0046

so cmake will error on "non-existent dependency in add_dependencies", we
add dependency on CONFIGURE_FILE() output, which is wrong, as its output
is not a target, and is generated when cmake runs. so remove them from
dependencies.

regarding to ceph_ver.h, its path is also wrong. it is created under
${CMAKE_BINARY_DIR}/src/include. so this is another reason to remove it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21526 from ricardoasmarques/wip-rbd-snapshot-clone
Lenz Grimmer [Thu, 26 Apr 2018 08:22:42 +0000 (10:22 +0200)]
Merge pull request #21526 from ricardoasmarques/wip-rbd-snapshot-clone

mgr/dashboard: RBD copy, RBD flatten and snapshot clone (frontend)

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21558 from votdev/cd_error_panel
Lenz Grimmer [Thu, 26 Apr 2018 08:17:07 +0000 (10:17 +0200)]
Merge pull request #21558 from votdev/cd_error_panel

mgr/dashboard: Add 'cd-error-panel' component to display error messages

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #21612 from Songweibin/wip-pglog-cleanup
Kefu Chai [Thu, 26 Apr 2018 05:07:10 +0000 (13:07 +0800)]
Merge pull request #21612 from Songweibin/wip-pglog-cleanup

osd/PGLog: fix sanity check against **complete-to** iter

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #21608 from cbodley/wip-dpp
Kefu Chai [Thu, 26 Apr 2018 04:59:45 +0000 (12:59 +0800)]
Merge pull request #21608 from cbodley/wip-dpp

dout: DoutPrefixProvider operates directly on stream

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20480 from smithfarm/wip-23035
Kefu Chai [Thu, 26 Apr 2018 04:50:44 +0000 (12:50 +0800)]
Merge pull request #20480 from smithfarm/wip-23035

build/ops: run-make-check.sh: handle Python 2 absence

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21629 from liewegas/wip-23840
Kefu Chai [Thu, 26 Apr 2018 04:40:02 +0000 (12:40 +0800)]
Merge pull request #21629 from liewegas/wip-23840

os/bluestore/bluefs_types: make block_mask 64-bit

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agorbd-mirror: edge-condition for promote/demote during daemon failover 21657/head
Jason Dillaman [Thu, 26 Apr 2018 04:09:51 +0000 (00:09 -0400)]
rbd-mirror: edge-condition for promote/demote during daemon failover

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa: reduce "mon client hunt interval max multiple" to 2 for all clients 21658/head
Kefu Chai [Thu, 26 Apr 2018 04:04:45 +0000 (12:04 +0800)]
qa: reduce "mon client hunt interval max multiple" to 2 for all clients

because with high failure rate, we need to connect to mon more
frequently if the connection fails.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd: drop unused osd_disk_tp related options 21339/head
Gu Zhongyan [Wed, 11 Apr 2018 04:26:35 +0000 (12:26 +0800)]
osd: drop unused osd_disk_tp related options

disk_tp has been killed. So those are unused.

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
7 years agoMerge pull request #21639 from guzhongyan/pglog_clean
Xie Xingguo [Thu, 26 Apr 2018 00:55:19 +0000 (08:55 +0800)]
Merge pull request #21639 from guzhongyan/pglog_clean

osd/PrimaryLogPG: Fix log messages

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agorbd-mirror: properly translate remote tag mirror uuid for local mirror
Jason Dillaman [Wed, 25 Apr 2018 19:37:57 +0000 (15:37 -0400)]
rbd-mirror: properly translate remote tag mirror uuid for local mirror

Fixes: http://tracker.ceph.com/issues/23876
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosd/PrimaryLogPG: avoid infinite loop when flush collides with write lock 21653/head
Sage Weil [Wed, 25 Apr 2018 20:32:38 +0000 (15:32 -0500)]
osd/PrimaryLogPG: avoid infinite loop when flush collides with write lock

We try to take a write lock with fop->op.  If we fail, fop->op is put
on the lock's waiting list.  Requeuing it again will simply kick off
processing of another instance of the same op, which will again fail
to take the lock, leading to an infinite loop that can't terminate
because requeue_op is doing a push_front and preventing other PG
messages that might release the lock.

Do the same write lock attempt on any dup_ops so that they too will
end up on the wait list.

It looks like this broke waaay back in commit d700d99f76e0a29bfb419bc85d19ef1950b62a9a,
a 2014 refactor of the OpContext behavior.

Fixes: https://tracker.ceph.com/issues/23664
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21645 from alfredodeza/wip-rm23451
Andrew Schoen [Wed, 25 Apr 2018 20:29:15 +0000 (20:29 +0000)]
Merge pull request #21645 from alfredodeza/wip-rm23451

ceph-volume include physical devices associated with an LV when listing

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #21650 from ricardoasmarques/wip-install-deps-tumbleweed
Nathan Cutler [Wed, 25 Apr 2018 19:14:41 +0000 (21:14 +0200)]
Merge pull request #21650 from ricardoasmarques/wip-install-deps-tumbleweed

install-deps: Add support for 'opensuse-tumbleweed'

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoinstall-deps: Add support for 'opensuse-tumbleweed' 21650/head
Ricardo Marques [Wed, 25 Apr 2018 17:49:51 +0000 (18:49 +0100)]
install-deps: Add support for 'opensuse-tumbleweed'

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoosdc/Objecter: prevent double-invocation of linger op callback 21649/head
Jason Dillaman [Wed, 25 Apr 2018 17:23:00 +0000 (13:23 -0400)]
osdc/Objecter: prevent double-invocation of linger op callback

Fixes: http://tracker.ceph.com/issues/23872
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21619 from liewegas/wip-merge-bits
Sage Weil [Wed, 25 Apr 2018 16:20:17 +0000 (11:20 -0500)]
Merge pull request #21619 from liewegas/wip-merge-bits

mon/OSDMonitor: require --yes-i-really-mean-it for force-create-pg

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21628 from liewegas/wip-23646
Sage Weil [Wed, 25 Apr 2018 15:57:48 +0000 (10:57 -0500)]
Merge pull request #21628 from liewegas/wip-23646

osd/PrimaryLogPG: defer evict if head *or* object intersect scrub interval

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #21338 from mogeb/iostat-output
Sage Weil [Wed, 25 Apr 2018 15:49:56 +0000 (10:49 -0500)]
Merge pull request #21338 from mogeb/iostat-output

mgr/iostat: print output as a table

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reveiwed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21613 from xiexingguo/wip-fix-delete-priority
Sage Weil [Wed, 25 Apr 2018 15:49:13 +0000 (10:49 -0500)]
Merge pull request #21613 from xiexingguo/wip-fix-delete-priority

osd/PG: fix out of order priority for PG deletion

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21623 from liewegas/wip-21977
Sage Weil [Wed, 25 Apr 2018 15:47:53 +0000 (10:47 -0500)]
Merge pull request #21623 from liewegas/wip-21977

osd: publish osdmap to OSDService before starting wq threads

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoqa/suites/rados/verify/tasks/rados_api_tests: whitelist OBJECT_MISPLACED 21646/head
Sage Weil [Wed, 25 Apr 2018 15:33:52 +0000 (10:33 -0500)]
qa/suites/rados/verify/tasks/rados_api_tests: whitelist OBJECT_MISPLACED

The api tests do some splits, which can move data.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/ceph-volume include information for devices in listing 21645/head
Alfredo Deza [Wed, 25 Apr 2018 14:48:45 +0000 (10:48 -0400)]
doc/ceph-volume include information for devices in listing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agopybind/mgr: add 'hello world' mgr module skeleton 19491/head
Yaarit Hatuka [Wed, 13 Dec 2017 15:17:57 +0000 (10:17 -0500)]
pybind/mgr: add 'hello world' mgr module skeleton

This simple 'hello' mgr module prints 'hello world' to stdout and to out/mgr.x.log; for documentation purposes. Also added /doc/mgr/hello.rst.

Signed-off-by: Yaarit Hatuka <yaarithatuka@gmail.com>
7 years agoceph-volume tests verify associated pvs reporting on listing
Alfredo Deza [Wed, 25 Apr 2018 13:50:24 +0000 (09:50 -0400)]
ceph-volume tests verify associated pvs reporting on listing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests update to include devices on listing
Alfredo Deza [Tue, 24 Apr 2018 21:35:08 +0000 (17:35 -0400)]
ceph-volume tests update to include devices on listing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.listing include associated physical devices
Alfredo Deza [Tue, 24 Apr 2018 21:16:50 +0000 (17:16 -0400)]
ceph-volume lvm.listing include associated physical devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #21626 from cbodley/wip-23846
Sage Weil [Wed, 25 Apr 2018 13:24:41 +0000 (08:24 -0500)]
Merge pull request #21626 from cbodley/wip-23846

mgrc: free MMgrClose in handle_mgr_close

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21541 from dillaman/wip-18753
Mykola Golub [Wed, 25 Apr 2018 13:07:16 +0000 (16:07 +0300)]
Merge pull request #21541 from dillaman/wip-18753

qa: introduce rbd-mirror thrasher to existing tests

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21632 from tchaikov/wip-rocksdb-no-aligned-alloc
Kefu Chai [Wed, 25 Apr 2018 12:47:48 +0000 (20:47 +0800)]
Merge pull request #21632 from tchaikov/wip-rocksdb-no-aligned-alloc

rocksdb: do not use aligned_alloc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21479 from cbodley/wip-23547
Casey Bodley [Wed, 25 Apr 2018 12:26:25 +0000 (08:26 -0400)]
Merge pull request #21479 from cbodley/wip-23547

rgw: add buffering filter to compression for fetch_remote_obj

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
7 years agopybind/mgr/prometheus: add file_sd_config command 21061/head
Jan Fajerski [Mon, 12 Mar 2018 13:35:11 +0000 (14:35 +0100)]
pybind/mgr/prometheus: add file_sd_config command

This command returns a valid list of static targets pointing to the mgr
prometheus modules for a cluster. The output can be stored in a
file and the file be listed under the file_sd_config stanza in the
prometheus configuration.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #21576 from cbodley/wip-23506
Casey Bodley [Wed, 25 Apr 2018 12:22:35 +0000 (08:22 -0400)]
Merge pull request #21576 from cbodley/wip-23506

rgw: fix error handling for GET with ?torrent

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Robin H. Johnson <robin.johnson@dreamhost.com>
7 years agoMerge pull request #21569 from cbodley/wip-23803
Casey Bodley [Wed, 25 Apr 2018 12:21:47 +0000 (08:21 -0400)]
Merge pull request #21569 from cbodley/wip-23803

rgw: aws4 auth supports PutBucketRequestPayment

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
7 years agoMerge pull request #20212 from tianshan/fix_period_pull
Casey Bodley [Wed, 25 Apr 2018 12:21:15 +0000 (08:21 -0400)]
Merge pull request #20212 from tianshan/fix_period_pull

rgw: do not reflect period if not current

Reviewed-by: Casey Bodley <cbodley@redhat.com>