Commit Graph

102145 Commits

Author SHA1 Message Date
Nathan Cutler
ad6304149e doc/releases/schedule.rst: drop dumpling from Timeline
The "dumpling" column goes past the right margin and looks wrong.
Also, this modification shortens the table by 10 rows or so, which
can't be a bad thing.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-09-17 17:42:50 +02:00
Nathan Cutler
53073a1528 doc/releases/schedule.rst: add Nautilus 14.2.3 and 14.2.4
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-09-17 16:29:19 +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
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
Patrick Seidensal
d639d7ec93 mgr/dashboard: Firefox ngx-datatable performance issue
Fixes: https://tracker.ceph.com/issues/41667

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-09-16 12:54:20 +02:00
Nathan Cutler
33a5fae1cf
Merge pull request #30398 from tspmelo/wip-backport-head
script/ceph-backport.sh: Fix verification of git repository
2019-09-16 12:53:12 +02:00
Tiago Melo
4968613dd9 script/ceph-backport.sh: Fix verification of git repository
In git 2.16 running "git show-ref HEAD" returns an error and
prevents the script to procced.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-16 10:27:45 +00:00
albIN7
13f15e6122 rgw: fix indentation for listobjectsv2
https://tracker.ceph.com/issues/41840

Signed-off-by: Albin Antony <aantony@redhat.com>
2019-09-16 11:36:19 +05:30
Patrick Donnelly
81e451e0c3
mds: drive cap recall while dropping cache
STEADY does not imply TRIM. We want to always trim as many caps as
possible.

Introduced-by: be49866a150e04438cef971dec7948eaf34852fc
Fixes: https://tracker.ceph.com/issues/41835
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-15 20:43:24 -07:00
J. Eric Ivancich
e487604ad2
Merge pull request #29549 from smanjara/wip-multisite-metadata
rgw: Allow admin APIs that write metadata to be executed first on the mast…

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-15 12:54:24 -04:00
J. Eric Ivancich
1be120975c
Merge pull request #30174 from mkogan1/wip-rgw-40700
rgw: fix memory growth while deleting objects with

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-09-15 12:48:28 -04:00