Commit Graph

81594 Commits

Author SHA1 Message Date
Patrick Donnelly
a2d74d48e9
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>
2017-12-21 20:19:44 -08:00
Matt Benjamin
f9eea16a62
Merge pull request #19580 from cbodley/wip-22473
rgw: dont log EBUSY errors in 'sync error list'
2017-12-21 14:51:59 -05:00
Matt Benjamin
8f5a5e3794
Merge pull request #19455 from mkogan1/wip-rgw-swift_container_create_mem_inc
rgw: fix chained cache invalidation to prevent cache size growth
2017-12-21 14:29:57 -05:00
Ramana Raja
181e3ea6ee 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>
2017-12-21 18:21:23 +05:30
Sage Weil
f33ab7e03a Merge remote-tracking branch 'gh/mimic-dev1' 2017-12-20 15:08:30 -06:00
Sage Weil
cd31bf91d8
Merge pull request #19600 from liewegas/wip-mimic-trusty-backports
qa: mimic-dev1 backports to avoid trusty nodes
2017-12-20 14:58:32 -06:00
Sage Weil
6446303916
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>
2017-12-20 14:57:38 -06:00
Sage Weil
1fe34afd35
Merge pull request #19617 from liewegas/wip-rbd-socket-failures
qa/suites/rbd: fewer socket failures
2017-12-20 14:47:26 -06:00
Sage Weil
a3a911f9dd 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>
2017-12-20 14:17:46 -06:00
Casey Bodley
106fd5f939
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>
2017-12-20 10:37:34 -05:00
Mykola Golub
9a1f52e89b
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>
2017-12-20 15:45:36 +02:00
Jos Collin
286336a9c5
Merge pull request #19608 from luomuyao/dev
rgw: fix a typo in comment

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-20 05:01:16 +00:00
luomuyao
5334f46930 cleanup: rgw: fix a typo in comment
Signed-off-by: luomuyao <luo.muyao@zte.com.cn>
2017-12-20 09:43:08 +08:00
Patrick Donnelly
6443022710
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>
2017-12-19 17:08:09 -08:00
Casey Bodley
de57814fbf
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>
2017-12-19 17:26:18 -05:00
Jason Dillaman
8c2ee6dd0f 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>
2017-12-19 16:30:25 -05:00
Sage Weil
06b7707cee
Merge pull request #19456 from liewegas/wip-22373
qa/standalone/ceph-helpers: pass --verbose to ceph-disk
2017-12-19 11:55:07 -06:00
Casey Bodley
77dd073719
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>
2017-12-19 12:35:52 -05:00
Yuri Weinstein
0c7042b344
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>
2017-12-19 09:34:17 -08:00
Yuri Weinstein
acd856a98e
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>
2017-12-19 09:33:12 -08:00
Yuri Weinstein
95a8b33f4e
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>
2017-12-19 09:32:53 -08:00
Yuri Weinstein
f424d21318
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>
2017-12-19 09:32:34 -08:00
Yuri Weinstein
4c33f4fa05
Merge pull request #19474 from qrGitHub/wip-rgw-redundant-S3AnonymousEngine
rgw: remove redundant S3AnonymousEngine

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-12-19 09:31:48 -08:00
Yuri Weinstein
69ffdd41c5
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>
2017-12-19 09:31:28 -08:00
Kefu Chai
eb330c525f 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 1acfa03ef9)
2017-12-19 11:12:37 -06:00
Kefu Chai
18fe287989 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 dbe33502cb)
2017-12-19 11:12:33 -06:00
Kefu Chai
0d1f3d2603 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 88311be439)
2017-12-19 11:12:31 -06:00
Kefu Chai
4ec785b945 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 aa89bb2f93)
2017-12-19 11:12:28 -06:00
Kefu Chai
4d266e3347 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 582f04508f)
2017-12-19 11:12:25 -06:00
Casey Bodley
1946e3d0bb
Merge pull request #19576 from qrGitHub/wip-rgw-log-adjustment
rgw: adjust log format for lifecycle

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-12-19 10:41:53 -05:00
Sage Weil
54cf9c11a0
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>
2017-12-19 09:33:30 -06:00
Casey Bodley
b2e431d03a
Merge pull request #19273 from qrGitHub/wip-rgw-typo-UNKNOWN
rgw: correct typo UNKOWN to UNKNOWN

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-19 10:16:34 -05:00
Sage Weil
d35fed9e95
Merge pull request #18196 from liewegas/wip-bluestore-sync-onreadable
os/bluestore: synchronous on_applied completions

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-12-19 08:22:53 -06:00
John Spray
dc236764ce
Merge pull request #19578 from cernceph/dvanders_brm
mgr/balancer: fix KeyError in balancer rm

Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-19 11:40:33 +00:00
Patrick Donnelly
2f7765a8dc
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>
2017-12-18 21:31:35 -08:00
Patrick Donnelly
b2284f23b8
qa: don't configure ec data pool with memstore
Fixes: http://tracker.ceph.com/issues/22436

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-18 21:12:22 -08:00
Haomai Wang
6e905de9bf
Merge pull request #19586 from liewegas/wip-22231
Revert "msg/async/AsyncConnection: unregister connection when racing happened"
2017-12-19 11:55:32 +08:00
Sage Weil
01dd3dd79c Revert "msg/async/AsyncConnection: unregister connection when racing happened"
This reverts commit 5216309c25.  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>
2017-12-18 21:40:06 -06:00
lvshanchun
416cdfc76b rgw: create sync-module instance when execute radosgw-admin data sync run
Signed-off-by: lvshanchun <lvshanchun@gmail.com>
2017-12-19 10:53:06 +08:00
Bingyin Zhang
6ed481cc17 rgw: remove unused variable bl in file rgw_op.cc
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-19 09:37:05 +08:00
Casey Bodley
b5eaa02a8d
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>
2017-12-18 14:11:43 -05:00
Yuri Weinstein
054c364f8d
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>
2017-12-18 08:48:05 -08:00
Yuri Weinstein
a00a008225
Merge pull request #19131 from theanalyst/usage-trim
cls/rgw: trim all usage entries in cls_rgw

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-18 08:47:23 -08:00
Yuri Weinstein
53f472854d
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>
2017-12-18 08:46:32 -08:00
Yuri Weinstein
53b0a7b46d
Merge pull request #19438 from cbodley/wip-qa-rgw-multisite-trim
qa/rgw: disable log trim in multisite suite
2017-12-18 08:46:03 -08:00
Yuri Weinstein
db6349b6c1
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>
2017-12-18 08:45:08 -08:00
Casey Bodley
ca4510bc76 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>
2017-12-18 11:42:23 -05:00
Patrick Donnelly
a313e6fe59
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>
2017-12-18 06:53:03 -08:00
John Spray
213af8b666
Merge pull request #19533 from batrick/vstart-runner-fixes
vstart_runner: fixes for recent cephfs changes

Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-18 13:18:12 +00:00
Dan van der Ster
4f581e738e mgr/balancer: fix KeyError in balancer rm
Fix the typo in the plan name which leads to a KeyError in balancer
rm.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Fixes: http://tracker.ceph.com/issues/22470
2017-12-18 13:53:20 +01:00