Commit Graph

8481 Commits

Author SHA1 Message Date
Ilya Dryomov
b8921a0c9a
Merge pull request #42805 from zdover23/wip-doc-2021-08-17-rbd-nomad-2-of-x
doc: improve "Create a Pool" in rbd-nomad.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2021-08-24 16:32:42 +02:00
Zac Dover
1715989e06 doc: improve "Create a Pool" in rbd-nomad.rst
This PR improves the English in the "Create
a Pool" section of the "RBD & Nomad Integration"
chapter of the RBD Guide.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-08-24 16:16:24 +02:00
Gregory Farnum
02bda6d799
Merge pull request #41335 from noonedeadpunk/doc/stretch_mon
doc/rados/operations/stretch-mode: Adjust description of mon.e placement

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2021-08-23 16:13:54 -07:00
Stephan Müller
0c8cb21d5e
Merge pull request #41380 from Devp00l/wip-rgw-multisite-doc
doc: Improve RGW multisite documentation

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Alex Settle <asettle@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-08-23 15:52:57 +02:00
Alfonso Martínez
92e6244a9f
Merge pull request #42864 from aaryanporwal/vrt-doc
doc/dev: mgr/dashboard: Visual regression tests for ceph dashboard

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-08-23 14:59:00 +02:00
Ilya Dryomov
9b50733526
Merge pull request #42804 from zdover23/wip-doc-2021-08-17-rbd-nomad-1-of-x
doc: improve RBD "Block Devices and Nomad"

Reviewed-by: Etienne Menguy <etienne.menguy@croit.io>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2021-08-23 13:46:31 +02:00
Aaryan Porwal
d4f0d949af doc/dev: mgr/dashboard: Visual regression tests for ceph dashboard
Fixes: https://tracker.ceph.com/issues/52370

Signed-off-by: Aaryan Porwal <aaryanporwal2233@gmail.com>
2021-08-23 14:18:15 +05:30
Kefu Chai
e31f8e1253 doc/dev/config: update to in sync with latest .yaml.in changes
we migrated to a build process which translate the options from .yaml.in
files. so update the document to reflect this change.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-08-18 18:00:20 +08:00
Kefu Chai
53065cad3f
Merge pull request #42801 from ivancich/wip-update-rados-rm-help
doc: clarify use of `rados rm` command

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-08-18 11:46:45 +08:00
Zac Dover
66ebe00fb3 doc: improve RBD "Block Devices and Nomad"
This PR improves the English syntax and
spelling in the "Block Devices and Nomad"
section of the rbd-nomad.rst page.

This PR rewrites the top-level matter.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-08-17 14:34:49 +10:00
Patrick Donnelly
9f7f9327a6 Merge PR #42749 into master
* refs/pull/42749/head:
	doc: document that NEARFULL conditions can result in slow writes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-08-16 19:15:37 -07:00
J. Eric Ivancich
8e975ba9fd doc: clarify use of rados rm command
The man page did not make it clear that multiple objects could be
specified, nor did it describe use of "--force-full".

Info displayed about "rm" with `rados --help` was poorly formatted and
the wording was adjusted.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2021-08-16 18:28:07 -04:00
Casey Bodley
f74b748a42
Merge pull request #42340 from mkogan1/wip-d3n-docs
doc/radosgw/d3n: add user docs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2021-08-16 16:11:33 -04:00
Mark Kogan
542a304453 doc/radosgw/d3n: add user docs
(high-level feature description, setup instructions, config options)
Fixes: https://tracker.ceph.com/issues/51409

Signed-off-by: Mark Kogan <mkogan@redhat.com>
2021-08-16 18:18:08 +03:00
zdover23
3583c34bc7
Merge pull request #42167 from emenguy/nomad_ceph_integration_documentation
[docs]: RBD and Nomad integration

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-08-13 08:48:40 +10:00
Sebastian Wagner
f5848cbf39
Merge pull request #42293 from zdover23/wip-doc-cephadm-client-setup-2021-07-12
doc/cephadm: rewrite client-setup.rst

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-12 13:06:11 +02:00
Sage Weil
034de1f5a0 Merge PR #42759 into master
* refs/pull/42759/head:
	doc/mgr/nfs: add section on updating an nfs cluster

Reviewed-by: Varsha Rao <varao@redhat.com>
2021-08-11 15:28:40 -04:00
Neha Ojha
94239d46d8
Merge pull request #39871 from benhanokh/no_column_b
BlueStore: Remove Allocations from RocksDB

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2021-08-11 11:29:12 -07:00
Sage Weil
7cc4c91dce doc/mgr/nfs: add section on updating an nfs cluster
Signed-off-by: Sage Weil <sage@newdream.net>
2021-08-11 11:32:35 -05:00
Ernesto Puerta
afadfede0d
Merge pull request #42194 from rhcs-dashboard/add-grafonnet-grafana
mgr/dashboard: monitoring: replace Grafana JSON with Grafonnet based code
2021-08-11 18:11:59 +02:00
Sage Weil
6f8bdfbb90 Merge PR #42252 into master
* refs/pull/42252/head:
	mgr/dashboard: set rgw credentials: fix api tests
	mgr/dashboard: run-frontend-e2e-tests.sh: remove unneeded rgw setting
	mgr/dashboard: rgw service creation form: add realm and zone to service spec.
	mgr/dashboard: connect-rgw: rename to set-rgw-credentials; refactoring
	mgr/dashboard: connect-rgw: adaptation and test coverage
	mgr/cephadm: re-check dashboard <-> rgw creds when rgw daemons created/destroyed
	mgr/dashboard: add 'dashboard connect-rgw' command
	doc/mgr/dashboard: simplify dashboard+rgw config docs

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2021-08-11 11:28:28 -04:00
Aashish Sharma
e9bd94515f mgr/dashboard: monitoring: replace Grafana JSON with Grafonnet based Code
This PR intends to add grafonnet to generate grafana JSON files

Fixes: https://tracker.ceph.com/issues/45184
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2021-08-11 19:23:54 +05:30
Gabriel BenHanokh
272160ab5e [BlueStore]: [Remove Allocations from RocksDB]
Currently BlueStore keeps its allocation info inside RocksDB.
BlueStore is committing all allocation information (alloc/release) into RocksDB (column-family B) before the client Write is performed causing a delay in write path and adding significant load to the CPU/Memory/Disk.
Committing all state into RocksDB allows Ceph to survive failures without losing the allocation state.

The new code skips the RocksDB updates on allocation time and instead perform a full desatge of the allocator object with all the OSD allocation state in a single step during umount().
This results with an 25% increase in IOPS and reduced latency in small random-write workloads, but exposes the system to losing allocation info in failure cases where we don't call umount.
We added code to perform a full allocation-map rebuild from information stored inside the ONode which is used in failure cases.
When we perform a graceful shutdown there is no need for recovery and we simply read the allocation-map from a flat file where the allocation-map was stored during umount() (in fact this mode is faster and shaves few seconds from boot time since reading a flat file is faster than iterating over RocksDB)

Open Issues:

There is a bug in the src/stop.sh script killing ceph without invoking umount() which means anyone using it will always invoke the recovery path.
Adam Kupczyk is fixing this issue in a separate PR.
A simple workaround is to add a call to 'killall -15 ceph-osd' before calling src/stop.sh

Fast-Shutdown and Ceph Suicide (done when the system underperforms) stop the system without a proper drain and a call to umount.
This will trigger a full recovery which can be long( 3 minutes in my testing, but your your mileage may vary).
We plan on adding a follow up PR doing the following in Fast-Shutdown and Ceph Suicide:

Block the OSD queues from accepting any new request
Delete all items in queue which we didn't start yet
Drain all in-flight tasks
call umount (and destage the allocation-map)
If drain didn't complete within a predefined time-limit (say 3 minutes) -> kill the OSD
Signed-off-by: Gabriel Benhanokh <gbenhano@redhat.com>

create allocator from on-disk onodes and BlueFS inodes
change allocator + add stat counters + report illegal physical-extents
compare allocator after rebuild from ONodes
prevent collection from being open twice
removed FSCK repo check for null-fm
Bug-Fix: don't add BlueFS allocation to shared allocator
add configuration option to commit to No-Column-B
Only invalidate allocation file after opening rocksdb in read-write mode
fix tests not to expect failure in cases unapplicable to null-allocator
accept non-existing allocation file and don't fail the invaladtion as it could happen legally
don't commit to null-fm when db is opened in repair-mode
add a reverse mechanism from null_fm to real_fm (using RocksDB)
Using Ceph encode/decode, adding more info to header/trailer, add crc protection
Code cleanup

some changes requested by Adam (cleanup and style changes)

Signed-off-by: Gabriel Benhanokh <gbenhano@redhat.com>
2021-08-11 16:53:09 +03:00
Sage Weil
afa509ec57 doc/cephadm: no need to manually enable the prometheus module
Signed-off-by: Sage Weil <sage@newdream.net>
2021-08-11 09:47:45 -04:00
Jeff Layton
6327a8d740 doc: document that NEARFULL conditions can result in slow writes
The change to doing sync I/Os when we're in NEARFULL conditions
apparently caught some folks by surprise. Add something to clarify that
to the kclient debugging docs.

Also, remove the incomplete sentence that follows it, which contains no
useful information.

Fixes: https://tracker.ceph.com/issues/49406
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2021-08-11 09:29:16 -04:00
Sage Weil
3331a0a7ea Merge PR #42691 into master
* refs/pull/42691/head:
	mgr/nfs: add --port to 'nfs cluster create' and port to 'nfs cluster info'
	qa/suites/orch/cephadm/smoke-roleless: test taking ganeshas offline
	qa/tasks/vip: exec with bash -ex
	qa/suites/orch/cephadm: separate test_nfs from test_orch_cli

Reviewed-by: Varsha Rao <varao@redhat.com>
2021-08-10 16:37:38 -04:00
Josh Durgin
7e2fce5a8c
Merge pull request #42525 from zdover23/wip-doc-rados-config-storage-devices-front-matter-2021-07-28
doc/rados: rewrite storage device front matter

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-08-10 08:11:35 -07:00
Sage Weil
f328227f6c Merge PR #42627 into master
* refs/pull/42627/head:
	.github/labeler: add nfs dev doc
	doc/dev/vstart-ganesha: update about RGW export
	src/vstart: update ganesha pid dir location
	src/vstart: create rgw export for nfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2021-08-10 10:35:59 -04:00
Stephan Müller
b9c61ecaee doc: Improve RGW multisite documentation
Signed-off-by: Stephan Müller <smueller@suse.com>
2021-08-10 14:59:00 +02:00
Zac Dover
18a15891df doc/cephadm: rewrite client-setup.rst
This improves the text in client-setup.rst.

We should make certain that the technical details
in this file remain current in July 2021. This
file was origingally written in November 2019.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-08-10 22:36:36 +10:00
Zac Dover
64ac87bf2b doc/rados: rewrite storage device front matter
This PR updates the text in the RADOS Guide
(the Ceph Storage Cluster Guide) that appears
at the beginning of the "Storage Devices"
chapter. I did the following:

- rewrote some of the sentences so that
  they read more like written text than like
  spoken language
- added "Ceph Manager" to the list of daemons
  that a Ceph cluster comprises
- that's about it.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-08-10 22:33:33 +10:00
Alfonso Martínez
6e20ef1dd3 mgr/dashboard: connect-rgw: rename to set-rgw-credentials; refactoring
- Rename the dashboard command to better reflect its behavior.
- Rename '_radosgw_admin' method to 'send_rgwadmin_command' for consistency with
  'send_mon_command' and move it to the mgr_module.py .
- Cleanup: remove unneeded rgw settings.
- Better error handling and test coverage.

Fixes: https://tracker.ceph.com/issues/44605
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-08-10 14:06:03 +02:00
Sage Weil
599116a068 doc/mgr/dashboard: simplify dashboard+rgw config docs
Signed-off-by: Sage Weil <sage@newdream.net>
2021-08-10 14:06:03 +02:00
Kefu Chai
42aa5b56e0
Merge pull request #42672 from aclamk/wip-bluestore-tool-conf
tools/ceph-bluestore-tool: Enable configuration options from monitor/ceph.conf

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-08-10 12:16:19 +08:00
Sage Weil
a204d164cc Merge PR #42535 into master
* refs/pull/42535/head:
	mgr/cephadm: quay.io for non-ceph images too
	mgr/cephadm: DEFAULT_IMAGE from quay, not docker
	doc/install/containers: quay.io!

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
2021-08-09 19:33:52 -04:00
Neha Ojha
485c3e60b7
Merge pull request #42568 from kamoltat/wip-autoscaler-profile-status-print
pybind/mgr/pg_autoscaler: Added PROFILE to autoscale-status

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-08-09 15:11:19 -07:00
Ernesto Puerta
031fcb65b6
Merge pull request #42697 from rhcs-dashboard/52082-cephadm-e2e-improv
mgr/dashboard: cephadm e2e start script: add --expanded option

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-08-09 18:19:26 +02:00
Ernesto Puerta
2af48f5b9d
Merge pull request #42701 from ceph/fix-dashboard_sso_doc-master
mgr/dashboard: clarify SSO documentation

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-08-09 18:07:10 +02:00
Sage Weil
8ebe341198 mgr/nfs: add --port to 'nfs cluster create' and port to 'nfs cluster info'
Fixes: https://tracker.ceph.com/issues/51787
Signed-off-by: Sage Weil <sage@newdream.net>
2021-08-09 11:41:08 -04:00
Kamoltat
65fec053e0 doc/rados/operations/placement-groups: added bias + profile
Added documentations on the autoscale profile and bias

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2021-08-09 13:59:17 +00:00
Alfonso Martínez
973a6f5343 mgr/dashboard: cephadm e2e start script: add --expanded option
- Additional improvements: clean npm cache in jenkins env.; display mgr logs on error.

Fixes: https://tracker.ceph.com/issues/52082
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-08-09 15:14:21 +02:00
Ernesto Puerta
5e654b4c94
Merge pull request #42611 from s0nea/wip-doc-transifex-resource
doc/dev: Dashboard translations release update

Reviewed-by: aaryanporwal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2021-08-09 10:59:32 +02:00
Kefu Chai
0ff2e28188
Merge pull request #42668 from tchaikov/wip-doc-ci
doc/dev/continuous-integration: document chacra

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-08-07 10:59:14 +08:00
Kefu Chai
1ad4e1a551 doc/dev/continuous-integration: document chacra
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-08-07 09:58:43 +08:00
Ernesto Puerta
3582bbc034
doc,mgr/dashboard: clarify SSO documentation
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2021-08-06 19:31:42 +02:00
Josh Durgin
b626a04853
Merge pull request #42660 from zdover23/wip-doc-2021-08-04rados-config-storage-devices-filestore
doc/rados: rewrite "FileStore" section

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-08-06 09:59:48 -07:00
Varsha Rao
265561bef6 doc/dev/vstart-ganesha: update about RGW export
Fixes: https://tracker.ceph.com/issues/51683
Signed-off-by: Varsha Rao <varao@redhat.com>
2021-08-06 19:12:57 +05:30
Kefu Chai
0dedabe15a
Merge pull request #42669 from tchaikov/wip-doc-ext-confval
doc/_ext: print out the module which fails the build

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-08-06 09:16:30 +08:00
David Galloway
f3215b88b0
Merge pull request #42593 from ceph/wip-yuriw-release-15.2.14-master
doc: 15.2.14 Release Notes
2021-08-05 19:12:48 -04:00
Neha Ojha
f9a4f81b85 doc/releases/octopus.rst: add notable changes for mgr and core
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-08-05 18:01:29 -04:00