Commit Graph

110440 Commits

Author SHA1 Message Date
Igor Fedotov
2f86e19d7f os/bluestore: set bluestore_min_alloc_size to 4K for spinners.
Adjusting dependant params as well.
Reolving space amplification caused by small objects and/or EC
overwrites.

Relates to: https://tracker.ceph.com/issues/44213

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-04-16 14:23:44 +03:00
Igor Fedotov
81e46e708a test/store_test: refator spillover test.
Fixes: https://tracker.ceph.com/issues/44880
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-04-15 18:17:26 +03:00
Casey Bodley
b62e0c262b
Merge pull request #34094 from cbodley/wip-rgw-data-sync-cache
rgw multisite: data sync optimizations

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2020-04-15 11:00:29 -04:00
Mykola Golub
256ac4b46d
Merge pull request #34549 from dillaman/wip-qa-rbd-read-balance
qa/suites/rbd: tweak 'require_osd_release' to 'pacific'

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-04-15 16:08:08 +03:00
Mykola Golub
34986728bd
Merge pull request #34496 from dillaman/wip-44105
rbd-mirror: clean-up unnecessary non-primary snapshots

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-04-15 15:30:48 +03:00
Sebastian Wagner
a07f2d6ebe
Merge pull request #34529 from maran/master
cephadm: warn when no valid version arguments are supplied to add-repo

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-15 12:56:03 +02:00
Sebastian Wagner
91d0b5a318
Merge pull request #34490 from sebastian-philipp/cephadm-command_add_repo-no-podman
cephadm: add-repo: Don't test for podman

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-15 12:54:41 +02:00
Sebastian Wagner
0cc05d0f22
Merge pull request #34443 from sebastian-philipp/cephadm-revert-33974
cephadm: Update images used

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-15 12:54:17 +02:00
Sebastian Wagner
4313f863a0
Merge pull request #34556 from ahaase-c4u/patch-1
mgr/cephadm: corrected documentation for starting an upgrade

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-15 11:44:31 +02:00
Sebastian Wagner
dce6285cad
Merge pull request #34555 from ahaase-c4u/45065
mgr/cephadm: Fixed warn_on_stray_hosts setting

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-15 11:41:26 +02:00
Sebastian Wagner
1e1d5776f2
Merge pull request #34415 from sebastian-philipp/orch-fix-rgw-daemon-description-id
mgr/orch: Fix DaemonDescription().daemon_id() for RGWs

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-15 11:34:50 +02:00
Sebastian Wagner
8f605c7c86
Merge pull request #34216 from jschmid1/preview_drivegroups
mgr/cephadm: preview osd creation for osdspecs

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-15 11:33:21 +02:00
Sebastian Wagner
de095e8a5a
Merge pull request #34558 from mgfritch/cephadm-enter-container
cephadm: use CephContainer during command `enter`

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-04-15 11:29:36 +02:00
Joshua Schmid
462a68ab87 mgr/cephadm: enable osd previews
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-04-15 09:48:18 +02:00
ahaase-c4u
bf3d06d180 mgr/cephadm: corrected documentation for starting an upgrade
Signed-off-by: Andreas Haase <andreas.haase@community4you.de>
2020-04-15 09:47:19 +02:00
Kefu Chai
32c240fd7d
Merge pull request #34562 from tchaikov/wip-jenkins-trigger
github: add "jenkins test classic perf" to jenkins commands list

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-04-15 10:36:34 +08:00
Kefu Chai
eb586f51e9 github: add "jenkins test classic perf" to jenkins commands list
it's used for triggering perf test with classic OSD

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-15 09:57:57 +08:00
Kefu Chai
eff9d0fc9a
Merge pull request #19076 from jecluis/wip-mon-fix-osdmap-lec-trim
mon/OSDMonitor: allow trimming maps even if osds are down

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-15 08:02:51 +08:00
Kefu Chai
0a0c5f9e9a
Merge pull request #34510 from aclamk/wip-rocksdb-open-close
kv/KeyValueDB: Making open/close operations complementary.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-04-15 07:58:55 +08:00
Kefu Chai
f5e52438af
Merge pull request #34228 from shonpaz123/add_notifications_documentation
doc/rgw: add documentation for bucket notifications filters and supported push endpoints

Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
2020-04-15 07:51:34 +08:00
Kefu Chai
73f68ecb95
Merge pull request #33975 from jbwyatt4/jbwyatt4-need-disk-space-info
doc: added space requirement to "Build Prerequisites"

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2020-04-15 07:51:05 +08:00
Kefu Chai
5153c491a7
Merge pull request #33901 from rs-fabrica/rados_man_page_options
doc/man/8/rados.rst: including all available options

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-15 07:49:52 +08:00
Kefu Chai
6abf2c1570
Merge pull request #34197 from varshar16/wip-doc-SubmittingPatches-url
doc/SubmittingPatches: Fix 'Fixes line' hyperlink

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-04-15 07:48:07 +08:00
Kefu Chai
f05fe55bb7
Merge pull request #34265 from shonpaz123/add_sc_doc
doc/rgw: add documentation for allowed storage classes for client SDKs

Reviewed-by: Or Friedmann <ofriedma@redhat.com>
2020-04-15 07:46:55 +08:00
Kefu Chai
8b8bd736dd
Merge pull request #34360 from gouthampacha/doc-fix
doc: fix broken link for cephfs kernel recommendations

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-15 07:43:54 +08:00
Michael Fritch
3c762d0ed9
cephadm: use CephContainer during command enter
instead of the `get_container` helper func

Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-04-14 16:25:34 -06:00
Jason Dillaman
847f178c4b rbd-mirror: utilize structured binding in 'for' loop
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-04-14 18:05:59 -04:00
Jason Dillaman
71f75fe41f
Merge pull request #33806 from trociny/wip-mirror_snapshot_schedule-watcher
mgr/rbd_support: make mirror_snapshot_schedule rescan only updated pools 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-04-14 13:40:29 -04:00
Jason Dillaman
e202c4aa5e
Merge pull request #34262 from zhengchengyao/wip-deprecated-order
tools: remove all deprecated options from the help output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-04-14 13:39:54 -04:00
Andreas Haase
b07c2da63f mgr/cephadm: Fixed warn_on_stray_hosts setting
Fixes: https://tracker.ceph.com/issues/45065
Signed-off-by: Andreas Haase <andreas.haase@community4you.de>
2020-04-14 19:26:19 +02:00
Kefu Chai
c8827963e0
Merge pull request #33365 from ifed01/wip-ifed-hybrid-alloc2
os/bluestore: introduce hybird allocator

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-14 22:44:50 +08:00
Kefu Chai
7f8e0f408d
Merge pull request #32704 from petrutlucian94/windows.2
common: Add dlfcn_compat.h for win32

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-14 22:42:17 +08:00
Sebastian Wagner
de448fafe0 cephadm: Update images used
Print warning when using cephadm from master

See also "use quay octopus tip until 15.2 tag is available"
* a9b15c7e1a.

See also  "update default container images"
* 1f05f75787.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-14 16:05:14 +02:00
Lenz Grimmer
caaaf37c12
Merge pull request #34336 from nSedrickm/nsedrickm-ceph-dev
mgr/dashboard: Proposed About Modal box

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-04-14 14:46:11 +02:00
Lenz Grimmer
8ac048924b
Merge pull request #34469 from votdev/issue_44991_pool_promql
monitoring: alert for pool fill up broken

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
2020-04-14 14:43:51 +02:00
Jason Dillaman
267af5fcae qa/suites/rbd: tweak 'require_osd_release' to 'pacific'
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-04-14 08:43:29 -04:00
Lenz Grimmer
cd271d9516
Merge pull request #34065 from tspmelo/wip-iscsi-advanced
mgr/dashboard: Prevent iSCSI target recreation when editing controls

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2020-04-14 13:31:37 +02:00
Lucian Petrut
6bf7a3eb40 common: Add dlfcn_compat.h for win32
We'll emulate the dlfcn.h interface using Windows functions, which
will allow loading Windows DLLs.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2020-04-14 11:11:32 +00:00
Lenz Grimmer
9b88f847be
Merge pull request #34009 from tspmelo/wip-iscsi-auth
mgr/dashboard: Fix iSCSI's username and password validation

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-04-14 12:53:14 +02:00
Kefu Chai
1b6fc24552
Merge pull request #33816 from rzarzynski/wip-msg-no-extra-alloc-in-secure
msg/async: fix unnecessary 4 kB allocation in secure mode.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-14 17:52:46 +08:00
Sebastian Wagner
38ae96e1c9
Merge pull request #34344 from jmolmo/rook_inventory
mgr/rook: Fix wrong data output when listing devices

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-13 21:15:43 +02:00
Casey Bodley
482b44f921 rgw: dont use RGWOmapAppend for error_repo
the error_repo writes need to be synchronous

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-13 14:08:19 -04:00
Casey Bodley
52fa773270 rgw: remove per-bucket-shard sync leases
bucket sync now gets a const pointer to the DataSyncShard's lease to
check whether the lease has expired

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-13 14:08:19 -04:00
Casey Bodley
16a7df28e2 rgw: ContinuousLeaseCR::is_locked() is const
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-13 14:08:19 -04:00
Casey Bodley
2075addc65 rgw: ContinuousLeaseCR doesn't need locks/atomics
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-13 14:08:18 -04:00
Casey Bodley
7fb98eaf0a rgw: use objv_tracker to read/write bucket sync status
use cls_version on bucket sync status to detect racing writes - whether
from other gateways, or from radosgw-admin commands like 'bucket sync'
or 'bucket sync init'

classes that require a non-null version tracker take it by reference

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-13 14:08:18 -04:00
Casey Bodley
91d326c164 rgw: RadosRemoveCR takes objv_tracker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-13 14:08:18 -04:00
Casey Bodley
8d715d1814 rgw: SimpleRadosReadAttrsCR takes objv_tracker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-13 14:08:18 -04:00
Casey Bodley
4e12bde42b rgw: SysObj service applies objv on set_attrs
like write(), we need to apply the writev back to readv

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-13 14:08:18 -04:00
Casey Bodley
8b4a7da7cb rgw: data sync no longer needs index_key_to_marker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-13 14:08:18 -04:00