Commit Graph

123120 Commits

Author SHA1 Message Date
Casey Bodley
46c0292870 rgw: remove the civetweb frontend from src and qa
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2021-05-17 15:00:31 -04:00
Casey Bodley
a7215d8683
Merge pull request #41262 from cbodley/wip-rgw-civetweb-deprecate
rgw: deprecate the civetweb frontend

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2021-05-17 14:46:50 -04:00
David Galloway
46cde2ac8a
Merge pull request #41348 from jdurgin/wip-release-notes-fixes
script/ceph-release-notes: work with py3 and remove backport release names from PRs
2021-05-17 12:03:15 -04:00
Patrick Donnelly
ff9de808ab
Merge PR #41314 into master
* refs/pull/41314/head:
	qa/tasks/nfs: add test to check if cmds fail on not passing required arguments
	mgr/nfs: fix flake8 missing whitespace around parameter equals error
	mgr/nfs: annotate _cmd_nfs_* methods return value

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2021-05-17 08:38:41 -07:00
Sebastian Wagner
4123ef9feb
Merge pull request #40172 from p-se/pse-fix-cephadm-prom-alerts-missing
mgr/cephadm: fix missing prometheus alerts

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-05-17 14:23:05 +02:00
zdover23
fc17a0836b
Merge pull request #41361 from zdover23/wip-doc-rados-gateway-spelling-embeddding-2021-05-17
doc/radosgw: s/embeddding/embedding/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-05-17 21:40:42 +10:00
Zac Dover
ebed69f2ad doc/radosgw: s/embeddding/embedding/
res ipsa loquitur

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-05-17 21:01:37 +10:00
Kefu Chai
4539cb3c8a
Merge pull request #41360 from mflehmig/patch-1
doc/rados: Fix typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-05-17 15:10:35 +08:00
mflehmig
00225dc531 doc/rados: Fix typo
Signed-off-by: Martin Flehmig <martin.flehmig@tu-dresden.de>
2021-05-17 14:42:12 +08:00
Kefu Chai
33e02a9da3
Merge pull request #41315 from adk3798/check-version
mgr/cephadm: check version in upgrade check

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2021-05-16 23:55:25 +08:00
Kefu Chai
16ab5ff202
Merge pull request #41328 from jmolmo/osd_replacement_in_fqdn_hosts
mgr/cephadm: Fix OSD replacement in hosts with FQDN host name

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-05-16 23:54:14 +08:00
Kefu Chai
3a3f92ff51
Merge pull request #41343 from dsavineau/issue_50717
mgr/cephadm: fix prometheus jinja template

Reviewed-by: Daniel Pivonka <dpivonka@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
2021-05-16 23:49:18 +08:00
Kefu Chai
cfdcd23bc3
Merge pull request #41306 from liewegas/udpate-isa-l
isa-l: incorporate fix for aarch64 text relocation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-05-16 23:47:30 +08:00
Yuri Weinstein
68886f16ae
Merge pull request #41342 from yuriw/wip-yuriw-crontab-master
qa/tests: added client-upgrade-nautilus-pacific tests

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2021-05-15 13:38:17 -07:00
Kefu Chai
88a0f1a21a
Merge pull request #41350 from liu-chunmei/seastore-fix-omap-manager-testcase
crimson/seastore: fix omap manager testcase bug

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-05-15 09:33:30 +08:00
chunmei-liu
e5ea1273cb crimson/seastore: fix omap manager testcase bug
can't erase map while iterating it.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2021-05-14 13:44:08 -07:00
Josh Durgin
6f7e6c6394 script/ceph-release-notes: remove release name from backport PR titles
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2021-05-14 16:15:07 -04:00
Josh Durgin
1c37409ede script/ceph-release-notes: remove EOL releases
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2021-05-14 16:15:07 -04:00
Josh Durgin
0c1d8f48ad script/ceph-release-notes: do not encode to bytes
This is no longer needed with python3, and adds b'' around strings.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2021-05-14 15:31:12 -04:00
Juan Miguel Olmo Martínez
b1feb876d3
mgr/cephadm: Fix OSD replacement in hosts with FQDN host name
Resolves: https://tracker.ceph.com/issues/50805

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-05-14 20:02:03 +02:00
Sage Weil
d4e0d88c4f Merge PR #40848 into master
* refs/pull/40848/head:
	SECURITY.md: update security policy

Reviewed-by: Sage Weil <sage@redhat.com>
2021-05-14 12:10:08 -04:00
Dimitri Savineau
2d8995e1de mgr/cephadm: fix prometheus jinja template
The prometheus yaml file shouldn't use "tab" character but only spaces.

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

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2021-05-14 12:08:21 -04:00
Daniel Gryniewicz
1dcc9cc86e
Merge pull request #41307 from dang/wip-dang-zipper-bucket-remove
RGW Zipper - consolidate two bucket remove APIs
2021-05-14 11:45:03 -04:00
Yuri Weinstein
a63e60e5db qa/tests: added client-upgrade-nautilus-pacific tests
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-05-14 08:34:27 -07:00
Varsha Rao
94644d1e5f qa/tasks/nfs: add test to check if cmds fail on not passing required arguments
Signed-off-by: Varsha Rao <varao@redhat.com>
2021-05-14 21:03:50 +05:30
Varsha Rao
57dba10325 mgr/nfs: fix flake8 missing whitespace around parameter equals error
Signed-off-by: Varsha Rao <varao@redhat.com>
2021-05-14 21:03:50 +05:30
Varsha Rao
1ec90c8043 mgr/nfs: annotate _cmd_nfs_* methods return value
Fixes: 7c57d1634
Fixes: https://tracker.ceph.com/issues/50783
Signed-off-by: Varsha Rao <varao@redhat.com>
2021-05-14 21:03:50 +05:30
Kefu Chai
66244f14b8
Merge pull request #41003 from tchaikov/wip-more-confval
common/options: extract osd and mgr settings out 

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-05-14 21:49:26 +08:00
Hardik Vyas
e558ea9a61
SECURITY.md: update security policy
Update Ceph Security Team GPG key and fix indentation issues

Signed-off-by: Hardik Vyas <hvyas@redhat.com>
2021-05-14 19:11:02 +05:30
Kefu Chai
11ba501a56 common/options: dedup Option::services
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-14 19:18:50 +08:00
Kefu Chai
3478fdca36 common/options: extract osd and mgr settings out
the purposes of this change are:

* faster compilation, so the cmake generator can process .yaml.in files
  in parallel.
* allow daemons to include a subset of options which it is interested
  in.
* better maintainability. by grouping options in different .yaml.in
  files, developers understand who are the consumers of an option.

in this change, options only read by mgr are extracted into mgr.yaml.in,
and options only read by osd are extracted into osd.yaml.in.

so all options in mgr.yaml.in should have "services: mgr" in their
definition by default. the ones in osd.yaml.in have "services: osd".

in the case where options are consumed by multiple services or tools,
the option should add "common" to its "services" if it is supposed to be
consumed by a tool, or "mon" if it is read by monitor as well.

but it takes time to audit all the options, so only part of them are
processed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-14 19:18:47 +08:00
Kefu Chai
b6dbc21cf8 cmake: Revert "cmake: use file(GLOB ..) to find .yaml.in files"
This reverts commit 4e58b5899e.

the list of .yaml.in file might change over time before we finish the
.yaml.in file split, but cmake would fail to figure out the list without
rerunning "cmake", so when a new .yaml.in file is introduced, developer
might end up with a FTBFS after pulling the change from remote repo.

so, we need to revert the file(GLOB ..) change, until all .yaml.in file
are created.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-14 19:15:16 +08:00
Kefu Chai
dac7e2be74
Merge pull request #41326 from tchaikov/wip-seastar
seastar: bump seastar to latest upstream master

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-05-14 12:06:22 +08:00
Kefu Chai
c5202594cd
Merge pull request #41322 from AmnonHanuhov/wip-fix_messageuref_memory_leak
crimson/net: Set add_ref to false when creating a MessageRef in conn::send()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-05-14 12:04:57 +08:00
Amnon Hanuhov
2ea985325f crimson/net: Set add_ref to false when creating a MessageRef in conn::send()
we should not increase the ref count when transferring the ownership from a
MessageURef instance to a MessageRef instance.

to address the memory leak introduced by
1f6e664705.

Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-14 11:55:42 +08:00
Samuel Just
e132f09f3f
Merge pull request #41132 from liu-chunmei/crimson-perfcouter-dump
crimson/seastore: dump crimson perf counters

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-05-13 20:30:36 -07:00
Neha Ojha
dda7820218
Merge pull request #41317 from neha-ojha/wip-commandwq-cleanup
common/options/global.yaml.in: remove osd_command_thread* timeouts

Reviewed-by: Sage Weil <sage@redhat.com>
2021-05-13 18:42:57 -07:00
Sage Weil
10d76491ea Merge PR #41329 into master
* refs/pull/41329/head:
	doc: 15.2.12 Release Notes
	doc: 14.2.21 Release Notes
	doc/security: summarize CVEs
	doc: 16.2.4 Release Notes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-05-13 19:41:17 -04:00
David Galloway
268a826b5a doc: 15.2.12 Release Notes
Signed-off-by: David Galloway <dgallowa@redhat.com>
2021-05-13 17:28:27 -05:00
David Galloway
df85829df0 doc: 14.2.21 Release Notes
Signed-off-by: David Galloway <dgallowa@redhat.com>
2021-05-13 17:28:23 -05:00
Sage Weil
6edb1e9cf9 doc/security: summarize CVEs
Signed-off-by: Sage Weil <sage@newdream.net>
2021-05-13 17:20:55 -05:00
Adam King
e1979fb5bd mgr/cephadm: check version in upgrade check
Fixes: https://tracker.ceph.com/issues/50784

Signed-off-by: Adam King <adking@redhat.com>
2021-05-13 15:09:14 -04:00
David Galloway
59fc89a1a3 doc: 16.2.4 Release Notes
Signed-off-by: David Galloway <dgallowa@redhat.com>
2021-05-13 15:03:57 -04:00
Kefu Chai
ab2568e14e seastar: bump seastar to latest upstream master
for silencing GCC warnings

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-14 00:08:13 +08:00
Kefu Chai
6ee29c6642 crimson/net/Socket: do not reset FixedCPUServerSocket::shutdown_gate
the copy constructor of seastar::gate is deleted explicitly. so we
cannot reset FixedCPUServerSocket::shutdown_gate by assigning a new
seastar::gate to it.

since we don't reuse a FixedCPUServerSocket after calling
FixedCPUServerSocket::destroy(), it's safe to leave a closed gate after
calling FixedCPUServerSocket::reset()

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-14 00:08:13 +08:00
zdover23
3b787771ec
Merge pull request #41305 from zdover23/wip-doc-cephadm-monitoring-disabling-monitoring-2021-05-12
doc/cephadm: rewrite "disabling monitoring"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-05-14 00:23:57 +10:00
Casey Bodley
a5dc35704c
Merge pull request #41027 from mkogan1/wip-rgw-gc-max-objsf2
radosgw-admin: skip GC init on read-only admin ops

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2021-05-13 10:02:42 -04:00
Sage Weil
beb57679c6 Merge PR #39550 into master
* refs/pull/39550/head:
	mgr/cephadm: induce retune of osd memory on osd creation
	qa/tasks/cephadm.conf: autotune osd memory by default
	mgr/cephadm: do not autotune when _no_autotune_memory label is present
	mgr/cephadm: autotune osd memory
	common: add osd_memory_target_autotune
	mgr/cephadm: report memory usage, request (limit) in 'orch ps'
	doc/cephadm/host-management: document _admin group
	mgr/orchestrator: fix help formatting

Reviewed-by: Adam King <adking@redhat.com>
2021-05-13 09:57:14 -04:00
Kefu Chai
3b7054d3e2
Merge pull request #41319 from tchaikov/wip-crimson-osd-cleanups
crimson/osd: cleanups

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-05-13 15:18:46 +08:00
Samuel Just
ac84800dfc
Merge pull request #41095 from liu-chunmei/crimson-perfcouter
crimson/seastore: add perfcounters in seastore

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-05-13 00:16:55 -07:00