Commit Graph

108472 Commits

Author SHA1 Message Date
Zac Dover
e3cf60d135 doc/install: rethink docs install page (similar to PR#33613)
This rearranges the list of installation methods, in accordance with Sage's and Sebastian W's wishes.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-03-12 01:28:28 +10:00
Sebastian Wagner
ba5cefa5fb doc/install: Rethink doc/install
What about having a list of the various installation possibilities?

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-28 14:19:40 +01:00
Sebastian Wagner
c62f43e81d
Merge pull request #33600 from ceph/doc_config_set
doc/cephadm: adjust syntax for config set

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-28 13:58:49 +01:00
Joshua Schmid
55c8b09e29 doc/cephadm: adjust syntax for config set
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-02-28 11:39:39 +01:00
Sage Weil
d27f512d17 Merge PR #33226 into master
* refs/pull/33226/head:
	unittest_auth: update for new ms_*_mode semantics
	auth: treat mgr the same as mon when selecting auth mode

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-28 03:17:39 -06:00
Sage Weil
e21007cca7 Merge PR #33542 into master
* refs/pull/33542/head:
	mon/Monitor: fail forwarded tell commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2020-02-28 03:15:58 -06:00
Sage Weil
0d49019692 Merge PR #33558 into master
* refs/pull/33558/head:
	common/config: fix lack of normalize_key_name() apply.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-28 03:15:46 -06:00
Kefu Chai
7b0e18c09e
Merge pull request #33566 from dzafman/wip-44296
test: Expect being off by up to 2 and make sure all PGs are active+clean

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-28 11:42:47 +08:00
Kefu Chai
6a93a30f0e
Merge pull request #33592 from tchaikov/wip-doc-search
doc,admin: fix the builtin search

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-02-28 11:33:05 +08:00
Kefu Chai
31aefb0cd6 doc: drop http://ayni.ceph.com/public/js/ceph.js
seems we will never have this file in foreseeable future.

See-also: https://tracker.ceph.com/issues/11490
See-also: https://tracker.ceph.com/issues/18075
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-28 10:13:12 +08:00
David Zafman
49d9c7d664 test: Expect being off by up to 2 and make sure all PGs are active+clean
Fixes: https://tracker.ceph.com/issues/44296

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-02-27 18:12:25 -08:00
Kefu Chai
3d129f45d4 doc/_static/js/ceph.js: avoid the "//" in URI
it's just annoying.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-28 10:08:49 +08:00
Kefu Chai
afaba1640f admin/doc-requirements: bump sphinx version
to pick up the fix to address the search when using dirhtml builder

see https://github.com/sphinx-doc/sphinx/pull/6741

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-28 10:08:49 +08:00
Sage Weil
99923e8e7b Merge PR #33554 into master
* refs/pull/33554/head:
	mgr/cephadm: Configure Alertmanagers in Prometheus configuration
	mgr/cephadm: Create configuration for alertmanager
	mgr/cephadm: Provision alertmanager
	mgr/orchestrator: Add alertmanager hooks

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-27 19:49:05 -06:00
Sage Weil
928f0218df Merge PR #33585 into master
* refs/pull/33585/head:
	mgr/orchestrator: fix 'orch host label rm' help text

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-02-27 19:48:24 -06:00
Sage Weil
5aae0b1e73 Merge PR #33586 into master
* refs/pull/33586/head:
	mgr/orch: fix 'orch ls' table spacing

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-27 19:48:13 -06:00
Sage Weil
9b40f6714f Merge PR #33587 into master
* refs/pull/33587/head:
	remove cephadm-adoption-corpus as submodule

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-27 19:47:50 -06:00
Sage Weil
20f76b09e7 Merge PR #33488 into master
* refs/pull/33488/head:
	doc/mgr/cephadm: document how to see the logs
	ceph: -W as shorthand for --watch-channel
	pybind/mgr_module: make mgr log message prefix a bit less verbose
	mgr/cephadm: silence remoto logger info messages
	mgr/cephadm: add misc info messages for major events
	mgr/cephadm: adjust logging
	mgr/cephadm: log to cluster channel by default
	pybind/mgr_module: infrastructure to allow logging to cluster log
	mgr/mgr_module: log to mgr log even when log_to_file
	mon: accept cephadm channel to 'ceph log last'
	ceph: allow watching channels aside from cluster and audit
	mon/LogMonitor: fix debug output for logmonitor output file parsing
	mgr: allow logging to any channel

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-02-27 19:46:20 -06:00
Sage Weil
b07bcaf5c4 Merge PR #32983 into master
* refs/pull/32983/head:
	mgr/cephadm: remove/replace osds

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-27 19:44:54 -06:00
Jason Dillaman
d5b155df9b
Merge pull request #33389 from trociny/wip-43619
rbd: schedule for running trash purge operations

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 18:21:14 -05:00
David Zafman
53158dbdd2
Merge pull request #32554 from dzafman/wip-dump-perf
Improve internal python to c++ interface

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-02-27 13:48:29 -08:00
Jason Dillaman
1e7e13036b
Merge pull request #33493 from zhengchengyao/read
librbd: improved support for balanced and localized reads

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 16:18:20 -05:00
Jason Dillaman
b9bf850e5d
Merge pull request #33563 from dillaman/wip-rbd-op-threads
librbd: fix potential race conditions

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 16:16:57 -05:00
David Zafman
4841100b4e test: Disable self-test of diskprediction_cloud since it isn't loaded
See qa/packages/packages.yaml

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-02-27 13:12:45 -08:00
David Zafman
74c2b73271 mon mgr osd: Add dump_osd_times interface for python
The dump_osd_times interface is here for future use of a manager module.
The osd_stats and pg_dump python interfaces don't return network ping
information.

User facing ping time information is formatted 3 decimal places
Use dump_float() (low overhead) for network ping times
   used by python dump_osd_times and dump commands like
   "ceph --formet=json pg dump osds" which for now yields output like
   >>>> "1min": 0.61599999999999999,

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-02-27 13:12:45 -08:00
David Zafman
563811a0f6 mgr/progress: Add pg_ready interface for python to get pgmap_ready state
Fixes: https://tracker.ceph.com/issues/43557

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-02-27 13:12:45 -08:00
Jason Dillaman
60aeed0ce3
Merge pull request #33559 from liewegas/fix-42328-more
msg/async/ProtocolV2: fix typo in register_lossy_clients fix

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-02-27 16:11:01 -05:00
Sage Weil
96217e2cf8 Merge PR #33460 into master
* refs/pull/33460/head:
	doc/cephadm: Add Troubleshooting

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-27 14:13:10 -06:00
Sebastian Wagner
469fa23f25 doc/cephadm: Add Troubleshooting
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-27 20:00:28 +01:00
Sage Weil
91a90d5763 Merge PR #33518 into master
* refs/pull/33518/head:
	doc/foundation: add Samsung

Reviewed-by: Myougnwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Myoungwon Oh <omwmw@sk.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-27 12:58:14 -06:00
Sebastian Wagner
424e3b2773
Merge pull request #33044 from jschmid1/drive_group_docs
doc/drivegroups: add docs for DriveGroups with excessive examples

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2020-02-27 19:57:37 +01:00
Sage Weil
2c2af474b2 doc/mgr/cephadm: document how to see the logs
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 12:05:42 -06:00
Sage Weil
48691b582b ceph: -W as shorthand for --watch-channel
'ceph -w' to watch default cluster channel
'ceph -W foo' to watch channel 'foo'

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 12:05:42 -06:00
Sage Weil
306f2a09be pybind/mgr_module: make mgr log message prefix a bit less verbose
2020-02-25T16:22:48.484-0600 7f664dcec700  0 [cephadm DEBUG root] code: 0

instead of

2020-02-25T16:19:48.359-0600 7f0c0d776700  0 [cephadm] [DEBUG] [root] code: 0

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 12:05:42 -06:00
Sage Weil
880a305322 mgr/cephadm: silence remoto logger info messages
Remoto issues events like

 Running command: /usr/bin/python3 -u

at level 'info' which are below the threshold of other 'info' messages in
cephadm.  So, silence info and below.  We still want to see warning and
above.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 12:05:42 -06:00
Sage Weil
074225bee1 mgr/cephadm: add misc info messages for major events
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 12:05:42 -06:00
Sage Weil
fdbb621759 mgr/cephadm: adjust logging
- drop a bunch of stale debug messages
- single site that logs full cephadm out/err/code

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 12:05:42 -06:00
Sage Weil
b87e14555d mgr/cephadm: log to cluster channel by default
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 12:05:42 -06:00
Sage Weil
8ec3b3d3cc pybind/mgr_module: infrastructure to allow logging to cluster log
This is incomplete--a module that wants to opt-in needs to call
_enable_cluster_log() and manage the level themselves.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 11:57:03 -06:00
Sage Weil
8b5c3618d4 mgr/mgr_module: log to mgr log even when log_to_file
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 11:54:29 -06:00
Sage Weil
a4d88f0b01 mon: accept cephadm channel to 'ceph log last'
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 11:54:29 -06:00
Sage Weil
de67305a44 ceph: allow watching channels aside from cluster and audit
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 11:54:29 -06:00
Sage Weil
c0ab4f8c22 mon/LogMonitor: fix debug output for logmonitor output file parsing
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 11:54:29 -06:00
Sage Weil
1dba6c413a mgr: allow logging to any channel
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 11:54:29 -06:00
Casey Bodley
f5f14e91af
Merge pull request #33218 from yuvalif/add_cls_queue_ut
cls/queue: add unit tests

Reviewed-by: Pritha Srivastava <prsivas@redhat.com>
2020-02-27 12:53:03 -05:00
Sage Weil
53c34e4f14 remove cephadm-adoption-corpus as submodule
The test_adoption.sh just clones from master--no need to make this a
submodule.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 11:46:42 -06:00
Sage Weil
7259510d57 mgr/orch: fix 'orch ls' table spacing
This command crossed paths with the PR that changed the spacing.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 11:39:01 -06:00
Sage Weil
30ff30a4d7 mgr/orchestrator: fix 'orch host label rm' help text
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 11:22:55 -06:00
Mykola Golub
8c015a70a9 mgr/rbd_support: wait for latest osdmap on init
The main goal is to initialize the librados instance before
starting any thread that may use it.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-02-27 16:38:51 +00:00
Mykola Golub
6fc2eab9af
Merge pull request #33561 from dillaman/wip-44249
doc/rbd: document the new snapshot-based mirroring feature

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-02-27 18:27:14 +02:00