Commit Graph

107162 Commits

Author SHA1 Message Date
Sage Weil
4813b4132b Merge PR #33014 into master
* refs/pull/33014/head:
	mgr/dashboard: pass a list of drive_group to create_osds

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-01-31 23:28:44 -06:00
Sage Weil
25e7d92026 Merge PR #32973 into master
* refs/pull/32973/head:
	mgr/insights: make 'insights prune-health-history 0' zap current state

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-31 21:26:46 -06:00
Sage Weil
d8a7c73a48 Merge PR #32987 into master
* refs/pull/32987/head:
	qa/tasks/ceph_manager: make fix_pgp_num behave when no pool is found

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-31 17:40:23 -06:00
Sage Weil
a5d848d206 Merge PR #32989 into master
* refs/pull/32989/head:
	qa/tasks/ceph_manager: add --log-early to raw_cluster_cmd

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-31 17:40:13 -06:00
Sage Weil
b02c3ff18b Merge PR #32830 into master
* refs/pull/32830/head:
	global: ensure CEPH_ARGS is decoded before early arg processing

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-31 17:31:44 -06:00
Sage Weil
798213b512 Merge PR #32806 into master
* refs/pull/32806/head:
	common/bl: fix accessibility of bptr's _off and _len fields.
	common/bl: drop get_raw() from the public buffer::ptr interface.
	common: drop sharing of buffer::raw outside bufferlist.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-31 17:31:31 -06:00
Matt Benjamin
55ad9b6937
Merge pull request #33017 from linuxbox2/wip-rgw-beastc
rgw: improve beast
2020-01-31 11:55:35 -05:00
Kefu Chai
7fcd32408f
Merge pull request #33010 from tchaikov/wip-cmd-getval
src/: drop cct from cmd_getval()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-02-01 00:26:39 +08:00
Kefu Chai
063caebe0f mgr/dashboard: pass a list of drive_group to create_osds
as orchestrator backends expect a list of drive_groups.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-31 23:57:38 +08:00
Lenz Grimmer
dcb2035cca
mgr/dashboard: Unable to remove an iSCSI gateway that is alrea… (#32984)
mgr/dashboard: Unable to remove an iSCSI gateway that is already in use

Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-01-31 15:52:51 +00:00
Lenz Grimmer
cbbdad0093
mgr/dashboard: Add Modified filter to Configuration table (#32923)
mgr/dashboard: Add Modified filter to Configuration table

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-01-31 15:50:15 +00:00
Or Friedmann
ff72c50a2c rgw: improve beast
Avoid leaking connections that had partially-consumed
client data on unexpected disconnect.

Resolves CVE-2020-1700 (moderate impact flaw).

Fixes: https://tracker.ceph.com/issues/42531

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2020-01-31 10:47:58 -05:00
Sage Weil
bf00658ce8 Merge branch 'octopus' 2020-01-31 08:55:49 -06:00
Mike Perez
5559d8ab4d
Merge pull request #32999 from liewegas/fix-found
doc/foundation: fix amihan
2020-01-31 05:27:48 -08:00
Kefu Chai
5d5b0f96df src/: drop cct from cmd_getval()
it's not used.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-31 19:11:10 +08:00
Kefu Chai
90eb6733a4
Merge pull request #33001 from tchaikov/wip-drop-dpdk-submodule
dpdk: drop dpdk submodule

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-31 16:16:39 +08:00
Kefu Chai
1426ddb9c3
Merge pull request #32814 from mty22/au_ceph_branch_correct_docs
docs: Update au.ceph.com maintainers, update README.md.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-31 15:22:40 +08:00
Kefu Chai
8a2088dda9 dpdk: drop dpdk submodule
we are using spdk/dpdk for async msgr's dpdk backend since 01a9f178. so
no need to keep dpdk submodule anymore.

Fixes: http://tracker.ceph.com/issues/24032
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-31 11:59:37 +08:00
Sage Weil
fb9eb720ba Merge PR #32947 into master
* refs/pull/32947/head:
	OSD: Allow 64-char hostname to be added as the "host" in CRUSH

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-30 21:57:04 -06:00
Sage Weil
6e6a21ec1a Merge PR #32974 into master
* refs/pull/32974/head:
	mon: dump json from 'sessions' asok/tell command

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-30 21:56:53 -06:00
Sage Weil
61313e4052 Merge PR #32976 into master
* refs/pull/32976/head:
	cls_hello: fix typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-30 21:56:43 -06:00
Sage Weil
d2e5961ac9 Merge PR #32981 into master
* refs/pull/32981/head:
	mon: elector: return after triggering a new election

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-30 21:56:18 -06:00
Sage Weil
a7988dfd3f Merge PR #32988 into master
* refs/pull/32988/head:
	qa/tasks/ceph: only re-request scrub on unscrubbed pgs

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-30 21:56:05 -06:00
Sage Weil
6ec6385285 doc/foundation: fix amihan
I misunderstood the status of their foundation membership.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-30 17:02:43 -06:00
David Galloway
ec1f29a5fd
Merge pull request #32992 from ceph/wip-revert-dpdk
Revert "dpdk: drop dpdk submodule"
2020-01-30 14:20:29 -05:00
David Galloway
2d3dc03878 Revert "dpdk: drop dpdk submodule"
This reverts commit cb8087dfac.

The seastar submodule's .gitmodules links to `../dpdk` which is no longer present after removing dpdk from ceph.git's .gitmodules.

```
<dwfreed> the ceph/seastar repo uses awful URLs for the submodules
<dwfreed> and those awful URLs are the real reason it's failing
<dwfreed> dgalloway: ^^^
<dwfreed> seastar's .gitmodules references repos in the parent directory, so that when it's checked out as a submodule of ceph, you don't download the repos twice (and git will probably also use references instead of duplicating the local .git); however, ceph doesn't have a submodule for dpdk anymore
<dwfreed> so seastar's referencing a dpdk repo that doesn't exist
<dgalloway> i think i follow.  so you're suggesting revert cb8087dfac ?
<dwfreed> yep
<dwfreed> that'd be one way to fix it
...
<joshd> dgalloway: I'd suggest revert for now, and let the crimson folks figure out the longer term fix when they're back
```

Signed-off-by: David Galloway <dgallowa@redhat.com>
2020-01-30 13:41:28 -05:00
Sage Weil
04f25b26c5 mgr/insights: make 'insights prune-health-history 0' zap current state
The self._health_slot value needs to be updated too if the current key
is removed.

Fixes: https://tracker.ceph.com/issues/43886
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-30 11:40:48 -06:00
Sage Weil
2954c607b7 Merge PR #32958 into master
* refs/pull/32958/head:
	qa/suites/rados/singleton/all/lost-unfound*: whitelist SLOW_OPS

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-30 11:01:24 -06:00
Sage Weil
684dfa6a83 Merge PR #32789 into master
* refs/pull/32789/head:
	test: fix unused assert's variable in ceph_test_osd_stale_read.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-30 10:42:45 -06:00
Sage Weil
f10cc22c60 Merge PR #32961 into master
* refs/pull/32961/head:
	qa/standalone/osd/osd-bench: debug bluestore

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-30 10:42:17 -06:00
Sage Weil
32a36f9c75 Merge PR #32968 into master
* refs/pull/32968/head:
	qa/suites/rados/verify: debug monc = 20

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-30 10:42:05 -06:00
Sage Weil
8c87110b54 qa/tasks/ceph_manager: add --log-early to raw_cluster_cmd
This is harmless if logging is low, but adds useful info when it is turned
up.

Hunting bug https://tracker.ceph.com/issues/43914

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-30 10:36:28 -06:00
Sage Weil
1dc2a8a09e qa/tasks/ceph: only re-request scrub on unscrubbed pgs
If we haven't scrubbed everything, we occasinoally re-request scrub in case
the request was missed by the OSD (this can happen).  But we were
re-requesting scrub on ALL pgs, and if they are done in a
semi-deterministic order and are slow, then we may never get to the final
ones.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-30 10:22:49 -06:00
Abhishek L
6cb3f9e541
Merge pull request #32771 from xxcs/xxcs07
rgw: fix multipart upload's error response

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Casey Bodley <cbodley@redhat.com>
2020-01-30 16:46:15 +01:00
Sage Weil
88af16ccd0 Merge PR #32878 into master
* refs/pull/32878/head:
	cephadm: share code between 'pull' and 'inspect-image'
	mgr/cephadm: upgrade: pull image after upgrade start, and for each host
	cephadm: add inspect-image command

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-01-30 09:28:38 -06:00
Patrick Donnelly
dc7a069ce8
Merge PR #30969 into master
* refs/pull/30969/head:
	mds : clean up data written to unsafe inodes

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-30 07:20:43 -08:00
Patrick Donnelly
256b42265a
Merge PR #32397 into master
* refs/pull/32397/head:
	mds: Move StrayManager initializations to its header
	mds: Remove extra spaces in StrayManager header.
	mds: Reorganize structure members in StrayManager header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-30 07:06:21 -08:00
Sage Weil
7d0a789b1b qa/tasks/ceph_manager: make fix_pgp_num behave when no pool is found
Fixes:

2020-01-30T04:41:24.697 INFO:tasks.thrashosds.thrasher:fixing pg num pool None
2020-01-30T04:41:24.698 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/ceph_manager.py", line 1070, in wrapper
    return func(self)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/ceph_manager.py", line 1200, in _do_thrash
    self.choose_action()()
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/ceph_manager.py", line 768, in fix_pgp_num
    if self.ceph_manager.set_pool_pgpnum(pool, force):
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/ceph_manager.py", line 2088, in set_pool_pgpnum
    assert isinstance(pool_name, six.string_types)
AssertionError

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-30 08:32:56 -06:00
Sage Weil
88c49d483a Merge PR #32969 into master
* refs/pull/32969/head:
	qa/suites/rados/cephadm: explicitly test many distros

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-01-30 08:28:25 -06:00
Patrick Donnelly
2931433cd1
Merge PR #32854 into master
* refs/pull/32854/head:
	qa: fix testing kernel branch link

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-30 06:25:25 -08:00
Patrick Donnelly
cb7fc37f2c
Merge PR #32801 into master
* refs/pull/32801/head:
	cephfs-shell: Fix ls -l

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-01-30 05:55:10 -08:00
Lenz Grimmer
bc7502ed7b
mgr/dashboard: Change project name to "Ceph Dashboard" (#32959)
mgr/dashboard: Change project name to "Ceph Dashboard"

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-01-30 13:43:46 +00:00
Ricardo Marques
bcb05d0cae mgr/dashboard: Unable to remove an iSCSI gateway that is already in use
Fixes: https://tracker.ceph.com/issues/43900

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-01-30 13:19:48 +00:00
Kefu Chai
b51ed99091
Merge pull request #32978 from tchaikov/wip-seastar
seastar: pickup change to fix cgroups V2 support

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2020-01-30 21:02:31 +08:00
Sage Weil
68d3c86106 Merge PR #32972 into master
* refs/pull/32972/head:
	python-common/ceph/deployment/translate: use 'prepare' instead of 'batch' for trivial case
	qa/tasks/cephadm: pass short dev name to osd prepare
	mgr/cephadm: fix detection of just-created OSDs
	mgr/cephadm: properly indent raise conditions
	mgr/cephadm: add warning to other orchestrators
	mgr/cephadm: separate acceptance criterias for Devices
	mgr/cephadm: fix typos
	mgr/cephadm: move utils in test/utils.py
	mgr/ssh: increase disk size to 20G
	drivegroups: add support for drivegroups + tests
	mgr/orch_cli: allow multiple drivegroups
	drivegroups: translate disk spec to ceph-volume call

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-01-30 07:01:47 -06:00
Greg Farnum
337d12ba80 mon: elector: return after triggering a new election
When receiving an old propose, we were correctly triggering a new election
but not then returning out of receive_propose(), so we processed the
"should I defer" logic and perhaps sent out a deferal (in the current epoch!).

Fixes: https://tracker.ceph.com/issues/42977

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2020-01-30 04:43:13 -08:00
Gregory Farnum
ff530327a0
Merge pull request #32980 from ceph/gregsfortytwo-doc-rm-hadoop-2
doc: remove the CephFS-Hadoop instructions

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-30 13:40:58 +01:00
xxcs
8c2a867c4b rgw: fix multipart upload's error response
Fixes: https://tracker.ceph.com/issues/43751
Signed-off-by: GaryHyg <huygbj@inspur.com>
2020-01-30 20:36:28 +08:00
Sebastian Wagner
8be1556bcf
Merge pull request #32967 from rhcs-dashboard/ignore-python-common-build
.gitignore: ignore /src/python-common/build

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-01-30 12:57:27 +01:00
Abhishek L
a09dff2244
Merge pull request #30777 from GaryHyg/origin/master
rgw: dmclock: wait until the request is handled.

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2020-01-30 12:55:11 +01:00