Commit Graph

86024 Commits

Author SHA1 Message Date
John Spray
f521ffdb90 vstart: update for dashboard TLS
Signed-off-by: John Spray <john.spray@redhat.com>
2018-04-27 09:58:46 -04:00
John Spray
3cb0a7ba34 mgr/dashboard: enable TLS
Very similar to restful module.  Cribbed from
earlier patch by @sebastian-philipp, this works
now because of the cherrypy 3.5.0 workaround
in the preceding commit.

This is missing the StandbyMgrModule part because
it is missing get_store for the moment.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-04-27 09:58:46 -04:00
John Spray
ce92ddf4d8 mgr/dashboard: add monkey patch workaround for ssl
If a more recent version of cherrypy is in use
this should all Just Work, but this particular
buggy version happens to be in both Fedora 27
and Ubuntu Xenial, so for practical purposes
we need to handle it.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-04-27 09:58:46 -04: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
Xie Xingguo
a6ff21a41f
Merge pull request #21639 from guzhongyan/pglog_clean
osd/PrimaryLogPG: Fix log messages

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-04-26 08:55:19 +08:00
Jason Dillaman
7313d5439d 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>
2018-04-25 19:41:11 -04:00
Sage Weil
41609ba1b2 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 d700d99f76,
a 2014 refactor of the OpContext behavior.

Fixes: https://tracker.ceph.com/issues/23664
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-25 15:34:21 -05:00
Andrew Schoen
189192b2f6
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>
2018-04-25 20:29:15 +00:00
Nathan Cutler
aaf738169f
Merge pull request #21650 from ricardoasmarques/wip-install-deps-tumbleweed
install-deps: Add support for 'opensuse-tumbleweed'

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-04-25 21:14:41 +02:00
Ricardo Marques
372433d598 install-deps: Add support for 'opensuse-tumbleweed'
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-25 18:49:51 +01:00