Commit Graph

86289 Commits

Author SHA1 Message Date
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
Gu Zhongyan
35a4b5072f osd: drop unused osd_disk_tp related options
disk_tp has been killed. So those are unused.

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-04-26 11:40:45 +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
Jason Dillaman
1bc6f31f8f osdc/Objecter: prevent double-invocation of linger op callback
Fixes: http://tracker.ceph.com/issues/23872
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-25 13:23:00 -04:00
Sage Weil
754dd93383
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>
2018-04-25 11:20:17 -05:00
Yehuda Sadeh
a3ad431717 rgw: cloud sync crf: delete requests
Beside fixing a leak, this also cancels the pending request and
any future callback (that would crash). Updated the interface
to allow explicit request cancellation.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-25 09:03:53 -07:00
Yehuda Sadeh
0962420932 rgw: rework rest client to handle meta attributes
Some cleanup around the rest client, and fix cloud sync code to
send the meta attributes to the remote endpoint. Earlier we didn't
do it correctly when dealing with sync that uses multipart upload.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-25 09:03:53 -07:00
Yehuda Sadeh
6bf28456b7 rgw: cloud sync via multipart upload, send attrs on init
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-25 09:03:53 -07:00
Yehuda Sadeh
af4dff8ee0 rgw: cr_rest: write crf returns status when finished
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-25 09:03:53 -07:00
Yehuda Sadeh
6caa02b29a rgw: splice cr: don't wake up writer continuously
Just send a notification to the writer once we passed a threshold. With
a slow writer we'd wake it up continuously while it's waiting for
the data to flush.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-25 09:03:53 -07:00
Yehuda Sadeh
2ed2ed212a rgw: don't append headers twice
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-25 09:03:53 -07:00
Sage Weil
60958b32d5
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>
2018-04-25 10:57:48 -05:00
Yehuda Sadeh
4ccef2b40b rgw: don't sent -ENOENT when listing meta section
The otp and user sections (unlike the bucket and bucket.index
sections) returned -ENOENT when section was empty. Just return
empty result.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-25 08:50:32 -07:00
Yehuda Sadeh
b961adca34 rgw: meta sync: ignore -ENOENT when listing meta section
Fixes: http://tracker.ceph.com/issues/23859

Treat ENOENT as a valid response.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-25 08:50:18 -07:00
Sage Weil
f2d8819caf
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>
2018-04-25 10:49:56 -05:00
Sage Weil
50dfe7384f
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>
2018-04-25 10:49:13 -05:00
Sage Weil
abd743743e
Merge pull request #21623 from liewegas/wip-21977
osd: publish osdmap to OSDService before starting wq threads

Reviewed-by: David Zafman <dzafman@redhat.com>
2018-04-25 10:47:53 -05:00
Sage Weil
e331311b87 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>
2018-04-25 10:33:52 -05:00
Alfredo Deza
009d49a4f5 doc/ceph-volume include information for devices in listing
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-25 10:48:45 -04:00
Yaarit Hatuka
b19e11a6c8 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>
2018-04-25 10:37:09 -04:00
Alfredo Deza
f57cc594c2 ceph-volume tests verify associated pvs reporting on listing
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-25 09:51:09 -04:00
Alfredo Deza
08dea1b7d1 ceph-volume tests update to include devices on listing
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-25 09:51:09 -04:00
Alfredo Deza
be1e6c2ae9 ceph-volume lvm.listing include associated physical devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-25 09:51:09 -04:00
Sage Weil
52edad1e23
Merge pull request #21626 from cbodley/wip-23846
mgrc: free MMgrClose in handle_mgr_close

Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-25 08:24:41 -05:00
Mykola Golub
808503f4d9
Merge pull request #21541 from dillaman/wip-18753
qa: introduce rbd-mirror thrasher to existing tests

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-04-25 16:07:16 +03:00
Kefu Chai
005fe21e1d
Merge pull request #21632 from tchaikov/wip-rocksdb-no-aligned-alloc
rocksdb: do not use aligned_alloc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-25 20:47:48 +08:00
Casey Bodley
7427cc43ff
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>
2018-04-25 08:26:25 -04:00
Jan Fajerski
2eb0b41407 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>
2018-04-25 14:24:32 +02:00
Casey Bodley
ce85a73b7a
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>
2018-04-25 08:22:35 -04:00
Casey Bodley
38da3ab182
Merge pull request #21569 from cbodley/wip-23803
rgw: aws4 auth supports PutBucketRequestPayment

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2018-04-25 08:21:47 -04:00
Casey Bodley
c6f88237d9
Merge pull request #20212 from tianshan/fix_period_pull
rgw: do not reflect period if not current

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-25 08:21:15 -04:00
Casey Bodley
11a78f844a
Merge pull request #20796 from theanalyst/rgw/es-cs-fix
rgw: es module: set compression type correctly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-25 08:20:46 -04:00
Casey Bodley
4aa481084f
Merge pull request #21500 from yehudasa/wip-23779
rgw: encoding fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-25 08:20:01 -04:00
Casey Bodley
4e2ddee530
Merge pull request #21534 from cbodley/wip-23480
rgw: move all pool creation into rgw_init_ioctx

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-04-25 08:19:33 -04:00
Casey Bodley
df17c66499
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>
2018-04-25 08:18:46 -04:00
Lenz Grimmer
f14ac55710
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>
2018-04-25 14:00:39 +02:00
zhengyin
086ead0656 tools: correct total size formatting
Signed-off-by: Zheng Yin <zhengyin@huayun.com>
2018-04-25 19:03:36 +08:00
Volker Theile
b29d3d56c7 Use bootstrap alert.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-25 13:02:32 +02:00
Volker Theile
3fc274867a mgr/dashboard: Add cd-error-panel component to display error messages.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-25 13:02:32 +02:00
Volker Theile
901682e622 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>
2018-04-25 12:55:19 +02:00