Commit Graph

119332 Commits

Author SHA1 Message Date
Yuval Lifshitz
76d4030cfe rgw: fix valgrind errors when protected_fixedsize_stack is used
Fixes: https://tracker.ceph.com/issues/48963

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2021-01-28 08:32:00 +02:00
Kefu Chai
8194b2d514 crimson/osd: group stats related methods together
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-28 13:22:01 +08:00
Kefu Chai
1db8429894 crimson/osd: move PG::publish_stats_to_osd() to .cc
and move PG::get_stats() to .cc as well

for faster compilation

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-28 12:56:24 +08:00
Xuehan Xu
ee8a068f45 crimson/osd: objects without omap header may not necessarily be a error
There are circumstances in which objects don't have omap headers, so this should
not be treated as an error

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-01-28 10:46:21 +08:00
Xuehan Xu
b80a5c6cc9 crimson/osd: should capture seastar::do_with params by reference
The lambda within seastar::do_with need to use lvalue reference as its parameter,
otherwise it would be referencing a variable whose lifecycle ends when lambda finishes
runing

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-01-28 10:44:00 +08:00
Jason Dillaman
c4917eef53
Merge pull request #39115 from wjwithagen/wjw-fix-QCOWFormat.cc
librbd: Fix variable declaration in capture list in lambda

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-01-27 20:51:36 -05:00
Neha Ojha
a3d74ad052
Merge pull request #39108 from zdover23/wip-doc-leads-update-epuertat-28-Jan-2021
doc/dev: add Ernesto Puerta as dashboard lead

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2021-01-27 17:10:59 -08:00
Josh Durgin
b912bb7947
Merge pull request #39114 from liewegas/drop-rhel-8.0
qa/suites/rados/cephadm: drop rhel_8.0 tests

Reviewed-by: David Galloway <dgallowa@redhat.com>
2021-01-27 16:58:36 -08:00
Neha Ojha
36bf44e150
Merge pull request #37949 from ideepika/wip-docs-update
doc/dev/developer_guide:  teuthology update developer guide

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-01-27 16:35:23 -08:00
Willem Jan Withagen
461412352d librbd: Fix variable declaration in capture list in lambda
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2021-01-28 01:00:45 +01:00
Sage Weil
ebee47e06f qa/suites/rados/cephadm/*/distro: drop rhel_8.0 targets
We still have centos 8.0.  We're missing an 8.0 image for the gibba.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-27 16:04:58 -06:00
Sage Weil
78aca4db24 python-common: fix test_datetime_to_str_2 on non-UTC hosts
The old test parsed to a datetime without a tz, which was interpreted as
the local time zone when rendering back to a string.  Specify that it's a
UTC datetime so that behavior is consistent regardless of the test host
timezone.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-27 15:44:21 -06:00
Paul Cuzner
1bc953cfbf cephadm:add missing kernel_security property
The propery decorator had gone missing which meant
the dump of host facts was missing the kernel security
(LSM) settings. This patch just adds the @property
decorator back

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2021-01-28 09:40:58 +13: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
Zac Dover
d318b60cc1 doc/dev: add Ernesto Puerta as dashboard lead
This commit removes Lenz Grimmer's name and github
handle from the list of component leads and replaces
it with Ernesto Puerta's name and github handle.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-01-28 02:26:23 +10: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
Michael Fritch
fa4706039c
cephadm: use apt-get for package install/update
avoids errors during prepare-host:
```
apt: stderr WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
```

Fixes: https://tracker.ceph.com/issues/49032
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-01-27 08:35:01 -07: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