]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agothere could a case where capacity is equal to string size, and cause invalid write... 39514/head
galsalomon66 [Wed, 17 Feb 2021 09:51:08 +0000 (11:51 +0200)]
there could a case where capacity is equal to string size, and cause invalid write(4 bytes); thus also the last 4-bytes are appended

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
4 years agoMerge PR #39490 into master
Sage Weil [Wed, 17 Feb 2021 03:17:18 +0000 (22:17 -0500)]
Merge PR #39490 into master

* refs/pull/39490/head:
cephadm: fix selinux mount mis-indent

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
4 years agoMerge pull request #39497 from zdover23/wip-doc-dev-teuthology-intro-workbench-remova...
zdover23 [Wed, 17 Feb 2021 02:16:47 +0000 (12:16 +1000)]
Merge pull request #39497 from zdover23/wip-doc-dev-teuthology-intro-workbench-removal-16-Feb-2021

doc/dev: removing workbench docs (part 2)

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #39499 from zdover23/wip-doc-dev-teuthology-teuthology-describe...
zdover23 [Wed, 17 Feb 2021 02:15:17 +0000 (12:15 +1000)]
Merge pull request #39499 from zdover23/wip-doc-dev-teuthology-teuthology-describe-tests-repair-2021-Feb-16

doc/dev: correct "teuthology-describe-tests"

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #38030 from p-se/prom-alert-package-drops-leeway
Ernesto Puerta [Tue, 16 Feb 2021 19:45:44 +0000 (20:45 +0100)]
Merge pull request #38030 from p-se/prom-alert-package-drops-leeway

mgr/dashboard: prometheus alerting: add some leeway for package drops and errors

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #39422 from kamoltat/wip-ksirivad-autoscaler-release-notes
Neha Ojha [Tue, 16 Feb 2021 18:14:39 +0000 (10:14 -0800)]
Merge pull request #39422 from kamoltat/wip-ksirivad-autoscaler-release-notes

PendingReleaseNotes: mgr/pg_autoscaler

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agodoc/dev: correct "teuthology-describe-tests" 39499/head
Zac Dover [Tue, 16 Feb 2021 18:14:30 +0000 (04:14 +1000)]
doc/dev: correct "teuthology-describe-tests"

This tiny commit does this:

s/teuthology-describe-tests/teuthology-describe/

The name of this feature was changed from "teuthology-
describe-tests" to "teuthology-describe", and this
commit brings up to date the title of the section
detailing it.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agodoc/dev: removing workbench docs (part 2) 39497/head
Zac Dover [Tue, 16 Feb 2021 17:45:49 +0000 (03:45 +1000)]
doc/dev: removing workbench docs (part 2)

This removes a paragraph in the section "How
Integration Tests Are Run" that described
ceph-workbench. ceph-workbench is deprecated,
so that paragraph is now gone.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #39323 from sebastian-philipp/cephadm-simplify-cephadmservice...
Sebastian Wagner [Tue, 16 Feb 2021 17:00:40 +0000 (18:00 +0100)]
Merge pull request #39323 from sebastian-philipp/cephadm-simplify-cephadmservice-config

mgr/cephadm: Add config() to CephadmService

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
4 years agoMerge pull request #39174 from zdover23/wip-doc-37949-grammar-edit
zdover23 [Tue, 16 Feb 2021 16:50:55 +0000 (02:50 +1000)]
Merge pull request #39174 from zdover23/wip-doc-37949-grammar-edit

doc/dev: Teuthology guide PR#37949 grammar edit

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #39392 from tschoonj/amqp-ssl
Casey Bodley [Tue, 16 Feb 2021 15:34:08 +0000 (10:34 -0500)]
Merge pull request #39392 from tschoonj/amqp-ssl

rgw: add support for SSL encrypted AMQP connections

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
4 years agodoc/dev: Teuthology guide PR#37949 grammar edit 39174/head
Zac Dover [Fri, 29 Jan 2021 16:41:22 +0000 (02:41 +1000)]
doc/dev: Teuthology guide PR#37949 grammar edit

This PR improves the wording of the technical
information added to the documentation in PR#37949.
This is the second is a series of two PRs, which series
is dedicated to testing a workflow wherein developers
add technical information to the documentation and then
technical writers improve its presentation.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #39430 from liewegas/bug-48142
Sebastian Wagner [Tue, 16 Feb 2021 14:25:07 +0000 (15:25 +0100)]
Merge pull request #39430 from liewegas/bug-48142

qa/suites/rados/cephadm/upgrade: change starting version by distro

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #39493 from rzarzynski/wip-crimson-cond-mon-config
Kefu Chai [Tue, 16 Feb 2021 14:22:44 +0000 (22:22 +0800)]
Merge pull request #39493 from rzarzynski/wip-crimson-cond-mon-config

crimson/osd: fetch configuration from monitors conditionally.

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39492 from zdover23/wip-doc-dev-teuthology-workflow-cephfs-shell...
Kefu Chai [Tue, 16 Feb 2021 14:11:53 +0000 (22:11 +0800)]
Merge pull request #39492 from zdover23/wip-doc-dev-teuthology-workflow-cephfs-shell-typo-15-Feb-2021

doc/dev: cephfs-shell typo repair

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/dashboard: prometheus alerting: add some leeway for package drops and errors... 38030/head
Patrick Seidensal [Wed, 11 Nov 2020 17:55:30 +0000 (18:55 +0100)]
mgr/dashboard: prometheus alerting: add some leeway for package drops and errors (1%)

Fixes: https://tracker.ceph.com/issues/48201
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
4 years agocrimson/osd: fetch configuration from monitors conditionally. 39493/head
Radoslaw Zarzynski [Tue, 16 Feb 2021 12:23:53 +0000 (12:23 +0000)]
crimson/osd: fetch configuration from monitors conditionally.

Before this change we were always attempting to fetch the config
from monitors, even if `--no-mon-config` had been passed. This
was the reason for failures at teuthology like:
http://pulpito.front.sepia.ceph.com/rzarzynski-2021-02-15_21:09:02-rados-master-distro-basic-smithi/5885250

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #39473 from sebastian-philipp/doc-cephamd-trouble-events
Sebastian Wagner [Tue, 16 Feb 2021 12:40:43 +0000 (13:40 +0100)]
Merge pull request #39473 from sebastian-philipp/doc-cephamd-trouble-events

doc/cephadm: Per-service and per-daemon events

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
4 years agomgr/cephadm: _add_daemon: remove config_func 39323/head
Sebastian Wagner [Fri, 5 Feb 2021 13:14:25 +0000 (14:14 +0100)]
mgr/cephadm: _add_daemon: remove config_func

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/cephadm: Add config() to CephadmService
Sebastian Wagner [Mon, 1 Feb 2021 17:13:59 +0000 (18:13 +0100)]
mgr/cephadm: Add config() to CephadmService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #39465 from sebastian-philipp/install-deps-rm-libboost1.72.list
Sebastian Wagner [Tue, 16 Feb 2021 11:17:48 +0000 (12:17 +0100)]
Merge pull request #39465 from sebastian-philipp/install-deps-rm-libboost1.72.list

install-deps: Cope with nonexistent /etc/apt/sources.list.d/ceph-libboost1.72.list

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39249 from varshar16/wip-fix-vstart-ganesha-error
Sebastian Wagner [Tue, 16 Feb 2021 11:06:31 +0000 (12:06 +0100)]
Merge pull request #39249 from varshar16/wip-fix-vstart-ganesha-error

vstart: fix ganesha cluster id and rados url errors

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
4 years agodoc/dev: cephfs-shell typo repair 39492/head
Zac Dover [Tue, 16 Feb 2021 08:37:13 +0000 (18:37 +1000)]
doc/dev: cephfs-shell typo repair

This corrects the formatting for a mention of
cephfs-shell. Previously, it was not properly
formatted. This commit adds two backticks before
the string "cephfs-shell", and adds to backticks
after it.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agocephadm: fix selinux mount mis-indent 39490/head
Sage Weil [Mon, 15 Feb 2021 22:35:53 +0000 (16:35 -0600)]
cephadm: fix selinux mount mis-indent

We want to map this path even if we had to create the empty directory.

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoMerge PR #39150 into master
Sage Weil [Mon, 15 Feb 2021 21:52:59 +0000 (16:52 -0500)]
Merge PR #39150 into master

* refs/pull/39150/head:
qa/suites/rados/cephadm/thrash: add cephadm thrashing test

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge PR #39482 into master
Sage Weil [Mon, 15 Feb 2021 21:25:01 +0000 (16:25 -0500)]
Merge PR #39482 into master

* refs/pull/39482/head:
Revert "Merge pull request #37764 from mgfritch/cephadm-no-container-init"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge PR #39424 into master
Sage Weil [Mon, 15 Feb 2021 21:24:41 +0000 (16:24 -0500)]
Merge PR #39424 into master

* refs/pull/39424/head:
cephadm: Mounting <empty> folder for selinux only if it is needed

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
4 years agoMerge PR #39185 into master
Sage Weil [Mon, 15 Feb 2021 18:54:46 +0000 (13:54 -0500)]
Merge PR #39185 into master

* refs/pull/39185/head:
os/bluestore: Add option to check BlueFS reads

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
4 years agoMerge PR #39281 into master
Sage Weil [Mon, 15 Feb 2021 18:53:48 +0000 (13:53 -0500)]
Merge PR #39281 into master

* refs/pull/39281/head:
mgr/MgrClient; less copying of mgr report struct

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #39282 into master
Sage Weil [Mon, 15 Feb 2021 18:52:30 +0000 (13:52 -0500)]
Merge PR #39282 into master

* refs/pull/39282/head:
osdc/Objecter: remove pool_full_try interface
librados: set FULL_TRY flag on ioctx, not objecter
librados/IoCtxImpl: pass extra_op_flags everywhere

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge PR #39283 into master
Sage Weil [Mon, 15 Feb 2021 18:51:30 +0000 (13:51 -0500)]
Merge PR #39283 into master

* refs/pull/39283/head:
qa/suites/rados/dashboard: whitelist TELEMETRY_CHANGED

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
4 years agoMerge PR #39381 into master
Sage Weil [Mon, 15 Feb 2021 18:50:30 +0000 (13:50 -0500)]
Merge PR #39381 into master

* refs/pull/39381/head:
mgr/cephadm: based sleep interval on configured intervals/timeouts

Reviewed-by: Sebastian Wagner <swagner@suse.com>
4 years agocephadm: Mounting <empty> folder for selinux only if it is needed 39424/head
Juan Miguel Olmo Martínez [Thu, 11 Feb 2021 16:51:49 +0000 (17:51 +0100)]
cephadm: Mounting <empty> folder for selinux only if it is needed

There are OSs without </usr/share/empty> folder. And selinux can be
enabled or not.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
4 years agoRevert "Merge pull request #37764 from mgfritch/cephadm-no-container-init" 39482/head
Sage Weil [Fri, 12 Feb 2021 20:04:57 +0000 (15:04 -0500)]
Revert "Merge pull request #37764 from mgfritch/cephadm-no-container-init"

This reverts commit f635555fe76322336a1e0e8cc3c199562642ad0e, reversing
changes made to d4d3d17b23fcf6d8808a96b992f56924f495b174.

This PR seems to be (indirectly?) responsible for
  https://tracker.ceph.com/issues/49237

Also, it was causing the rados.py task's follow-up step to wait
for snap trimming to fail: it would time out a 'ceph osd dump --format=json'
command.  :/

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoMerge pull request #39461 from yuvalif/wip-yuval-fix-49261
Casey Bodley [Mon, 15 Feb 2021 16:15:30 +0000 (11:15 -0500)]
Merge pull request #39461 from yuvalif/wip-yuval-fix-49261

rgw/test: allow for duplicate events in pubsub

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agodoc/cephadm: Per-service and per-daemon events 39473/head
Sebastian Wagner [Mon, 15 Feb 2021 13:20:13 +0000 (14:20 +0100)]
doc/cephadm: Per-service and per-daemon events

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #39386 from zdover23/wip-doc-dev-triggering-tests-rewrite-10-Feb...
zdover23 [Mon, 15 Feb 2021 14:51:25 +0000 (00:51 +1000)]
Merge pull request #39386 from zdover23/wip-doc-dev-triggering-tests-rewrite-10-Feb-2021

doc/dev: teuthology: improve triggering tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agodoc/dev: teuthology: improve triggering tests 39386/head
Zac Dover [Wed, 10 Feb 2021 01:57:22 +0000 (11:57 +1000)]
doc/dev: teuthology: improve triggering tests

- This PR cleans up the language in the "Triggering
  Tests" section of the "Workflow" chapter of the
  "Tests: Integration Tests" (Teuthology) guide.
- Added bash prompts.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #39407 from zdover23/wip-doc-dev-testing-qa-changes-rewrite-11...
zdover23 [Mon, 15 Feb 2021 13:36:19 +0000 (23:36 +1000)]
Merge pull request #39407 from zdover23/wip-doc-dev-testing-qa-changes-rewrite-11-Feb-2021

doc/dev: rewrite 'testing qa changes'

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agodoc/dev: rewrite 'testing qa changes' 39407/head
Zac Dover [Thu, 11 Feb 2021 02:55:14 +0000 (12:55 +1000)]
doc/dev: rewrite 'testing qa changes'

This PR rewrites the "Testing QA Changes (Without
Re-Building Binaries)" section of the Developer
Guide. I also tried to unbury the lede.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge PR #38562 into master
Jan Fajerski [Mon, 15 Feb 2021 12:06:13 +0000 (13:06 +0100)]
Merge PR #38562 into master

* refs/pull/38562/head:
Update batch.py

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
4 years agoinstall-deps: Cope with nonexistent /etc/apt/sources.list.d/ceph-libboost1.72.list 39465/head
Sebastian Wagner [Mon, 15 Feb 2021 10:42:03 +0000 (11:42 +0100)]
install-deps: Cope with nonexistent /etc/apt/sources.list.d/ceph-libboost1.72.list

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agorgw: add support for SSL encrypted AMQP connections 39392/head
Tom Schoonjans [Tue, 9 Feb 2021 20:19:24 +0000 (20:19 +0000)]
rgw: add support for SSL encrypted AMQP connections

Fixes: https://tracker.ceph.com/issues/42902
Signed-off-by: Tom Schoonjans <Tom.Schoonjans@rfi.ac.uk>
4 years agoMerge pull request #39458 from sebastian-philipp/cephadm-spec-store-fix-race
Sebastian Wagner [Mon, 15 Feb 2021 09:16:06 +0000 (10:16 +0100)]
Merge pull request #39458 from sebastian-philipp/cephadm-spec-store-fix-race

mgr/cephadm: SpecStore: use d-under accessor methods

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/cephadm: SpecStore: use d-under accessor methods 39458/head
Sebastian Wagner [Sat, 13 Feb 2021 12:56:34 +0000 (13:56 +0100)]
mgr/cephadm: SpecStore: use d-under accessor methods

This fixes a conflict between:

1fcdad17685a8884135a2cda0cdfe3525e325474
2c7f899124207d0d4866e16d9eb5609777ea22e8

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agorgw/test: allow for duplicate events in pubsub 39461/head
Yuval Lifshitz [Sun, 14 Feb 2021 15:19:17 +0000 (17:19 +0200)]
rgw/test: allow for duplicate events in pubsub

when tested via radosgw-admin.
also, add verification for the content of the events

Fixes: https://tracker.ceph.com/issues/49261
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
4 years agoMerge pull request #39379 from multi-arch/master
Kefu Chai [Sun, 14 Feb 2021 08:39:53 +0000 (16:39 +0800)]
Merge pull request #39379 from multi-arch/master

ceph.spec.in: Enable tcmalloc and lttng on IBM Power and Z

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Luke Browning <lbrownin@redhat.com>
4 years agoMerge pull request #39389 from tchaikov/wip-cmake-ccache
Kefu Chai [Sun, 14 Feb 2021 08:38:35 +0000 (16:38 +0800)]
Merge pull request #39389 from tchaikov/wip-cmake-ccache

cmake: s/CCACHE_FOUND/CCACHE_EXECUTABLE/

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #39411 from tchaikov/wip-rtd-theme
Kefu Chai [Sun, 14 Feb 2021 03:27:27 +0000 (11:27 +0800)]
Merge pull request #39411 from tchaikov/wip-rtd-theme

doc: cleanups and group tell commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #39454 from rzarzynski/wip-crimson-crc-for-temp-msgr
Kefu Chai [Sat, 13 Feb 2021 08:21:25 +0000 (16:21 +0800)]
Merge pull request #39454 from rzarzynski/wip-crimson-crc-for-temp-msgr

crimson: configure CRC for the temp_mon_client's messenger.

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39453 from rzarzynski/wip-crimson-monc-pick-from-addrs
Kefu Chai [Sat, 13 Feb 2021 02:34:32 +0000 (10:34 +0800)]
Merge pull request #39453 from rzarzynski/wip-crimson-monc-pick-from-addrs

crimson/monc: consider v1 addresses when connecting to a monitor.

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: define command properties using field list 39411/head
Kefu Chai [Fri, 12 Feb 2021 10:00:08 +0000 (18:00 +0800)]
doc: define command properties using field list

the rendering is more compacted this way, and the parameters can be
aligned.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: silence warnings from openapi sphinx extension
Kefu Chai [Fri, 12 Feb 2021 08:05:06 +0000 (16:05 +0800)]
doc: silence warnings from openapi sphinx extension

this is a follow-up of 1debd9856565905439ae56f2cfdc16b0549055ec,
we should use the logging from sphinx.util instead from Python standard
library's logging.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: group commands by prefix
Kefu Chai [Fri, 12 Feb 2021 08:03:11 +0000 (16:03 +0800)]
doc: group commands by prefix

as there are lots commands, the toc in sidebar is clutterred with them,
so would be better to group them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: split the argdesc pair at the first '='
Kefu Chai [Thu, 11 Feb 2021 18:05:00 +0000 (02:05 +0800)]
doc: split the argdesc pair at the first '='

there is chance that the value of of the argdesc's kv pair contains
"=". for instance, the goodchars regexp could contain '='. so we should
stop at the first '='.

this change fixes the parsing of "osd pool application set" command.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: drop ceph.js completely
Kefu Chai [Thu, 11 Feb 2021 15:40:56 +0000 (23:40 +0800)]
doc: drop ceph.js completely

these are leftovers of 7a62303b57150814ff465eb611b69b3b2e9f03f1

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: decrease padding in the "docubetter" div
Kefu Chai [Thu, 11 Feb 2021 14:18:22 +0000 (22:18 +0800)]
doc: decrease padding in the "docubetter" div

for better UX

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39385 from adk3798/error-redeploy
Sebastian Wagner [Sat, 13 Feb 2021 00:57:38 +0000 (01:57 +0100)]
Merge pull request #39385 from adk3798/error-redeploy

cephadm: allow redeploy of daemons in error state if container running

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #38549 from adk3798/prepare-redeploy
Sebastian Wagner [Sat, 13 Feb 2021 00:57:21 +0000 (01:57 +0100)]
Merge pull request #38549 from adk3798/prepare-redeploy

mgr/cephadm: make generate_config internal, prepare before redeploy

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agocrimson: configure CRC for the temp_mon_client's messenger. 39454/head
Radoslaw Zarzynski [Fri, 12 Feb 2021 19:18:23 +0000 (19:18 +0000)]
crimson: configure CRC for the temp_mon_client's messenger.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/monc: improve debugs around Connection::reply. 39453/head
Radoslaw Zarzynski [Fri, 12 Feb 2021 19:17:04 +0000 (19:17 +0000)]
crimson/monc: improve debugs around Connection::reply.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/monc: consider v1 addresses when connecting to a monitor.
Radoslaw Zarzynski [Fri, 12 Feb 2021 09:17:04 +0000 (09:17 +0000)]
crimson/monc: consider v1 addresses when connecting to a monitor.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #39450 from cbodley/wip-rgw-notify-double-dpp
Casey Bodley [Fri, 12 Feb 2021 19:06:56 +0000 (14:06 -0500)]
Merge pull request #39450 from cbodley/wip-rgw-notify-double-dpp

rgw: remove duplicated ldout in rgw_notify.cc

Reviewed-by: Ali Maredia <amaredia@redhat.com>
4 years agorgw: remove duplicated ldout in rgw_notify.cc 39450/head
Casey Bodley [Fri, 12 Feb 2021 16:32:09 +0000 (11:32 -0500)]
rgw: remove duplicated ldout in rgw_notify.cc

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #39373 from varshar16/wip-fix-rook-timezone-error
Sebastian Wagner [Fri, 12 Feb 2021 12:58:33 +0000 (13:58 +0100)]
Merge pull request #39373 from varshar16/wip-fix-rook-timezone-error

mgr/rook: Add timezone info

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
4 years agoMerge pull request #39362 from rhcs-dashboard/49216-delete-eof-read-pwd-from-file
Ernesto Puerta [Fri, 12 Feb 2021 10:30:07 +0000 (11:30 +0100)]
Merge pull request #39362 from rhcs-dashboard/49216-delete-eof-read-pwd-from-file

mgr/dashboard: delete EOF when reading passwords from file

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: sebastian-philipp <swagner@suse.com>
4 years agoMerge pull request #39434 from zdover23/wip-doc-dev-about-suites-and-filters-rewrite...
zdover23 [Fri, 12 Feb 2021 07:26:48 +0000 (17:26 +1000)]
Merge pull request #39434 from zdover23/wip-doc-dev-about-suites-and-filters-rewrite-2021-Feb-12

doc/dev: rewrite "about suites and filters"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #39327 from kotreshhr/qa-fix-mgr-vol-test-cases
Ramana Raja [Fri, 12 Feb 2021 04:59:22 +0000 (23:59 -0500)]
Merge pull request #39327 from kotreshhr/qa-fix-mgr-vol-test-cases

qa: Fix a few mgr/volume test cases

Reviewed-by: Ramana Raja <rraja@redhat.com>
4 years agoMerge pull request #39409 from trociny/wip-49245
Jason Dillaman [Fri, 12 Feb 2021 03:51:34 +0000 (22:51 -0500)]
Merge pull request #39409 from trociny/wip-49245

librbd: don't log error if get mirror status fails due to mirroring disabled

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38883 from sebastian-philipp/cephadm-keep-deleted-specs
Sebastian Wagner [Fri, 12 Feb 2021 00:07:15 +0000 (01:07 +0100)]
Merge pull request #38883 from sebastian-philipp/cephadm-keep-deleted-specs

mgr/cephadm: Purge deleted services

Reviewed-by: Adam King <adking@redhat.com>
4 years agoMerge pull request #39058 from sebastian-philipp/cephadm-use_repo_digest-default...
Sebastian Wagner [Fri, 12 Feb 2021 00:06:29 +0000 (01:06 +0100)]
Merge pull request #39058 from sebastian-philipp/cephadm-use_repo_digest-default-true

mgr/cephadm: enable use_repo_digest by default for pacific

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agoMerge pull request #39364 from mgfritch/cephadm-log-errs
Sebastian Wagner [Fri, 12 Feb 2021 00:06:07 +0000 (01:06 +0100)]
Merge pull request #39364 from mgfritch/cephadm-log-errs

cephadm: add error messages to log file

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
4 years agodoc/dev: rewrite "about suites and filters" 39434/head
Zac Dover [Thu, 11 Feb 2021 23:28:06 +0000 (09:28 +1000)]
doc/dev: rewrite "about suites and filters"

This improves the English in the section
"About Suites and Filters" in the new
Teuthology Guide in the Developer Guide.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge PR #39404 into master
Sage Weil [Thu, 11 Feb 2021 22:10:44 +0000 (17:10 -0500)]
Merge PR #39404 into master

* refs/pull/39404/head:
qa/suites/upgrade/octopus-x/stress-split: cephadm-based stress-split upgrade

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
4 years agoMerge pull request #39375 from idryomov/wip-rbd-rm-exclusive
Jason Dillaman [Thu, 11 Feb 2021 19:32:08 +0000 (14:32 -0500)]
Merge pull request #39375 from idryomov/wip-rbd-rm-exclusive

librbd: refuse to release exclusive lock when removing

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #39368 from MahatiC/wip-ssd-bug-fix
Jason Dillaman [Thu, 11 Feb 2021 19:31:24 +0000 (14:31 -0500)]
Merge pull request #39368 from MahatiC/wip-ssd-bug-fix

librbd/cache/pwl: Fix user request completion

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Xiaoyan Li <xiaoyan.li@intel.com>
4 years agoqa/suites/rados/cephadm/upgrade: change starting version by distro 39430/head
Sage Weil [Thu, 11 Feb 2021 19:08:19 +0000 (14:08 -0500)]
qa/suites/rados/cephadm/upgrade: change starting version by distro

centos/rhel have podman 2, which does not like conflicting --cap-add and
--privileged arguments.  cephadm versions prior to 15.2.5 use both args,
however, which means the rhel/centos upgrade test has to start at 15.2.5
to work at all on those distros (with the updated podman).

Fixes: https://tracker.ceph.com/issues/48142
Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoPendingReleaseNotes: mgr/pg_autoscaler 39422/head
Kamoltat [Thu, 11 Feb 2021 15:44:09 +0000 (15:44 +0000)]
PendingReleaseNotes: mgr/pg_autoscaler

Added details describing the changes that
occured after merging #39248 into target
upstream.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
4 years agoqa: Fix a few mgr/volume test cases 39327/head
Kotresh HR [Fri, 5 Feb 2021 18:05:22 +0000 (23:35 +0530)]
qa: Fix a few mgr/volume test cases

Recovering dirty auth metadata file might not retain the order,
fixed the comparison in 'test_recover_auth_metadata_during_authorize'
and 'test_recover_auth_metadata_during_deauthorize'.

Fixes: https://tracker.ceph.com/issues/49192
Signed-off-by: Kotresh HR <khiremat@redhat.com>
4 years agolibrbd: don't log error if get mirror status fails due to mirroring disabled 39409/head
Mykola Golub [Thu, 11 Feb 2021 09:24:49 +0000 (09:24 +0000)]
librbd: don't log error if get mirror status fails due to mirroring disabled

Fixes: https://tracker.ceph.com/issues/49245
Signed-off-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #39037 from liu-chunmei/seastore_collection
Samuel Just [Thu, 11 Feb 2021 01:51:37 +0000 (17:51 -0800)]
Merge pull request #39037 from liu-chunmei/seastore_collection

crimson/seastore: add collection implementation

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #39398 from ktdreyer/cephadm-sys-fs-selinux
Ken Dreyer [Thu, 11 Feb 2021 01:34:12 +0000 (18:34 -0700)]
Merge pull request #39398 from ktdreyer/cephadm-sys-fs-selinux

cephadm: make /sys/fs/selinux empty

4 years agoqa/suites/upgrade/octopus-x/stress-split: cephadm-based stress-split upgrade 39404/head
Sage Weil [Thu, 4 Feb 2021 18:56:49 +0000 (12:56 -0600)]
qa/suites/upgrade/octopus-x/stress-split: cephadm-based stress-split upgrade

Apply stress during upgrade, and also pause partway and do some
thrashing.

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoMerge pull request #39384 from neha-ojha/wip-cephadm-compress
Neha Ojha [Wed, 10 Feb 2021 23:17:27 +0000 (15:17 -0800)]
Merge pull request #39384 from neha-ojha/wip-cephadm-compress

Revert "qa/tasks/cephadm: use cluster.sh and remote.sh for better readibility"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
4 years agoMerge pull request #39155 from dillaman/wip-49037
Mykola Golub [Wed, 10 Feb 2021 16:37:34 +0000 (18:37 +0200)]
Merge pull request #39155 from dillaman/wip-49037

librbd: correct incremental deep-copy object-map inconsistencies

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agocephadm: make /sys/fs/selinux empty 39398/head
Ken Dreyer [Wed, 10 Feb 2021 15:08:51 +0000 (08:08 -0700)]
cephadm: make /sys/fs/selinux empty

When the following conditions are true:

  1) A host has selinux-policy-targeted,
  2) We mount the host's /sys into a privileged container,
  3) The container has SELINUXTYPE=targeted in /etc/selinux/config,
  4) The container does not have an selinux-policy-targeted package,

then SELinux-enabled applications like restorecon or DNF do not work inside
the container.

Resolve this by making /sys/fs/selinux an empty directory.

Fixes: https://tracker.ceph.com/issues/49239
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
4 years agocephadm: allow redeploy of daemons in error state if container running 39385/head
Adam King [Mon, 8 Feb 2021 19:55:45 +0000 (14:55 -0500)]
cephadm: allow redeploy of daemons in error state if container running

Signed-off-by: Adam King <adking@redhat.com>
4 years agoMerge pull request #38963 from rhcs-dashboard/refresh-crushmap
Ernesto Puerta [Wed, 10 Feb 2021 14:03:09 +0000 (15:03 +0100)]
Merge pull request #38963 from rhcs-dashboard/refresh-crushmap

mgr/dashboard: Automatically refresh crush map metadata table

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #39355 from sebastian-philipp/doc-install-rm-deepsea
Sebastian Wagner [Wed, 10 Feb 2021 12:29:30 +0000 (13:29 +0100)]
Merge pull request #39355 from sebastian-philipp/doc-install-rm-deepsea

doc/install: cephadm is the successor of DeepSea

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge pull request #38505 from sebastian-philipp/doc-dev-cephadm-scalability-notes
Sebastian Wagner [Wed, 10 Feb 2021 12:17:00 +0000 (13:17 +0100)]
Merge pull request #38505 from sebastian-philipp/doc-dev-cephadm-scalability-notes

doc/dev/cephadm: scalability notes

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge pull request #39287 from david-z/wip-fix-join-fscid
Venky Shankar [Wed, 10 Feb 2021 12:00:14 +0000 (17:30 +0530)]
Merge pull request #39287 from david-z/wip-fix-join-fscid

mon/MDSMonitor.cc: fix join fscid not applied with pending fsmap at boot

4 years agoMerge PR #38318 into master
Jan Fajerski [Wed, 10 Feb 2021 10:50:09 +0000 (11:50 +0100)]
Merge PR #38318 into master

* refs/pull/38318/head:
common: Add Windows ETW support

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/seastore: add collection manager implementation 39037/head
chunmei-liu [Sat, 6 Feb 2021 02:13:37 +0000 (18:13 -0800)]
crimson/seastore: add collection manager implementation

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocmake: s/CCACHE_FOUND/CCACHE_EXECUTABLE/ 39389/head
Kefu Chai [Wed, 10 Feb 2021 03:47:15 +0000 (11:47 +0800)]
cmake: s/CCACHE_FOUND/CCACHE_EXECUTABLE/

to be more consistent with other find_program() calls.
and more correct this way, as ${CCACHE_FOUND} is not a boolean, it
is a path pointing to the found cache executable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39387 from xxhdx1985126/wip-client-request-pg-ref
Kefu Chai [Wed, 10 Feb 2021 05:00:13 +0000 (13:00 +0800)]
Merge pull request #39387 from xxhdx1985126/wip-client-request-pg-ref

crimson/osd: capture pgref by value if it is to be referenced asynchronously

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39388 from ivzhh/master
Kefu Chai [Wed, 10 Feb 2021 04:56:46 +0000 (12:56 +0800)]
Merge pull request #39388 from ivzhh/master

cmake: don't pass ccache argument to RocksDB build

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: don't pass ccache argument to RocksDB build 39388/head
Sheng Mao [Wed, 10 Feb 2021 03:14:58 +0000 (20:14 -0700)]
cmake: don't pass ccache argument to RocksDB build

RocksDB's cmake has a similar logic to turn on ccache as the main cmake.
Currently BuildRocksDB.cmake explicitly passes ccache to RocksDB cmake
arguments as CMAKE_CXX_COMPILER_LAUNCHER. This causes a compilation error
on ccache 4.0, especially in make -j mode.

ccache: error: Recursive invocation (the name of the ccache binary must
be "ccache")

This commit lets cmake from RocksDB decide RULE_LAUNCH_COMPILE by itself.

Signed-off-by: Sheng Mao <shngmao@gmail.com>
4 years agocrimson/osd: capture pgref by value if it is to be referenced asynchronously 39387/head
Xuehan Xu [Wed, 10 Feb 2021 02:37:29 +0000 (10:37 +0800)]
crimson/osd: capture pgref by value if it is to be referenced asynchronously

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #39351 from zdover23/wip-doc-dev-getting-binaries-rewrite-08-Feb...
zdover23 [Wed, 10 Feb 2021 02:00:15 +0000 (12:00 +1000)]
Merge pull request #39351 from zdover23/wip-doc-dev-getting-binaries-rewrite-08-Feb-2021

doc/dev: rewrite "getting binaries" section

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #39383 from badone/wip-unmask-deep-scrub-stdout-lazy_omap_stats_test
Brad Hubbard [Wed, 10 Feb 2021 01:37:17 +0000 (11:37 +1000)]
Merge pull request #39383 from badone/wip-unmask-deep-scrub-stdout-lazy_omap_stats_test

test/lazy-omap-stats: Immediate deep-scrub output

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>