]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Sat, 30 Jan 2021 14:45:20 +0000 (22:45 +0800)]
qa/standalone/mon/misc: verify that len(monmap.features.persistent) == 9
in
beb62c029abcf1d596ed624d58cbcb094ee6a292 , FEATURE_QUINCY was added to
ceph::features::mon::get_persistent(), so update the test accordingly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Fri, 29 Jan 2021 20:50:18 +0000 (15:50 -0500)]
Merge pull request #38892 from ceph/update_s3select_add_zero_segment_log
s3select: update s3select submodule to last commit ; add zero segment log
Samuel Just [Fri, 29 Jan 2021 20:25:38 +0000 (12:25 -0800)]
Merge pull request #38767 from myoungwon/wip-manifest-chunk-scrub
osd: add has_manifest_chunk to count chunks in snapshot
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Fri, 29 Jan 2021 20:01:26 +0000 (14:01 -0600)]
Merge PR #39039 into master
* refs/pull/39039/head:
src/test/cli/monmaptool: adjust for new monmap features
qa/tasks/cephadm: allow custom git_url for cephadm_branch pull
qa/suites/rados/upgrade: include pacific-x
qa/suites/upgrade/pacific-x/parallel
qa/suites: some clean up for quincy
mon: updates for quincy
mon: update for quincy ondisk features
script: add pacific
doc/dev/release-checklist: we tagged v17.0.0
ceph-volume: change to quincy
include/ceph_features: retire MON_SINGLE_PAXOS
include/ceph_features: define FEATURE_SERVER_QUINCY
mon/MgrMonitor: add always_on_modules for quincy
add feature/release name quincy
kickoff v17 quincy
doc/dev/release-checklists: uncheck everything!
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sebastian Wagner [Fri, 29 Jan 2021 18:16:54 +0000 (19:16 +0100)]
Merge pull request #37144 from jmolmo/storage_devices_mgmt
doc: High level workflow for storage devices
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Sage Weil [Fri, 29 Jan 2021 17:45:11 +0000 (11:45 -0600)]
src/test/cli/monmaptool: adjust for new monmap features
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 29 Jan 2021 15:01:37 +0000 (09:01 -0600)]
qa/tasks/cephadm: allow custom git_url for cephadm_branch pull
Normally the git_url is git://git.ceph.com/ceph-ci.git, which mirrors
upstream ceph-ci.git. However, the release branches aren't present there.
Allow a custom git_url so we can pull these from the main ceph.git.
Signed-off-by: Sage Weil <sage@newdream.net>
Casey Bodley [Fri, 29 Jan 2021 16:01:14 +0000 (11:01 -0500)]
Merge pull request #39025 from yuvalif/wip-yuval-fix-48963
rgw: fix valgrind errors when protected_fixedsize_stack is used
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Neha Ojha [Fri, 29 Jan 2021 15:37:52 +0000 (07:37 -0800)]
Merge pull request #39152 from neha-ojha/wip-46323
qa/*/thrash_cache_writeback_proxy_none.yaml: disable writeback overlay tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 11:49:06 +0000 (19:49 +0800)]
Merge pull request #39118 from tchaikov/wip-cmake-rook-client
cmake: install rook-client-python using ExternalProject
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sebastian Wagner [Fri, 29 Jan 2021 11:37:15 +0000 (12:37 +0100)]
Merge pull request #38686 from wornet-mwo/wip-doc-add-section-declarative-orch-cmd
doc: added section about retival of Service Specication
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Sebastian Wagner [Fri, 29 Jan 2021 09:27:11 +0000 (10:27 +0100)]
Merge pull request #38875 from pcuzner/new-host-to-maintenance
mgr/orchestrator: add maintenance mode for new hosts
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 29 Jan 2021 09:26:27 +0000 (10:26 +0100)]
Merge pull request #39083 from genesiscloud/orch-non-rotational-filter-fix
python-common/drivegroups: avoid dropping "rotational: 0" from Device Selection
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 29 Jan 2021 09:26:03 +0000 (10:26 +0100)]
Merge pull request #39007 from mgfritch/cephadm-podman-2.0
cephadm: require podman >= 2.0.0
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Fri, 29 Jan 2021 08:24:19 +0000 (16:24 +0800)]
Merge pull request #39157 from xxhdx1985126/wip-crimson-bug-fix
crimson/osd: capture "intervals_included" by value in ReplicatedRecoveryBackend::submit_push_data
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 29 Jan 2021 07:21:51 +0000 (15:21 +0800)]
Merge pull request #39057 from aclamk/wip-mempool-shards-check-random
common/mempool: Improve mempool shard selection
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Xuehan Xu [Fri, 29 Jan 2021 06:44:36 +0000 (14:44 +0800)]
crimson/osd: capture "intervals_included" by value in ReplicatedRecoveryBackend::submit_push_data
ReplicatedRecoveryBackend::submit_push_data()'s parameter "intervals_included" might be an
local varaiable in the outer method, so we should capture it by value to avoid a dangling
reference in the inner lambda
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
galsalomon66 [Sun, 10 Jan 2021 21:30:46 +0000 (23:30 +0200)]
diagnose zero segment while s3select
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
using s3-test with the fix fix_test_file_permission_add_attrib
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
update s3select{
1ea37ae459f957786b9d198510637dfa12f83350 } ; add log tracing zero segments locations
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
s3select submodule update
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
fix comments
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
updating the s3select new features; covering the gap between latest documentation and latest faetures update
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
add some more examples; fixes
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
add between expression to doc; typo
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
typo
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
skipping empty segments
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
skip empty segments to the next segments
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
Neha Ojha [Thu, 28 Jan 2021 19:54:54 +0000 (19:54 +0000)]
qa/*/thrash_cache_writeback_proxy_none.yaml: disable writeback overlay tests
thrash_cache_writeback_proxy_none tests have been failing consistently. Some investigation
shows that the writeback overlay tests are reponsible for it. Instead of removing these
cache tiering tests entirely, we'll disable them for now.
Related to: https://tracker.ceph.com/issues/46323
Signed-off-by: Neha Ojha <nojha@redhat.com>
pcuzner [Thu, 28 Jan 2021 21:35:33 +0000 (10:35 +1300)]
Merge pull request #39112 from pcuzner/fix-gather-facts
cephadm:add missing kernel_security property
Sage Weil [Thu, 28 Jan 2021 14:25:54 +0000 (08:25 -0600)]
qa/suites/rados/upgrade: include pacific-x
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 22:01:20 +0000 (16:01 -0600)]
qa/suites/upgrade/pacific-x/parallel
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 22:00:13 +0000 (16:00 -0600)]
qa/suites: some clean up for quincy
- remove upgrades from nautilus
- stubs for completing upgrade to quincy
Still missing the pacific-x upgrade tests.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 21:45:32 +0000 (15:45 -0600)]
mon: updates for quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 20:32:31 +0000 (14:32 -0600)]
mon: update for quincy ondisk features
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 18:08:58 +0000 (12:08 -0600)]
script: add pacific
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 18:07:47 +0000 (12:07 -0600)]
doc/dev/release-checklist: we tagged v17.0.0
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:24:06 +0000 (13:24 -0600)]
ceph-volume: change to quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:21:14 +0000 (13:21 -0600)]
include/ceph_features: retire MON_SINGLE_PAXOS
X-3 = Q-3 = Nautilus
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:19:02 +0000 (13:19 -0600)]
include/ceph_features: define FEATURE_SERVER_QUINCY
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:16:20 +0000 (13:16 -0600)]
mon/MgrMonitor: add always_on_modules for quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Sat, 23 Jan 2021 19:16:12 +0000 (13:16 -0600)]
add feature/release name quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 22 Jan 2021 20:13:22 +0000 (14:13 -0600)]
kickoff v17 quincy
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 22 Jan 2021 20:11:29 +0000 (14:11 -0600)]
doc/dev/release-checklists: uncheck everything!
Signed-off-by: Sage Weil <sage@newdream.net>
Kefu Chai [Thu, 28 Jan 2021 12:35:36 +0000 (20:35 +0800)]
cmake: install rook-client-python using ExternalProject
so we don't need to rerun the generate_rook_ceph_client.sh script
everytime when building the script. cmake creates a stamp file for
tracking the dependencies and the time of modification of dependencies.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Thu, 28 Jan 2021 12:04:07 +0000 (13:04 +0100)]
Merge pull request #39113 from liewegas/fix-datetime-test
python-common: fix test_datetime_to_str_2 on non-UTC hosts
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Thu, 28 Jan 2021 11:20:42 +0000 (19:20 +0800)]
Merge pull request #39100 from xxhdx1985126/wip-crimson-bug-fix-2
crimson/osd: fix recovery related bugs
Reviewed-by: Kefu Chai <kchai@redhat.com>
Xuehan Xu [Wed, 27 Jan 2021 11:07:58 +0000 (19:07 +0800)]
crimson/osd: use do_with to capture MOSDPGPull::take_pulls()'s return
MOSDPGPull::take_pulls() returns a temporary object, so we need to use seastar::do_with
to create an object whose lives until seastar::do_with's inner continuation chain ends
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Yuval Lifshitz [Fri, 22 Jan 2021 14:14:00 +0000 (16:14 +0200)]
rgw: fix valgrind errors when protected_fixedsize_stack is used
Fixes: https://tracker.ceph.com/issues/48963
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Xuehan Xu [Wed, 27 Jan 2021 11:06:34 +0000 (19:06 +0800)]
crimson/osd: objects without omap header may not necessarily be a error
There are circumstances in which objects don't have omap headers, so this should
not be treated as an error
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Xuehan Xu [Wed, 27 Jan 2021 11:04:47 +0000 (19:04 +0800)]
crimson/osd: should capture seastar::do_with params by reference
The lambda within seastar::do_with need to use lvalue reference as its parameter,
otherwise it would be referencing a variable whose lifecycle ends when lambda finishes
runing
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Jason Dillaman [Thu, 28 Jan 2021 01:51:36 +0000 (20:51 -0500)]
Merge pull request #39115 from wjwithagen/wjw-fix-QCOWFormat.cc
librbd: Fix variable declaration in capture list in lambda
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Neha Ojha [Thu, 28 Jan 2021 01:10:59 +0000 (17:10 -0800)]
Merge pull request #39108 from zdover23/wip-doc-leads-update-epuertat-28-Jan-2021
doc/dev: add Ernesto Puerta as dashboard lead
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Josh Durgin [Thu, 28 Jan 2021 00:58:36 +0000 (16:58 -0800)]
Merge pull request #39114 from liewegas/drop-rhel-8.0
qa/suites/rados/cephadm: drop rhel_8.0 tests
Reviewed-by: David Galloway <dgallowa@redhat.com>
Neha Ojha [Thu, 28 Jan 2021 00:35:23 +0000 (16:35 -0800)]
Merge pull request #37949 from ideepika/wip-docs-update
doc/dev/developer_guide: teuthology update developer guide
Reviewed-by: Neha Ojha <nojha@redhat.com>
Willem Jan Withagen [Thu, 28 Jan 2021 00:00:45 +0000 (01:00 +0100)]
librbd: Fix variable declaration in capture list in lambda
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Wed, 27 Jan 2021 22:04:58 +0000 (16:04 -0600)]
qa/suites/rados/cephadm/*/distro: drop rhel_8.0 targets
We still have centos 8.0. We're missing an 8.0 image for the gibba.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 27 Jan 2021 21:44:21 +0000 (15:44 -0600)]
python-common: fix test_datetime_to_str_2 on non-UTC hosts
The old test parsed to a datetime without a tz, which was interpreted as
the local time zone when rendering back to a string. Specify that it's a
UTC datetime so that behavior is consistent regardless of the test host
timezone.
Signed-off-by: Sage Weil <sage@newdream.net>
Paul Cuzner [Wed, 27 Jan 2021 20:40:58 +0000 (09:40 +1300)]
cephadm:add missing kernel_security property
The propery decorator had gone missing which meant
the dump of host facts was missing the kernel security
(LSM) settings. This patch just adds the @property
decorator back
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
Casey Bodley [Wed, 27 Jan 2021 18:51:09 +0000 (13:51 -0500)]
Merge pull request #38861 from alimaredia/wip-rgw-create-bucket-dpp
rgw: Thread dpp through Create Bucket logging
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Wed, 27 Jan 2021 18:16:56 +0000 (13:16 -0500)]
Merge pull request #39105 from dillaman/wip-48989
librbd: tweaks to support Boost 1.75.0
Reviewed-by: Mykola Golub <mgolub@suse.com>
Ali Maredia [Fri, 11 Dec 2020 21:19:39 +0000 (16:19 -0500)]
rgw: Add DoutPrefixProvider to create_bucket logging
This commit hits all log messages for a create bucket
request and ensures each has a DoutPrefixProvider.
This commit gets dpp's all the way down to rgw/services
up way though to rgw_op.cc, rgw_rest.cc files,
rgw_admin.cc, etc.
This commit also removes store as dpp in rgw_sal.h
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Mykola Golub [Wed, 27 Jan 2021 16:58:28 +0000 (18:58 +0200)]
Merge pull request #39068 from dillaman/wip-librbd-migration-qcow-2
librbd/migration: tweaks and unit tests for QCOW handler
Reviewed-by: Mykola Golub <mgolub@suse.com>
Josh Durgin [Wed, 27 Jan 2021 16:48:22 +0000 (08:48 -0800)]
Merge pull request #39107 from yuriw/wip-yuriw-crontab-master
qa/tests: reduced octopus, nautilus, master frequency
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sebastian Wagner [Wed, 27 Jan 2021 16:46:52 +0000 (17:46 +0100)]
Merge pull request #39043 from tchaikov/wip-cephadm-call
cephadm: refactor call() using asyncio.asyncio.StreamReader
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Wed, 27 Jan 2021 16:39:01 +0000 (08:39 -0800)]
qa/tests: changed priority - master 100, pacific 80
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Yuri Weinstein [Wed, 27 Jan 2021 16:31:19 +0000 (08:31 -0800)]
qa/tests: reduced octopus, nautilus, master frequency
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Jason Dillaman [Wed, 27 Jan 2021 16:31:10 +0000 (11:31 -0500)]
Merge pull request #39015 from lixiaoy1/fix_lib
librbd/cmake: add library dependency for pwl_cache
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Zac Dover [Wed, 27 Jan 2021 15:43:59 +0000 (01:43 +1000)]
doc/dev: add Ernesto Puerta as dashboard lead
This commit removes Lenz Grimmer's name and github
handle from the list of component leads and replaces
it with Ernesto Puerta's name and github handle.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Sebastian Wagner [Wed, 27 Jan 2021 15:54:56 +0000 (16:54 +0100)]
Merge pull request #39101 from sebastian-philipp/cephadm-fix-ok-to-stop-return-value
mgr/cephadm: Fix wrong argument type to HandleCommandResult
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 15:11:25 +0000 (23:11 +0800)]
Merge pull request #39098 from tchaikov/wip-zabbix-ann
mgr: add annotations to zabbix and devicehealth
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Kefu Chai [Wed, 27 Jan 2021 14:24:06 +0000 (22:24 +0800)]
Merge pull request #39065 from cbodley/wip-48988
cmake: boost>=1.74 adds BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT to radosgw
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ramana Raja [Wed, 27 Jan 2021 14:14:17 +0000 (19:44 +0530)]
Merge pull request #38786 from kotreshhr/evict-clients-of-deauthorized-authids
mgr/volumes: Evict clients based on auth-IDs and subvolume path
Reviewed-by: Victoria Martinez de la Cruz <victoria@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Jason Dillaman [Wed, 27 Jan 2021 14:12:58 +0000 (09:12 -0500)]
librbd: tweaks to support Boost 1.75.0
Fixes: https://tracker.ceph.com/issues/48989
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 27 Jan 2021 13:32:45 +0000 (08:32 -0500)]
librbd/migration: minor cleanup to QCOWFormat code
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Wed, 27 Jan 2021 13:27:15 +0000 (08:27 -0500)]
Merge pull request #37259 from soumyakoduri/head_req
rgw: Set CURLOPT_NOBODY for HEAD request
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sebastian Wagner [Wed, 27 Jan 2021 13:15:50 +0000 (14:15 +0100)]
Merge pull request #38982 from jmolmo/fix_iscsi_client_caps
cephadm: Fix iscsi client caps
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Wed, 27 Jan 2021 13:00:59 +0000 (21:00 +0800)]
Merge pull request #39099 from ZhenLiu94/liuz
doc: Correct spelling mistakes.
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Wed, 27 Jan 2021 12:15:47 +0000 (13:15 +0100)]
mgr/cephadm: Fix wrong argument type to HandleCommandResult
the argument must be a string
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Wed, 27 Jan 2021 11:57:07 +0000 (12:57 +0100)]
Merge pull request #38854 from adk3798/ots-monitoring
mgr/cephadm: force flag for ok-to-stop and ok-to-stop for monitoring stack
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Wed, 27 Jan 2021 11:56:29 +0000 (12:56 +0100)]
Merge pull request #38998 from sebastian-philipp/fix-serve-handle-json-error
mgr/cephadm: Properly handle JSON Decode error
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Ernesto Puerta [Wed, 27 Jan 2021 11:47:53 +0000 (12:47 +0100)]
Merge pull request #38764 from rhcs-dashboard/fix-48748-master
mgr/dashboard: trigger alert if some nodes have a MTU different than the median value
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 06:58:01 +0000 (14:58 +0800)]
mgr/devicehealth: return -1 if prediction plugin is not available
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 06:44:23 +0000 (14:44 +0800)]
mgr/devicehealth: remove unused variable
silences flake8 warning F841.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 06:34:35 +0000 (14:34 +0800)]
mgr/devicehealth: remove handle_command()
as commands are collected by COMMANDS already.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 05:43:36 +0000 (13:43 +0800)]
mgr/zabbix: use CLICommand for command handling
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 05:33:50 +0000 (13:33 +0800)]
mgr/zabbix: do not catch exception with name
silences flake8 warning of F841:
https://www.flake8rules.com/rules/F841.html
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 04:58:45 +0000 (12:58 +0800)]
mgr/zabbix: cast port to int
to appease mypy
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 04:52:10 +0000 (12:52 +0800)]
mgr/zabbix: talk to zabbix_sender in text not bytes
as we expect read from / write to it in text mode.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 04:31:13 +0000 (12:31 +0800)]
mgr/zabbix: use "uint" for type of discovery_interval
we only support following types:
'uint', 'int', 'str', 'float', 'bool', 'addr', 'addrvec', 'uuid',
'size', 'secs',
see also str_to_type()
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 04:20:36 +0000 (12:20 +0800)]
mgr/zabbix: add annotations
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 04:26:42 +0000 (12:26 +0800)]
mgr/zabbix: use Option for adding options
more type safety
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 04:08:11 +0000 (12:08 +0800)]
mgr/devicehealth: add more annotations
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Jan 2021 04:07:07 +0000 (12:07 +0800)]
pybind/mgr/mgr_module: correct annotation
Signed-off-by: Kefu Chai <kchai@redhat.com>
ZhenLiu94 [Wed, 27 Jan 2021 08:27:29 +0000 (16:27 +0800)]
doc: Correct spelling mistakes.
Signed-off-by: ZhenLiu94 <zhenliu94@163.com>
Kefu Chai [Wed, 27 Jan 2021 07:20:54 +0000 (15:20 +0800)]
Merge pull request #39093 from rzarzynski/wip-crimson-guard-op-lifetime
crimson: fix dangling ClientRequest::this pointer.
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Michael Wodniok [Wed, 27 Jan 2021 07:19:06 +0000 (08:19 +0100)]
doc: Applied text as suggested by @zdover23
Signed-off-by: Michael Wodniok <wodniok@wor.net>
Sage Weil [Wed, 27 Jan 2021 03:47:43 +0000 (21:47 -0600)]
Merge PR #39087 into master
* refs/pull/39087/head:
qa/suites/rados/cephadm: drop 20.04 podman
qa/suites/rados/cephadm: stop testing 18.04 + podman
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Radoslaw Zarzynski [Tue, 26 Jan 2021 21:54:20 +0000 (22:54 +0100)]
crimson: fix dangling ClientRequest::this pointer.
`ShardServices::start_operation<T>()` spawns an operation,
calls `start()` on it and returns a future plus a smart
pointer controlling its life-time. Callers are responsible
to ensure the pointer doesn't go out-of-scope before
the entire execution is finished. This is error-prone.
`OSD::handle_osd_op()` forgets about its responsibility
which results in dangling `this` pointer of `ClientRequest`.
I believe the problem is much wider spread and the class
is just the tip of the iceberg.
In this commit `start_operation<T>()` is altered to extend
the life-time a bit. However, this isn't an ultimate solution
as callers are still able to e.g. put extra `this`-catching
lambdas on the returned future. A new `with_operation<T>()`-
like interface is expected as a follow-up.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Jason Dillaman [Tue, 26 Jan 2021 20:42:08 +0000 (15:42 -0500)]
Merge pull request #39086 from orozery/qa-rbd-delete-passphrase-file
qa/tasks/rbd: cleanup passphrase file
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 26 Jan 2021 20:17:12 +0000 (15:17 -0500)]
Merge pull request #39089 from orozery/librbd-luks-cli-test
test/librbd: fix luks encryption cli test on unsupported runs
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ilya Dryomov [Tue, 26 Jan 2021 19:45:31 +0000 (20:45 +0100)]
Merge pull request #39091 from tchaikov/wip-crimson-build
cmake: let alienstore link against zoned allocator
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Tue, 26 Jan 2021 18:04:52 +0000 (02:04 +0800)]
cmake: let alienstore link against zoned allocator
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 26 Jan 2021 17:22:50 +0000 (11:22 -0600)]
Merge PR #39028 into master
* refs/pull/39028/head:
cephadm: retry for 30s instead of 10s
cephadm: try 'mgr stat' before 'mgr dump' to get the epoch
mon: add 'mgr stat' command
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Or Ozeri [Tue, 26 Jan 2021 16:54:05 +0000 (18:54 +0200)]
test/librbd: fix luks encryption cli test on unsupported runs
This commit changes the luks encryption cli test to return success instead of failure when not supported.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Jason Dillaman [Mon, 25 Jan 2021 23:15:15 +0000 (18:15 -0500)]
test/librbd: initial unit tests for migration/QCOWFormat
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 26 Jan 2021 05:18:45 +0000 (00:18 -0500)]
librbd/migration: compute QCOW snapshot deltas via L2 table deltas
Since each entry in a L2 table represents a cluster block within the
QCOW image, we can compute deltas by comparing L2 tables. This fixes
an issue where snapshots were not being properly thin-provisioned
during the live-migration execute process.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 26 Jan 2021 15:34:06 +0000 (23:34 +0800)]
Merge pull request #39077 from tchaikov/wip-libzbd
install-deps.sh: set codename when installing libzbd
Reviewed-by: David Galloway <dgallowa@redhat.com>
Kefu Chai [Tue, 26 Jan 2021 15:26:34 +0000 (23:26 +0800)]
Merge pull request #38935 from tchaikov/wip-mgr-ann
pybind/mgr/mgr_module: annotate more methods and add poll to CLICommand
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Kamoltat <ksirivad@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 26 Jan 2021 15:14:09 +0000 (09:14 -0600)]
qa/suites/rados/cephadm: drop 20.04 podman
This version is also affected
Signed-off-by: Sage Weil <sage@newdream.net>