Commit Graph

119070 Commits

Author SHA1 Message Date
Sage Weil
a4eb550615 qa/workunits/cephtool/test.sh: tolerate some settling for osd info vs dump test
Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-28 13:20:22 -06:00
Casey Bodley
3558fd7291
Merge pull request #38861 from alimaredia/wip-rgw-create-bucket-dpp
rgw: Thread dpp through Create Bucket logging

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-01-27 13:51:09 -05:00
Jason Dillaman
59119d7a96
Merge pull request #39105 from dillaman/wip-48989
librbd: tweaks to support Boost 1.75.0

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-01-27 13:16:56 -05:00
Ali Maredia
df236920b8 rgw: Add DoutPrefixProvider to create_bucket logging
This commit hits all log messages for a create bucket
request and ensures each has a DoutPrefixProvider.

This commit gets dpp's all the way down to rgw/services
up way though to rgw_op.cc, rgw_rest.cc files,
rgw_admin.cc, etc.

This commit also removes store as dpp in rgw_sal.h

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2021-01-27 12:04:24 -05:00
Mykola Golub
f41a587a59
Merge pull request #39068 from dillaman/wip-librbd-migration-qcow-2
librbd/migration: tweaks and unit tests for QCOW handler

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-01-27 18:58:28 +02:00
Josh Durgin
88832fbb47
Merge pull request #39107 from yuriw/wip-yuriw-crontab-master
qa/tests: reduced octopus, nautilus, master frequency

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-01-27 08:48:22 -08:00
Sebastian Wagner
0d37d7e6d6
Merge pull request #39043 from tchaikov/wip-cephadm-call
cephadm: refactor call() using asyncio.asyncio.StreamReader

Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2021-01-27 17:46:52 +01:00
Yuri Weinstein
5795442fd5 qa/tests: changed priority - master 100, pacific 80
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-01-27 08:45:19 -08:00
Yuri Weinstein
300c7312de qa/tests: reduced octopus, nautilus, master frequency
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-01-27 08:31:19 -08:00
Jason Dillaman
4141049ca8
Merge pull request #39015 from lixiaoy1/fix_lib
librbd/cmake: add library dependency for pwl_cache

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-01-27 11:31:10 -05:00
Sebastian Wagner
1c921304ff
Merge pull request #39101 from sebastian-philipp/cephadm-fix-ok-to-stop-return-value
mgr/cephadm: Fix wrong argument type to HandleCommandResult

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-27 16:54:56 +01:00
Kefu Chai
2d923a7099
Merge pull request #39098 from tchaikov/wip-zabbix-ann
mgr: add annotations to zabbix and devicehealth

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-01-27 23:11:25 +08:00
Kefu Chai
d0c3a5134f
Merge pull request #39065 from cbodley/wip-48988
cmake: boost>=1.74 adds BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT to radosgw

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-27 22:24:06 +08:00
Ramana Raja
23f0c5b2dd
Merge pull request #38786 from kotreshhr/evict-clients-of-deauthorized-authids
mgr/volumes: Evict clients based on auth-IDs and subvolume path

Reviewed-by: Victoria Martinez de la Cruz <victoria@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2021-01-27 19:44:17 +05:30
Jason Dillaman
4d80c798a7 librbd: tweaks to support Boost 1.75.0
Fixes: https://tracker.ceph.com/issues/48989
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-01-27 09:12:58 -05:00
Jason Dillaman
6cd7e84293 librbd/migration: minor cleanup to QCOWFormat code
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-01-27 08:32:45 -05:00
Casey Bodley
b48adde207
Merge pull request #37259 from soumyakoduri/head_req
rgw: Set CURLOPT_NOBODY for HEAD request

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-01-27 08:27:15 -05:00
Sebastian Wagner
647e2da469
Merge pull request #38982 from jmolmo/fix_iscsi_client_caps
cephadm: Fix iscsi client caps

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-27 14:15:50 +01:00
Kefu Chai
3b4a7af3ce
Merge pull request #39099 from ZhenLiu94/liuz
doc: Correct spelling mistakes.

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-27 21:00:59 +08:00
Sebastian Wagner
677b3d1b0f mgr/cephadm: Fix wrong argument type to HandleCommandResult
the argument must be a string

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-27 13:15:47 +01:00
Sebastian Wagner
84b78520ea
Merge pull request #38854 from adk3798/ots-monitoring
mgr/cephadm: force flag for ok-to-stop and ok-to-stop for monitoring stack

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-27 12:57:07 +01:00
Sebastian Wagner
1f5055dbe6
Merge pull request #38998 from sebastian-philipp/fix-serve-handle-json-error
mgr/cephadm: Properly handle JSON Decode error

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-01-27 12:56:29 +01:00
Ernesto Puerta
a6115688e6
Merge pull request #38764 from rhcs-dashboard/fix-48748-master
mgr/dashboard: trigger alert if some nodes have a MTU different than the median value

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-01-27 12:47:53 +01:00
Kefu Chai
bb611c64ee mgr/devicehealth: return -1 if prediction plugin is not available
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
5f772c2bc5 mgr/devicehealth: remove unused variable
silences flake8 warning F841.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
1361b3060e mgr/devicehealth: remove handle_command()
as commands are collected by COMMANDS already.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
43802146b0 mgr/zabbix: use CLICommand for command handling
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
573c53a25d mgr/zabbix: do not catch exception with name
silences flake8 warning of F841:
https://www.flake8rules.com/rules/F841.html

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
5cf5540250 mgr/zabbix: cast port to int
to appease mypy

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
5cafe02168 mgr/zabbix: talk to zabbix_sender in text not bytes
as we expect read from / write to it in text mode.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
aaaa321d12 mgr/zabbix: use "uint" for type of discovery_interval
we only support following types:

'uint', 'int', 'str', 'float', 'bool', 'addr', 'addrvec', 'uuid',
'size', 'secs',

see also str_to_type()

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
c9513f8bf4 mgr/zabbix: add annotations
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
4287066e13 mgr/zabbix: use Option for adding options
more type safety

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
48438ccced mgr/devicehealth: add more annotations
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 19:22:05 +08:00
Kefu Chai
19cdc4325c pybind/mgr/mgr_module: correct annotation
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 16:30:54 +08:00
ZhenLiu94
52a1e15038 doc: Correct spelling mistakes.
Signed-off-by: ZhenLiu94 <zhenliu94@163.com>
2021-01-27 16:27:29 +08:00
Kefu Chai
f35c051009
Merge pull request #39093 from rzarzynski/wip-crimson-guard-op-lifetime
crimson: fix dangling ClientRequest::this pointer.

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-27 15:20:54 +08:00
Sage Weil
74e188d826 Merge PR #39087 into master
* refs/pull/39087/head:
	qa/suites/rados/cephadm: drop 20.04 podman
	qa/suites/rados/cephadm: stop testing 18.04 + podman

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-01-26 21:47:43 -06:00
Radoslaw Zarzynski
00ccde23ef crimson: fix dangling ClientRequest::this pointer.
`ShardServices::start_operation<T>()` spawns an operation,
calls `start()` on it and returns a future plus a smart
pointer controlling its life-time. Callers are responsible
to ensure the pointer doesn't go out-of-scope before
the entire execution is finished. This is error-prone.

`OSD::handle_osd_op()` forgets about its responsibility
which results in dangling `this` pointer of `ClientRequest`.
I believe the problem is much wider spread and the class
is just the tip of the iceberg.

In this commit `start_operation<T>()` is altered to extend
the life-time a bit. However, this isn't an ultimate solution
as callers are still able to e.g. put extra `this`-catching
lambdas on the returned future. A new `with_operation<T>()`-
like interface is expected as a follow-up.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-01-26 23:26:51 +01:00
Jason Dillaman
e6ac5f0e63
Merge pull request #39086 from orozery/qa-rbd-delete-passphrase-file
qa/tasks/rbd: cleanup passphrase file

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-01-26 15:42:08 -05:00
Jason Dillaman
f8862cff1b
Merge pull request #39089 from orozery/librbd-luks-cli-test
test/librbd: fix luks encryption cli test on unsupported runs

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-01-26 15:17:12 -05:00
Ilya Dryomov
5dd7fffbb7
Merge pull request #39091 from tchaikov/wip-crimson-build
cmake: let alienstore link against zoned allocator

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2021-01-26 20:45:31 +01:00
Kefu Chai
6883b64205 cmake: let alienstore link against zoned allocator
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-27 02:11:26 +08:00
Sage Weil
8aba5ebcc6 Merge PR #39028 into master
* refs/pull/39028/head:
	cephadm: retry for 30s instead of 10s
	cephadm: try 'mgr stat' before 'mgr dump' to get the epoch
	mon: add 'mgr stat' command

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-01-26 11:22:50 -06:00
Or Ozeri
2f1eb8eba0 test/librbd: fix luks encryption cli test on unsupported runs
This commit changes the luks encryption cli test to return success instead of failure when not supported.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-01-26 18:54:05 +02:00
Jason Dillaman
3b2e6fa3f0 test/librbd: initial unit tests for migration/QCOWFormat
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-01-26 11:42:48 -05:00
Jason Dillaman
2d8d70e2e9 librbd/migration: compute QCOW snapshot deltas via L2 table deltas
Since each entry in a L2 table represents a cluster block within the
QCOW image, we can compute deltas by comparing L2 tables. This fixes
an issue where snapshots were not being properly thin-provisioned
during the live-migration execute process.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-01-26 11:42:47 -05:00
Kefu Chai
ffdceb1743
Merge pull request #39077 from tchaikov/wip-libzbd
install-deps.sh: set codename when installing libzbd

Reviewed-by: David Galloway <dgallowa@redhat.com>
2021-01-26 23:34:06 +08:00
Kefu Chai
d3761ce380
Merge pull request #38935 from tchaikov/wip-mgr-ann
pybind/mgr/mgr_module: annotate more methods and add poll to CLICommand

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Kamoltat <ksirivad@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-01-26 23:26:34 +08:00
Sage Weil
dccd586173 qa/suites/rados/cephadm: drop 20.04 podman
This version is also affected

Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-26 09:14:09 -06:00