]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoMerge pull request #21864 from LenzGr/documentation-fixes
Kefu Chai [Fri, 1 Jun 2018 08:12:19 +0000 (16:12 +0800)]
Merge pull request #21864 from LenzGr/documentation-fixes

doc: fixed restful mgr module SSL configuration commands

Reveiwed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #22295 from jan--f/cmake-fix-ceph-test-build
Kefu Chai [Fri, 1 Jun 2018 07:22:54 +0000 (15:22 +0800)]
Merge pull request #22295 from jan--f/cmake-fix-ceph-test-build

cmake: fix cython target in test/CMakeFile.txt

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22317 from MahatiC/wip-doc-zipkin
Kefu Chai [Fri, 1 Jun 2018 07:22:23 +0000 (15:22 +0800)]
Merge pull request #22317 from MahatiC/wip-doc-zipkin

doc: update blkin changes

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22332 from TommyLike/bug/fix_typo
Kefu Chai [Fri, 1 Jun 2018 07:22:00 +0000 (15:22 +0800)]
Merge pull request #22332 from TommyLike/bug/fix_typo

test/encoding: Fix typo in encoding/types.h file

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22337 from tchaikov/wip-24361
Kefu Chai [Fri, 1 Jun 2018 06:15:40 +0000 (14:15 +0800)]
Merge pull request #22337 from tchaikov/wip-24361

osd,mon: enable level_compaction_dynamic_level_bytes for rocksdb

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22285 from ricardoasmarques/wip-error-handling
Kefu Chai [Fri, 1 Jun 2018 06:05:51 +0000 (14:05 +0800)]
Merge pull request #22285 from ricardoasmarques/wip-error-handling

mgr/dashboard: Log frontend errors + @UiController

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22335 from majianpeng/bluestore-cleanup
Kefu Chai [Fri, 1 Jun 2018 06:04:56 +0000 (14:04 +0800)]
Merge pull request #22335 from majianpeng/bluestore-cleanup

os/bluestore: remove useless condtion.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #21689 from ovh/bp-reduce-bs-bl-rebuilds
Kefu Chai [Fri, 1 Jun 2018 04:15:55 +0000 (12:15 +0800)]
Merge pull request #21689 from ovh/bp-reduce-bs-bl-rebuilds

os/bluestore/BlueFS: reduce bufferlist rebuilds during WAL writes

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #21920 from cbodley/wip-async-librados
Kefu Chai [Fri, 1 Jun 2018 04:14:59 +0000 (12:14 +0800)]
Merge pull request #21920 from cbodley/wip-async-librados

librados: use ceph::async::Completion for asio bindings

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22056 from jiangxiyxy/Branch_master
Kefu Chai [Fri, 1 Jun 2018 00:06:40 +0000 (08:06 +0800)]
Merge pull request #22056 from jiangxiyxy/Branch_master

mon: change monitor compact command to run asynchronously

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22319 from theanalyst/releases/mimic/13.2
Abhishek L [Thu, 31 May 2018 22:40:56 +0000 (00:40 +0200)]
Merge pull request #22319 from theanalyst/releases/mimic/13.2

doc: release/mimic: correct the changelog to the latest version

7 years agoMerge pull request #22330 from neha-ojha/wip-async-up
Josh Durgin [Thu, 31 May 2018 18:07:50 +0000 (11:07 -0700)]
Merge pull request #22330 from neha-ojha/wip-async-up

osd/PG: do not choose stray osds as async_recovery_targets

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22121 from mogeb/bluestore-mono-clock
Kefu Chai [Thu, 31 May 2018 16:20:41 +0000 (00:20 +0800)]
Merge pull request #22121 from mogeb/bluestore-mono-clock

os/bluestore: use the monotonic clock for perf counters latencies

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #22318 from rjfd/wip-dashboard-rest-methods
Kefu Chai [Thu, 31 May 2018 16:17:27 +0000 (00:17 +0800)]
Merge pull request #22318 from rjfd/wip-dashboard-rest-methods

mgr/dashboard: rest: add support for query params

Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #18241 from hjwsm1989/wip-21756
Kefu Chai [Thu, 31 May 2018 16:15:53 +0000 (00:15 +0800)]
Merge pull request #18241 from hjwsm1989/wip-21756

osd: don't check overwrite flag when handling copy-get

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomon: enable level_compaction_dynamic_level_bytes for rocksdb 22337/head
Kefu Chai [Thu, 31 May 2018 15:04:14 +0000 (23:04 +0800)]
mon: enable level_compaction_dynamic_level_bytes for rocksdb

Fixes: http://tracker.ceph.com/issues/24361
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22174 from zhongyimao/cleanup
Kefu Chai [Thu, 31 May 2018 13:30:08 +0000 (21:30 +0800)]
Merge pull request #22174 from zhongyimao/cleanup

doc: fix typos

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoSubmittingPatches: fix the spelling error 22174/head
Mao Zhongyi [Thu, 24 May 2018 01:51:44 +0000 (09:51 +0800)]
SubmittingPatches: fix the spelling error

Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
7 years agolibrados: fix the spelling error
Mao Zhongyi [Wed, 23 May 2018 07:14:03 +0000 (15:14 +0800)]
librados: fix the spelling error

Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
7 years agodoc: update the discarded option '--delay' in command 'rbd trash mv'
Mao Zhongyi [Wed, 23 May 2018 01:37:05 +0000 (09:37 +0800)]
doc: update the discarded option '--delay' in command 'rbd trash mv'

I got the following error message when I used the command '#rbd trash
mv foo --delay' as a document:

rbd: unrecognised option '--delay'

so replace the discarded option '--delay' with '--expires-at' avoid
others getting into the same doubt. In addition, some spelling mistakes
were fixed.

Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
7 years agoos/bluestore: remove useless condtion. 22335/head
Jianpeng Ma [Wed, 30 May 2018 15:44:45 +0000 (23:44 +0800)]
os/bluestore: remove useless condtion.

onode must not be null in this func.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agodoc: update blkin changes 22317/head
Mahati Chamarthy [Wed, 30 May 2018 08:58:47 +0000 (14:28 +0530)]
doc: update blkin changes

Update blkin and zipkin changes to reflect current state

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
7 years agoMerge pull request #20822 from Devp00l/table-user-config
Lenz Grimmer [Thu, 31 May 2018 09:11:22 +0000 (11:11 +0200)]
Merge pull request #20822 from Devp00l/table-user-config

mgr/dashboard: Store user table configurations

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agotest/encoding: Fix typo in encoding/types.h file 22332/head
TommyLike [Thu, 31 May 2018 03:37:09 +0000 (11:37 +0800)]
test/encoding: Fix typo in encoding/types.h file

Fix typo in encoding/types.h fie

Signed-off-by: TommyLike <tommylikehu@gmail.com>
7 years agoMerge pull request #22292 from tchaikov/wip-20924
Kefu Chai [Thu, 31 May 2018 05:31:03 +0000 (13:31 +0800)]
Merge pull request #22292 from tchaikov/wip-20924

osd,mon,msg: use intrusive_ptr for holding Connection::priv

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoPG: do not choose stray osds as async_recovery_targets 22330/head
Neha Ojha [Wed, 30 May 2018 18:33:41 +0000 (11:33 -0700)]
PG: do not choose stray osds as async_recovery_targets

Without this change, we might accept stray osds as async_recovery_targets,
and need to ensure that they get a chance to become part of the acting set
after recovery is over.

However, when choose_acting() is called in the Recovered state, we set
restrict_to_up_acting=true, which does not allow them to get back to the
acting set.

Therefore, similar to backfill, do not allow stray osds to become
async_recovery_targets.

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agomds,osd,mon,msg: use intrusive_ptr for holding Connection::priv 22292/head
Kefu Chai [Tue, 29 May 2018 07:51:07 +0000 (15:51 +0800)]
mds,osd,mon,msg: use intrusive_ptr for holding Connection::priv

See-also: http://tracker.ceph.com/issues/20924
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22010 from b-ranto/wip-expose-avgcount
Boris Ranto [Wed, 30 May 2018 15:15:41 +0000 (17:15 +0200)]
Merge pull request #22010 from b-ranto/wip-expose-avgcount

Expose avgcount to the python modules

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reveiwed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22155 from tspmelo/fix-jest-coverage
Lenz Grimmer [Wed, 30 May 2018 15:14:02 +0000 (17:14 +0200)]
Merge pull request #22155 from tspmelo/fix-jest-coverage

mgr/dashboard: Fix Jest conflict with coverage files

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agodoc/prometheus: Mention the long running avg types 22010/head
Boris Ranto [Tue, 22 May 2018 20:51:04 +0000 (22:51 +0200)]
doc/prometheus: Mention the long running avg types

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoprometheus: Expose sum/count pairs for avgs
Boris Ranto [Wed, 16 May 2018 15:59:59 +0000 (17:59 +0200)]
prometheus: Expose sum/count pairs for avgs

This patch exposes the long running avgs as sum/count pairs in the
prometheus exporter module.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agomgr_module: Deal with long running avgs properly
Boris Ranto [Tue, 15 May 2018 09:05:22 +0000 (11:05 +0200)]
mgr_module: Deal with long running avgs properly

We have recently started exposing long running avgs with the mgr python
modules but that only covers the total sum, not the avgcount.

With this patch, the counts for long running avgs are exposed to the
python modules allowing them to deal with the new data.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agomgr: Expose avgcount for long running avgs
Boris Ranto [Tue, 15 May 2018 08:27:53 +0000 (10:27 +0200)]
mgr: Expose avgcount for long running avgs

This provides a basic interface to export avg count for long running
averages.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoMerge pull request #21711 from majianpeng/osd-reduce-safetimer
Kefu Chai [Wed, 30 May 2018 14:11:42 +0000 (22:11 +0800)]
Merge pull request #21711 from majianpeng/osd-reduce-safetimer

osd: combine recovery/scrub/snap sleep timer into one.

Reviewed-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #22085 from ifed01/wip-ifed-bs-tool-fix
Kefu Chai [Wed, 30 May 2018 14:10:56 +0000 (22:10 +0800)]
Merge pull request #22085 from ifed01/wip-ifed-bs-tool-fix

tools/ceph-bluestore-tool: avoid mon/config access when calling global…

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22323 from tspmelo/fix-formatter-unit-test
Ricardo Dias [Wed, 30 May 2018 13:26:25 +0000 (14:26 +0100)]
Merge pull request #22323 from tspmelo/fix-formatter-unit-test

mgr/dashboard: Fix formatter service unit test

Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agodoc: release/mimic: correct the changelog to the latest version 22319/head
Abhishek Lekshmanan [Wed, 30 May 2018 09:44:07 +0000 (11:44 +0200)]
doc: release/mimic: correct the changelog to the latest version

We were still having the changelog from mimic-dev1, update this to reflect the
current state of mimic

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #22313 from b-ranto/wip-dashboard-fix-rate
Boris Ranto [Wed, 30 May 2018 12:36:09 +0000 (14:36 +0200)]
Merge pull request #22313 from b-ranto/wip-dashboard-fix-rate

dashboard: Return float if rate not available

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Fix formatter service unit test 22323/head
Tiago Melo [Wed, 30 May 2018 12:20:05 +0000 (13:20 +0100)]
mgr/dashboard: Fix formatter service unit test

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #22320 from ukernel/wip-24343
Yan, Zheng [Wed, 30 May 2018 12:03:57 +0000 (20:03 +0800)]
Merge pull request #22320 from ukernel/wip-24343

mds: properly journal root inode's snaprealm

7 years agomds: properly journal root inode's snaprealm 22320/head
Yan, Zheng [Wed, 30 May 2018 11:26:09 +0000 (19:26 +0800)]
mds: properly journal root inode's snaprealm

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/24343
7 years agomgr/dashboard: Fix Jest conflict with coverage files 22155/head
Tiago Melo [Tue, 22 May 2018 14:49:23 +0000 (15:49 +0100)]
mgr/dashboard: Fix Jest conflict with coverage files

It seems 'jest --watch' is trying to determine the modules that are imported
inside the coverage folder.
Since this folder is not always up to date, when there are references to
nonexistent files, Jest will simply break and hang still.

I added an explicit rule for Jest to ignore this folder.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: rest: add support for query params 22318/head
Ricardo Dias [Wed, 30 May 2018 09:38:34 +0000 (10:38 +0100)]
mgr/dashboard: rest: add support for query params

This change adds the support for query params in the
@RESTController.Resource nd @RESTController.Collection decorators

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21980 from Devp00l/wip-formatting-bug-24081
Lenz Grimmer [Wed, 30 May 2018 09:31:00 +0000 (11:31 +0200)]
Merge pull request #21980 from Devp00l/wip-formatting-bug-24081

mgr/dashboard: Format small numbers correctly

Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #22148 from ricardoasmarques/wip-duplicated-rbd
Lenz Grimmer [Wed, 30 May 2018 09:17:22 +0000 (11:17 +0200)]
Merge pull request #22148 from ricardoasmarques/wip-duplicated-rbd

Prevent duplicated rows during async tasks

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22244 from tspmelo/wip-unit-test-services
Lenz Grimmer [Wed, 30 May 2018 09:15:05 +0000 (11:15 +0200)]
Merge pull request #22244 from tspmelo/wip-unit-test-services

mgr/dashboard: Add unit test to the frontend services

Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #22278 from votdev/prettify_rgw
Lenz Grimmer [Wed, 30 May 2018 09:13:56 +0000 (11:13 +0200)]
Merge pull request #22278 from votdev/prettify_rgw

mgr/dashboard: Prettify RGW JS code

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #22287 from tchaikov/wip-hex-dec-in-logging
Kefu Chai [Wed, 30 May 2018 08:46:32 +0000 (16:46 +0800)]
Merge pull request #22287 from tchaikov/wip-hex-dec-in-logging

src: balance std::hex and std::dec manipulators

Reviewed-by: João Eduardo Luís <joao@suse.de>
7 years agomgr/dashboard: Log frontend errors in backend 22285/head
Ricardo Marques [Wed, 23 May 2018 10:09:23 +0000 (11:09 +0100)]
mgr/dashboard: Log frontend errors in backend

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agocmake: fix cython target in test/CMakeFile.txt 22295/head
Jan Fajerski [Tue, 29 May 2018 12:29:41 +0000 (14:29 +0200)]
cmake: fix cython target in test/CMakeFile.txt

The cython target is called cython_modules in python2 environments and
cython3_modules in python3 environments. Reflect that naming in
src/test/CMakeFile.txt. Otherwise the test target can not build in
python3 environments.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
7 years agodashboard: Return float if rate not available 22313/head
Boris Ranto [Tue, 29 May 2018 21:32:48 +0000 (23:32 +0200)]
dashboard: Return float if rate not available

This fixes a test case issue when some of the data might not be
available during the test, yet. The test expects the second value to be
JFloat but that fails because get_rates return an int in that case.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoMerge pull request #22307 from ukernel/wip-22240-1
Yan, Zheng [Wed, 30 May 2018 03:36:07 +0000 (11:36 +0800)]
Merge pull request #22307 from ukernel/wip-22240-1

mds: fix leak of MDSCacheObject::waiting

7 years agomds: fix leak of MDSCacheObject::waiting 22307/head
Yan, Zheng [Wed, 30 May 2018 03:23:25 +0000 (11:23 +0800)]
mds: fix leak of MDSCacheObject::waiting

Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agoMerge pull request #22240 from ukernel/wip-24289
Yan, Zheng [Wed, 30 May 2018 00:43:07 +0000 (08:43 +0800)]
Merge pull request #22240 from ukernel/wip-24289

mds: fix some memory leak

7 years agoMerge pull request #22305 from yehudasa/wip-rgw-mimic
Sage Weil [Tue, 29 May 2018 22:15:18 +0000 (17:15 -0500)]
Merge pull request #22305 from yehudasa/wip-rgw-mimic

docs: update rgw info for mimic

7 years agodocs: update rgw info for mimic 22305/head
Yehuda Sadeh [Tue, 29 May 2018 22:00:20 +0000 (15:00 -0700)]
docs: update rgw info for mimic

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agosrc: balance std::hex and std::dec manipulators 22287/head
Kefu Chai [Tue, 29 May 2018 03:01:43 +0000 (11:01 +0800)]
src: balance std::hex and std::dec manipulators

we're caching the "t_os.streambuf", so the fmtflags persist across
log entries. to avoid this side effects, we should do the cleanup
before finishing each log entry.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22280 from hjwsm1989/wip-osdmaptool
Kefu Chai [Tue, 29 May 2018 17:01:47 +0000 (01:01 +0800)]
Merge pull request #22280 from hjwsm1989/wip-osdmaptool

osdmaptool: fix wrong test_map_pgs_dump_all output

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22157 from ceph/wip-doc-clear-config
John Spray [Tue, 29 May 2018 14:00:21 +0000 (15:00 +0100)]
Merge pull request #22157 from ceph/wip-doc-clear-config

doc/mgr: mention how to clear config setting

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
7 years agoMerge pull request #22286 from ifed01/wip-ifed-fix-release-build
Kefu Chai [Tue, 29 May 2018 13:58:50 +0000 (21:58 +0800)]
Merge pull request #22286 from ifed01/wip-ifed-fix-release-build

cmake: enable RTTI for both debug and release RocksDB builds.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22231 from linuxbox2/wip-get-irange
Matt Benjamin [Tue, 29 May 2018 13:58:06 +0000 (09:58 -0400)]
Merge pull request #22231 from linuxbox2/wip-get-irange

rgw: add configurable AWS-compat invalid range get behavior

7 years agoMerge pull request #22203 from hydro-b/rbd-docu-fixes
Jason Dillaman [Tue, 29 May 2018 13:41:47 +0000 (09:41 -0400)]
Merge pull request #22203 from hydro-b/rbd-docu-fixes

doc: remove duplicate python packages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22259 from liewegas/wip-24322
Kefu Chai [Tue, 29 May 2018 13:07:06 +0000 (21:07 +0800)]
Merge pull request #22259 from liewegas/wip-24322

mon/OSDMonitor: no_reply on MOSDFailure messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: remove duplicate python packages, explicitly ensure python script installation... 22203/head
Stefan Kooman [Tue, 29 May 2018 12:20:33 +0000 (14:20 +0200)]
doc: remove duplicate python packages, explicitly ensure python script installation in path /usr/bin.
Signed-off-by: Stefan Kooman <stefan@kooman.org>
Signed-off-by: Stefan Kooman <stefan@kooman.org>
7 years agomon/OSDMonitor: no_reply on MOSDFailure ops we eventually process 22259/head
Sage Weil [Sun, 27 May 2018 14:55:04 +0000 (09:55 -0500)]
mon/OSDMonitor: no_reply on MOSDFailure ops we eventually process

Failure ops get attached to the failure report.  Once we finally process
them, mark them no_reply so that the forwarding mon will know about it.
The other paths through prepare_failure() do no_reply on the messages
that don't get logged in the failure_info_t::reporters.

Fixes: http://tracker.ceph.com/issues/24322
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Store user table configurations 20822/head
Stephan Müller [Thu, 8 Mar 2018 14:37:20 +0000 (15:37 +0100)]
mgr/dashboard: Store user table configurations

The feature stores sorting, displayed columns and the table limit for
each table, that does not forbid the auto saving feature.

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard: Add UiApiController decorator
Ricardo Marques [Mon, 28 May 2018 16:34:59 +0000 (17:34 +0100)]
mgr/dashboard: Add UiApiController decorator

Should be used for UI specific requests.

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #22279 from tspmelo/wip-improve-lint-rules
Lenz Grimmer [Tue, 29 May 2018 09:27:13 +0000 (11:27 +0200)]
Merge pull request #22279 from tspmelo/wip-improve-lint-rules

mgr/dashboard: Improve max-line-length tslint rule

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22281 from p-na/hacking-rst
Lenz Grimmer [Tue, 29 May 2018 09:05:33 +0000 (11:05 +0200)]
Merge pull request #22281 from p-na/hacking-rst

mgr/dashboard: Improve `HACKING.rst`

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #22193 from liewegas/wip-mon-ranks
Kefu Chai [Tue, 29 May 2018 04:02:40 +0000 (12:02 +0800)]
Merge pull request #22193 from liewegas/wip-mon-ranks

mon: make rank ordering explicit (not tied to mon address sort order)

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoos/bluestore: use the monotonic clock for perf counters latencies 22121/head
Mohamad Gebai [Sat, 19 May 2018 18:20:43 +0000 (14:20 -0400)]
os/bluestore: use the monotonic clock for perf counters latencies

Signed-off-by: Mohamad Gebai <mgebai@suse.com>
7 years agoMerge pull request #22275 from tchaikov/wip-24321
Kefu Chai [Tue, 29 May 2018 03:26:11 +0000 (11:26 +0800)]
Merge pull request #22275 from tchaikov/wip-24321

qa: wait longer for osd to flush pg stats

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomds: fix some memory leak 22240/head
Yan, Zheng [Fri, 25 May 2018 08:11:30 +0000 (16:11 +0800)]
mds: fix some memory leak

Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agobuild/cmake: enable RTTI for both debug and release RocksDB builds. 22286/head
Igor Fedotov [Mon, 28 May 2018 20:00:42 +0000 (23:00 +0300)]
build/cmake: enable RTTI for both debug and release RocksDB builds.
Overwise ceph build in Release mode is failing.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agomon/Monitor: use legacy ranks during bootstrap for initial seed monmap 22193/head
Sage Weil [Mon, 28 May 2018 18:50:48 +0000 (13:50 -0500)]
mon/Monitor: use legacy ranks during bootstrap for initial seed monmap

We get various fabricated monmaps with epoch 0 to get things started.  Use
the legacy rank order so that we have a well-defined ordering and mon
ranks do not collide.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/MonMap: use legacy rank order for all bootstrap monmaps
Sage Weil [Mon, 28 May 2018 18:50:07 +0000 (13:50 -0500)]
mon/MonMap: use legacy rank order for all bootstrap monmaps

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22256 into master
Sage Weil [Mon, 28 May 2018 18:36:54 +0000 (13:36 -0500)]
Merge PR #22256 into master

* refs/pull/22256/head:
unittest_addrs: check parse() return value too
common/LogEntry: remove addrs from log entry operator<<
common/LogEntry: addr -> addrs
common/LogEntry: no need for LogEntryKey encode/decode
msg/msg_types: entity_addrvec_t ctors
msg/msg_types: add entity_addrvec_t::legacy_addr() helper
msg/msg_types: some comparators for entity_addrvec_t
msg/msg_types: entity_addrvec_t parse() and operator<<

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: Improve `HACKING.rst` 22281/head
Patrick Nawracay [Mon, 28 May 2018 13:56:09 +0000 (15:56 +0200)]
mgr/dashboard: Improve `HACKING.rst`

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agoMerge PR #22261 into master
Sage Weil [Mon, 28 May 2018 14:24:03 +0000 (09:24 -0500)]
Merge PR #22261 into master

* refs/pull/22261/head:
qa/suites/rados: move valgrind test to singleton-flat

7 years agoMerge PR #22263 into master
Sage Weil [Mon, 28 May 2018 14:21:57 +0000 (09:21 -0500)]
Merge PR #22263 into master

* refs/pull/22263/head:
doc/releases: mimic 13.2.0

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoosdmaptool: fix wrong test_map_pgs_dump_all output 22280/head
huangjun [Mon, 28 May 2018 13:44:36 +0000 (21:44 +0800)]
osdmaptool: fix wrong test_map_pgs_dump_all output

Signed-off-by: huangjun <huangjun@xsky.com>
7 years agomgr/dashboard: Improve max-line-length tslint rule 22279/head
Tiago Melo [Mon, 28 May 2018 13:19:26 +0000 (14:19 +0100)]
mgr/dashboard: Improve max-line-length tslint rule

Prettier is not breaking strings if they are bigger
then the defined max line length.

With this rule we can make sure lines are not exceeding it,
with the exception of import/export lines.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agounittest_addrs: check parse() return value too 22256/head
Sage Weil [Mon, 28 May 2018 13:11:09 +0000 (08:11 -0500)]
unittest_addrs: check parse() return value too

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Prettify RGW JS code. 22278/head
Volker Theile [Mon, 28 May 2018 12:59:58 +0000 (14:59 +0200)]
mgr/dashboard: Prettify RGW JS code.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22210 from rjfd/wip-dashboard-controller-refactor
Lenz Grimmer [Mon, 28 May 2018 12:10:03 +0000 (14:10 +0200)]
Merge pull request #22210 from rjfd/wip-dashboard-controller-refactor

mgr/dashboard: controller infrastructure refactor and new features

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoqa: wait longer for osd to flush pg stats 22275/head
Kefu Chai [Mon, 28 May 2018 11:37:44 +0000 (19:37 +0800)]
qa: wait longer for osd to flush pg stats

pg sends pg-stats to mgr every 5 seconds, so we cannot check for the
number of pgs right after creating the pool, at that moment, the number
of pgs could be 0, that's why manger.wait_for_clean() returns right
away, and leaves us with 0 pgs: the pgs serving the pool are still being
created. that's why `manager.get_num_active_clean()` returns `0`
sometimes. so, we should force osd to flush their stats to mgr, and wait
until the pg stats converages.

Fixes: http://tracker.ceph.com/issues/24321
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22159 from b-ranto/wip-dashboard-shutdown
Lenz Grimmer [Mon, 28 May 2018 11:07:15 +0000 (13:07 +0200)]
Merge pull request #22159 from b-ranto/wip-dashboard-shutdown

mgr/dashboard: Fix dashboard shutdown/restart

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agomgr/dashboard: hacking.rst: minor improvements and cleanup 22210/head
Ricardo Dias [Fri, 25 May 2018 06:58:52 +0000 (07:58 +0100)]
mgr/dashboard: hacking.rst: minor improvements and cleanup

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: hacking.rst: controller creation instructions update
Ricardo Dias [Thu, 24 May 2018 16:10:41 +0000 (17:10 +0100)]
mgr/dashboard: hacking.rst: controller creation instructions update

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: test: controllers unit test
Ricardo Dias [Thu, 24 May 2018 09:29:24 +0000 (10:29 +0100)]
mgr/dashboard: test: controllers unit test

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: controllers: @Endpoint annotation implementation
Ricardo Dias [Thu, 24 May 2018 09:27:43 +0000 (10:27 +0100)]
mgr/dashboard: controllers: @Endpoint annotation implementation

With these changes we now have a single implementation for both the
BaseController and RESTController classes, with the respective
overrides.

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21960 from socketpair/output
Kefu Chai [Mon, 28 May 2018 02:45:38 +0000 (10:45 +0800)]
Merge pull request #21960 from socketpair/output

osd: write "debug dump_missing" output to stdout

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22267 from ZVampirEM77/wip-telegraf-typo-fix
Kefu Chai [Mon, 28 May 2018 02:37:38 +0000 (10:37 +0800)]
Merge pull request #22267 from ZVampirEM77/wip-telegraf-typo-fix

doc: fix a typo in doc/mgr/telegraf.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: fix a typo in doc/mgr/telegraf.rst 22267/head
Enming Zhang [Mon, 28 May 2018 02:25:46 +0000 (10:25 +0800)]
doc: fix a typo in doc/mgr/telegraf.rst

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agocommon/LogEntry: remove addrs from log entry operator<<
Sage Weil [Sun, 27 May 2018 22:23:45 +0000 (17:23 -0500)]
common/LogEntry: remove addrs from log entry operator<<

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocommon/LogEntry: addr -> addrs
Sage Weil [Fri, 25 May 2018 20:11:32 +0000 (15:11 -0500)]
common/LogEntry: addr -> addrs

We want to switch to an addrvec.  This requires multiple parts:

 - switch the Key type to use just the rank
 - separate entity_name_t rank
 - compat encoding
 - graylog field naming has changed (includes name)
 - syslog output formatting has changed (includes name)
 - LogEntry operator<< modified a bit

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocommon/LogEntry: no need for LogEntryKey encode/decode
Sage Weil [Fri, 25 May 2018 15:53:52 +0000 (10:53 -0500)]
common/LogEntry: no need for LogEntryKey encode/decode

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: entity_addrvec_t ctors
Sage Weil [Fri, 25 May 2018 14:23:40 +0000 (09:23 -0500)]
msg/msg_types: entity_addrvec_t ctors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: add entity_addrvec_t::legacy_addr() helper
Sage Weil [Wed, 23 May 2018 16:45:57 +0000 (11:45 -0500)]
msg/msg_types: add entity_addrvec_t::legacy_addr() helper

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: some comparators for entity_addrvec_t
Sage Weil [Wed, 23 May 2018 16:16:06 +0000 (11:16 -0500)]
msg/msg_types: some comparators for entity_addrvec_t

Signed-off-by: Sage Weil <sage@redhat.com>