Jason Dillaman
b12dd0bf41
qa/workunits/rbd: test self-managed snapshot create/remove permissions
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-26 11:41:19 -04:00
Jason Dillaman
21538304d7
pybind/rados: new methods for manipulating self-managed snapshots
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-26 11:41:19 -04:00
Jason Dillaman
61c06200fe
mon/OSDMonitor: enforce caps for all remaining pool ops
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-26 11:41:19 -04:00
Jason Dillaman
4972e054b3
mon/OSDMonitor: enforce caps when creating/deleting unmanaged snapshots
...
The entity will require write access to the OSD service or permission
for the synthetic "osd pool op unmanaged-snap" command.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-26 11:41:12 -04:00
Sage Weil
eb3bbb8462
Merge PR #22479 into master
...
* refs/pull/22479/head:
mgr/devicehealth: add self-test
mgr/devicehealth: make config options instance attributes
mgr/devicehealth: active -> enable_monitoring
mgr/mgr_module: update docstring for get()
mgr/devicehealth: fix 'device get-health-metrics' when no metrics are stored
mgr/devicehealth: add some scraping infrastructure
osd: optionally query smart for a single devid
mgr/ActivePyModules: add get for 'device <devid>'
osd: key smart results by unique device id
mgr: enable devicehealth by default
mgr/devicehealth: rename old smart module to devicehealth
2018-06-23 17:05:51 -05:00
Sage Weil
cd24ccefc5
Merge PR #22572 into master
...
* refs/pull/22572/head:
osd: update clone_overlap even the clone have been evicted
Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-23 17:05:45 -05:00
Sage Weil
23915a4baf
Merge PR #22576 into master
...
* refs/pull/22576/head:
common/obj_bencher.cc: faster object name generation
Reviewed-by: Erwan Velu <erwan@redhat.com>
2018-06-23 17:05:40 -05:00
Sage Weil
2f7595131b
Merge PR #22588 into master
...
* refs/pull/22588/head:
mgr/iostat: column_width should be int not float
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Mohamad Gebai <mgebai@suse.com>
2018-06-23 17:05:35 -05:00
Sage Weil
6ad9f13a18
githubmap: update contributors
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:05:34 -05:00
Sage Weil
dc4e35b523
Merge PR #22615 into master
...
* refs/pull/22615/head:
common: fix enum redeclaration
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-23 17:04:46 -05:00
Sage Weil
de0206cb80
Merge PR #22620 into master
...
* refs/pull/22620/head:
common/WorkQueue: Before set_ioprio it must do create/try_create.
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-06-23 17:04:41 -05:00
Sage Weil
9f44ab3308
Merge PR #22634 into master
...
* refs/pull/22634/head:
mgr, pybind/mgr: pass inbuf (ceph -i <file>) to modules
Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-23 17:04:36 -05:00
Sage Weil
dd6ad72b90
mgr/devicehealth: add self-test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
6b9c0689a4
mgr/devicehealth: make config options instance attributes
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
1af2f26d4f
mgr/devicehealth: active -> enable_monitoring
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
f78d3ac6e5
mgr/mgr_module: update docstring for get()
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
378230c669
mgr/devicehealth: fix 'device get-health-metrics' when no metrics are stored
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
aa01002478
mgr/devicehealth: add some scraping infrastructure
...
- command to fetch smart info
- command to scrape a device and store the metrics
- command to scrape all devices (and store)
- command to dump stored metrics
- purging of old metrics
This is based on code originally written by Yaarit.
Signed-off-by: Yaarit Hatuka yaarithatuka@gmail.com
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:53 -05:00
Sage Weil
18abfb2486
osd: optionally query smart for a single devid
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:31 -05:00
Sage Weil
9662fa061c
mgr/ActivePyModules: add get for 'device <devid>'
...
This is slightly different than the usual pattern because it is
parameterized. I want to avoid fetching *all* devices if we don't need
it.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:31 -05:00
Sage Weil
a5957a9d13
osd: key smart results by unique device id
...
This is more useful than the current local device name.
Clean up some formatting.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:31 -05:00
Sage Weil
9f51a1e537
mgr: enable devicehealth by default
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:31 -05:00
Sage Weil
07cbb10719
mgr/devicehealth: rename old smart module to devicehealth
...
Let's avoid "SMART" since it's misleading (it refers specifically to ATA).
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:29 -05:00
Jason Dillaman
caed70b102
Merge pull request #22676 from trociny/wip-24637
...
librbd: fix crash when opening nonexistent snapshot
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-06-23 09:38:11 -04:00
Kefu Chai
46ad3d66e3
Merge pull request #22636 from tchaikov/wip-cmake-add_npm_command
...
cmake: add "add_npm_command()" command
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-06-23 09:18:16 +08:00
Patrick Donnelly
03a8fe824b
Merge PR #22486 into master
...
* refs/pull/22486/head:
mds: avoid traversing all dirfrags when trying to get wrlocks
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-06-22 16:21:49 -07:00
Dan Mick
140761f8a2
mgr, pybind/mgr: pass inbuf (ceph -i <file>) to modules
...
Modules may wish to receive bulk data; allow it
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-06-22 14:55:34 -07:00
Yuri Weinstein
7897f21a70
Merge pull request #22674 from yuriw/wip-yuriw-perf-distro-master
...
qa/tests - added all supported distro to the mix, …
2018-06-22 12:24:57 -07:00
Mykola Golub
70936c3bb5
librbd: fix crash when opening nonexistent snapshot
...
Fixes: http://tracker.ceph.com/issues/24637
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-06-22 21:01:43 +03:00
Sage Weil
b2a699cb73
Merge PR #22578 into master
...
* refs/pull/22578/head:
os/bluestore: provide a rough estimate for bitmap allocator
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2018-06-22 13:00:59 -05:00
Sage Weil
a072a5995d
githubmap: update contributors
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-22 13:00:58 -05:00
Sage Weil
60244f2bff
Merge PR #22586 into master
...
* refs/pull/22586/head:
global/signal_handler: one less frame of context
global/signal_handler: write crash dumps to /var/lib/ceph/crash/$uuid/
common/ceph_context: add "assert" and "abort" asok commands
common/assert: record assert info in g_assert_* globals
common: add crash_dir option
common/assert: get rid of duplicate log dump from assert handler
common/BackTrace: add dump()
log: do not discard recent after dumping it
debian,rpm: /var/lib/ceph/crash
2018-06-22 13:00:35 -05:00
Sage Weil
69cbbf6d88
Merge PR #22610 into master
...
* refs/pull/22610/head:
os/bluestore: fix length overflow.
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-06-22 13:00:30 -05:00
Sage Weil
8ca6fad099
Merge PR #22630 into master
...
* refs/pull/22630/head:
osd/OSDMap.cc: move sanity checks to the proper place
osd/OSDMap.cc: remove pg_upmap/pg_upmap_items too if osd is gone
Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-22 13:00:25 -05:00
Sage Weil
37d20dfdc5
Merge PR #22661 into master
...
* refs/pull/22661/head:
mgr: remove unused [get|set]_store_json fns
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
2018-06-22 13:00:20 -05:00
Sage Weil
0ff66fa47c
githubmap: update contributors
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-22 13:00:19 -05:00
Yuri Weinstein
ef91aef78e
qa/tests - added all supported distro to the mix, so we can track stats across diff OSes
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-06-22 09:13:11 -07:00
Yunchuan Wen
56c8e126a6
osd: update clone_overlap even the clone have been evicted
...
the clone_overlap is difference of range between head and clones.
if the clone have been evicted, the clone_overlap is still exist in the
snapset, so we should update the clone_overlap to make it sense.
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
2018-06-22 21:55:41 +08:00
Ilya Dryomov
8b3f3c8d38
Merge pull request #22665 from idryomov/wip-krbd-lvcreate-args
...
qa: krbd_msgr_segments.t: filter lvcreate output
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-06-22 15:51:20 +02:00
Casey Bodley
cc9207745c
Merge pull request #22217 from tianshan/fix_dir_suggest_changes
...
rgw: fix index update in dir_suggest_changes
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-06-22 09:48:41 -04:00
Casey Bodley
16c7f5e346
Merge pull request #22344 from neurodrone/add_usage_log_entry_dencoder
...
cls/rgw: ready rgw_usage_log_entry for extraction via ceph-dencoder
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-06-22 09:47:36 -04:00
Casey Bodley
ecd6c336b2
Merge pull request #22410 from mkogan1/wip-rgw-t23379
...
rgw: remove expired entries from the cache
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-06-22 09:46:31 -04:00
Casey Bodley
53ddac6e06
Merge pull request #22440 from yehudasa/wip-24117
...
cls/rgw: don't assert in decode_list_index_key()
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-06-22 09:44:58 -04:00
Casey Bodley
4181b03d8c
Merge pull request #22249 from cbodley/wip-qa-rgw-verify-tasks
...
qa/rgw: reorganize verify tasks
Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-22 09:43:25 -04:00
Lenz Grimmer
3de6fc51fa
Merge pull request #22601 from tspmelo/wip-confirmation-modal
...
mgr/dashboard: Add shared Confirmation Modal
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-22 13:54:24 +02:00
Lenz Grimmer
e57aa30635
Merge pull request #22639 from tspmelo/wip-node-version
...
mgr/dashboard: Update node version
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-22 13:50:48 +02:00
John Spray
8681429a6b
Merge pull request #22654 from dmick/wip-mgr-store-doc
...
mgr/mgr_module.py: fix doc for set_store/set_store_json
Reviewed-by: John Spray <john.spray@redhat.com>
2018-06-22 09:44:21 +01:00
Josh Durgin
a83a8b3aa9
Merge pull request #22666 from yuriw/wip-yuriw-crontab
...
qa/tests - added luminous-p2p suite to the schedule
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-06-21 17:02:36 -07:00
Yuri Weinstein
9dae20e08d
qa/tests - added luminous-p2p suite to the schedule
...
(Merge after https://github.com/ceph/ceph/pull/22474 is merged)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-06-21 15:21:26 -07:00
Sage Weil
cf7beba662
Merge pull request #22536 from yuriw/wip-yuriw-distros-master
...
qa/tests: changed disto symlink to point to new way using supported OS'es
2018-06-21 17:08:12 -05:00