1
0
mirror of https://github.com/ceph/ceph synced 2024-12-20 02:13:04 +00:00
Commit Graph

87137 Commits

Author SHA1 Message Date
Jason Dillaman
f692fd3581 doc/rbd: corrected OpenStack Cinder permissions for Glance pool
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-06 14:50:24 -04:00
Mykola Golub
4551a90b18
Merge pull request from dillaman/wip-23516
librbd: commit IO as safe when complete if writeback cache is disabled

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-06-02 09:47:16 +03:00
Mykola Golub
c00879362d
Merge pull request from dillaman/wip-24169
rbd-mirror: ensure daemon can cleanly exit if pool is deleted

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-06-02 09:43:35 +03:00
Alfredo Deza
0da1b40df7
Merge pull request from thmour/thmour_ceph-volume
ceph-volume: sort and align `lvm list` output

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-06-01 11:50:29 -04:00
Kefu Chai
2fb2a13272
Merge pull request from tchaikov/wip-cmake-rgw
cmake: rgw_common should depend on tracing headers

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2018-06-01 21:56:46 +08:00
Sage Weil
30aaa74ea2
Merge pull request from tchaikov/wip-doc
doc: fix the links in releases/schedule.rst

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-01 08:15:29 -05:00
Kefu Chai
b1640bc2a1 cmake: rgw_common should depend on tracing headers
see also: 4c0d3531

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-01 20:38:49 +08:00
Matt Benjamin
7fe9143a4f
Merge pull request from cbodley/wip-rgw-cache-time-added
rgw: update ObjectCacheInfo::time_added on overwrite
2018-06-01 08:25:31 -04:00
Mykola Golub
f60746934a
Merge pull request from dillaman/wip-23512
librbd: utilize the journal disabled policy when removing images

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-06-01 14:00:15 +03:00
Kefu Chai
776329abe1 doc: fix some redirected links reported by "build-doc linkcheck"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-01 17:00:06 +08:00
Kefu Chai
27aac7c36c doc: fix the links in releases/schedule.rst
they were broken in e37e49b2

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-01 17:00:06 +08:00
Kefu Chai
d96e20321f
Merge pull request from LenzGr/documentation-fixes
doc: fixed restful mgr module SSL configuration commands

Reveiwed-by: John Spray <john.spray@redhat.com>
2018-06-01 16:12:19 +08:00
Kefu Chai
fca7b44bfd
Merge pull request from jan--f/cmake-fix-ceph-test-build
cmake: fix cython target in test/CMakeFile.txt

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-01 15:22:54 +08:00
Kefu Chai
a6a0cf1dfc
Merge pull request from MahatiC/wip-doc-zipkin
doc: update blkin changes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-01 15:22:23 +08:00
Kefu Chai
f1a2605851
Merge pull request from TommyLike/bug/fix_typo
test/encoding: Fix typo in encoding/types.h file

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-01 15:22:00 +08:00
Kefu Chai
bb2025020e
Merge pull request 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>
2018-06-01 14:15:40 +08:00
Kefu Chai
72e880e500
Merge pull request 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>
2018-06-01 14:05:51 +08:00
Kefu Chai
2a575da04c
Merge pull request from majianpeng/bluestore-cleanup
os/bluestore: remove useless condtion.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-06-01 14:04:56 +08:00
Kefu Chai
eb8c5e552e
Merge pull request from ovh/bp-reduce-bs-bl-rebuilds
os/bluestore/BlueFS: reduce bufferlist rebuilds during WAL writes

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-06-01 12:15:55 +08:00
Kefu Chai
4ddd1d0f3b
Merge pull request 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>
2018-06-01 12:14:59 +08:00
Kefu Chai
7f65452cc5
Merge pull request 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>
2018-06-01 08:06:40 +08:00
Jason Dillaman
69645f5433 rbd-mirror: attempt to re-acquire leader lock if watcher recovered
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-31 19:18:49 -04:00
Jason Dillaman
cb6712b0d9 librbd: ensure managed lock can shut down if stuck waiting for register
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-31 19:18:49 -04:00
Jason Dillaman
2c451a04f9 qa/workunits/rbd: dump long image directory upon rbd-mirror test failure
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-31 19:17:52 -04:00
Abhishek L
d5b83f14f4
Merge pull request from theanalyst/releases/mimic/13.2
doc: release/mimic: correct the changelog to the latest version
2018-06-01 00:40:56 +02:00
Josh Durgin
11aa333ff2
Merge pull request from neha-ojha/wip-async-up
osd/PG: do not choose stray osds as async_recovery_targets

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-31 11:07:50 -07:00
Kefu Chai
8b07815b01
Merge pull request from mogeb/bluestore-mono-clock
os/bluestore: use the monotonic clock for perf counters latencies

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-06-01 00:20:41 +08:00
Kefu Chai
ebd93038dd
Merge pull request from rjfd/wip-dashboard-rest-methods
mgr/dashboard: rest: add support for query params

Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-01 00:17:27 +08:00
Kefu Chai
ea97a8ec3f
Merge pull request from hjwsm1989/wip-21756
osd: don't check overwrite flag when handling copy-get

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-01 00:15:53 +08:00
Kefu Chai
60f074fb06 mon: enable level_compaction_dynamic_level_bytes for rocksdb
Fixes: http://tracker.ceph.com/issues/24361
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-31 23:04:16 +08:00
Jason Dillaman
21ec764499 qa/tasks: rbd_mirror_thrash should wait for daemon exit before restarting
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-31 09:48:47 -04:00
Kefu Chai
a6c9401a8c
Merge pull request from zhongyimao/cleanup
doc: fix typos

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-31 21:30:08 +08:00
Jason Dillaman
a27269ab95 librbd: commit IO as safe when complete if writeback cache is disabled
We do not need to flush IO to ensure its safe if the writeback cache is
disabled when performing a journal replay. Instead, immediately mark the
IO as safe and let the journal's periodic commit throttle handle updating
the position.

Fixes: http://tracker.ceph.com/issues/23516
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-31 09:29:00 -04:00
Mao Zhongyi
831cbfb285 SubmittingPatches: fix the spelling error
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
2018-05-31 20:35:39 +08:00
Mao Zhongyi
6ca6133a59 librados: fix the spelling error
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
2018-05-31 20:35:39 +08:00
Mao Zhongyi
5d38acbab7 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>
2018-05-31 20:35:03 +08:00
Jianpeng Ma
0aded22da5 os/bluestore: remove useless condtion.
onode must not be null in this func.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-05-31 19:08:32 +08:00
Mahati Chamarthy
08256eb94d doc: update blkin changes
Update blkin and zipkin changes to reflect current state

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
2018-05-31 15:10:08 +05:30
Lenz Grimmer
14dc5afcf9
Merge pull request 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>
2018-05-31 11:11:22 +02:00
Theofilos Mouratidis
209afb54ad ceph-volume: sort and align output
This commit targets the `ceph-volume lvm list` command.
The output is sorted by the osd id and each device's
attributed are sorted, so the ceph operators can find
relevant information easier. The devices (block,db,..etc)
are now properly aligned.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
2018-05-31 10:49:57 +02:00
TommyLike
f8cf8f4f52 test/encoding: Fix typo in encoding/types.h file
Fix typo in encoding/types.h fie

Signed-off-by: TommyLike <tommylikehu@gmail.com>
2018-05-31 14:13:42 +08:00
Kefu Chai
8aa592c46e
Merge pull request from tchaikov/wip-20924
osd,mon,msg: use intrusive_ptr for holding Connection::priv

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-31 13:31:03 +08:00
Neha Ojha
d96732d244 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>
2018-05-30 16:02:08 -07:00
Kefu Chai
72883956c2 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>
2018-05-31 01:32:56 +08:00
Boris Ranto
9d317e5d23
Merge pull request 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>
2018-05-30 17:15:41 +02:00
Lenz Grimmer
a67681be3c
Merge pull request 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>
2018-05-30 17:14:02 +02:00
Jason Dillaman
cc6ef6d57a librbd: utilize the journal disabled policy when removing images
Fixes: http://tracker.ceph.com/issues/23512
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-30 10:34:48 -04:00
Boris Ranto
7f468f4d51 doc/prometheus: Mention the long running avg types
Signed-off-by: Boris Ranto <branto@redhat.com>
2018-05-30 16:13:36 +02:00
Boris Ranto
674118b6f6 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>
2018-05-30 16:13:36 +02:00
Boris Ranto
f79ff11302 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>
2018-05-30 16:13:36 +02:00