Commit Graph

119714 Commits

Author SHA1 Message Date
Lucian Petrut
7eae54cb4c rbd: fix mingw 5.0.3 compatibility issue
GetOverlappedResultEx isn't avaialable when using mingw 5.0.3
(default on Ubuntu Bionic).

Since we don't really need the extra parameters, we'll switch
to GetOverlappedResult.

We're doing this mostly for testing purposes as the mingw 5.0.3
runtime is known to be broken.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2021-02-25 20:47:23 +00:00
Ernesto Puerta
f81c94c1a2
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>
2021-02-17 14:17:40 +01:00
Ernesto Puerta
dff5b78d3b
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>
2021-02-17 14:14:17 +01:00
Sebastian Wagner
72e9d4ad5f
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>
2021-02-17 12:58:50 +01:00
Sebastian Wagner
9bdc3b9f6f
Merge pull request #39459 from tchaikov/wip-doc-api-command
doc: wrap example command

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-17 10:38:54 +01:00
Sage Weil
3f5e778ad6 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>
2021-02-16 22:17:18 -05:00
zdover23
f3312bbdb3
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>
2021-02-17 12:16:47 +10:00
zdover23
9ee08b90d6
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>
2021-02-17 12:15:17 +10:00
Ernesto Puerta
e2d73297cf
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>
2021-02-16 20:45:44 +01:00
Neha Ojha
51b6b63d08
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>
2021-02-16 10:14:39 -08:00
Zac Dover
67298e2492 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>
2021-02-17 04:14:30 +10:00
Zac Dover
745934320d 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>
2021-02-17 03:45:49 +10:00
Sebastian Wagner
6871b0da8e
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>
2021-02-16 18:00:40 +01:00
zdover23
2588fda316
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>
2021-02-17 02:50:55 +10:00
Casey Bodley
307fdd90d0
Merge pull request #39392 from tschoonj/amqp-ssl
rgw: add support for SSL encrypted AMQP connections

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2021-02-16 10:34:08 -05:00
Sebastian Wagner
5c872ace45 doc/cephadm: Disable automatic deployment of daemons
Fixes: https://tracker.ceph.com/issues/45767
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-16 16:11:06 +01:00
Zac Dover
07a9bf4d55 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>
2021-02-17 00:55:39 +10:00
Sebastian Wagner
6baa74d8e7
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>
2021-02-16 15:25:07 +01:00
Kefu Chai
92c7afbb70
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>
2021-02-16 22:22:44 +08:00
Kefu Chai
bb12908481
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>
2021-02-16 22:11:53 +08:00
Patrick Seidensal
9ac248b0c3 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>
2021-02-16 14:43:00 +01:00
Radoslaw Zarzynski
4711e4eff0 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>
2021-02-16 13:31:58 +00:00
Sebastian Wagner
894b08ae98
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>
2021-02-16 13:40:43 +01:00
Sebastian Wagner
1e3d98ee1e mgr/cephadm: _add_daemon: remove config_func
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-16 12:50:30 +01:00
Sebastian Wagner
1b4e9e68d4 mgr/cephadm: Add config() to CephadmService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-16 12:50:30 +01:00
Sebastian Wagner
f7aeb229cc
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>
2021-02-16 12:17:48 +01:00
Sebastian Wagner
6f5cb833f3
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>
2021-02-16 12:06:31 +01:00
Zac Dover
f16402a962 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>
2021-02-16 18:37:13 +10:00
Sage Weil
28582d5443 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>
2021-02-15 16:35:53 -06:00
Sage Weil
a9a1b88694 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>
2021-02-15 16:52:59 -05:00
Sage Weil
9200b1ea8e 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>
2021-02-15 16:25:01 -05:00
Sage Weil
e42bbba9ca 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>
2021-02-15 16:24:41 -05:00
Sage Weil
d14c7ea13b Merge PR #39185 into master
* refs/pull/39185/head:
	os/bluestore: Add option to check BlueFS reads

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2021-02-15 13:54:46 -05:00
Sage Weil
0dd5e90a75 Merge PR #39281 into master
* refs/pull/39281/head:
	mgr/MgrClient; less copying of mgr report struct

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-15 13:53:48 -05:00
Sage Weil
94448f9c7d 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>
2021-02-15 13:52:30 -05:00
Sage Weil
12efb1d9fe 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>
2021-02-15 13:51:30 -05:00
Sage Weil
39231676eb 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>
2021-02-15 13:50:30 -05:00
Juan Miguel Olmo Martínez
c6e1cfbde2
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>
2021-02-15 19:19:30 +01:00
Sage Weil
c896292d58 Revert "Merge pull request #37764 from mgfritch/cephadm-no-container-init"
This reverts commit f635555fe7, reversing
changes made to d4d3d17b23.

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>
2021-02-15 12:40:39 -05:00
Casey Bodley
533ecb1c5b
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>
2021-02-15 11:15:30 -05:00
Sebastian Wagner
a9b947b51e doc/cephadm: Per-service and per-daemon events
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-15 16:22:42 +01:00
zdover23
7f8bba5226
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>
2021-02-16 00:51:25 +10:00
Zac Dover
81976b4f13 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>
2021-02-16 00:43:14 +10:00
zdover23
905ea54ba5
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>
2021-02-15 23:36:19 +10:00
Zac Dover
ef198d8af5 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>
2021-02-15 23:27:34 +10:00
Jan Fajerski
82618d0af1 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>
2021-02-15 13:06:13 +01:00
Avan Thakkar
36efe519b9 mgr/dashboard: avoid using document.write()
Fixes: https://tracker.ceph.com/issues/49220
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2021-02-15 16:38:37 +05:30
Sebastian Wagner
f171237378 install-deps: Cope with nonexistent /etc/apt/sources.list.d/ceph-libboost1.72.list
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-15 11:42:03 +01:00
Tom Schoonjans
1418bcc1dc 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>
2021-02-15 09:39:33 +00:00
Sebastian Wagner
e40a2ca90c
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>
2021-02-15 10:16:06 +01:00