Commit Graph

946 Commits

Author SHA1 Message Date
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
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
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
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
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
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
1ad4e1a551 doc/dev/continuous-integration: document chacra
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-08-07 09:58:43 +08: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
a17ebc0406
Merge pull request #42575 from tchaikov/wip-venv
*: s/virtualenv/python -m venv/

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-04 18:37:45 +08:00
Tatjana Dehler
84da5ca55f
doc/dev: Dashboard translations release update
Add a note on how to add a new release resource to transifex.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2021-08-03 15:47:22 +02:00
Kefu Chai
4231bfda04
Merge pull request #42582 from tchaikov/wip-doc-health-report
doc/dev: add health-reports.rst

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-08-02 21:40:48 +08:00
Kefu Chai
ab3c95d5ed doc/dev: add health-reports.rst
to explain the data flow of health metrics.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-08-02 20:06:07 +08:00
Ernesto Puerta
edf694eebc
Merge pull request #42263 from rhcs-dashboard/51612-cephadm-e2e-improvements
mgr/dashboard: cephadm-e2e job script: improvements
2021-08-02 13:09:32 +02:00
Kefu Chai
3c40db975c script/run_tox.sh: drop support of python2
since we don't support python2 anymore, there is not need to mention or
support python2 when performing tests

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-31 21:16:56 +08:00
Kefu Chai
587a8c9c22 doc/dev/crimson: document cyanstore and alienstore
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-27 22:50:15 +08:00
Alfonso Martínez
65b75000b7 mgr/dashboard: cephadm-e2e script: improvements
Improvements and some adaptations related to the jenkins job.

Fixes: https://tracker.ceph.com/issues/51612
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-07-27 10:51:18 +02:00
Josh Durgin
ce483a14ed
Merge pull request #42131 from tchaikov/wip-doc-dev-ci
doc/dev/continuous-integration: use ceph repos

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-07-23 09:35:58 -07:00
Neha Ojha
54b41f71d9
Merge pull request #42365 from PracticalMetal/typo
doc: Fix typos and grammar in ecbackend.rst

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-07-22 08:46:33 -07:00
Pulkit Mittal
8f84f121e1 doc: fix typo and grammar
Signed-off-by: Pulkit Mittal <2pulkit2@gmail.com>
2021-07-22 13:48:07 +05:30
Neha Ojha
d09a04617e
Merge pull request #42402 from ljflores/perf-counter-docs
doc/dev/perf_counters: update docs to include more context about perf counter usage

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-07-21 10:40:46 -07:00
Laura Flores
c0bd4e2269 doc/dev/perf_counters: update docs to include more context about perf counter usage
The Perf Counters docs, although informative, are lacking for users and developers who are wondering what they can do with their perf counter data. I wrote an extra paragraph here that outlines some ways in which the counters can be used, including diagnosing problems in a cluster and identifying workload patterns.

Signed-off-by: Laura Flores <lflores@redhat.com>
2021-07-19 19:07:39 +00:00
Kefu Chai
83bf44a3c2 crimson/common/log: print out logger.debug() when log level >=6
less chatty when debug level is 5. this matches the behavior of classic
osd.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-14 21:25:54 +08:00
Kefu Chai
51b34df130 doc/dev/crimson: add a section for testing with crimson-store-nbd
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-14 00:37:08 +08:00
Kefu Chai
ec5b56c98f doc/dev/crimson: add a missing not
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-14 00:00:22 +08:00
Sebastian Wagner
507ee67848
Merge pull request #42209 from sebastian-philipp/doc-dev-cephadm-define-vars
doc/dev/cephadm: Define variables

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-13 16:06:01 +02:00
Zac Dover
1443d486b9 doc/dev: add IRC information to dev guide
In days of yore, the Developer Guide linked to the
IRC page at ceph.io. After the 2021 rewriting of
ceph.io, a new era began, and that page was no
longer easily accessible (it could still be found
at old.ceph.com, but this was deprecated).

Anyway, that IRC information should be included in
the docs. This PR makes sure that the IRC
information is included in the docs.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-07-10 07:32:45 +10:00
Sebastian Wagner
9d30b96f04
doc/dev/cephadm: Define variables
Fixes: https://tracker.ceph.com/issues/47142
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-07-07 11:47:59 +02:00
Kefu Chai
c820aeafbc doc/dev/crimson: add a section for metrics
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-07 15:44:35 +08:00
Lorenz Bausch
238c2bc52d
doc/dev/crimson/osd: fix typo
Signed-off-by: Lorenz Bausch <info@lorenzbausch.de>
2021-07-05 17:13:49 +02:00
Alfonso Martínez
5c03b49c4d mgr/dashboard: run cephadm-backend e2e tests with KCLI
Fixes: https://tracker.ceph.com/issues/51300
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-07-02 10:08:49 +02:00
Kefu Chai
f981b37e1c doc/dev/continuous-integration: use ceph repos
since the reference repos have been forked under ceph organization,
let's use their new addresses.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-01 17:24:25 +08:00
Sage Weil
4537b14b34 Merge PR #41574 into master
* refs/pull/41574/head:
	qa/tasks/vstart_runner: add LocalCluster.run
	qa/tasks/cephfs/test_nfs: fiddle with sudo
	mgr/nfs/export: some cleanup, minor refactoring
	mgr/nfs/cluster: remove unused @cluster_setter
	nfs/mgr: fix help message case
	doc/cephfs/fs-nfs-export: add note about export update behavior
	mgr/nfs: move user create/delete into helper
	mgr/nfs: refactor _delete_user helper
	mgr/nfs: refactor create_export_from_dict() helper
	mgr/nfs: keep 'nfs export get' around for backward-compat
	mgr/nfs: rename method
	qa/tasks/cephfs/test_nfs: test new export via apply
	doc/cephfs/fs-nfs-export: be consistent with cluster_id and _ vs -
	mgr/nfs: addr -> client_addr for 'nfs export create ...'
	mgr/nfs: fix tests
	mgr/nfs: 'nfs export get' -> 'nfs export info'
	mgr/nfs: binding -> pseudo_path
	mgr/nfs: more revisions based on review
	mgr/nfs: adjust NFSExceptoin errno arg
	doc/cephfs: update 'nfs export {get,apply}' docs
	mgr/nfs: merge FSExport back into ExportMgr
	doc/radosgw/nfs: document mgr/nfs way to add/remove rgw exports
	mgr/nfs: merge 'nfs export {update,import}' -> 'nfs export apply'
	mgr/nfs: test export creation and list
	mgr/nfs: test export_update (+ fixes)
	mgr/nfs: test Export.validate(); several fixes
	mgr/nfs: test that export <-> block+dict conversions go both ways
	mgr/nfs: clean up test a bit
	mgr/nfs/export: fix export validation
	mgr/nfs/export: fix tests
	mgr/nfs: handle option addr/client block in create_export()
	mgr/nfs: allow multiple addrs for new exports
	mgr/nfs: fix/finish rgw export
	mgr/nfs/module: clusterid -> cluster_id
	mgr/nfs/export: fix export_update_1 to type check
	mgr/nfs/cluster: fix type error
	mgr/nfs/export: wrap long lines
	mgr/nfs: ExportMgr._delete_export only works for cephfs for now
	mgr/nfs: Remove pool_ns from NFSCluster
	mgr/nfs: Remove ExportMgr.rados_namespace
	mgr/nfs: flake8
	mgr/nfs: Add type checking
	mgr/nfs: Add __eq__ method to Export
	mgr/nfs: Add some compatibility to mgr/dashboard
	mgr/nfs: Fix whitespace handling
	mgr/nfs: Copy unit tests from mgr/dashboard
	mgr/nfs: partially implement rgw export support
	mgr/nfs: abstract FSAL; add RGWFSAL
	mgr/nfs: refactor to merge 'update' and 'import' code
	mgr/nfs: add 'nfs export import' command
	mgr/nfs: refactor 'nfs export update' and export validation
	mgr/nfs: fix _fetch_export to distinguish between clusters
	mgr/nfs: move export ganesha conf translation into caller
	mgr/nfs: name nfs cephfs client key 'nfs.{cluster_id}.{export_id}'
	mgr/nfs: add --addr to 'nfs export create'
	mgr/nfs: add --squash to 'nfs export create'
	mgr/nfs/export_utils: include false but non-None items in config
	vstart.sh: enable nfs module
	mgr/cephadm: nfs: drop attr_expiration_time from top-level config
	mgr/cephadm: remove Dir_Chunk = 0

Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-06-26 10:41:27 -04:00
Kefu Chai
c0239b798a crimson/osd: document fsm of crimson osd
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-06-24 16:07:29 +08:00
Sage Weil
2400937ce2 mgr/nfs: 'nfs export get' -> 'nfs export info'
This is a breaking change, but aligns the CLI verbs with the rest of ceph.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-06-21 14:13:15 -04:00
Kefu Chai
a234acb1d2
Merge pull request #41920 from ljflores/patch-1
doc: fixed a small typo in Perf Counters documentation

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-06-19 16:51:58 +08:00
Laura Flores
2ae0734dba doc: fixed a small typo in Perf Counters documentation
There is a small typo in the Perf Counters documentation. Gauge was spelled incorrectly.

Signed-off-by: Laura Flores <lflores@redhat.com>
2021-06-18 18:14:45 +00:00
Sebastian Wagner
848fd9dc83
Merge pull request #41694 from jmolmo/kcli_cephadm_doc
doc: Add kcli utilization for development environments

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-06-17 11:37:26 +02:00
Laura Flores
13695c1a92
doc/dev: should be ./run-make-check.sh
Updating the initial pull request. The smoke test line should read "./run-make-check.sh" instead of "make && ctest -j12".

Signed-off-by: Laura Flores <lflores@redhat.com>
2021-06-14 11:23:54 -05:00
Laura Flores
5bbed1f6bd
doc/dev: update testing.rst to say ninja
The current version of Ceph uses "ninja" rather than "make," so the testing documentation needs to be updated.

Signed-off-by: Laura Flores <lflores@redhat.com>
2021-06-14 11:01:15 -05:00
Sebastian Wagner
3afc13278e
Merge pull request #41693 from sebastian-philipp/cephadm-devenv-bootstrap-mount
doc/dev/cephadm: cephadm bootstrap --shared_ceph_folder

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-06-10 12:13:40 +02:00
Kefu Chai
13666263ab
Merge pull request #41718 from tchaikov/wip-doc-ci-deps
doc/dev: add continuous-integration

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-06-09 16:36:01 +08:00
Kefu Chai
3729788e97 doc/dev: add continuous-integration
for noting down the architecture of our CI. and how we prepare
some of the build dependencies.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-06-09 16:23:44 +08:00
Zac Dover
298b446c35 doc/dev: s/reposotory/repository/ (really)
This corrects the heinous misspelling described in the
substitution expression in the title. This misspelling is
all the more egregious because it appears in a title, and
therefore would be used to create links if it had not been
caught.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-06-09 01:57:13 +10:00
Sebastian Wagner
5f1aa05563 doc/dev/cephadm: cephadm bootstrap --shared_ceph_folder
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-06-08 12:16:49 +02:00
Juan Miguel Olmo Martínez
3b82624e0c
doc: Add kcli utilization for development environments
How to use kcli to create ceph clusters (cephadm) and made easy code changes in
manager modules.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-06-04 13:09:24 +02:00
Kefu Chai
c4d5121305
Merge pull request #41686 from t-msn/update-trace-doc
doc/dev: update how to use lttng/blkin trace

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-06-04 12:30:23 +08:00
Misono Tomohiro
53a68e27bb doc/dev: update how to use lttng/blkin trace
Update doc to reflect current status.

Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
2021-06-04 11:41:29 +09:00
Kefu Chai
306a48ce72 doc/dev/crimson: update link to scylladb debugging tips
the old one is not reachable anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-06-02 17:11:10 +08:00
Ernesto Puerta
1b312db505
Merge pull request #41395 from rhcs-dashboard/fix-50855-master
mgr/dashboard: API Version changes do not apply to pre-defined methods (list, create etc.)

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
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-06-01 16:28:48 +02:00