Yuri Weinstein
2c98007a13
Merge pull request #21630 from neha-ojha/wip-rgw-pools
...
qa: modify rgw default pool names
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-27 14:21:52 -07:00
Sage Weil
049e9097a9
Merge pull request #21703 from liewegas/wip-rados-old-clients
...
qa/suites/rados/thrash-old-clients: add hammer clients
2018-04-27 12:25:48 -05:00
Sage Weil
7cbaa62498
qa/suites/rados/thrash-old-clients: add hammer
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-27 11:40:53 -05:00
Sage Weil
41fae6e9c4
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>
2018-04-27 11:30:39 -05:00
Sage Weil
fd017788f1
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>
2018-04-27 11:13:56 -05:00
Sage Weil
579b8edb2c
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 49833c3bb2
for the
head_version=4 case (compat_version needs to be 3).
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-27 11:12:43 -05:00
Sage Weil
4bea8b55d3
crush/CrushWrapper: clean up member init
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-27 11:12:43 -05:00
Xiaoxi CHEN
dc7a219468
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>
2018-04-27 11:12:43 -05:00
Xiaoxi CHEN
d84a49e262
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>
2018-04-27 11:12:43 -05:00
Ricardo Dias
e4eef6b3a1
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>
2018-04-27 14:28:02 +01:00
Jason Dillaman
57a4628d11
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>
2018-04-27 08:37:24 -04:00
Lenz Grimmer
ef86ee1eb0
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>
2018-04-27 14:17:58 +02:00
Lenz Grimmer
9360f76410
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>
2018-04-27 11:35:27 +02:00
Mykola Golub
0cd7360750
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>
2018-04-27 11:52:26 +03:00
Mykola Golub
ff21badfbc
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>
2018-04-27 11:51:27 +03:00
Kefu Chai
1c90963ae4
Merge pull request #21662 from tchaikov/wip-cmake
...
cmake: enable new policies to silence cmake warnings
Review-by: Casey Bodley <cbodley@redhat.com>
2018-04-27 14:20:17 +08:00
Kefu Chai
70a3e2433b
Merge pull request #21649 from dillaman/wip-23872
...
osdc/Objecter: prevent double-invocation of linger op callback
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-27 08:55:42 +08:00
Josh Durgin
f9dbfbe78f
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>
2018-04-26 17:38:27 -07:00
Neha Ojha
8198936df1
qa/tasks: run cosbench using the CBT task
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-04-26 16:36:57 -07:00
Sage Weil
9af6171324
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>
2018-04-26 17:22:40 -05:00
Josh Durgin
90b8f7bca6
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>
2018-04-26 14:52:59 -07:00
Josh Durgin
0a87243f7b
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>
2018-04-26 14:51:59 -07:00
Josh Durgin
10dc5962e8
Merge pull request #21222 from bmflynn/pybind-alignment
...
pybind/rados: add alignment getter to IoCtx
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-26 14:48:08 -07:00
Josh Durgin
15421e6bad
osd/ECBackend: update misleading comment about EIO handling
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2018-04-26 14:49:01 -04:00
Sage Weil
510762f51e
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>
2018-04-26 12:39:51 -05:00
Sage Weil
2332e63e33
Merge pull request #21646 from liewegas/wip-rados-api-tests
...
qa/suites/rados/verify/tasks/rados_api_tests: whitelist OBJECT_MISPLACED
2018-04-26 12:39:23 -05:00
Jason Dillaman
3ec26ff84d
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>
2018-04-26 12:25:43 -04:00
Stephan Müller
1d06a04f72
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>
2018-04-26 17:45:48 +02:00
Yuri Weinstein
7aa568923b
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>
2018-04-26 08:42:30 -07:00
Yuri Weinstein
0eaa7503cc
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>
2018-04-26 08:40:02 -07:00
Yuri Weinstein
a907f76a0e
Merge pull request #21093 from guzhongyan/mgr-ov
...
mgr/DaemonServer: add overrides value to 'config show'
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-26 08:38:32 -07:00
Yuri Weinstein
8c0f2b610c
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>
2018-04-26 08:37:36 -07:00
Sage Weil
fe5038c7f9
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>
2018-04-26 09:15:50 -05:00
Ricardo Dias
0054a2a829
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>
2018-04-26 15:04:34 +01:00
Orit Wasserman
ff98185a26
Merge pull request #21584 from oritwas/wip-rgw-resharding-versioning
...
rgw: Fix infinite call for bi list when resharding a bucket
2018-04-26 13:29:13 +03:00
Ricardo Marques
ce8981a998
mgr/dashboard: Fix missing $event on deletion modal
...
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-26 11:27:16 +01:00
Kefu Chai
62ccc2a7bb
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>
2018-04-26 17:48:46 +08:00
Kefu Chai
4d942b52f7
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>
2018-04-26 17:46:23 +08:00
Lenz Grimmer
ed46117e3f
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>
2018-04-26 11:44:20 +02:00
Kefu Chai
00d455cb51
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>
2018-04-26 17:13:22 +08:00
Kefu Chai
791af5459e
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>
2018-04-26 16:47:54 +08:00
Kefu Chai
4aea3bed7f
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>
2018-04-26 16:44:09 +08:00
Lenz Grimmer
893857fcbd
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>
2018-04-26 10:22:42 +02:00
Lenz Grimmer
411f52ef95
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>
2018-04-26 10:17:07 +02:00
Kefu Chai
8e31e6ded4
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>
2018-04-26 13:07:10 +08:00
Kefu Chai
c3561e6f2a
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>
2018-04-26 12:59:45 +08:00
Kefu Chai
b6cc272181
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>
2018-04-26 12:50:44 +08:00
Kefu Chai
3bfb979a7d
Merge pull request #21629 from liewegas/wip-23840
...
os/bluestore/bluefs_types: make block_mask 64-bit
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-04-26 12:40:02 +08:00
Jason Dillaman
408e4ad789
rbd-mirror: edge-condition for promote/demote during daemon failover
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-26 00:11:28 -04:00
Kefu Chai
966c76330b
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>
2018-04-26 12:04:49 +08:00