]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agolibrbd/cache/pwl: wait for the completion of reads 39567/head
lixiaoy1 [Fri, 19 Feb 2021 05:04:57 +0000 (00:04 -0500)]
librbd/cache/pwl: wait for the completion of reads

Shut down PWL after the read IOs are completed.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
4 years agoMerge pull request #39556 from zdover23/wip-doc-dev-t8y-intro-how-integration-tests...
Josh Durgin [Thu, 18 Feb 2021 20:27:29 +0000 (12:27 -0800)]
Merge pull request #39556 from zdover23/wip-doc-dev-t8y-intro-how-integration-tests-are-run-rewrite-2021-Feb-19

doc/dev: t8y intro: edit "how to run int. tests"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #39554 from zdover23/wip-doc-dev-t7gy-intro-testing-priority-n...
Josh Durgin [Thu, 18 Feb 2021 20:19:42 +0000 (12:19 -0800)]
Merge pull request #39554 from zdover23/wip-doc-dev-t7gy-intro-testing-priority-n-2021-Feb-19

doc/dev: t7gy s/Priority/N/

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #39293 from mcv21/rgw-admin-error-message
Harish Munjulur [Thu, 18 Feb 2021 18:37:54 +0000 (08:37 -1000)]
Merge pull request #39293 from mcv21/rgw-admin-error-message

rgw/radosgw-admin clarify error when email address already in use

4 years agoMerge pull request #38917 from joke-lee/rgw_sts_get_session_token_check_duration_alwa...
Harish Munjulur [Thu, 18 Feb 2021 18:37:16 +0000 (08:37 -1000)]
Merge pull request #38917 from joke-lee/rgw_sts_get_session_token_check_duration_always_failed

rgw: fix sts get_session_token duration check failed

4 years agoMerge PR #39304 into master
Sage Weil [Thu, 18 Feb 2021 17:38:43 +0000 (12:38 -0500)]
Merge PR #39304 into master

* refs/pull/39304/head:
qa/tasks/ceph: set ctx.ceph[cluster_name].fsid
qa/tasks/rgw: pass fsid to rgw daemon
qa/suites/upgrade/octopus-x: reenable ragweed
qa/suites/upgarde/octopus-x: rename yaml file

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
4 years agodoc/dev: t8y intro: edit "how to run int. tests" 39556/head
Zac Dover [Thu, 18 Feb 2021 17:19:25 +0000 (03:19 +1000)]
doc/dev: t8y intro: edit "how to run int. tests"

This PR gives a bit more form to the section called
"how integration tests are run".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agodoc/dev: t7gy s/Priority/N/ 39554/head
Zac Dover [Thu, 18 Feb 2021 16:46:57 +0000 (02:46 +1000)]
doc/dev: t7gy s/Priority/N/

"N" just looks better in this table than does
"Priority". I've been thinking about this all
day, and I just decided to make this change.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #39548 from pkubaj/master
Kefu Chai [Thu, 18 Feb 2021 15:14:55 +0000 (23:14 +0800)]
Merge pull request #39548 from pkubaj/master

crc32c: fix build on ppc64le with clang

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrc32c: fix build on ppc64le with clang 39548/head
Piotr Kubaj [Thu, 18 Feb 2021 13:40:23 +0000 (14:40 +0100)]
crc32c: fix build on ppc64le with clang

Ceph uses assembly files from https://github.com/antonblanchard/crc32-vpmsum
Update them to the newest versions, which fixes build with Clang.

Signed-off-by: Piotr Kubaj <pkubaj@FreeBSD.org>
4 years agoMerge pull request #38881 from ceph/default_images
Sebastian Wagner [Thu, 18 Feb 2021 11:10:33 +0000 (12:10 +0100)]
Merge pull request #38881 from ceph/default_images

mgr/cephadm: Put together default container images references

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #39330 from sebastian-philipp/orch-rm-apply-funcs
Sebastian Wagner [Thu, 18 Feb 2021 11:08:56 +0000 (12:08 +0100)]
Merge pull request #39330 from sebastian-philipp/orch-rm-apply-funcs

mgr/orch: remove a bunch of duplicated code

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
4 years agoMerge pull request #39542 from tchaikov/wip-devicehealth-flake8
Kefu Chai [Thu, 18 Feb 2021 09:06:23 +0000 (17:06 +0800)]
Merge pull request #39542 from tchaikov/wip-devicehealth-flake8

mgr/devicehealth: silence flake8 warnings

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #39514 from ceph/fix_buffer_overflow
Gal Salomon [Thu, 18 Feb 2021 08:42:19 +0000 (10:42 +0200)]
Merge pull request #39514 from ceph/fix_buffer_overflow

rgw: fix buffer overflow in s3 select op

4 years agoMerge pull request #39356 from xxhdx1985126/wip-crimson-client-request-idempotent
Kefu Chai [Thu, 18 Feb 2021 06:39:22 +0000 (14:39 +0800)]
Merge pull request #39356 from xxhdx1985126/wip-crimson-client-request-idempotent

crimson/osd: make client_requests idempotent

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: make client_requests idempotent 39356/head
Xuehan Xu [Tue, 2 Feb 2021 11:25:01 +0000 (19:25 +0800)]
crimson/osd: make client_requests idempotent

When redoing client requests, they might have already taken effect
on the underlying disk. This commit deals with that situation by
making those requests immediately reply to clients if they are already
done

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agomgr/devicehealth: silence flake8 warnings 39542/head
Kefu Chai [Thu, 18 Feb 2021 04:57:53 +0000 (12:57 +0800)]
mgr/devicehealth: silence flake8 warnings

turns out 4840507cfcdd5182003671994d0bc9604d072e3e was racing with
99805d9cff87f7fe264bbadc235cb8cc311fd460. so we failed to identify this
before merging the former.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39413 from ronen-fr/wip-ronenf-blue-log
Kefu Chai [Thu, 18 Feb 2021 03:50:24 +0000 (11:50 +0800)]
Merge pull request #39413 from ronen-fr/wip-ronenf-blue-log

os/bluestore: reduce number of wasted checks for low-priority logs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
4 years agoMerge pull request #39365 from liewegas/mgr-ssd-used
Kefu Chai [Thu, 18 Feb 2021 03:42:34 +0000 (11:42 +0800)]
Merge pull request #39365 from liewegas/mgr-ssd-used

mgr/devicehealth: extract and present SSD wear %

Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
4 years agoMerge pull request #39346 from tchaikov/wip-ipv6-lo
Kefu Chai [Thu, 18 Feb 2021 03:31:32 +0000 (11:31 +0800)]
Merge pull request #39346 from tchaikov/wip-ipv6-lo

common/ipaddr: Allow binding ipv6 addr on lo

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #39374 from tchaikov/wip-ceph-health-newline
Kefu Chai [Thu, 18 Feb 2021 03:30:55 +0000 (11:30 +0800)]
Merge pull request #39374 from tchaikov/wip-ceph-health-newline

mon/Monitor: add newline at end of output "ceph health -f json"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #39391 from tchaikov/wip-mgr-more-flake8
Kefu Chai [Thu, 18 Feb 2021 03:30:07 +0000 (11:30 +0800)]
Merge pull request #39391 from tchaikov/wip-mgr-more-flake8

pybind/mgr: add more modules to flake8

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #39528 from zdover23/wip-doc-dev-teuthology-intro-testing-priority...
Josh Durgin [Thu, 18 Feb 2021 01:51:45 +0000 (17:51 -0800)]
Merge pull request #39528 from zdover23/wip-doc-dev-teuthology-intro-testing-priority-2021-Feb-17

doc/dev: intro: rewrite "testing priority"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #39516 from rzarzynski/wip-crimson-6threads-in-alienstore
Kefu Chai [Thu, 18 Feb 2021 01:35:00 +0000 (09:35 +0800)]
Merge pull request #39516 from rzarzynski/wip-crimson-6threads-in-alienstore

crimson/osd: tune the default for crimson_alien_op_num_threads.

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39506 from tchaikov/wip-rpm-multi-thread-xz
Kefu Chai [Thu, 18 Feb 2021 01:32:27 +0000 (09:32 +0800)]
Merge pull request #39506 from tchaikov/wip-rpm-multi-thread-xz

ceph.spec.in: use multi-threaded xz compression and cleanups

Reviewed-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #39456 from cbodley/wip-qa-rgw-multisite-upgrade
Casey Bodley [Wed, 17 Feb 2021 18:29:00 +0000 (13:29 -0500)]
Merge pull request #39456 from cbodley/wip-qa-rgw-multisite-upgrade

qa/rgw: run multisite tests with mixed cluster versions

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
4 years agoqa/tasks/ceph: set ctx.ceph[cluster_name].fsid 39304/head
Sage Weil [Thu, 11 Feb 2021 22:05:55 +0000 (17:05 -0500)]
qa/tasks/ceph: set ctx.ceph[cluster_name].fsid

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoqa/tasks/rgw: pass fsid to rgw daemon
Sage Weil [Thu, 4 Feb 2021 16:36:05 +0000 (10:36 -0600)]
qa/tasks/rgw: pass fsid to rgw daemon

Fixes: https://tracker.ceph.com/issues/48754
Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoqa/suites/upgrade/octopus-x: reenable ragweed
Sage Weil [Thu, 4 Feb 2021 16:35:49 +0000 (10:35 -0600)]
qa/suites/upgrade/octopus-x: reenable ragweed

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoqa/suites/upgarde/octopus-x: rename yaml file
Sage Weil [Thu, 4 Feb 2021 16:35:34 +0000 (10:35 -0600)]
qa/suites/upgarde/octopus-x: rename yaml file

We're installing octopus, not pacific

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agodoc/dev: intro: rewrite "testing priority" 39528/head
Zac Dover [Wed, 17 Feb 2021 15:31:55 +0000 (01:31 +1000)]
doc/dev: intro: rewrite "testing priority"

This PR improves the English in the "Testing
Priority" section and makes a few structural
changes to make the intent clearer.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #39363 from rhcs-dashboard/fix-orch-host-e2e
Kefu Chai [Wed, 17 Feb 2021 14:32:24 +0000 (22:32 +0800)]
Merge pull request #39363 from rhcs-dashboard/fix-orch-host-e2e

mgr/dashboard: check .badge instead of text for expected label

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
4 years agoMerge PR #38610 into master
Jan Fajerski [Wed, 17 Feb 2021 14:24:21 +0000 (15:24 +0100)]
Merge PR #38610 into master

* refs/pull/38610/head:
ceph-volume: pass --filter-for-batch from drive-group subcommand

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
4 years agoqa/rgw: add pacific-x upgrade suite for multisite 39456/head
Casey Bodley [Wed, 17 Feb 2021 02:38:05 +0000 (21:38 -0500)]
qa/rgw: add pacific-x upgrade suite for multisite

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoqa/rgw: add octopus-x upgrade suite for multisite
Casey Bodley [Wed, 17 Feb 2021 02:37:50 +0000 (21:37 -0500)]
qa/rgw: add octopus-x upgrade suite for multisite

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoqa/rgw: add 'branch' option to rgw-multisite-tests task
Casey Bodley [Mon, 15 Feb 2021 19:08:18 +0000 (14:08 -0500)]
qa/rgw: add 'branch' option to rgw-multisite-tests task

Fixes: https://tracker.ceph.com/issues/49330
Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #39467 from sebastian-philipp/doc-cephadm-mon-quorum
Sebastian Wagner [Wed, 17 Feb 2021 13:58:44 +0000 (14:58 +0100)]
Merge pull request #39467 from sebastian-philipp/doc-cephadm-mon-quorum

doc/cephadm: Restoring the MON quorum

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
4 years agoMerge pull request #39496 from liewegas/cephadm-refresh-health-update
Sebastian Wagner [Wed, 17 Feb 2021 13:57:06 +0000 (14:57 +0100)]
Merge pull request #39496 from liewegas/cephadm-refresh-health-update

mgr/cephadm: fix host refresh

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #39372 from rhcs-dashboard/avoid-document-write
Ernesto Puerta [Wed, 17 Feb 2021 13:17:40 +0000 (14:17 +0100)]
Merge pull request #39372 from rhcs-dashboard/avoid-document-write

mgr/dashboard: avoid using document.write()

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #39462 from rhcs-dashboard/fix-alerts-mtuMismatch
Ernesto Puerta [Wed, 17 Feb 2021 13:14:17 +0000 (14:14 +0100)]
Merge pull request #39462 from rhcs-dashboard/fix-alerts-mtuMismatch

mgr/dashboard: fix MTU Mismatch alert

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoceph.spec.in: use %make_install macro 39506/head
Kefu Chai [Wed, 17 Feb 2021 04:30:13 +0000 (12:30 +0800)]
ceph.spec.in: use %make_install macro

hide buildroot in the implementation of this macro

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph.spec.in: use %make_build instead of "make"
Kefu Chai [Wed, 17 Feb 2021 04:04:04 +0000 (12:04 +0800)]
ceph.spec.in: use %make_build instead of "make"

so we can hide the `_smp_mflags` in `%make_build` macro

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph.spec.in: use a macro helper to limit number of jobs
Kefu Chai [Wed, 17 Feb 2021 05:07:34 +0000 (13:07 +0800)]
ceph.spec.in: use a macro helper to limit number of jobs

so it can work with the rpm macros better.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: tune the default for crimson_alien_op_num_threads. 39516/head
Radoslaw Zarzynski [Wed, 17 Feb 2021 12:04:37 +0000 (12:04 +0000)]
crimson/osd: tune the default for crimson_alien_op_num_threads.

This commit tries to optimize the default size of AlienStore's
thread pool. Recent testing has shown the intial value, which
is `16`, is far from being optimal while the optimum is close
to `4`:

  https://gist.github.com/rzarzynski/c851212f4b0baef4097a6087533ba17b

Further testing by Mark Nelson suggests that the sweet spot is
closer to `8` taking into account 4 KB writes with lower queue
depths:

  https://docs.google.com/spreadsheets/d/1IR9ysWRkaGdX5e9w_YV8kfeeglR2pEY3V9hovY0ECV8/edit#gid=1884533182

As a kind of compromise `6` is proposed in this commit.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agomgr/dashboard: check .badge instead of text for expected label 39363/head
Nizamudeen A [Mon, 8 Feb 2021 20:21:25 +0000 (01:51 +0530)]
mgr/dashboard: check .badge instead of text for expected label

this change fixes a regression introduced by
8c5e31ec1a13bc53394eb2cb6880d74db169fac4 which broke the 01-hosts.e2e-spec.ts test
driven by test_dashboard_e2e.sh

Fixes: https://tracker.ceph.com/issues/49205
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #39464 from sebastian-philipp/doc-cephadm-unmanaged
Sebastian Wagner [Wed, 17 Feb 2021 11:58:50 +0000 (12:58 +0100)]
Merge pull request #39464 from sebastian-philipp/doc-cephadm-unmanaged

doc/cephadm: Disable automatic deployment of daemons

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
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 pull request #39459 from tchaikov/wip-doc-api-command
Sebastian Wagner [Wed, 17 Feb 2021 09:38:54 +0000 (10:38 +0100)]
Merge pull request #39459 from tchaikov/wip-doc-api-command

doc: wrap example command

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoceph.spec.in: specify cmake variable type
Kefu Chai [Wed, 17 Feb 2021 04:00:51 +0000 (12:00 +0800)]
ceph.spec.in: specify cmake variable type

for better readablity

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph.spec.in: use %cmake macro
Kefu Chai [Wed, 17 Feb 2021 03:52:23 +0000 (11:52 +0800)]
ceph.spec.in: use %cmake macro

%cmake passes a bunch of default flags, so we can save some efforts.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph.spec.in: use RPM_BUILD_NCPUS for number of jobs
Kefu Chai [Wed, 17 Feb 2021 03:47:44 +0000 (11:47 +0800)]
ceph.spec.in: use RPM_BUILD_NCPUS for number of jobs

this env variable is defined by /usr/lib/rpm/macros. let's used it
instead of inventing our own version.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph.spec.in: use multi-threaded xz compression
Kefu Chai [Wed, 17 Feb 2021 03:25:37 +0000 (11:25 +0800)]
ceph.spec.in: use multi-threaded xz compression

so we can build the compressed src rpm and binary rpms with smaller
latency.

see also
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.3_release_notes/technology_previews_installation_and_booting

by default, rpm uses

w9.gzdio

which means: gzip level 9. but since xz is able to compress using
multiple threads, let's switch to xz.

xz's default compression level is 6, but ceph's source and binary
packages are relatively large. let's use a higher compression level.

Signed-off-by: Kefu Chai <kchai@redhat.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 agomgr/cephadm: fix host refresh 39496/head
Sage Weil [Tue, 16 Feb 2021 17:07:08 +0000 (11:07 -0600)]
mgr/cephadm: fix host refresh

Fixes: 01f60cf4e0a751c314120c02956d4ff941eb71b4
Signed-off-by: Sage Weil <sage@newdream.net>
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/cephadm: Disable automatic deployment of daemons 39464/head
Sebastian Wagner [Mon, 15 Feb 2021 10:39:33 +0000 (11:39 +0100)]
doc/cephadm: Disable automatic deployment of daemons

Fixes: https://tracker.ceph.com/issues/45767
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.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 agodoc/cephadm: Restoring the MON quorum 39467/head
Sebastian Wagner [Mon, 15 Feb 2021 12:01:01 +0000 (13:01 +0100)]
doc/cephadm: Restoring the MON quorum

Fixes: https://tracker.ceph.com/issues/49214
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.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 agomgr/orch: remove a bunch of duplicated code 39330/head
Sebastian Wagner [Sat, 6 Feb 2021 00:05:03 +0000 (01:05 +0100)]
mgr/orch: remove a bunch of duplicated code

`ceph daemon add [..]` are all the same thing

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/orch: remove a bunch of duplicated code
Sebastian Wagner [Fri, 5 Feb 2021 23:57:24 +0000 (00:57 +0100)]
mgr/orch: remove a bunch of duplicated code

We only need to call self.apply()

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 agomgr/dashboard: avoid using document.write() 39372/head
Avan Thakkar [Tue, 9 Feb 2021 08:01:59 +0000 (13:31 +0530)]
mgr/dashboard: avoid using document.write()

Fixes: https://tracker.ceph.com/issues/49220
Signed-off-by: Avan Thakkar <athakkar@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>