]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agorgw: add radosgw-admin sync error trim to trim sync error log 19854/head
fang yuxiang [Tue, 9 Jan 2018 03:03:52 +0000 (11:03 +0800)]
rgw: add radosgw-admin sync error trim to trim sync error log

Signed-off-by: fang yuxiang fang.yuxiang@eisoo.com
7 years agoMerge pull request #19691 from MrStupnikov/fix_logic
Kefu Chai [Wed, 27 Dec 2017 10:53:22 +0000 (18:53 +0800)]
Merge pull request #19691 from MrStupnikov/fix_logic

doc: Improved hitset parameters description

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: Improve parameters description in cache_tiering article 19691/head
Alexey Stupnikov [Tue, 26 Dec 2017 13:40:31 +0000 (16:40 +0300)]
doc: Improve parameters description in cache_tiering article

hit_set parameters aren't described in a sequence they introduced.
This patch effecrively changes the sequence to improve
description's logic.

Signed-off-by: Alexey Stupnikov <aleksey.stupnikov@gmail.com>
7 years agoMerge pull request #19690 from Songweibin/wip-doc-librbdpy
Kefu Chai [Wed, 27 Dec 2017 02:52:18 +0000 (10:52 +0800)]
Merge pull request #19690 from Songweibin/wip-doc-librbdpy

doc/rbd: correct the path of librbd python APIs

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: correct the path of librbd python APIs 19690/head
songweibin [Tue, 26 Dec 2017 11:59:17 +0000 (19:59 +0800)]
doc: correct the path of librbd python APIs

* update the API Documentation page for librbdpy with the
  correct path.
* fix a typo.

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoMerge pull request #19255 from JianyuLi/joa-mdbalancer
Yan, Zheng [Tue, 26 Dec 2017 08:46:17 +0000 (16:46 +0800)]
Merge pull request #19255 from JianyuLi/joa-mdbalancer

MDS: make rebalancer evaluate the overload state of each mds with the same criterion

7 years agoMerge pull request #19591 from qrGitHub/wip-rgw-unused-variable3
Jos Collin [Tue, 26 Dec 2017 04:18:49 +0000 (04:18 +0000)]
Merge pull request #19591 from qrGitHub/wip-rgw-unused-variable3

rgw: drop marker in RGWLC::process()

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #19675 from qrGitHub/wip-rgw-typo-complete
Jos Collin [Tue, 26 Dec 2017 03:33:43 +0000 (03:33 +0000)]
Merge pull request #19675 from qrGitHub/wip-rgw-typo-complete

rgw: fix typo compete to complete

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agorgw: fix typo compete to completes 19675/head
Bingyin Zhang [Mon, 25 Dec 2017 08:15:51 +0000 (16:15 +0800)]
rgw: fix typo compete to completes

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agoMerge pull request #19583 from qrGitHub/wip-rgw-unused-variable
Jos Collin [Mon, 25 Dec 2017 03:12:12 +0000 (03:12 +0000)]
Merge pull request #19583 from qrGitHub/wip-rgw-unused-variable

rgw: drop iter in rgw_op.cc

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #19667 from trociny/wip-affiliation
Xie Xingguo [Mon, 25 Dec 2017 00:32:57 +0000 (08:32 +0800)]
Merge pull request #19667 from trociny/wip-affiliation

mailmap: update affiliation for Mykola Golub

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agorgw: remove unused variable iter in file rgw_op.cc 19583/head
Bingyin Zhang [Sun, 24 Dec 2017 23:20:45 +0000 (07:20 +0800)]
rgw: remove unused variable iter in file rgw_op.cc

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agoMerge pull request #19618 from dillaman/wip-18435
Mykola Golub [Sun, 24 Dec 2017 18:13:30 +0000 (20:13 +0200)]
Merge pull request #19618 from dillaman/wip-18435

librbd: filter out potential race with image rename

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agomailmap: update affiliation for Mykola Golub 19667/head
Mykola Golub [Sun, 24 Dec 2017 14:49:38 +0000 (16:49 +0200)]
mailmap: update affiliation for Mykola Golub

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #19536 from dillaman/wip-rbd-mirror-trash
Mykola Golub [Sun, 24 Dec 2017 14:16:42 +0000 (16:16 +0200)]
Merge pull request #19536 from dillaman/wip-rbd-mirror-trash

rbd-mirror: support deferred deletions of mirrored images

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #19623 from chnmagnus/wip-a-tiny-error
Xie Xingguo [Sat, 23 Dec 2017 01:44:41 +0000 (09:44 +0800)]
Merge pull request #19623 from chnmagnus/wip-a-tiny-error

msg: drop duplicate include

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #19601 from adamemerson/wip-CORS-of-course
Matt Benjamin [Fri, 22 Dec 2017 09:40:30 +0000 (04:40 -0500)]
Merge pull request #19601 from adamemerson/wip-CORS-of-course

rgw: retry CORS put/delete operations on ECANCELLED

7 years agoMerge PR #19369 into master
Patrick Donnelly [Fri, 22 Dec 2017 04:21:18 +0000 (20:21 -0800)]
Merge PR #19369 into master

* refs/pull/19369/head:
qa: update handling of fs status format
PendingReleaseNotes: add note for format change
mds/MDSMap : use arrary_section for mds stat

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
7 years agogithubmap: update contributors
Patrick Donnelly [Fri, 22 Dec 2017 04:20:57 +0000 (20:20 -0800)]
githubmap: update contributors

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19378 into master
Patrick Donnelly [Fri, 22 Dec 2017 04:20:07 +0000 (20:20 -0800)]
Merge PR #19378 into master

* refs/pull/19378/head:
mds,rgw: Initializing standby_reply, sync_tracer

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #19556 into master
Patrick Donnelly [Fri, 22 Dec 2017 04:20:02 +0000 (20:20 -0800)]
Merge PR #19556 into master

* refs/pull/19556/head:
mds: reduce debugging level for balancer messages

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19574 into master
Patrick Donnelly [Fri, 22 Dec 2017 04:19:57 +0000 (20:19 -0800)]
Merge PR #19574 into master

* refs/pull/19574/head:
mds: track dirty dentries in separate list

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19587 into master
Patrick Donnelly [Fri, 22 Dec 2017 04:19:53 +0000 (20:19 -0800)]
Merge PR #19587 into master

* refs/pull/19587/head:
mds: add "client." before cap->get_client()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19609 into master
Patrick Donnelly [Fri, 22 Dec 2017 04:19:48 +0000 (20:19 -0800)]
Merge PR #19609 into master

* refs/pull/19609/head:
mds: respect mds_client_writeable_range_max_inc_objs config

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19633 into master
Patrick Donnelly [Fri, 22 Dec 2017 04:19:44 +0000 (20:19 -0800)]
Merge PR #19633 into master

* refs/pull/19633/head:
ceph_volume_client: fix usage of get_mds_map()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19580 from cbodley/wip-22473
Matt Benjamin [Thu, 21 Dec 2017 19:51:59 +0000 (14:51 -0500)]
Merge pull request #19580 from cbodley/wip-22473

rgw: dont log EBUSY errors in 'sync error list'

7 years agoMerge pull request #19455 from mkogan1/wip-rgw-swift_container_create_mem_inc
Matt Benjamin [Thu, 21 Dec 2017 19:29:57 +0000 (14:29 -0500)]
Merge pull request #19455 from mkogan1/wip-rgw-swift_container_create_mem_inc

rgw: fix chained cache invalidation to prevent cache size growth

7 years agoqa: update handling of fs status format 19369/head
Patrick Donnelly [Wed, 20 Dec 2017 00:12:28 +0000 (16:12 -0800)]
qa: update handling of fs status format

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoceph_volume_client: fix usage of get_mds_map() 19633/head
Ramana Raja [Thu, 21 Dec 2017 12:51:23 +0000 (18:21 +0530)]
ceph_volume_client: fix usage of get_mds_map()

get_mds_map() is an instance method, and not a global
function. Use it as such.

Fixes: http://tracker.ceph.com/issues/22524
Signed-off-by: Ramana Raja <rraja@redhat.com>
7 years agomds: track dirty dentries in separate list 19574/head
Yan, Zheng [Mon, 18 Dec 2017 08:48:51 +0000 (16:48 +0800)]
mds: track dirty dentries in separate list

this should improve performance of large directory

Fixes: http://tracker.ceph.com/issues/19578
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomsg: the #include "include/assert.h" statement is repeated in src/msg/Dispatcher.h 19623/head
/bin/bash [Thu, 21 Dec 2017 09:28:43 +0000 (17:28 +0800)]
msg: the #include "include/assert.h" statement is repeated in src/msg/Dispatcher.h

Signed-off-by: chnmagnus chnmagnus@qq.com
7 years agoPendingReleaseNotes: add note for format change
Patrick Donnelly [Wed, 20 Dec 2017 00:13:48 +0000 (16:13 -0800)]
PendingReleaseNotes: add note for format change

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorgw: retry CORS put/delete operations on ECANCELLED 19601/head
Adam C. Emerson [Tue, 19 Dec 2017 17:53:05 +0000 (12:53 -0500)]
rgw: retry CORS put/delete operations on ECANCELLED

Fixes: http://tracker.ceph.com/issues/22517
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agolibrbd: filter out potential race with image rename 19618/head
Jason Dillaman [Wed, 20 Dec 2017 21:55:06 +0000 (16:55 -0500)]
librbd: filter out potential race with image rename

Fixes: http://tracker.ceph.com/issues/18435
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge remote-tracking branch 'gh/mimic-dev1'
Sage Weil [Wed, 20 Dec 2017 21:08:30 +0000 (15:08 -0600)]
Merge remote-tracking branch 'gh/mimic-dev1'

7 years agoMerge pull request #19600 from liewegas/wip-mimic-trusty-backports
Sage Weil [Wed, 20 Dec 2017 20:58:32 +0000 (14:58 -0600)]
Merge pull request #19600 from liewegas/wip-mimic-trusty-backports

qa: mimic-dev1 backports to avoid trusty nodes

7 years agoMerge pull request #19544 from tchaikov/mimic-qa-pass-options-the-right-way
Sage Weil [Wed, 20 Dec 2017 20:57:38 +0000 (14:57 -0600)]
Merge pull request #19544 from tchaikov/mimic-qa-pass-options-the-right-way

qa/stanalone: pass options using --<option-name>=<value>

Revewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19617 from liewegas/wip-rbd-socket-failures
Sage Weil [Wed, 20 Dec 2017 20:47:26 +0000 (14:47 -0600)]
Merge pull request #19617 from liewegas/wip-rbd-socket-failures

qa/suites/rbd: fewer socket failures

7 years agoqa/suites/rbd: fewer socket failures 19617/head
Sage Weil [Wed, 20 Dec 2017 20:17:08 +0000 (14:17 -0600)]
qa/suites/rbd: fewer socket failures

500 makes the mgr fail.  Fewer failures, and whitelist them if they
happen.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19508 from cfanz/wip-mulizone-correct-comment
Casey Bodley [Wed, 20 Dec 2017 15:37:34 +0000 (10:37 -0500)]
Merge pull request #19508 from cfanz/wip-mulizone-correct-comment

rgw: correct log output for metadata section name in RGWListBucketIndexesCR

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19604 from dillaman/wip-22485
Mykola Golub [Wed, 20 Dec 2017 13:45:36 +0000 (15:45 +0200)]
Merge pull request #19604 from dillaman/wip-22485

qa/workunits/rbd: simplify split-brain test to avoid potential race

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agomds: add "client." before cap->get_client() 19587/head
root [Tue, 19 Dec 2017 04:29:55 +0000 (12:29 +0800)]
mds: add "client." before cap->get_client()

 unify the log and make it easy to search
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
7 years agosimplify mds overload judgement logic 19255/head
Jianyu Li [Tue, 12 Dec 2017 07:20:44 +0000 (15:20 +0800)]
simplify mds overload judgement logic

Signed-off-by: Jianyu Li <joannyli@tencent.com>
7 years agoMake MDS evaluates the overload situation with the same criterion
Jianyu Li [Thu, 30 Nov 2017 10:57:40 +0000 (18:57 +0800)]
Make MDS evaluates the overload situation with the same criterion

Currently, the prep_rebalancer requires the mds_load of itself
being greater than average level mds_bal_min_rebalance percent
to be counted as exporter, however, for the other mds, as long
as their mdsload is greater than average level, they could be
consider as exporter. This inconsistent standard would cause
gray area in the rebalance activity: one may expect the other
do some work, but it didn't. With the increasing amount of mds,
this inconsistent decision would get worse and affects the
optimization effect of rebalancer.

Signed-off-by: Jianyu Li <joannyli@tencent.com>
7 years agoMerge pull request #19608 from luomuyao/dev
Jos Collin [Wed, 20 Dec 2017 05:01:16 +0000 (05:01 +0000)]
Merge pull request #19608 from luomuyao/dev

rgw: fix a typo in comment

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agomds: respect mds_client_writeable_range_max_inc_objs config 19609/head
Yan, Zheng [Wed, 20 Dec 2017 01:56:50 +0000 (09:56 +0800)]
mds: respect mds_client_writeable_range_max_inc_objs config

get_layout_size_increment() return layout.get_period(). A period
contain layout.stripe_count objects.

The config is for limiting number of objects need to probe when
recovering a file.

Fixes: http://tracker.ceph.com/issues/22492
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agocleanup: rgw: fix a typo in comment 19608/head
luomuyao [Wed, 20 Dec 2017 01:43:08 +0000 (09:43 +0800)]
cleanup: rgw: fix a typo in comment

Signed-off-by: luomuyao <luo.muyao@zte.com.cn>
7 years agoMerge PR #19424 into master
Patrick Donnelly [Wed, 20 Dec 2017 01:08:09 +0000 (17:08 -0800)]
Merge PR #19424 into master

* refs/pull/19424/head:
osdc/Journaler: introduce STATE_STOPPING state
osdc/Journaler: add 'stopping' check to various finish callbacks

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18898 from Leeshine/wip-rgw-bug-22080
Casey Bodley [Tue, 19 Dec 2017 22:26:18 +0000 (17:26 -0500)]
Merge pull request #18898 from Leeshine/wip-rgw-bug-22080

rgw: create sync-module instance when execute radosgw-admin data sync run

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoqa/workunits/rbd: simplify split-brain test to avoid potential race 19604/head
Jason Dillaman [Tue, 19 Dec 2017 21:29:18 +0000 (16:29 -0500)]
qa/workunits/rbd: simplify split-brain test to avoid potential race

Fixes: http://tracker.ceph.com/issues/22485
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19456 from liewegas/wip-22373
Sage Weil [Tue, 19 Dec 2017 17:55:07 +0000 (11:55 -0600)]
Merge pull request #19456 from liewegas/wip-22373

qa/standalone/ceph-helpers: pass --verbose to ceph-disk

7 years agoMerge pull request #19584 from qrGitHub/wip-rgw-unused-variable2
Casey Bodley [Tue, 19 Dec 2017 17:35:52 +0000 (12:35 -0500)]
Merge pull request #19584 from qrGitHub/wip-rgw-unused-variable2

rgw: drop variable bl in rgw_op.cc

Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17967 from tone-zhang/bug_21554
Yuri Weinstein [Tue, 19 Dec 2017 17:34:17 +0000 (09:34 -0800)]
Merge pull request #17967 from tone-zhang/bug_21554

rgw: add "Accept-Ranges" to response header of Swift API

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
7 years agoMerge pull request #19274 from badone/wip-rgw_sync_log_trim-uninit-errors
Yuri Weinstein [Tue, 19 Dec 2017 17:33:12 +0000 (09:33 -0800)]
Merge pull request #19274 from badone/wip-rgw_sync_log_trim-uninit-errors

rgw: Silence maybe-uninitialized false positives

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19310 from qrGitHub/wip-rgw-auth-retVal
Yuri Weinstein [Tue, 19 Dec 2017 17:32:53 +0000 (09:32 -0800)]
Merge pull request #19310 from qrGitHub/wip-rgw-auth-retVal

rgw: fix return value of auth v2/v4

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge pull request #19401 from yaozongyou/rgw-admin-improve-bucket-stats
Yuri Weinstein [Tue, 19 Dec 2017 17:32:34 +0000 (09:32 -0800)]
Merge pull request #19401 from yaozongyou/rgw-admin-improve-bucket-stats

rgw-admin: properly filtering bucket stats by user_id or bucket_name

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19474 from qrGitHub/wip-rgw-redundant-S3AnonymousEngine
Yuri Weinstein [Tue, 19 Dec 2017 17:31:48 +0000 (09:31 -0800)]
Merge pull request #19474 from qrGitHub/wip-rgw-redundant-S3AnonymousEngine

rgw: remove redundant S3AnonymousEngine

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge pull request #19511 from qrGitHub/wip-rgw-optimize-timeSkewCheck
Yuri Weinstein [Tue, 19 Dec 2017 17:31:28 +0000 (09:31 -0800)]
Merge pull request #19511 from qrGitHub/wip-rgw-optimize-timeSkewCheck

rgw: optimize time skew check

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agotest/docker-test: drop support for ubuntu 14.04 and centos 6 19600/head
Kefu Chai [Mon, 4 Dec 2017 05:05:49 +0000 (13:05 +0800)]
test/docker-test: drop support for ubuntu 14.04 and centos 6

* we cannot build on centos 6. and we are dropping the support for ubuntu
  14.04 also.
* add ubuntu 17.04: this release is not a LTS release, and added merely for
  demostration purpose.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 1acfa03ef922044ae68d37e580a296c7e9c37913)

7 years agoqa/suites/hadoop: switch from trusty to ubuntu latest
Kefu Chai [Mon, 4 Dec 2017 04:51:10 +0000 (12:51 +0800)]
qa/suites/hadoop: switch from trusty to ubuntu latest

use the ubuntu_face.yaml facet for the distro used for testing. since we
are dropping the support for trusty.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit dbe33502cbc0f69f54c2a467fa0bade585214389)

7 years agoqa/suites/fs: use ubuntu_latest for multiclient tasks
Kefu Chai [Mon, 4 Dec 2017 04:46:09 +0000 (12:46 +0800)]
qa/suites/fs: use ubuntu_latest for multiclient tasks

instead of using ubuntu 14.04, since we want to drop the support of this
release.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 88311be4393586ae7f92862edebad907ee3a133f)

7 years agoqa/suites/fs: use ubuntu_latest for libcephfs_java
Kefu Chai [Mon, 4 Dec 2017 04:39:50 +0000 (12:39 +0800)]
qa/suites/fs: use ubuntu_latest for libcephfs_java

* instead of using ubuntu 14.04, use ubuntu_latest.since we want
  to drop the support of this release.
* refactor this test to use the facet of ubuntu_latest.yaml.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit aa89bb2f93a0ee7b26dff3972f09c64529054744)

7 years agoqa/tasks: remove test_buildpackages
Kefu Chai [Mon, 4 Dec 2017 03:43:37 +0000 (11:43 +0800)]
qa/tasks: remove test_buildpackages

the buildpackages feature is not part of ceph. and its test was moved to
teuthology in 5a43f8d5. let's remove the leftovers from ceph/ceph. BTW,
we have not run this test suite since then. and its dependency cannot be
fulfilled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 582f04508faa89b5d53cac9fe41e47f2b3d2e6aa)

7 years agoMerge pull request #19576 from qrGitHub/wip-rgw-log-adjustment
Casey Bodley [Tue, 19 Dec 2017 15:41:53 +0000 (10:41 -0500)]
Merge pull request #19576 from qrGitHub/wip-rgw-log-adjustment

rgw: adjust log format for lifecycle

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
7 years agoMerge pull request #19043 from liewegas/wip-22161
Sage Weil [Tue, 19 Dec 2017 15:33:30 +0000 (09:33 -0600)]
Merge pull request #19043 from liewegas/wip-22161

os/bluestore: prevent mount if osd_max_object_size >= 4G

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19273 from qrGitHub/wip-rgw-typo-UNKNOWN
Casey Bodley [Tue, 19 Dec 2017 15:16:34 +0000 (10:16 -0500)]
Merge pull request #19273 from qrGitHub/wip-rgw-typo-UNKNOWN

rgw: correct typo UNKOWN to UNKNOWN

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18196 from liewegas/wip-bluestore-sync-onreadable
Sage Weil [Tue, 19 Dec 2017 14:22:53 +0000 (08:22 -0600)]
Merge pull request #18196 from liewegas/wip-bluestore-sync-onreadable

os/bluestore: synchronous on_applied completions

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agorbd-mirror: propagate deletion only if remote image doesn't exist 19536/head
Jason Dillaman [Tue, 19 Dec 2017 14:22:30 +0000 (09:22 -0500)]
rbd-mirror: propagate deletion only if remote image doesn't exist

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: only the leader should initialize the image deleter
Jason Dillaman [Thu, 14 Dec 2017 22:23:49 +0000 (17:23 -0500)]
rbd-mirror: only the leader should initialize the image deleter

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: image deleter now only removes images from the trash
Jason Dillaman [Thu, 14 Dec 2017 21:47:13 +0000 (16:47 -0500)]
rbd-mirror: image deleter now only removes images from the trash

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: move images to trash when propagating deletions
Jason Dillaman [Thu, 14 Dec 2017 20:36:25 +0000 (15:36 -0500)]
rbd-mirror: move images to trash when propagating deletions

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: integrate trash watcher within image deleter
Jason Dillaman [Wed, 13 Dec 2017 21:30:53 +0000 (16:30 -0500)]
rbd-mirror: integrate trash watcher within image deleter

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: new 'rbd_mirroring_delete_delay' configuration option
Jason Dillaman [Thu, 14 Dec 2017 17:33:05 +0000 (12:33 -0500)]
rbd-mirror: new 'rbd_mirroring_delete_delay' configuration option

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: async mirroring trash move state machine
Jason Dillaman [Thu, 14 Dec 2017 03:53:30 +0000 (22:53 -0500)]
rbd-mirror: async mirroring trash move state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: watch notifications for images added to trash
Jason Dillaman [Wed, 29 Nov 2017 22:26:45 +0000 (17:26 -0500)]
rbd-mirror: watch notifications for images added to trash

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: use one image deleter per pool
Jason Dillaman [Wed, 13 Dec 2017 21:26:08 +0000 (16:26 -0500)]
rbd-mirror: use one image deleter per pool

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: avoid logging an error for expected bootstrap failures
Jason Dillaman [Thu, 14 Dec 2017 19:39:08 +0000 (14:39 -0500)]
rbd-mirror: avoid logging an error for expected bootstrap failures

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: free memory after image deleter fails to open image
Jason Dillaman [Wed, 22 Nov 2017 02:19:35 +0000 (21:19 -0500)]
rbd-mirror: free memory after image deleter fails to open image

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: async journal reset state machine
Jason Dillaman [Thu, 14 Dec 2017 15:18:35 +0000 (10:18 -0500)]
librbd: async journal reset state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: incorporate new trash notification messages
Jason Dillaman [Wed, 29 Nov 2017 20:45:24 +0000 (15:45 -0500)]
librbd: incorporate new trash notification messages

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: watch/notify types for trash add/remove events
Jason Dillaman [Wed, 29 Nov 2017 20:09:13 +0000 (15:09 -0500)]
librbd: watch/notify types for trash add/remove events

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: async trash move state machine
Jason Dillaman [Wed, 22 Nov 2017 03:39:03 +0000 (22:39 -0500)]
librbd: async trash move state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest/librados_test_stub: add mock version of `create`
Jason Dillaman [Thu, 14 Dec 2017 19:09:10 +0000 (14:09 -0500)]
test/librados_test_stub: add mock version of `create`

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19578 from cernceph/dvanders_brm
John Spray [Tue, 19 Dec 2017 11:40:33 +0000 (11:40 +0000)]
Merge pull request #19578 from cernceph/dvanders_brm

mgr/balancer: fix KeyError in balancer rm

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agorgw: remove unused varialbe "marker" in function RGWLC::process 19591/head
Bingyin Zhang [Tue, 19 Dec 2017 09:04:41 +0000 (17:04 +0800)]
rgw: remove unused varialbe "marker" in function RGWLC::process

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agoMerge PR #19534 into mimic-dev1
Patrick Donnelly [Tue, 19 Dec 2017 05:31:35 +0000 (21:31 -0800)]
Merge PR #19534 into mimic-dev1

* refs/pull/19534/head:
qa: don't configure ec data pool with memstore

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoqa: don't configure ec data pool with memstore 19534/head
Patrick Donnelly [Tue, 19 Dec 2017 02:41:31 +0000 (18:41 -0800)]
qa: don't configure ec data pool with memstore

Fixes: http://tracker.ceph.com/issues/22436
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19586 from liewegas/wip-22231
Haomai Wang [Tue, 19 Dec 2017 03:55:32 +0000 (11:55 +0800)]
Merge pull request #19586 from liewegas/wip-22231

Revert "msg/async/AsyncConnection: unregister connection when racing happened"

7 years agoRevert "msg/async/AsyncConnection: unregister connection when racing happened" 19586/head
Sage Weil [Tue, 19 Dec 2017 03:40:06 +0000 (21:40 -0600)]
Revert "msg/async/AsyncConnection: unregister connection when racing happened"

This reverts commit 5216309c25522e9e4a3c3a03ceb927079de91e9b.  Seeing many
many instances of

     0> 2017-12-19 00:04:34.146 7fed2ebc1700 -1 /build/ceph-13.0.0-4128-gc27b472/src/msg/async/AsyncConnection.cc: In function 'void AsyncConnection::process()' thread 7fed2ebc1700 time 2017-12-19 00:04:34.147015
/build/ceph-13.0.0-4128-gc27b472/src/msg/async/AsyncConnection.cc: 726: FAILED assert(0 == "old msgs despite reconnect_seq feature")

 ceph version 13.0.0-4128-gc27b472 (c27b4726c18322825fbc2a58de2759766e332fa6) mimic (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x55ce15c5bab2]
 2: (AsyncConnection::process()+0x25f6) [0x55ce15f347e6]
 3: (EventCenter::process_events(int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*)+0x6e8) [0x55ce15cf5988]
 4: (()+0xb7b965) [0x55ce15cf8965]
 5: (()+0xb8c80) [0x7fed30e02c80]
 6: (()+0x76ba) [0x7fed314f16ba]
 7: (clone()+0x6d) [0x7fed305683dd]

See http://tracker.ceph.com/issues/22231
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agorgw: create sync-module instance when execute radosgw-admin data sync run 18898/head
lvshanchun [Tue, 19 Dec 2017 02:53:06 +0000 (10:53 +0800)]
rgw: create sync-module instance when execute radosgw-admin data sync run

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agorgw: remove unused variable bl in file rgw_op.cc 19584/head
Bingyin Zhang [Tue, 19 Dec 2017 01:37:05 +0000 (09:37 +0800)]
rgw: remove unused variable bl in file rgw_op.cc

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agomds: reduce debugging level for balancer messages 19556/head
Patrick Donnelly [Fri, 15 Dec 2017 22:23:01 +0000 (14:23 -0800)]
mds: reduce debugging level for balancer messages

Fixes: http://tracker.ceph.com/issues/21853
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19129 from qrGitHub/wip-rgw-unused-param
Casey Bodley [Mon, 18 Dec 2017 19:11:43 +0000 (14:11 -0500)]
Merge pull request #19129 from qrGitHub/wip-rgw-unused-param

rgw: remove unused param in get_bucket_instance_policy_from_attr

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18662 from ZVampirEM77/wip-em-rewriteobj
Yuri Weinstein [Mon, 18 Dec 2017 16:48:05 +0000 (08:48 -0800)]
Merge pull request #18662 from ZVampirEM77/wip-em-rewriteobj

rgw: fix rewrite a versioning object create a new object bug

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19131 from theanalyst/usage-trim
Yuri Weinstein [Mon, 18 Dec 2017 16:47:23 +0000 (08:47 -0800)]
Merge pull request #19131 from theanalyst/usage-trim

cls/rgw: trim all usage entries in cls_rgw

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19272 from cfanz/wip2-optimize-get_obj_vals
Yuri Weinstein [Mon, 18 Dec 2017 16:46:32 +0000 (08:46 -0800)]
Merge pull request #19272 from cfanz/wip2-optimize-get_obj_vals

cls_rgw: use more effective container operations in get_obj_vals

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19438 from cbodley/wip-qa-rgw-multisite-trim
Yuri Weinstein [Mon, 18 Dec 2017 16:46:03 +0000 (08:46 -0800)]
Merge pull request #19438 from cbodley/wip-qa-rgw-multisite-trim

qa/rgw: disable log trim in multisite suite

7 years agoMerge pull request #17482 from yaozongyou/rgw-admin-process-all-gc-objects
Yuri Weinstein [Mon, 18 Dec 2017 16:45:08 +0000 (08:45 -0800)]
Merge pull request #17482 from yaozongyou/rgw-admin-process-all-gc-objects

rgw-admin: support for processing all gc objects including unexpired.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: dont log EBUSY errors in 'sync error list' 19580/head
Casey Bodley [Mon, 18 Dec 2017 16:42:21 +0000 (11:42 -0500)]
rgw: dont log EBUSY errors in 'sync error list'

these temporary errors get retried automatically, so no admin
intervention is required. logging them only serves to waste space in
omap and obscure the more serious sync errors

Fixes: http://tracker.ceph.com/issues/22473
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge PR #19234 into master
Patrick Donnelly [Mon, 18 Dec 2017 14:53:03 +0000 (06:53 -0800)]
Merge PR #19234 into master

* refs/pull/19234/head:
mds: handle client session messages when mds is stopping

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>