Commit Graph

104165 Commits

Author SHA1 Message Date
Stephan Müller
ca46c9941b mgr/dashboard: Fix pg_num counts in pool API tests
To prevent the not a number of two cluster health warning, all created
pools now have a pg_num that is a power of two.

Fixes: https://tracker.ceph.com/issues/42776
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-11-13 17:25:29 +01:00
Stephan Müller
96fd06b7db mgr/dashboard: Refactor pool API tests
Renamed "__create_pool" to "__yield_pool" to make it's purpose clearer
and added a description.

Split up create pool test into three different tests.
Used "__yield_pool" for creation tests, too.

Fixes: https://tracker.ceph.com/issues/42776
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-11-13 17:25:29 +01:00
Kefu Chai
acc5cbb4ed
Merge pull request #31426 from cyx1231st/rfc-seastar-fix-build-dpdk
crimson: fix build seastar with dpdk

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-13 17:05:04 +08:00
Sebastian Wagner
62ce7af4b1
Merge pull request #30662 from sebastian-philipp/orchestrator-c-v-inventory
python-common, mgr/orchestrator, mgr/dashboard: Use common "Devices"

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
2019-11-13 10:03:57 +01:00
Yingxin Cheng
bf958abc0f crimson: build seastar dpdk from src/seastar/dpdk
src/spdk/dpdk and src/seastar/dpdk are both at their private branches
with project-specific modifications, so select proper dpdk source
directory according to flags WITH_SPDK and Seastar_DPDK.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-11-13 15:53:43 +08:00
Yingxin Cheng
ab84158fc0 crimson: link required dpdk components for seastar
see https://github.com/scylladb/seastar/blob/
809b3ef875e7edb7c56643812dc8347ff9a82cee/cmake/Finddpdk.cmake#L60-L85

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-11-13 15:53:31 +08:00
Kefu Chai
5cd8cba1e9
Merge pull request #31571 from rhcs-dashboard/42775-fix-typo
common: fix typo in rgw_user_max_buckets option long description.

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-13 11:49:05 +08:00
Kefu Chai
28b37b2774
Merge pull request #31510 from yuvalif/wip-yuval-remove-flaky-amqp-test
rgw/amqp: remove flaky amqp test

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-13 11:44:21 +08:00
Sage Weil
4fb78fad91 Merge PR #31575 into master
* refs/pull/31575/head:
	ceph-daemon: 'logs' command

Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-11-12 17:16:22 -06:00
Sage Weil
25d4902e46 ceph-daemon: 'logs' command
This just invokes podman logs with the appropriate argument(s).

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-12 14:17:03 -06:00
Sage Weil
53324c10ba Merge PR #31577 into master
* refs/pull/31577/head:
	pybind/mgr/CMakeLists: exclude tox.ini, requirements.txt from install

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-12 14:16:06 -06:00
Neha Ojha
e5734d957f
Merge pull request #31542 from neha-ojha/wip-42756
osd/OSDMap.cc: don't output over/underfull messages to lderr

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
2019-11-12 10:24:29 -08:00
Sage Weil
8ee1f5e243 pybind/mgr/CMakeLists: exclude tox.ini, requirements.txt from install
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-12 12:06:13 -06:00
Patrick Donnelly
a6b7ca3800
Merge PR #31157 into master
* refs/pull/31157/head:
	doc: update inf/infinite option for subvolume resize
	qa/tasks: fs subvolume resize inf command
	mgr/volumes: fs subvolume resize inf/infinite command

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-12 09:25:26 -08:00
Sage Weil
051fd9c212 Merge PR #31503 into master
* refs/pull/31503/head:
	Revert "os/bluestore: add kv_drain_preceding_waiters indicate drain_preceding."

Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-12 10:56:08 -06:00
Sage Weil
4ef9d257e6 Merge PR #31537 into master
* refs/pull/31537/head:
	mgr/orchestrator: move split_host into shared helpers
	mgr/ssh: allow names to be specified for stateless services
	mgr/ssh: optionally specify names for mon daemons
	mgr/ssh: optionally specify names for mgr daemons

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-12 10:23:06 -06:00
Jason Dillaman
5ffac86264
Merge pull request #31280 from zy751713126/snap_get_name_and_id
librbd: add snap_get_name and snap_get_id method API
2019-11-12 10:57:20 -05:00
Jason Dillaman
c2b18a5b3f
Merge pull request #31491 from zy751713126/rbd_bench
rbd/bench: outputs bytes/s format dynamically

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-12 10:54:44 -05:00
Jason Dillaman
98bbe55c9a
Merge pull request #31497 from trociny/wip-mock-warnings
test/librbd: fix mock warnings in TestMockIoImageRequest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-12 10:54:07 -05:00
Sage Weil
4f54154598 Merge PR #31487 into master
* refs/pull/31487/head:
	ceph-daemon: add `--base-dir` arg to `adopt` command

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-12 09:42:03 -06:00
Alfonso Martínez
c91c2cea65 common: fix typo in rgw_user_max_buckets option long description.
https://tracker.ceph.com/issues/42775
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-11-12 16:33:50 +01:00
Sage Weil
7785250559 mgr/orchestrator: move split_host into shared helpers
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-12 09:00:52 -06:00
Sage Weil
d9dab9d34e mgr/ssh: allow names to be specified for stateless services
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-12 09:00:52 -06:00
Sage Weil
ea92f363a9 mgr/ssh: optionally specify names for mon daemons
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-12 09:00:52 -06:00
Sage Weil
c2caa36907 mgr/ssh: optionally specify names for mgr daemons
Use '=' as a separator.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-12 09:00:48 -06:00
Lenz Grimmer
72c63fe228
mgr/dashboard: Manage PG autoscaling (#31417)
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-11-12 13:16:52 +00:00
Sage Weil
de1d1bad5b Merge PR #31559 into master
* refs/pull/31559/head:
	mgr: Python cleanup and type check

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-12 07:11:48 -06:00
Sage Weil
a9491b58b6 Merge PR #31539 into master
* refs/pull/31539/head:
	mgr/orchestrator_cli: sort by service name
	mgr/orchestrator_cli: collapse TYPE and ID columns

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-12 07:09:50 -06:00
Sage Weil
c7b47240e4 Merge PR #31394 into master
* refs/pull/31394/head:
	mgr/crash: Calculate and add stack_sig to metadata

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-12 07:08:57 -06:00
Volker Theile
49c2da65d9 mgr: Python cleanup and type check
- Add/remove missing/obsolete empty lines
- Add type check doc
- Rename inner function args to make pylint happy

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-11-12 12:28:31 +01:00
Lenz Grimmer
4a28228969
mgr/dashboard: Support RBD namespaces (#30935)
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-11-12 09:50:50 +00:00
Lenz Grimmer
67820900b5
Merge pull request #31357 from votdev/improve_timediff_unittest
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-11-12 09:49:23 +00:00
Jan Fajerski
ccf5534fee
Merge pull request #30534 from jiahuizeng/osd_dev_node
mgr/prometheus: assign a value to osd_dev_node when obj_store is not filestore or bluestore
2019-11-12 10:23:07 +01:00
Kiefer Chang
87459b1968 Fix backend testing error due to attribute rename
`id` in Device is renamed to `path`.

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2019-11-12 09:58:05 +01:00
Kefu Chai
943fb9a54a
Merge pull request #31431 from jschmid1/fix_cherrypy_imports
mgr/dashboard: cheroot moved into a separate project

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-12 16:55:47 +08:00
Lenz Grimmer
a7cdc0f9bd
mgr: Run python unit tests with tox in the mgr (#30364)
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-12 08:34:02 +00:00
Lenz Grimmer
c6288f5adb
mgr/dashboard: Remove compression mode unset in pool from (#31376)
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-12 08:29:26 +00:00
Kefu Chai
00e85cc457
Merge pull request #29944 from xxhdx1985126/wip-fix-blustore-fadvice_flags-leak
osd: copy ObjectOperation::BufferUpdate::Write::fadvise_flag to ceph::os::Transaction

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-12 16:17:15 +08:00
Kefu Chai
8aa8250e26
Merge pull request #31333 from adamemerson/wip-who-warns-the-warnings
src: use un-deprecated version of aio_create_completion

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-12 16:14:43 +08:00
Sridhar Seshasayee
8819c3c37a
Merge pull request #31416 from sseshasa/wip-41666-replicaSizeWarn
osd/OSDMap: Show health warning if a pool is configured with size 1

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-12 12:06:46 +05:30
Brad Hubbard
8b8ffedb9d
Merge pull request #31475 from zdover23/wip-doc-community-calendar
doc: Added a link to Ceph Community Calendar.

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2019-11-12 14:46:15 +10:00
Zac Dover
cfaf5a4efa doc: Added a link to Ceph Community Calendar.
Co-Authored by: Neha Ojha <nojha@redhat.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-11-12 11:51:44 +10:00
Sage Weil
c35b2c3a20 Merge PR #31501 into master
* refs/pull/31501/head:
	ceph-mon: bind to public_addrv if set (before public_addr or public_network)
	common/options: add public_addrv
	common/options: fix ADDRVEC parsing
	ceph-daemon: support --mon-addrv for deploy subcommand

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-11 18:09:29 -06:00
Dan Mick
c6f39ba4fb mgr/crash: Calculate and add stack_sig to metadata
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2019-11-11 15:26:35 -08:00
Patrick Donnelly
cadc79ba7e
Merge PR #30914 into master
* refs/pull/30914/head:
	ceph: Add doc for deploying cephfs-nfs cluster using rook

Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-11-11 15:21:30 -08:00
Sage Weil
b1f4b2cc27 Merge PR #31540 into master
* refs/pull/31540/head:
	ceph-daemon: make ps1 a raw string

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-11 15:50:55 -06:00
Neha Ojha
3cf28f09a2 osd/OSDMap.cc: don't output over/underfull messages to lderr
There can be cases where overfull and underfull(see example in
https://tracker.ceph.com/issues/42756) will be empty, which is not
necessarily an error. These error messages can end up spamming
the ceph-mgr log.

Fixes: https://tracker.ceph.com/issues/42756
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-11-11 13:43:08 -08:00
Michael Fritch
ebcc1b5e71
ceph-daemon: make ps1 a raw string
python3 interprets '\u' as a unicode escape

Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-11-11 14:10:56 -07:00
Patrick Donnelly
8971dd7cdc
Merge PR #31024 into master
* refs/pull/31024/head:
	doc: improve in mount.ceph man page
	doc: describe mds_namespace option in mount.ceph man page

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-11 12:21:34 -08:00
Patrick Donnelly
452a5136c7
Merge PR #30911 into master
* refs/pull/30911/head:
	doc/ceph-fuse: describe -n option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-11-11 12:03:21 -08:00