]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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 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 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>
7 years agoMerge pull request #20796 from theanalyst/rgw/es-cs-fix
Casey Bodley [Wed, 25 Apr 2018 12:20:46 +0000 (08:20 -0400)]
Merge pull request #20796 from theanalyst/rgw/es-cs-fix

rgw: es module: set compression type correctly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21500 from yehudasa/wip-23779
Casey Bodley [Wed, 25 Apr 2018 12:20:01 +0000 (08:20 -0400)]
Merge pull request #21500 from yehudasa/wip-23779

rgw: encoding fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21534 from cbodley/wip-23480
Casey Bodley [Wed, 25 Apr 2018 12:19:33 +0000 (08:19 -0400)]
Merge pull request #21534 from cbodley/wip-23480

rgw: move all pool creation into rgw_init_ioctx

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #21551 from zhangsw/fix-rgw-userinfo-stats-bug
Casey Bodley [Wed, 25 Apr 2018 12:18:46 +0000 (08:18 -0400)]
Merge pull request #21551 from zhangsw/fix-rgw-userinfo-stats-bug

rgw: admin rest api shouldn't return error when getting user's stats if the user hasn't create any bucket.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21640 from votdev/config_set_help_txt
Lenz Grimmer [Wed, 25 Apr 2018 12:00:39 +0000 (14:00 +0200)]
Merge pull request #21640 from votdev/config_set_help_txt

mgr/dashboard: Adapt help text if server_addr is not set

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoUse bootstrap alert. 21558/head
Volker Theile [Tue, 24 Apr 2018 11:06:47 +0000 (13:06 +0200)]
Use bootstrap alert.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Add cd-error-panel component to display error messages.
Volker Theile [Fri, 20 Apr 2018 10:13:40 +0000 (12:13 +0200)]
mgr/dashboard: Add cd-error-panel component to display error messages.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Adapt help text if server_addr is not set 21640/head
Volker Theile [Wed, 25 Apr 2018 10:55:19 +0000 (12:55 +0200)]
mgr/dashboard: Adapt help text if server_addr is not set

After 'ceph config-key set' is deprecated the help text must be adapted.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoosd/PrimaryLogPG: Fix log messages 21639/head
Gu Zhongyan [Wed, 25 Apr 2018 09:32:26 +0000 (17:32 +0800)]
osd/PrimaryLogPG: Fix log messages

output the content, rathor than the address of obc makes sense,
just like what _copy_some() did.

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
7 years agoMerge pull request #21636 from rjfd/wip-dashboard-fix-pool-py3
Lenz Grimmer [Wed, 25 Apr 2018 09:21:16 +0000 (11:21 +0200)]
Merge pull request #21636 from rjfd/wip-dashboard-fix-pool-py3

mgr/dashboard: pool: fix python3 dict_keys error

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21618 from votdev/loading_panel
Lenz Grimmer [Wed, 25 Apr 2018 09:17:58 +0000 (11:17 +0200)]
Merge pull request #21618 from votdev/loading_panel

mgr/dashboard: Add 'cd-loading-panel' component

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #21633 from ukernel/wip-mds-stat-rstat
Yan, Zheng [Wed, 25 Apr 2018 08:51:50 +0000 (16:51 +0800)]
Merge pull request #21633 from ukernel/wip-mds-stat-rstat

mds: fix CEPH_STAT_RSTAT definition

7 years agomgr/dashboard: pool: fix python3 dict_keys error 21636/head
Ricardo Dias [Tue, 24 Apr 2018 12:32:03 +0000 (13:32 +0100)]
mgr/dashboard: pool: fix python3 dict_keys error

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agorocksdb: do not use aligned_alloc 21632/head
Kefu Chai [Wed, 25 Apr 2018 03:53:29 +0000 (11:53 +0800)]
rocksdb: do not use aligned_alloc

this change picks up the change to "use posix_memalign() for
aligned_alloc()" in ceph/rocksdb.

Fixes: http://tracker.ceph.com/issues/23653
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomds: fix CEPH_STAT_RSTAT definition 21633/head
Yan, Zheng [Wed, 25 Apr 2018 04:17:22 +0000 (12:17 +0800)]
mds: fix CEPH_STAT_RSTAT definition

(CEPH_CAP_GWREXTEND << 16) is (1<<22), which causes gaps in caps bits.
CEPH_CAP_FILE_WREXTEND is an unused bit, reuse it for CEPH_STAT_RSTAT.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agoMerge pull request #21273 from jdurgin/wip-23195
Sage Weil [Tue, 24 Apr 2018 22:20:25 +0000 (17:20 -0500)]
Merge pull request #21273 from jdurgin/wip-23195

osd/ECBackend: only check required shards when finishing recovery reads

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21620 from jcsp/wip-mgr-balancer-options
Sage Weil [Tue, 24 Apr 2018 22:19:48 +0000 (17:19 -0500)]
Merge pull request #21620 from jcsp/wip-mgr-balancer-options

mgr/balancer: fix OPTIONS definition

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoos/bluestore/bluefs_types: make block_mask 64-bit 21629/head
Sage Weil [Tue, 24 Apr 2018 22:11:15 +0000 (17:11 -0500)]
os/bluestore/bluefs_types: make block_mask 64-bit

Since block_size is 32 bits, we return 0x00000000fffff000 (or similar).
This breaks things if you get a file (e.g., bluefs metadata log file)
over 4GB.

Fixes: https://tracker.ceph.com/issues/23840
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoceph-volume api.lvm include lv_uuid on pvs listings
Alfredo Deza [Tue, 24 Apr 2018 21:11:42 +0000 (17:11 -0400)]
ceph-volume api.lvm include lv_uuid on pvs listings

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoosd/PrimaryLogPG: defer evict if head *or* object intersect scrub interval 21628/head
Sage Weil [Tue, 24 Apr 2018 20:35:28 +0000 (15:35 -0500)]
osd/PrimaryLogPG: defer evict if head *or* object intersect scrub interval

Consider a scenario like:
- scrub [3:2525d100:::earlier:head,3:2525d12f:::foo:200]
 - we see 3:2525d12f:::foo:100 and include it in scrub map
- scrub [3:2525d12f:::foo:200, 3:2525dfff:::later:head]
- some op(s) that cause scrub to be preempted
- agent_work wants to evict 3:2525d12f:::foo:100
  - write_blocked_by_scrub sees scrub is preempted, returns false
  - 3:2525d12f:::foo:100 is removed, :head SnapSet is updated
- scrub rescrubs [3:2525d12f:::foo:200, 3:2525dfff:::later:head]
  - includes (updated) :head SnapSet
  - issues error like "3:2525d12f:::foo:100 is an unexpected clone"

Fix the problem by checking if anything part of the object-to-evict and
its head touch the scrub range; if so, back off.  Do not let eviction
preempt scrub; we can come back and do it later.

Fixes: http://tracker.ceph.com/issues/23646
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: publish osdmap to OSDService before starting wq threads 21623/head
Sage Weil [Tue, 24 Apr 2018 18:02:14 +0000 (13:02 -0500)]
osd: publish osdmap to OSDService before starting wq threads

The worker threads may request the map from the service (notably,
advance_pg() does this).

Fixes: http://tracker.ceph.com/issues/21977
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgrc: free MMgrClose in handle_mgr_close 21626/head
Casey Bodley [Tue, 24 Apr 2018 19:54:50 +0000 (15:54 -0400)]
mgrc: free MMgrClose in handle_mgr_close

Fixes: http://tracker.ceph.com/issues/23846
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agopybind/rados: add alignment getter to IoCtx 21222/head
Bruce Flynn [Tue, 24 Apr 2018 18:25:45 +0000 (18:25 +0000)]
pybind/rados: add alignment getter to IoCtx

Adds alignment method to retrieve the pool alignment bytes for EC pools
to the existing IoCtx class.

Signed-off-by: Bruce Flynn <bmflynn@gmail.com>
7 years agoMerge pull request #21606 from ceph/fix-build-CEPH_CLS_API
Sage Weil [Tue, 24 Apr 2018 18:04:27 +0000 (13:04 -0500)]
Merge pull request #21606 from ceph/fix-build-CEPH_CLS_API

rados/objclass.h: fix build define CEPH_CLS_API in all cases

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21621 from theanalyst/doc/releases/12.2.5
Abhishek L [Tue, 24 Apr 2018 17:00:47 +0000 (19:00 +0200)]
Merge pull request #21621 from theanalyst/doc/releases/12.2.5

doc: v12.2.5 luminous release notes

Reviewed-By: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Introduce 'cd-loading-panel' component 21618/head
Volker Theile [Tue, 24 Apr 2018 11:30:41 +0000 (13:30 +0200)]
mgr/dashboard: Introduce 'cd-loading-panel' component

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Remove RBD "Default Features" checkbox 21526/head
Ricardo Marques [Mon, 23 Apr 2018 23:20:08 +0000 (00:20 +0100)]
mgr/dashboard: Remove RBD "Default Features" checkbox

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Add RBD default features REST API endpoint
Ricardo Marques [Mon, 23 Apr 2018 21:15:48 +0000 (22:15 +0100)]
mgr/dashboard: Add RBD default features REST API endpoint

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Add support for RBD snapshot copy (frontend)
Ricardo Marques [Mon, 23 Apr 2018 09:45:23 +0000 (10:45 +0100)]
mgr/dashboard: Add support for RBD snapshot copy (frontend)

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Add support for RBD snapshot copy
Ricardo Dias [Mon, 23 Apr 2018 09:43:10 +0000 (10:43 +0100)]
mgr/dashboard: Add support for RBD snapshot copy

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: RBD flatten
Ricardo Marques [Fri, 20 Apr 2018 21:36:18 +0000 (22:36 +0100)]
mgr/dashboard: RBD flatten

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: RBD copy (frontend)
Ricardo Marques [Thu, 19 Apr 2018 16:54:45 +0000 (17:54 +0100)]
mgr/dashboard: RBD copy (frontend)

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: RBD snapshot clone (frontend)
Ricardo Marques [Thu, 19 Apr 2018 14:11:32 +0000 (15:11 +0100)]
mgr/dashboard: RBD snapshot clone (frontend)

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agodoc: v12.2.5 luminous release notes 21621/head
Abhishek Lekshmanan [Tue, 24 Apr 2018 15:41:00 +0000 (17:41 +0200)]
doc: v12.2.5 luminous release notes

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
7 years agoMerge pull request #21595 from votdev/load_on_init
Kefu Chai [Tue, 24 Apr 2018 15:40:32 +0000 (23:40 +0800)]
Merge pull request #21595 from votdev/load_on_init

mgr/dashboard: Load the datatable content on component initialization

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agomgr/iostat: print output as a table 21338/head
Mohamad Gebai [Tue, 10 Apr 2018 20:37:39 +0000 (16:37 -0400)]
mgr/iostat: print output as a table

Signed-off-by: Mohamad Gebai <mgebai@suse.com>
7 years agoMerge pull request #20899 from Devp00l/deletion-dialog
Lenz Grimmer [Tue, 24 Apr 2018 14:55:11 +0000 (16:55 +0200)]
Merge pull request #20899 from Devp00l/deletion-dialog

mgr/dashboard: Adds reusable deletion dialog

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/balancer: fix OPTIONS definition 21620/head
John Spray [Tue, 24 Apr 2018 14:39:19 +0000 (15:39 +0100)]
mgr/balancer: fix OPTIONS definition

I typo'd a couple of these, which was causing test failures
when the access to the correct names got an exception.

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomon/OSDMonitor: require --yes-i-really-mean-it for force-create-pg 21619/head
Sage Weil [Sat, 7 Apr 2018 19:40:38 +0000 (14:40 -0500)]
mon/OSDMonitor: require --yes-i-really-mean-it for force-create-pg

This command declares data loss permanent.  Be sure the user really means
it.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/SnapMapper: print debug line on check failure
Sage Weil [Tue, 13 Mar 2018 22:24:55 +0000 (17:24 -0500)]
osd/SnapMapper: print debug line on check failure

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Display RBD form error on submission 21529/head
Ricardo Marques [Thu, 19 Apr 2018 14:23:03 +0000 (15:23 +0100)]
mgr/dashboard: Display RBD form error on submission

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Support for template forms on 'cd-submit-button'
Ricardo Marques [Thu, 19 Apr 2018 14:19:14 +0000 (15:19 +0100)]
mgr/dashboard: Support for template forms on 'cd-submit-button'

If 'formDir' is provided, 'cd-submit-button' will mark
it as submitted after submission.

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Replaces delete-confirmation-modal 20899/head
Stephan Müller [Wed, 18 Apr 2018 14:54:12 +0000 (16:54 +0200)]
mgr/dashboard: Replaces delete-confirmation-modal

This replaces usage of "delete-confirmation-modal" with the use of
"delete-modal".

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard: Change deletion link to modal only
Stephan Müller [Mon, 16 Apr 2018 11:44:38 +0000 (13:44 +0200)]
mgr/dashboard: Change deletion link to modal only

Due to CSS problems the link solution wasn't the best way, now it will
represent only the modal content. The downside of this solution is that
it put's the burden on the developer to use it the right way and import
a view things to get it working. But on the upside CSS styles will work
as expected.

The unit test example was updated accordingly this way it should be easy
to understand how it can be implemented the right way.

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard: Changes deletion button to link
Stephan Müller [Mon, 16 Apr 2018 08:57:31 +0000 (10:57 +0200)]
mgr/dashboard: Changes deletion button to link

This change was made because a link can be placed anywhere instead of a
button element.

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard: Adds reusable deletion dialog
Stephan Müller [Wed, 14 Mar 2018 15:09:07 +0000 (16:09 +0100)]
mgr/dashboard: Adds reusable deletion dialog

You can now simply use a deletion dialog without having to import a lot
of different things from ngx-bootstrap. Its easy to extend the dialog
by a detail description.

Signed-off-by: Tiago Melo <tmelo@suse.com>
Signed-off-by: Stephan Müller <smueller@suse.com>