]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Xiubo Li [Wed, 15 Apr 2020 06:21:44 +0000 (02:21 -0400)]
ceph-fuse: link to libfuse3 if fuse3 is installed
Fixes: https://tracker.ceph.com/issues/44891
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Xiubo Li [Fri, 17 Apr 2020 09:46:24 +0000 (05:46 -0400)]
rbd-fuse: remove FUSE_CAP_BIG_WRITES when linking to libfuse3
The big-writes is enabled as default from 3.0.
Fixes: https://tracker.ceph.com/issues/44891
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Xiubo Li [Fri, 17 Apr 2020 09:33:55 +0000 (05:33 -0400)]
rbd-fuse: switch to use utimens instead
The utime is deprecated.
Fixes: https://tracker.ceph.com/issues/44891
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Xiubo Li [Thu, 16 Apr 2020 10:13:17 +0000 (06:13 -0400)]
ceph-fuse: enable the big writes as default
When the libfuse version < 3, without the big_writes options enabled
the write perf is very poor.
Fixes: https://tracker.ceph.com/issues/44885
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Sebastian Wagner [Fri, 17 Apr 2020 16:55:21 +0000 (18:55 +0200)]
Merge pull request #34584 from bk201/wip-45108
mgr/test_orchestrator: fix error when listing services
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 17 Apr 2020 16:54:50 +0000 (18:54 +0200)]
Merge pull request #32951 from matthewoliver/cephadm_rgw_ssl
cephadm: add RGW SSL support
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Gregory Farnum [Fri, 17 Apr 2020 15:27:40 +0000 (08:27 -0700)]
Merge pull request #34410 from lxbsz/mds_dirty_parent
tools/cephfs: add accounted_rstat/rstat when building file dentry
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Gregory Farnum [Fri, 17 Apr 2020 15:26:52 +0000 (08:26 -0700)]
Merge pull request #33928 from mchangir/cephfs-journal-tool-cannot-set-dry_run-arg
cephfs-journal-tool: correctly parse --dry_run argument
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Gregory Farnum [Fri, 17 Apr 2020 15:21:42 +0000 (08:21 -0700)]
Merge pull request #32612 from rishabh-d-dave/fs-qa-UnicodeDecodeError
test_cephfs_shell: fix UnicodeDecodeError
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Gregory Farnum [Fri, 17 Apr 2020 15:20:42 +0000 (08:20 -0700)]
Merge pull request #33169 from moningchao/master
client: fix blacklist removal failed
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Gregory Farnum [Fri, 17 Apr 2020 15:20:30 +0000 (08:20 -0700)]
Merge pull request #33711 from lxbsz/qa_umount_failed
qa/tasks/cephfs: umount the mountpoints when tearDown
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Gregory Farnum [Fri, 17 Apr 2020 15:18:52 +0000 (08:18 -0700)]
Merge pull request #34533 from fanjunwei/fix_fuse_bug
client: fix ceph-fuse parse command line failed
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Yuri Weinstein [Fri, 17 Apr 2020 14:47:06 +0000 (07:47 -0700)]
Merge pull request #34601 from yuriw/wip-yuriw-crontab-master
qa/tests: added octopus-p2p upgrade tests to the mix
Kefu Chai [Fri, 17 Apr 2020 13:31:44 +0000 (21:31 +0800)]
Merge pull request #34604 from tchaikov/wip-cmake-fuse
cmake: check for FUSE version and cleanups
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Kefu Chai [Fri, 17 Apr 2020 06:31:15 +0000 (14:31 +0800)]
cmake: detect fuse3 as well
Fixes: https://tracker.ceph.com/issues/44891
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 17 Apr 2020 05:50:16 +0000 (13:50 +0800)]
cmake: check for FUSE version
and refactor FindFUSE.cmake a little bit to conditionalize OSX support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 17 Apr 2020 05:46:21 +0000 (13:46 +0800)]
cmake: link against FUSE::FUSE
instead of specifying the include directory and linkage separately
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 17 Apr 2020 05:02:22 +0000 (13:02 +0800)]
cmake: rename Findfuse.cmake to FindFUSE.cmake
so its name is consistent with upstream name, and with the variables
exposed by FindFUSE.cmake.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Thu, 16 Apr 2020 21:01:10 +0000 (14:01 -0700)]
qa/tests: added octopus-p2p upgrade tests to the mix
Signed-off-by: Yuri Weinstein <yweinste@gmail.com>
Mykola Golub [Thu, 16 Apr 2020 15:50:47 +0000 (18:50 +0300)]
Merge pull request #34573 from dillaman/wip-44938-2
test: tx-only peer from heartbeat can race w/ CLI
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sebastian Wagner [Thu, 16 Apr 2020 14:37:34 +0000 (16:37 +0200)]
Merge pull request #34346 from jschmid1/osd_id_claims
mgr/cephadm: add support for osd_id_claims
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Thu, 16 Apr 2020 14:12:56 +0000 (22:12 +0800)]
Merge pull request #34517 from tchaikov/wip-qa-dashboard-telemetry
qa/tasks/mgr/dashboard: set last_opt_revision when setting enabled
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Venky Shankar [Thu, 16 Apr 2020 13:08:08 +0000 (18:38 +0530)]
Merge pull request #34210 from kotreshhr/cephfs-subvolume-info
mgr/volumes: Add interface to get subvolume metadata
Kiefer Chang [Thu, 16 Apr 2020 07:34:51 +0000 (15:34 +0800)]
mgr/test_orchestrator: fix error when listing services
- Adapting attribute change of ServiceSpec.
- Update dummy data.
Fixes: https://tracker.ceph.com/issues/45108
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Kefu Chai [Sat, 11 Apr 2020 04:02:18 +0000 (12:02 +0800)]
qa/tasks/mgr/dashboard: set last_opt_revision when setting enabled
telemetry requires user to re opt-in when opt_revision is bumped up
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kiefer Chang [Thu, 16 Apr 2020 07:30:24 +0000 (15:30 +0800)]
mgr/orch: Fixes some deserialization errors
Fixes errors when calling `from_json` of these classes:
- InventoryHost: parsing labels
- ServiceDescription: `last_refresh` and `created` fields should be parsed
to datetime type.
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Kefu Chai [Thu, 16 Apr 2020 04:37:25 +0000 (12:37 +0800)]
Merge pull request #34577 from tchaikov/wip-doc-dev-corpus
doc/dev/corpus.rst: tweak formatting
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Thu, 16 Apr 2020 03:09:43 +0000 (11:09 +0800)]
doc/dev/corpus.rst: tweak formatting
* use `shell` lexer, otherwise the Python one is used, and the rendered
result does not look right
* be consistent when indenting -- either use tab or spaces, otherwise
the indent in code block would be wrong.
* double quote the variables in text
Signed-off-by: Kefu Chai <kchai@redhat.com>
Matthew Oliver [Thu, 23 Jan 2020 00:02:24 +0000 (11:02 +1100)]
cephadm: add RGW SSL support
This patch adds SSL support to RGW when using cephadm.
If an SSL certificate is provided, inside the json supplied with:
cpeh orchestrator rgw create -i rgw.json
Then the SSL cert and/or key will be added to pushed into the mon config-key database
using the key `rgw/cert/<rgw_realm>/<rgw_zone>.[crt|key]`.
Which will then be referenced in the config:
rgw_frontends = beast port=80 ssl_port=443 ssl_certificate=config://rgw/cert/<rgw_realm>/<rgw_zone>.crt
And if an ssl key is also supplied this becomes something like:
rgw_frontends = beast port=80 ssl_port=443 ssl_certificate=config://rgw/cert/<rgw_realm>/<rgw_zone>.crt ssl_key=config://rgw/cert/<rgw_realm>/<rgw_zone>.key
Of course you could also just upload the cert and key yourself to
config-key location, and ssl will be enabled as well. But this patch
let's you either supply them via `-i` or as a manual upload step.
Co-Authored-By: Michael Fritch <mfritch@suse.com>
Co-Authored-By: Sebastian Wagner <sebastian@spawnhost.de>
Signed-off-by: Matthew Oliver <moliver@suse.com>
Neha Ojha [Wed, 15 Apr 2020 22:03:28 +0000 (15:03 -0700)]
Merge pull request #34541 from neha-ojha/wip-balancer-on
mgr: turn on balancer in upmap mode by default
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Wed, 15 Apr 2020 20:27:07 +0000 (16:27 -0400)]
qa/workunits/rbd: retry the addition of a mirror pool peer
We might race with the remote rbd-mirror daemon creating a
tx-only peer when adding a new peer. Therefore, delete the
tx-only peer and attempt to re-create it.
Fixes: https://tracker.ceph.com/issues/44938
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 15 Apr 2020 20:26:09 +0000 (16:26 -0400)]
librbd: mirror peer add error message should include site name
It previously included the pointer to string holding the generated
uuid (neither of which would mean much to an end user).
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 15 Apr 2020 19:21:55 +0000 (15:21 -0400)]
rbd: improved error message when adding a duplicate mirror pool peer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Wed, 15 Apr 2020 15:33:50 +0000 (17:33 +0200)]
Merge pull request #32747 from Exotelis/wip-40702-collapse
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Casey Bodley [Wed, 15 Apr 2020 15:00:29 +0000 (11:00 -0400)]
Merge pull request #34094 from cbodley/wip-rgw-data-sync-cache
rgw multisite: data sync optimizations
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Joshua Schmid [Thu, 2 Apr 2020 09:33:35 +0000 (11:33 +0200)]
mgr/cephadm: add replacement flag to _create_osd
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Mykola Golub [Wed, 15 Apr 2020 13:08:08 +0000 (16:08 +0300)]
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>
Mykola Golub [Wed, 15 Apr 2020 12:30:48 +0000 (15:30 +0300)]
Merge pull request #34496 from dillaman/wip-44105
rbd-mirror: clean-up unnecessary non-primary snapshots
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sebastian Krah [Tue, 7 Jan 2020 15:56:40 +0000 (16:56 +0100)]
mgr/dashboard: Add expand/collapse datatable feature
Adds expand/collapse feature to every datatable with details.
Fixes: https://tracker.ceph.com/issues/40702
Signed-off-by: Sebastian Krah <skrah@suse.com>
Joshua Schmid [Wed, 1 Apr 2020 14:26:33 +0000 (16:26 +0200)]
mgr/cephadm: use --osd-ids instead of --osd-id
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Joshua Schmid [Wed, 1 Apr 2020 13:56:08 +0000 (15:56 +0200)]
mgr/cephadm: add support for osd_id_claims
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Sebastian Wagner [Wed, 15 Apr 2020 10:56:03 +0000 (12:56 +0200)]
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>
Sebastian Wagner [Wed, 15 Apr 2020 10:54:41 +0000 (12:54 +0200)]
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>
Sebastian Wagner [Wed, 15 Apr 2020 10:54:17 +0000 (12:54 +0200)]
Merge pull request #34443 from sebastian-philipp/cephadm-revert-33974
cephadm: Update images used
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 09:44:31 +0000 (11:44 +0200)]
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>
Sebastian Wagner [Wed, 15 Apr 2020 09:41:26 +0000 (11:41 +0200)]
Merge pull request #34555 from ahaase-c4u/45065
mgr/cephadm: Fixed warn_on_stray_hosts setting
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Wed, 15 Apr 2020 09:34:50 +0000 (11:34 +0200)]
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>
Sebastian Wagner [Wed, 15 Apr 2020 09:33:21 +0000 (11:33 +0200)]
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>
Sebastian Wagner [Wed, 15 Apr 2020 09:29:36 +0000 (11:29 +0200)]
Merge pull request #34558 from mgfritch/cephadm-enter-container
cephadm: use CephContainer during command `enter`
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Joshua Schmid [Wed, 1 Apr 2020 08:12:28 +0000 (10:12 +0200)]
mgr/cephadm: enable osd previews
Signed-off-by: Joshua Schmid <jschmid@suse.de>
ahaase-c4u [Tue, 14 Apr 2020 18:44:22 +0000 (20:44 +0200)]
mgr/cephadm: corrected documentation for starting an upgrade
Signed-off-by: Andreas Haase <andreas.haase@community4you.de>
Neha Ojha [Tue, 14 Apr 2020 21:17:15 +0000 (21:17 +0000)]
doc/rados/operations: update docs to reflect balancer being on by default
Signed-off-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 15 Apr 2020 02:36:34 +0000 (10:36 +0800)]
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>
Kefu Chai [Wed, 15 Apr 2020 01:57:36 +0000 (09:57 +0800)]
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>
Neha Ojha [Tue, 14 Apr 2020 20:46:41 +0000 (20:46 +0000)]
PendingReleaseNotes: add note about balancer being on by default
Signed-off-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 15 Apr 2020 00:02:51 +0000 (08:02 +0800)]
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>
Kefu Chai [Tue, 14 Apr 2020 23:58:55 +0000 (07:58 +0800)]
Merge pull request #34510 from aclamk/wip-rocksdb-open-close
kv/KeyValueDB: Making open/close operations complementary.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 14 Apr 2020 23:51:34 +0000 (07:51 +0800)]
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>
Kefu Chai [Tue, 14 Apr 2020 23:51:05 +0000 (07:51 +0800)]
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>
Kefu Chai [Tue, 14 Apr 2020 23:49:52 +0000 (07:49 +0800)]
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>
Kefu Chai [Tue, 14 Apr 2020 23:48:07 +0000 (07:48 +0800)]
Merge pull request #34197 from varshar16/wip-doc-SubmittingPatches-url
doc/SubmittingPatches: Fix 'Fixes line' hyperlink
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Tue, 14 Apr 2020 23:46:55 +0000 (07:46 +0800)]
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>
Kefu Chai [Tue, 14 Apr 2020 23:43:54 +0000 (07:43 +0800)]
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>
Michael Fritch [Tue, 14 Apr 2020 21:42:44 +0000 (15:42 -0600)]
cephadm: use CephContainer during command `enter`
instead of the `get_container` helper func
Signed-off-by: Michael Fritch <mfritch@suse.com>
Jason Dillaman [Tue, 14 Apr 2020 22:05:59 +0000 (18:05 -0400)]
rbd-mirror: utilize structured binding in 'for' loop
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Neha Ojha [Tue, 14 Apr 2020 18:53:45 +0000 (18:53 +0000)]
qa/standalone/mon/osd-pool-df.sh: flush_pg_stats explicitly
Signed-off-by: Neha Ojha <nojha@redhat.com>
Jason Dillaman [Tue, 14 Apr 2020 17:40:29 +0000 (13:40 -0400)]
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>
Jason Dillaman [Tue, 14 Apr 2020 17:39:54 +0000 (13:39 -0400)]
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>
Andreas Haase [Tue, 14 Apr 2020 15:09:04 +0000 (17:09 +0200)]
mgr/cephadm: Fixed warn_on_stray_hosts setting
Fixes: https://tracker.ceph.com/issues/45065
Signed-off-by: Andreas Haase <andreas.haase@community4you.de>
Kefu Chai [Tue, 14 Apr 2020 14:44:50 +0000 (22:44 +0800)]
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>
Kefu Chai [Tue, 14 Apr 2020 14:42:17 +0000 (22:42 +0800)]
Merge pull request #32704 from petrutlucian94/windows.2
common: Add dlfcn_compat.h for win32
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Tue, 7 Apr 2020 12:08:51 +0000 (14:08 +0200)]
cephadm: Update images used
Print warning when using cephadm from master
See also "use quay octopus tip until 15.2 tag is available"
*
a9b15c7e1a0c14376cd66f166370694294398494 .
See also "update default container images"
*
1f05f7578794380f969a7e93db07345626b3e4df .
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Lenz Grimmer [Tue, 14 Apr 2020 12:46:11 +0000 (14:46 +0200)]
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>
Lenz Grimmer [Tue, 14 Apr 2020 12:43:51 +0000 (14:43 +0200)]
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>
Jason Dillaman [Tue, 14 Apr 2020 12:43:29 +0000 (08:43 -0400)]
qa/suites/rbd: tweak 'require_osd_release' to 'pacific'
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Tue, 14 Apr 2020 11:31:37 +0000 (13:31 +0200)]
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>
Lucian Petrut [Fri, 4 Oct 2019 14:56:43 +0000 (17:56 +0300)]
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>
Lenz Grimmer [Tue, 14 Apr 2020 10:53:14 +0000 (12:53 +0200)]
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>
Kefu Chai [Tue, 14 Apr 2020 09:52:46 +0000 (17:52 +0800)]
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>
Neha Ojha [Thu, 9 Apr 2020 01:06:57 +0000 (01:06 +0000)]
qa/standalone/mon/osd-pool-df.sh: fix test to check for the right values
Though the test passed, we weren't checking for the correct values:
.../qa/standalone/mon/osd-pool-df.sh:62: TEST_ceph_df: ceph df -f json
.../qa/standalone/mon/osd-pool-df.sh:62: TEST_ceph_df: jq .stats.total_avail_bytes
../qa/standalone/mon/osd-pool-df.sh:62: TEST_ceph_df: local global_avail=0
.../qa/standalone/mon/osd-pool-df.sh:63: TEST_ceph_df: ceph df -f json
.../qa/standalone/mon/osd-pool-df.sh:63: TEST_ceph_df: jq '.pools | map(select(.name == "$rep_poolname"))[0].stats.max_avail'
../qa/standalone/mon/osd-pool-df.sh:63: TEST_ceph_df: local rep_avail=null
.../qa/standalone/mon/osd-pool-df.sh:64: TEST_ceph_df: ceph df -f json
.../qa/standalone/mon/osd-pool-df.sh:64: TEST_ceph_df: jq '.pools | map(select(.name == "$ec_poolname"))[0].stats.max_avail'
../qa/standalone/mon/osd-pool-df.sh:64: TEST_ceph_df: local ec_avail=null
../qa/standalone/mon/osd-pool-df.sh:66: TEST_ceph_df: echo '0 >= null*3'
../qa/standalone/mon/osd-pool-df.sh:66: TEST_ceph_df: bc
1
../qa/standalone/mon/osd-pool-df.sh:67: TEST_ceph_df: echo '0 >= null*1.5'
../qa/standalone/mon/osd-pool-df.sh:67: TEST_ceph_df: bc
1
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 8 Apr 2020 23:21:04 +0000 (23:21 +0000)]
qa/standalone/mgr/balancer.sh: adapt test
Now that the balancer is on by default the test needs these changes.
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 7 Apr 2020 18:42:12 +0000 (18:42 +0000)]
pybind/mgr/balancer/module.py: turn on balancer in upmap mode by default
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 7 Apr 2020 17:05:57 +0000 (17:05 +0000)]
qa/workunits/cephtool/test.sh: don't set-require-min-compat-client luminous
This should not be required since mon_osd_initial_require_min_compat_client
is now luminous.
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sebastian Wagner [Mon, 13 Apr 2020 19:15:43 +0000 (21:15 +0200)]
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>
Casey Bodley [Tue, 31 Mar 2020 13:23:29 +0000 (09:23 -0400)]
rgw: dont use RGWOmapAppend for error_repo
the error_repo writes need to be synchronous
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:27 +0000 (09:23 -0400)]
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>
Casey Bodley [Tue, 31 Mar 2020 13:23:26 +0000 (09:23 -0400)]
rgw: ContinuousLeaseCR::is_locked() is const
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:25 +0000 (09:23 -0400)]
rgw: ContinuousLeaseCR doesn't need locks/atomics
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:23 +0000 (09:23 -0400)]
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>
Casey Bodley [Tue, 31 Mar 2020 13:23:22 +0000 (09:23 -0400)]
rgw: RadosRemoveCR takes objv_tracker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:20 +0000 (09:23 -0400)]
rgw: SimpleRadosReadAttrsCR takes objv_tracker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:19 +0000 (09:23 -0400)]
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>
Casey Bodley [Tue, 31 Mar 2020 13:23:17 +0000 (09:23 -0400)]
rgw: data sync no longer needs index_key_to_marker
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:16 +0000 (09:23 -0400)]
rgw: DataSyncSingleEntry loops based on progress
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:14 +0000 (09:23 -0400)]
rgw: DataSyncSingleEntry does not duplicate bucket sync
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:12 +0000 (09:23 -0400)]
rgw: DataSyncSingleEntry takes cached state
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:11 +0000 (09:23 -0400)]
test/rgw: add unittest_rgw_bucket_sync_cache
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:09 +0000 (09:23 -0400)]
rgw: add data sync cache for bucket shards
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 31 Mar 2020 13:23:07 +0000 (09:23 -0400)]
rgw: track last timestamp written for bucket sync
bucket sync remembers the latest timestamp that it successfully wrote to
the bucket sync status. data sync can use this to make future decisions
without having to reread its sync status
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Mykola Golub [Wed, 11 Mar 2020 15:03:12 +0000 (15:03 +0000)]
mgr/rbd_support: attempt to unregister watcher on mgr exit
Signed-off-by: Mykola Golub <mgolub@suse.com>