]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
胡玮文 [Fri, 11 Dec 2020 09:16:14 +0000 (17:16 +0800)]
doc: Fixes a typo in mon_dns_srv_name.
Signed-off-by: 胡玮文 <huww98@outlook.com>
Kefu Chai [Fri, 11 Dec 2020 08:08:31 +0000 (16:08 +0800)]
Merge pull request #38480 from yician1000/fix_48488
mgr/restful: fix TypeError occurring in _gather_osds()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 11 Dec 2020 08:07:03 +0000 (16:07 +0800)]
Merge pull request #38384 from bk201/wip-48406
mgr/dashboard: fix test_dashboard_e2e.sh errors
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Kefu Chai [Fri, 11 Dec 2020 08:04:51 +0000 (16:04 +0800)]
Merge pull request #37785 from lxbsz/conf1
common/config: do not expand the pid for socket admin
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 11 Dec 2020 08:04:00 +0000 (16:04 +0800)]
Merge pull request #38417 from changchengx/osdmap
osd/OSDMonitor: correct duplicated output info
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Fri, 11 Dec 2020 08:00:35 +0000 (16:00 +0800)]
Merge pull request #38453 from b-ranto/wip-crash-serial
mgr/crash: Serialize command handling
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Fri, 11 Dec 2020 07:52:22 +0000 (15:52 +0800)]
Merge pull request #38501 from tchaikov/wip-cmake-crimson-test
test/crimson: do not link against crimson-{os,common}
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Fri, 11 Dec 2020 04:47:51 +0000 (12:47 +0800)]
Merge pull request #38516 from tchaikov/wip-cmake-rocksdb
cmake: stop rebuilding rocksdb everytime
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Fri, 11 Dec 2020 02:54:51 +0000 (18:54 -0800)]
Merge pull request #35314 from zdover23/wip-doc-elasticsearch-7-warning
doc/radosgw: Note that ElasticSearch 7 doesn't work. Just 6 and lower.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Fri, 11 Dec 2020 02:41:53 +0000 (10:41 +0800)]
Merge pull request #38523 from tchaikov/wip-gcc-toolset-9
install-deps.sh: do not use gcc-toolset-9 from copr
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Fri, 11 Dec 2020 00:59:09 +0000 (08:59 +0800)]
Merge pull request #38157 from sebastian-philipp/labeler-orchestrator
github/labeler: Add some more to cephadm, add orchestrator
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Thu, 10 Dec 2020 23:06:50 +0000 (18:06 -0500)]
Merge pull request #38408 from trociny/wip-rbd-group-snap-create2
librbd: extend group snap create API to support flags
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 10 Dec 2020 23:06:24 +0000 (18:06 -0500)]
Merge pull request #38518 from trociny/wip-rbd-test-memleak
test/librbd: fix memory leak in TestLibRBD.ConcurentOperations
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sebastian Wagner [Thu, 10 Dec 2020 21:41:47 +0000 (22:41 +0100)]
Merge pull request #38490 from sebastian-philipp/mypy-0.790
src,qa,dashboard: Upgrade to mypy 0.790
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Harish Munjulur [Thu, 10 Dec 2020 19:49:37 +0000 (11:49 -0800)]
Merge pull request #38075 from joke-lee/s3-auth-date-fix
rgw: fix RequestTimeTooSkewed when Date contain RFC-822/ISO 8601 standard timezone
Harish Munjulur [Thu, 10 Dec 2020 19:48:47 +0000 (11:48 -0800)]
Merge pull request #37926 from BryceCao/wip-catch-non-int-exception
rgw : catch non int exception
Kefu Chai [Thu, 10 Dec 2020 15:53:48 +0000 (23:53 +0800)]
Merge pull request #37909 from alexandrsushko/prometheus-pg-laggy-46142
mgr: Fix for dashboard/prometheus failure due to laggy pg state
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
J. Eric Ivancich [Thu, 10 Dec 2020 15:06:40 +0000 (10:06 -0500)]
Merge pull request #38131 from linuxbox2/wip-lc-ix
rgwlc: correctly dimension lc shard index vector
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Sebastian Wagner [Wed, 18 Nov 2020 11:29:50 +0000 (12:29 +0100)]
github/labeler: Add some more to cephadm, add orchestrator
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Thu, 10 Dec 2020 14:18:39 +0000 (22:18 +0800)]
Merge pull request #38524 from tchaikov/wip-crimson-qa-rbd
qa/suites: add crimson-rados/rbd test suites
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sebastian Wagner [Thu, 10 Dec 2020 14:14:19 +0000 (15:14 +0100)]
Merge pull request #38470 from sebastian-philipp/cephadm-command-unit-verbose
cephadm: command_unit: call systemctl with verbose=True
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Thu, 10 Dec 2020 14:13:42 +0000 (15:13 +0100)]
Merge pull request #38009 from ideepika/wip-48058-cephadm
qa/tasks/cephadm: update_info_yam() only if ctx.archive is valid
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Jason Dillaman [Thu, 10 Dec 2020 14:07:16 +0000 (09:07 -0500)]
Merge pull request #36551 from CongMinYin/immutable_object_cache_throttle
tools: add throttle mechanism to immutable object cache
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Thu, 10 Dec 2020 11:36:15 +0000 (19:36 +0800)]
qa/suites: add crimson-rados/rbd test suites
Signed-off-by: Kefu Chai <kchai@redhat.com>
Ernesto Puerta [Thu, 10 Dec 2020 12:25:03 +0000 (13:25 +0100)]
Merge pull request #38435 from votdev/issue_48449_test_standby
mgr/dashboard: test_standby* (tasks.mgr.test_dashboard.TestDashboard) failed locally
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Ernesto Puerta [Thu, 10 Dec 2020 12:23:46 +0000 (13:23 +0100)]
Merge pull request #38441 from bk201/wip-48455
mgr/dashboard: adjust refresh intervals of Services and Daemons
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Sebastian Wagner [Thu, 10 Dec 2020 12:15:57 +0000 (13:15 +0100)]
Merge pull request #38212 from sebastian-philipp/mgr-cephadm-type-annotations-mandatory-module
mgr/cephadm: make type annotations for module.py mandatory
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Kefu Chai [Thu, 10 Dec 2020 10:48:24 +0000 (18:48 +0800)]
install-deps.sh: do not use gcc-toolset-9 from copr
since both CentOS and RHEL now include the updated
gcc-toolset-9-gcc-9.2.1-2.3.el8.
see also https://bugzilla.redhat.com/show_bug.cgi?id=
1853900
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 10 Dec 2020 07:17:56 +0000 (15:17 +0800)]
crimson/osd: use correct fmt string in logger().debug(...)
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 10 Dec 2020 06:54:10 +0000 (14:54 +0800)]
cmake: exclude unit tests from the "all" target
no need to build unit tests when "make all", unless required explicitly,
like "make tests".
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 10 Dec 2020 06:17:07 +0000 (14:17 +0800)]
src/*: do not pass cct to ceph_version_to_str()
in
e5b1ae5554c4d8a20f9f0ff562b231ad0b0ba0ab , a new option named
"debug_version_for_testing" is introduced to override the version so
we can test version check.
in crimson, we have two families of shared functions.
- one of them is used by alien store. they are compiled with
-DWITH_SEASTAR and -DWITH_ALIEN, to enable the shim code between
seastar and POSIX thread.
- another is used by crimson in general. where no lock is allowed.
currently, we use the "crimson" and "ceph" namespace to differentiate
these two families of functions, so they can colocate in the same
executable without violating the ODR. see src/include/common_fwd.h for
more details.
the functions defined in src/common/version.cc are also shared by
alien store and crimson code. and because we have different
implementations of `CephContext` in crimson and in classic OSD (i.e.
alienstore), we have to have different implementations of this function
as well, if we follow the same approach. but since these functions are
very simple and are non-blocking, there is not much value in
differentiating them, it is better to inject the test settings using
environment variable instead of using ceph option subsystem.
in this change, "ceph_debug_version_for_testing" environment variable is
checked instead, so that crimson and alienstore can share the same
compilation unit of version.cc. and "debug_version_for_testing" option
is removed.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 16:13:15 +0000 (00:13 +0800)]
cmake: reorder linked libraries of crimson-alienstore
so the libraries like libkv can access the symbols exposed by
crimson-alien-common.
this change should address the link failures like:
/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/
16.0.0-8049-g1ab93e4d /rpm/el8/BUILD/
ceph-16.0.0-8049-g1ab93e4d /src/common/PriorityCache.cc:175:
undefined reference to `ceph::common::PerfCountersBuilder::~PerfCountersBuilder()'
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 11:39:19 +0000 (19:39 +0800)]
cmake: do not link crimson-alienstore against crimson-os
crimson-os contains crimson-alienstore, we should not link the latter
against the former. this change partially reverts
490b6322fbbece053f1d92b29ae101bfb0976007
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 11:30:20 +0000 (19:30 +0800)]
cmake: link unittest-seastar-alienstore-thread-pool against crimson-alienstore
no need to link it against crimson-os in a wholesale, crimson-alienstore
would be enough.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 09:42:43 +0000 (17:42 +0800)]
test/crimson: do not link against crimson-{os,common}
this change partially reverts
652dbacc7424efbd3c3175de8ba79ed29edd55c8
quite a few test does not use crimson-os at all, so no need to link
against this library.
even worse is that crimson-os contains crimson-seastore *and*
crimson-alienstore. this introduces cyclic references.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Wed, 9 Dec 2020 05:07:42 +0000 (05:07 +0000)]
rbd: make "group snap create" support quiesce options
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Wed, 2 Dec 2020 17:43:16 +0000 (17:43 +0000)]
librbd: extend group snap create API to support flags
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Thu, 10 Dec 2020 06:00:34 +0000 (06:00 +0000)]
test/librbd: fix memory leak in TestLibRBD.ConcurentOperations
Signed-off-by: Mykola Golub <mgolub@suse.com>
Alexander Sushko [Fri, 27 Nov 2020 11:04:13 +0000 (14:04 +0300)]
pybind/mgr/prometheus/module.py: defaultdict for num_by_state
num_by_state[state] += count in get_pg_status method raises KeyError
if pg state is not in PG_STATES list. PG_STATES should be synced with
osd_types.cc:pg_state_string(). But sometimes it is not. After the
KeyError raise mgr metrics are not available at all.
Fixes: https://tracker.ceph.com/issues/46142
Signed-off-by: Alexander Sushko <alexandrsushko@gmail.com>
Kefu Chai [Thu, 10 Dec 2020 04:22:48 +0000 (12:22 +0800)]
cmake: stop rebuilding rocksdb everytime
this change was originally introduced as a part of
418bfd7bb5ec1dcec2b011e9df118c33ce38d398 , and latter migrated / changed
in the current form. but the idea is the same: to rebuild rocksdb even
if the stamp file shows that it has been built. there is no need to do
so, as we don't hack RocksDB as we used to. also,it is distracting to
check this log message when rebuilding the tree. so drop it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 10 Dec 2020 04:03:21 +0000 (12:03 +0800)]
Merge pull request #38431 from tchaikov/wip-rtd-doc
pybind,doc: build stub using cython and build API doc with RTD
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@hotmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
pcuzner [Wed, 9 Dec 2020 22:37:51 +0000 (11:37 +1300)]
Merge pull request #38329 from pcuzner/cephadm-exporter-docs
doc/dev/cephadm: document the cephadm exporter design
pcuzner [Wed, 9 Dec 2020 20:39:45 +0000 (09:39 +1300)]
Merge branch 'master' into cephadm-exporter-docs
Paul Cuzner [Wed, 9 Dec 2020 20:37:13 +0000 (09:37 +1300)]
doc/dev/cephadm: update index links
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
Ronen Friedman [Wed, 9 Dec 2020 19:41:14 +0000 (21:41 +0200)]
Merge pull request #38472 from ronen-fr/wip-ronenf-qa-scrub
test: cancelling both noscrub *and* nodeep-scrub
Patrick Donnelly [Wed, 9 Dec 2020 19:29:10 +0000 (11:29 -0800)]
Merge PR #38407 into master
* refs/pull/38407/head:
qa: allow arbitrary mount options on kclient mounts
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Patrick Donnelly [Wed, 9 Dec 2020 19:23:11 +0000 (11:23 -0800)]
Merge PR #38266 into master
* refs/pull/38266/head:
client: add ceph.{cluster_fsid/client_id} vxattrs suppport
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Wed, 9 Dec 2020 19:21:28 +0000 (11:21 -0800)]
Merge PR #38367 into master
* refs/pull/38367/head:
pybind/cephfs: fix missing terminating NULL char in readlink()'s C string
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 9 Dec 2020 19:20:08 +0000 (11:20 -0800)]
Merge PR #36127 into master
* refs/pull/36127/head:
client: more reasonable statfs ffree
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Ronen Friedman [Mon, 7 Dec 2020 12:41:45 +0000 (14:41 +0200)]
test: cancelling both noscrub *and* nodeep-scrub
as part of osd-scrub-test.sh.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Jason Dillaman [Wed, 9 Dec 2020 17:06:46 +0000 (12:06 -0500)]
Merge pull request #37971 from lixiaoy1/rwl_plugin
librbd/cache: make image persistent writeback cache as plugin
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ernesto Puerta [Wed, 9 Dec 2020 16:25:10 +0000 (17:25 +0100)]
Merge pull request #38484 from rhcs-dashboard/update-ssl-error-1
mgr/dashboard: Updating the inbuilt ssl providers error
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Yuval Lifshitz [Wed, 9 Dec 2020 13:36:32 +0000 (15:36 +0200)]
Merge pull request #38459 from ronen-fr/wip-ronenf-lua-include
rgw/lua: fixing incompatible declarations of CephContext
Sebastian Wagner [Wed, 9 Dec 2020 12:32:27 +0000 (13:32 +0100)]
Merge pull request #37519 from pcuzner/docs-cephadm-config-drift
doc/dev/cephadm: high level design for a compliance check feature
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>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Xiubo Li [Wed, 25 Nov 2020 05:54:04 +0000 (13:54 +0800)]
ceph-conf: fix client's admin socket parsing
For the 'admin socket' in ceph.conf, if the "$pid" is specified, it
will be expanded with the current process's PID.
For the ceph-conf command, if we specify the "--name" with a value
that have contained a socket daemon's PID, likes:
$ ceph-conf --name client.admin.133423 --show-config-value admin_socket
It will return a sockpath like:
/tmp/user/1000/ceph-asok.EZQumU/client.admin.133423.324523.asok
But the following is expected:
/tmp/user/1000/ceph-asok.EZQumU/client.admin.133423.asok
Stick "$name.$id" for mon/osd/mds/mgr daemons and for other try to
tripe the "$pid" from the name option's value and set a "PID" env.
Fixes: https://tracker.ceph.com/issues/47977
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 10:17:20 +0000 (18:17 +0800)]
Merge pull request #38498 from bk201/wip-48506
mgr/dashboard: remove pyOpenSSL version pinning
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 08:56:08 +0000 (16:56 +0800)]
Merge pull request #38415 from insujang/master
msg/async: refine worker creation in NetworkStack
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 08:45:00 +0000 (16:45 +0800)]
Merge pull request #38457 from tchaikov/wip-mon-scrub-interval
mon: use TYPE_SEC for mon_scrub_interval
Reviewed-by: Joao Eduardo Luis <joao@suse.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Sebastian Wagner [Fri, 20 Nov 2020 12:04:50 +0000 (13:04 +0100)]
mgr/cephadm: make type annotations for module.py mandatory
Fixing bogus json representation for registry-login
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 8 Dec 2020 14:36:11 +0000 (15:36 +0100)]
src,qa: Upgrade to mypy 0.790
dashboard/tools: Make sure {begin,end}_time are set.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kiefer Chang [Wed, 9 Dec 2020 07:55:24 +0000 (15:55 +0800)]
mgr/dashboard: remove pyOpenSSL version pinning
Tests require a newer version of pyOpenSSL.
Fixes: https://tracker.ceph.com/issues/48506
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Kefu Chai [Wed, 9 Dec 2020 05:40:38 +0000 (13:40 +0800)]
Merge pull request #38497 from tchaikov/wip-seastar
seastar: update seastar submodule
Reviewed-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 03:47:55 +0000 (11:47 +0800)]
Merge pull request #38491 from agayev/fix-hmsmr-compilation
os/bluestore: Fix HMSMRDevice.cc compilation.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 03:33:56 +0000 (11:33 +0800)]
seastar: update seastar submodule
to pick up recent fixes in file io
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 03:00:20 +0000 (11:00 +0800)]
Merge pull request #38437 from ifed01/wip-ifed-alloc-replay-dump
os/bluestore: add more means to troubleshoot allocator(s)
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 02:58:23 +0000 (10:58 +0800)]
Merge pull request #38454 from tchaikov/wip-compressor-cleanup
compressor: put Compressor into TOPNSPC namespace and use string_view
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 9 Dec 2020 02:57:00 +0000 (10:57 +0800)]
Merge pull request #38458 from tchaikov/wip-librados-cct
librados: move definition of cct_deleter to .cc
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 8 Dec 2020 21:14:58 +0000 (13:14 -0800)]
Merge pull request #38418 from anthonyeleven/anthonyeleven/clarify-op-priorities
doc: clarify osd recovery op priority and fix a couple of typos
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Abutalib Aghayev [Tue, 8 Dec 2020 15:38:59 +0000 (10:38 -0500)]
os/bluestore: Fix HMSMRDevice.cc compilation.
Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
Patrick Donnelly [Tue, 8 Dec 2020 15:35:23 +0000 (07:35 -0800)]
Merge PR #38419 into master
* refs/pull/38419/head:
vstart_runner: print result line unless opt_rotate_log is set
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Nizamudeen A [Tue, 8 Dec 2020 14:35:28 +0000 (20:05 +0530)]
mgr/dashboard: Adding the alert bad certificate error to the ssl providers error
upstream tracked in https://github.com/cherrypy/cheroot/pull/348
Fixes: https://tracker.ceph.com/issues/48490
Signed-off-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Tue, 8 Dec 2020 10:22:46 +0000 (15:52 +0530)]
mgr/dashboard: Updating the inbuilt ssl providers error
Fixes: https://tracker.ceph.com/issues/48490
Signed-off-by: Nizamudeen A <nia@redhat.com>
Casey Bodley [Tue, 8 Dec 2020 13:51:04 +0000 (08:51 -0500)]
Merge pull request #37956 from dorindabassey/example-notific
examples/boto3/README: examples notification
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Kefu Chai [Tue, 8 Dec 2020 13:44:58 +0000 (21:44 +0800)]
Merge pull request #38374 from rzarzynski/wip-crimson-backfill-remove
crimson: add support for backfill, part 2 -- MOSDPGBackfillRemove
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 8 Dec 2020 13:43:46 +0000 (21:43 +0800)]
Merge pull request #38392 from rzarzynski/wip-crimson-backfill-virtual_pgfacade
crimson: use explicit, abstract interfaces for backfill's facades.
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Tue, 8 Dec 2020 13:40:03 +0000 (14:40 +0100)]
Merge pull request #38208 from sebastian-philipp/mgr-cephadm-type-annotations-mandatory
mgr/cephadm: make type annotations mandatory for some modules
Reviewed-by: Michael Fritch <mfritch@suse.com>
Radoslaw Zarzynski [Wed, 2 Dec 2020 09:26:29 +0000 (10:26 +0100)]
crimson: use explicit, abstract interfaces for backfill's facades.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sebastian Wagner [Tue, 8 Dec 2020 12:43:21 +0000 (13:43 +0100)]
Merge pull request #37130 from pcuzner/cephadm-exporter
cephadm:Add a daemon mode for cephadm to provide a metadata endpoint
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Kefu Chai [Tue, 8 Dec 2020 11:32:36 +0000 (19:32 +0800)]
Merge pull request #38483 from tchaikov/wip-crimson-cleanup
crimson: cleanups
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sebastian Wagner [Fri, 20 Nov 2020 11:06:59 +0000 (12:06 +0100)]
mgr/cephadm: make annotations for schedule.py mandatory
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 20 Nov 2020 11:04:53 +0000 (12:04 +0100)]
mgr/cephadm: make annotations for inventory.py mandatory
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 20 Nov 2020 10:56:26 +0000 (11:56 +0100)]
mgr/cephadm: make annotations for serve.py mandatory
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 20 Nov 2020 10:51:07 +0000 (11:51 +0100)]
mgr/cephadm: make annotations for upgrade.py mandatory
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 8 Dec 2020 11:23:42 +0000 (12:23 +0100)]
Merge pull request #38106 from varshar16/wip-fix-rook-orch-ps-img-id-name
mgr/rook: Fix container id and image id in 'orch ps'
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
Sebastian Wagner [Tue, 8 Dec 2020 11:22:46 +0000 (12:22 +0100)]
Merge pull request #38346 from varshar16/wip-remove-container-id-field-orch-ps
mgr/orchestrator: Remove 'CONTAINER ID' col from orch ps if unknown
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 8 Dec 2020 11:13:04 +0000 (12:13 +0100)]
Merge pull request #37952 from mgfritch/cephadm-json-decode
mgr/cephadm: handle JSONDecodeError
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 8 Dec 2020 11:12:25 +0000 (12:12 +0100)]
Merge pull request #38032 from mgfritch/cephadm-last-local-image-name
cephadm: reference the last local image by digest
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 8 Dec 2020 11:09:14 +0000 (12:09 +0100)]
Merge pull request #38064 from mgfritch/cephadm-rm-host-key-err
mgr/cephadm: verify the `host` key exists during refresh
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Radoslaw Zarzynski [Tue, 1 Dec 2020 22:03:33 +0000 (23:03 +0100)]
crimson/test: make the backfill testing quieter.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 1 Dec 2020 21:57:15 +0000 (22:57 +0100)]
crimson/test: make use of maybe_flush() in the backfill testing.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 1 Dec 2020 15:26:52 +0000 (16:26 +0100)]
crimson/osd: add support for MOSDPGBackfillRemove at primary.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 24 Nov 2020 18:17:49 +0000 (19:17 +0100)]
crimson/osd: add support for MOSDPGBackfillRemove at replicas.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sebastian Wagner [Tue, 8 Dec 2020 10:59:52 +0000 (11:59 +0100)]
Merge pull request #38130 from sebastian-philipp/cephadm-upgrade-fail-daemon
mgr/cephadm: upgrade: fail gracefully, if daemon redeploy fails
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Tue, 8 Dec 2020 10:59:27 +0000 (11:59 +0100)]
Merge pull request #38317 from sebastian-philipp/cephadm-reduce-log-dg-noise
mgr/cephadm: OSD service: reduce log noise
Reviewed-by: Michael Fritch <mfritch@suse.com>
Jerry Pu [Thu, 3 Dec 2020 07:44:50 +0000 (15:44 +0800)]
mgr/restful: fix TypeError occurring in _gather_osds()
In _gather_osds() processing `choose_firstn`, it tries to
traverse the keys of a `dict` (nodes_by_id[node_id]) but not
real nodes, thus mistakenly passing `str` to _gather_osds()
to do recursion.
Fixes: http://tracker.ceph.com/issues/48488
Signed-off-by: Jerry Pu <yician1000@gmail.com>
Kefu Chai [Tue, 8 Dec 2020 08:33:26 +0000 (16:33 +0800)]
crimson/osd: return something in PG::do_delete_work()
this silences the warning of
crimson/osd/pg.cc:316:1: warning: no return statement in function returning non-void [-Wreturn-type]
316 | }
| ^
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 8 Dec 2020 08:29:17 +0000 (16:29 +0800)]
crimson/os: use a constexpr function for sanity test
since match_stage_t is an alias of uint_8. it is an unsigned type, so an
instance of this type should be always greater or equal to 0.
this silences warning like:
stage_types.h:37:50: warning: comparison is always true due to limited range of data type [-Wtype-limits]
37 | static_assert(STAGE >= STAGE_BOTTOM && STAGE <= STAGE_TOP);
| ~~~~~~^~~~~~~~~~~~
also, GCC complains if it is able to assure that the compare always
returns true. so a function helps to silence it.
this warning is meaningless per-se, as we are using static_assert() to
perform sanity test at *compile-time*.
Signed-off-by: Kefu Chai <kchai@redhat.com>
lixiaoy1 [Wed, 4 Nov 2020 14:47:01 +0000 (22:47 +0800)]
librbd/cache: move image writeback cache to plugin
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Ronen Friedman [Tue, 8 Dec 2020 06:17:24 +0000 (08:17 +0200)]
Merge pull request #38460 from ronen-fr/wip-ronenf-lua-move
rgw: removing a pessimizing move
Anthony D'Atri [Thu, 3 Dec 2020 09:08:31 +0000 (01:08 -0800)]
doc: clarify osd recovery op priority and fix a couple of typos
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>