Commit Graph

125054 Commits

Author SHA1 Message Date
Dimitri Savineau
99166e1044 doc/man/8/radosgw-admin: fix typo on max entries
This fixes a typo for the --max-entries option.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2021-07-20 10:49:41 -04:00
Casey Bodley
d373d07a9c
Merge pull request #42413 from galsalomon66/fix_s3tests_yaml
RGW:revert force-branch to be ceph-master (s3-tests)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-07-20 08:04:59 -04:00
Sebastian Wagner
669660e706
Merge pull request #42304 from sebastian-philipp/doc-dameon-add-note
doc/cephadm: add notes to `orch daemon add`

Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-07-20 12:09:33 +02:00
Sebastian Wagner
657eacfc41
Merge pull request #42372 from sebastian-philipp/doc-cephadm-rgw-ssl
doc/cephadm: Add RGW ssl

Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-07-20 12:09:20 +02:00
galsalomon66
7d4bc5a72c revert force-branch to be ceph-master
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2021-07-20 12:48:00 +03:00
Ronen Friedman
6381704206
Merge pull request #42396 from ronen-fr/wip-ronenf-debug-docker-1
script: fix a bug in naming the source branch in ceph-debug-docker.sh

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-20 10:59:04 +03:00
Yuval Lifshitz
04796910f9
Merge pull request #42355 from yuvalif/wip-yuval-fix-51681
rgw/notifications: send correct size in case of delete marker creation
2021-07-20 10:55:16 +03:00
Yuval Lifshitz
e5a8e17a94
Merge pull request #42358 from yuvalif/wip-yuval-fix-51687
rgw/notification: send current time in complete multipart upload event
2021-07-20 10:54:55 +03:00
Yuval Lifshitz
f108896b5b
Merge pull request #42189 from yuvalif/wip-yuval-fix-51530
rgw/http/notifications: support content type in HTTP POST messages
2021-07-20 10:54:38 +03:00
Kefu Chai
40148fc248
Merge pull request #42388 from tchaikov/wip-crimson-alien
crimson/osd: use app.alien() to initialize AlienStore::alien

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-07-20 08:08:21 +08:00
Kefu Chai
4a52f6199c
Merge pull request #42392 from tchaikov/wip-test-test_ipaddr
test/test_ipaddr: always set ifa_flags

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-07-20 08:07:45 +08:00
Ernesto Puerta
64dbe17fdb
Merge pull request #42188 from votdev/issue_51408_motd
mgr/dashboard: Add configurable MOTD or wall notification

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: sebastian-philipp <NOT@FOUND>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2021-07-19 19:56:50 +02:00
Yuval Lifshitz
6fb6a8e3ea
Merge pull request #42102 from Matan-B/lua-request-userId
rgw: Added request field to lua scripting
2021-07-19 18:01:27 +03:00
Yuval Lifshitz
cf0287dbd0
Merge pull request #41927 from Matan-B/rfe-51193-add-luarocks-version
rgw: add package version support to lua scripting
2021-07-19 18:00:51 +03:00
Josh Durgin
adb0454599
Merge pull request #42074 from ljflores/wip-lflores-perf-channel
mgr/telemetry: add new 'perf' channel that shares aggregated perf counter metrics of a cluster

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
2021-07-19 07:59:32 -07:00
Ronen Friedman
de0b7d9437 script: fix a bug in naming the source branch in ceph-debug-docker.sh
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2021-07-19 09:57:33 +00:00
Sebastian Wagner
aeafb8dd46
Merge pull request #42391 from kelubo/master
doc/cephadm: positions of words are interchanged

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-07-19 11:07:34 +02:00
Kefu Chai
c2b9f6e75c
Merge pull request #42393 from tchaikov/wip-cmake-cleanups
cmake: require CMake v3.16 and cleanups

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2021-07-19 15:57:45 +08:00
Kefu Chai
0270f73e6e cmake: do not check policies introduced before 3.16
see

- https://cmake.org/cmake/help/latest/policy/CMP0065.html
- https://cmake.org/cmake/help/latest/policy/CMP0074.html
...
- https://cmake.org/cmake/help/latest/policy/CMP0093.html

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-19 14:43:08 +08:00
Kefu Chai
e33dfa7557 cmake: use add_compile_options() to pass compile options
add_definitions() is for adding "-D" define flags, while "-include" does
not define flags, so let's be explicit and use add_compile_options()
instead.

this change partially reverts 5fb90bb796.
back then, we were using ubuntu bionic for building windows packages.
but since we've switched to ubuntu focal, where cmake 3.16 is available,
there is no reason to stick with add_definitions() anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-19 14:43:08 +08:00
wangfei
7f476bea44 doc/cephadm: add missing "ceph"
The word ceph is missing.

Signed-off-by: "Wang,Fei" <wf.ab@126.com>
2021-07-19 13:40:17 +08:00
wangfei
0003abd49c doc/cephadm: correct a transposed word error
The positions of two words are interchanged:
scans each cluster in the host ----> scans each host in the cluster

Signed-off-by: "Wang,Fei" <wf.ab@126.com>
2021-07-19 13:35:37 +08:00
Kefu Chai
f2f7dfbdab cmake: require CMake v3.16
since we dropped the support of bionic, we now have the luxury of using
newer CMake! and by using CMake 3.16, we now have access to

* add_compile_definitions(), which was introduced in cmake 3.12

also, drop the comment of

> remove cmake/modules/FindPython* once 3.12 is required

because we need to support python 3.10 in future, better off keeping
the FindPython files around, so we can backport cmake changes from
upstream when necessary.

we are allowed to bump up the CMake's required to 3.16, because:

- ubuntu focal ships with cmake 3.16.3
- RHEL/CentOS8's AppStream has cmake 3.18

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-19 13:16:49 +08:00
Kefu Chai
ce5eaa122f test/test_ipaddr: avoid reinterpret cast
drop couple occurrences of C-style cast, for better readability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-19 11:29:38 +08:00
Kefu Chai
1701023d16 test/test_ipaddr: always set ifa_flags
do not rely on the uninitialized bits on stack for testing, otherwise
there is chance that we have following test failure:

64: ../src/test/test_ipaddr.cc:226: Failure
64: Expected equality of these values:
64:   two.ifa_addr
64:     Which is: 127.0.0.1:57677
64:   result
64:     Which is: 127.0.0.1:57677

the root cause is just that the "result" is actually `one.ifa_addr`,
which is marked UP as that's what the uninitialized bits on stack
indicate.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-19 11:29:35 +08:00
Kefu Chai
425f337a99 crimson/osd: s/FuturizedStore*/FuturizedStore&/ in OSDMeta and PGMeta's ctors
since we always pass a valid store reference to these ctors, there is no
reason to use a pointer. let's use a reference instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-19 09:56:28 +08:00
Kefu Chai
eec84bb80c crimson/osd: create store in main()
to initialize an alienstore with a reference of
seastar:👽:instance is but the internal of AlienStore, would be
better if we could avoid exposing it as a part of the interface of
crimson::osd::OSD().

so, in this change, instead of creating FuturizedStore in OSD(), we
create it in main() where the app is available, so we can just create
FuturizedStore without passing the alien instance all the way down to
OSD().

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-19 09:13:21 +08:00
Kefu Chai
8fad523d41 crimson/osd: use app.alien() to initialize AlienStore::alien
in e53ea0886f, the new alien::submit_to() API
is used in the place of the old one. but seastar:👽:instance::_qs
should be initialized before we are able to use the alien instance, just
creating an instance of alien::instance is not enough.

in this change, instead of creating an instance of alien::instance using
make_unique<>, the return value of app.alien() is used to initialize the
alien member variable of AlienStore. app.alien() is always properly
initialized by reactor.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-18 22:06:36 +08:00
Kefu Chai
43d0e2c218
Merge pull request #42360 from noviicee/noviicee
mgr/devicehealth: replace CLICommand with CLIReadCommand

Reviewed-by: Varsha Rao <varao@redhat.com>
2021-07-18 11:16:39 +08:00
Kefu Chai
66e5b5562b
Merge pull request #42379 from liewegas/cephadm-keyring-help
mgr/cephadm: add help strings for 'orch client-keyring ...' commands

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-07-18 11:15:00 +08:00
Kefu Chai
db0a7e226b
Merge pull request #42036 from kamoltat/wip-pg-autoscaler-overlap
pybind/mgr/autoscaler: don't scale pools with overlapping roots

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-07-18 11:07:42 +08:00
Kefu Chai
d330e8ae44
Merge pull request #42357 from cbodley/wip-cmake-legacy-option-headers-dep
cmake: add transitive dependency on legacy-option-headers

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-18 11:01:54 +08:00
Kefu Chai
ba8d59bb58
Merge pull request #42283 from orozery/op_target_t_constructor
common: optimize op_target_t and hobject_t constructors

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-18 11:01:25 +08:00
Kefu Chai
a89e660d49
Merge pull request #42366 from liewegas/mon-down-grace
mon: allow a MON_DOWN grace period after cluster mkfs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-07-18 10:59:54 +08:00
Kefu Chai
27d493b35b
Merge pull request #42315 from TheJJ/fix-op-duration-calculation
osd: fix op event duration calculation

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-18 10:59:18 +08:00
Kefu Chai
1905f9a07a
Merge pull request #42385 from tchaikov/wip-crimson-test-alien
test/crimson/test_alien_echo: fixes

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2021-07-17 13:35:33 +08:00
Kefu Chai
96c7541185
Merge pull request #42351 from SoftIron/softiron-distro
build/qa: Add SoftIron Linux as valid distro in build and test scripts

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-17 10:34:12 +08:00
Kefu Chai
e91ce0c53c test/crimson/test_alien_echo: msgr->stop() before shutdown
it is required to remove all registered dispatchers before shutting down a
messenger. otherwise assert(dispatchers.empty()) in SocketMessenger::shutdown() fails.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-17 10:26:35 +08:00
Kefu Chai
f6c679a533 test/crimson/test_alien_echo: drop msgr v1 support
crimson msgr dropped the v1 support back in
7a7e869c0a. so there is no point to offer
an option to use v1 protocol.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-17 10:05:18 +08:00
Sage Weil
7cc8510266 mgr/cephadm: add help strings for 'orch client-keyring ...' commands
Signed-off-by: Sage Weil <sage@newdream.net>
2021-07-16 12:44:32 -04:00
Yuval Lifshitz
d81e27faa1 rgw/notifications: send correct size in case of delete marker creation
Fixes: https://tracker.ceph.com/issues/51681

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2021-07-16 14:12:10 +03:00
Sebastian Wagner
0a77eee518 doc/cephadm: Add RGW ssl
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-07-16 12:54:00 +02:00
Yuval Lifshitz
6a1688b57d rgw/http/notifications: support content type in HTTP POST messages
Fixes: https://tracker.ceph.com/issues/51530

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2021-07-16 12:06:41 +03:00
Sage Weil
c79942df42 Merge PR #42338 into master
* refs/pull/42338/head:
	mon/LogMonitor: tolerate external_log_to in the future

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-16 00:47:41 -04:00
Anamika
03a9551ebd mgr/devicehealth:replace CLICommand with CLIReadCommand
Fixes: https://tracker.ceph.com/issues/51631
Signed-off-by: Anamika <cseanamika3@gmail.com>
2021-07-16 03:31:59 +05:30
Sage Weil
eee041f2f0 mon: allow a MON_DOWN grace period after cluster mkfs
During teuthology tests, the initial cluster bootstrap often starts up
the mon sbut doesn't include all mons in the initial quorum, due to
mon startup misalignment and random delays.  Provide a short grace period
where we will not raise a MON_DOWN alert even though the quorum is not
complete.

Fixes: https://tracker.ceph.com/issues/43584
Signed-off-by: Sage Weil <sage@newdream.net>
2021-07-15 15:17:23 -05:00
Patrick Donnelly
5ef5b74edf
Merge PR #42341 into master
* refs/pull/42341/head:
	doc/cephadm: operations.rst typo

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-07-15 12:41:56 -07:00
Casey Bodley
8fb203ebf2
Merge pull request #42200 from cbodley/wip-47781
rgw: RadosBucket::get_bucket_info() updates RGWBucketEnt

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2021-07-15 15:27:11 -04:00
Casey Bodley
84be9581dc
Merge pull request #36213 from joke-lee/BulkUpload_md5
rgw: fix md5 not match for RGWBulkUploadOp upload when enable rgw com…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-07-15 14:19:51 -04:00
Casey Bodley
c8c59c786e
Merge pull request #42126 from paulreece42/wip-copyobject-urldecode
rgw: url_decode before parsing copysource in copyobject

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-07-15 14:18:42 -04:00