Commit Graph

102157 Commits

Author SHA1 Message Date
Casey Bodley
06cc5f4d3a
Merge pull request #29839 from hualongfeng/master
doc/radosgw/admin:fix how to modify subuser info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 13:49:20 -04:00
Casey Bodley
35b0f5b715
Merge pull request #30392 from zhangsw/rgw-cleanup-trimusage
rgw: change MAX_USAGE_TRIM_ENTRIES value from 128 to 1000.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 12:37:37 -04:00
Casey Bodley
4bee76ba9c
Merge pull request #30393 from tianshan/fix_data_sync_noent
rgw: fix data sync start delay if remote haven't init data_log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 12:33:49 -04:00
Venky Shankar
382b089dde
Merge pull request #30381 from ajarr/fix-40689
doc: add ceph fs volumes and subvolumes documentation
2019-09-17 21:53:49 +05:30
Jason Dillaman
f2bacb2791
Merge pull request #30053 from mxdInspur/fix_20190901
librbd: adjust the else-if conditions in validate_striping()
2019-09-17 11:17:23 -04:00
Jason Dillaman
9e773faa1c
Merge pull request #30314 from Songweibin/wip-rbd-pybind
rbd/pybind: fix unsupported format character of %lx

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2019-09-17 11:16:50 -04:00
Alfredo Deza
712393daf3
Merge pull request #30429 from smithfarm/wip-rn-14.2.4
doc/releases: Ceph Nautilus v14.2.4 Release Notes

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by:  Abhishek Lekshmanan <abhishek@suse.com>
2019-09-17 10:05:08 -04:00
Nathan Cutler
aea2a97200 doc/releases: Ceph Nautilus v14.2.4 Release Notes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-09-17 15:10:01 +02:00
Casey Bodley
a216ce69b3
Merge pull request #30193 from cbodley/wip-qa-s3test-website
qa/rgw: add new rgw/website suite for static website tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:50:49 -04:00
Venky Shankar
ecb2ab2f7e
Merge pull request #30389 from batrick/i41835
mds: drive cap recall while dropping cache
2019-09-17 18:01:22 +05:30
Casey Bodley
97f1be5d3a qa/rgw: rgw/website suite uses subdomain calling format
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:24:52 -04:00
Casey Bodley
bb56ac01c2 qa/rgw: add new rgw/website suite for static website tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:24:51 -04:00
Casey Bodley
71312246ad qa/rgw: s3test tasks sets s3website_domain to match dns-s3website-name
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:24:51 -04:00
Casey Bodley
7a84a00b6b qa/s3tests: use correct endpoint from rgw_server
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:22:21 -04:00
Casey Bodley
c9aac91b18 qa/ragweed: use correct endpoint from rgw_server
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:19:28 -04:00
Casey Bodley
1feca42f4c qa/rgw: fix for extra_args in s3tests task
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:19:28 -04:00
Casey Bodley
8c801f073d
Merge pull request #30218 from cbodley/wip-qa-rgw-barbican
qa/rgw: add integration test for sse-kms with barbican

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2019-09-17 08:17:30 -04:00
Ramana Raja
aebf75c9df doc: add ceph fs volumes and subvolumes documentation
Fixes: https://tracker.ceph.com/issues/40689
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-09-17 15:56:47 +05:30
Lenz Grimmer
526ff7165e
mgr/dashboard: Improve workaround to redraw datatables (#30335)
mgr/dashboard: Improve workaround to redraw datatables

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
2019-09-17 08:48:34 +00:00
Lenz Grimmer
32a6a4362c
mgr/dashboard: Firefox ngx-datatable performance issue (#30316)
mgr/dashboard: Firefox ngx-datatable performance issue

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-17 08:40:35 +00:00
Mykola Golub
261fab6465
Merge pull request #30351 from dillaman/wip-41780
rbd-mirror: cannot restore deferred deletion mirrored images

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-09-17 10:18:06 +03:00
Patrick Donnelly
10cb50f994
Merge PR #29817 into master
* refs/pull/29817/head:
	doc: document that the kcephfs mount helper will search keyring files for secrets
	mount.ceph: fork a child to get info from local configuration
	mount.ceph: track mon string and path inside ceph_mount_info
	mount.ceph: add name and secret to ceph_mount_info
	mount.ceph: add ceph_mount_info structure
	mount.ceph: clean up debugging output and error messages
	mount.ceph: clean up return codes
	mount.ceph: add comment explaining why we need to modprobe
	mount.ceph: use bools for flags
	common: have read_secret_from_file return negative error codes

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 16:49:39 -07:00
Patrick Donnelly
fbfce1ad7a
Merge PR #29735 into master
* refs/pull/29735/head:
	mgr/volumes: cluster log when a purge thread bails out
	mgr/volumes: retry purging trash entries on intermittent error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 13:02:03 -07:00
Patrick Donnelly
1db3f88f80
Merge PR #29705 into master
* refs/pull/29705/head:
	client: fix lazyio_synchronize() to update file size

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-09-16 13:00:33 -07:00
Patrick Donnelly
d02821c8ac
Merge PR #29569 into master
* refs/pull/29569/head:
	mds: Reorganize class members in DamageTable header

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 12:59:20 -07:00
Patrick Donnelly
6461a5ee8d
Merge PR #29888 into master
* refs/pull/29888/head:
	mds: Reorganize class members in JournalPointer header

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 12:58:18 -07:00
Patrick Donnelly
9f8b830f2e
Merge PR #30029 into master
* refs/pull/30029/head:
	mds: use set to store to evict client

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 12:54:59 -07:00
Patrick Donnelly
81d1a162c5
Merge PR #30058 into master
* refs/pull/30058/head:
	qa/tasks: test for prevent negative subvolume size
	mgr/volumes: prevent negative subvolume size

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2019-09-16 11:43:19 -07:00
Patrick Donnelly
b50295e3ef
Merge PR #30265 into master
* refs/pull/30265/head:
	doc: add a new document on CephFS distributed metadata cache

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 11:36:10 -07:00
Jeff Layton
29bb00c8e8 doc: add a new document on CephFS distributed metadata cache
Fixes: https://tracker.ceph.com/issues/41451
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-09-16 14:35:07 -04:00
Kefu Chai
545a40e9d7
Merge pull request #30399 from tchaikov/wip-crimson-peering-query
crimson: handle MOSDPGQuery2 properly

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-09-17 01:54:03 +08:00
Casey Bodley
119206d7bf
Merge pull request #28830 from albin-antony/indv2
rgw: fix indentation for listobjectsv2

Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-16 13:21:55 -04:00
Patrick Donnelly
6ad97efedd
Merge PR #29672 into master
* refs/pull/29672/head:
	common/RefCountedObj: cleanup con/des
	common: add make_ref factory for RefCountedObject
	common: refactor RefCountedObj and reduce header dependencies
	include: convert FunctionContext usage to generic LambdaContext
	osd: add missing header
	cls/rgw: add missing header dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-16 08:06:09 -07:00
Lenz Grimmer
9d92d83549
Merge pull request #30377 from tspmelo/wip-e2e-hosts-mds
mgr/dashboard: Fix e2e host test

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-09-16 13:50:38 +00:00
Lenz Grimmer
a22130e6e4
Merge pull request #29819 from Devp00l/wip-41396
mgr/dashboard: Document UiApiController with ApiController usage

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-16 13:36:18 +00:00
Patrick Donnelly
517bdca529 common/RefCountedObj: cleanup con/des
Also, don't allow children to set nref (to 0). This is the more significant
change as it required fixing various code to not do this:

    <reftype> ptr = new RefCountedObjectFoo(..., 0);

as a way to create a starting reference with nref==1. This is a pretty
bad code smell so I've converted all the code doing this to use the new
factory method which produces the reference safely:

    auto ptr = ceph::make_ref<RefCountedObjectFoo>(...);

libradosstriper was particularly egregious in its abuse of setting the starting
nref. :(

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 19:53:58 +08:00
Patrick Donnelly
487d344233 common: add make_ref factory for RefCountedObject
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 19:52:36 +08:00
Patrick Donnelly
58d1b88ec5 common: refactor RefCountedObj and reduce header dependencies
- Protect constructors/destructors; RefCountedObj is an abstract class.

- Move some helpers to separate unit to avoid circular dependency with
  CephContext which could otherwise use RefCountedObj.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 19:52:36 +08:00
Patrick Donnelly
489b30844e include: convert FunctionContext usage to generic LambdaContext
The main motivation for this change is to avoid copies due to the use of
boost::function/std::function where captures of std::unique_ptr (in
subsequent commits) would fail to compile.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 19:52:36 +08:00
Patrick Donnelly
6c689ce969 osd: add missing header
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 19:52:36 +08:00
Patrick Donnelly
e686bc6959 cls/rgw: add missing header dependency
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 19:52:36 +08:00
Kefu Chai
b3619760db
Merge pull request #30368 from liewegas/wip-snapmapper-cleanup
osd/SnapMapper: remove pre-octopus snapmapper keys after conversion

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-09-16 19:41:05 +08:00
Kefu Chai
7d137648a5
Merge pull request #30356 from majianpeng/msg-reduece-duplicated-code
msg: add func is_blackhole to reduce duplicated code.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 19:39:45 +08:00
Kefu Chai
7c1b53dc49
Merge pull request #30350 from liewegas/wip-bluestore-poolstats-configs
os/bluestore: simplify per-pool-stat config options

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-09-16 19:37:27 +08:00
Kefu Chai
6f2607c087 crimson/osd: change log level to warn if pg is absent
it's not fatal or indicating a bug, but it's unusual. so let's make it a
warning.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-16 19:03:42 +08:00
Kefu Chai
707c0eb4a1 crimson/osd: reply if pg is absent when handling MQuery
in previous commit, the support of `MOSDPGQuery` was dropped. but
if we want to handle `MOSDPGQuery2` properly, we should take
`on_pg_absent()` into consideration when handling `MOSDPGQuery2`.

in this change, we handle `MOSDPGQuery2` by checking the boost event
against `MQuery`, so we don't need to create a new class derived from
`RemotePeeringEvent` for specializing the behavior.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-16 19:03:42 +08:00
Kefu Chai
d6deafdbb5 crimson/osd: do not handle MOSDPGQuery anymore
this is a follow-up of 260ab1a5, as MOSDPGQuery is deprecated in favor
of MOSDPGQuery2 in octopus and up. let's drop the support of
MOSDPGQuery.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-16 19:03:42 +08:00
Kefu Chai
b1e655b11e osd/OSD.h: remove unused OSD::discard_context()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-16 19:03:42 +08:00
Kefu Chai
294441ccb9 crimson/osd: do not use __func__ in a lambda for logging
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-16 19:03:42 +08:00
Kefu Chai
88df1e0318 crimson/osd: verbose logging in OSD::_send_alive()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-16 19:03:42 +08:00