Commit Graph

129026 Commits

Author SHA1 Message Date
Josh Durgin
bd05cede10
Merge pull request #44554 from jdurgin/wip-rbd-qos-docs
doc/rbd: clarify and add more detail to librbd QoS docs

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-01-13 12:02:03 -08:00
Casey Bodley
f65b59be85
Merge pull request #40802 from galsalomon66/wip-s3select-parquet-object-processing-2
RGW/s3select : parquet implementation:

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-01-13 12:53:33 -05:00
Kefu Chai
40717bf5a9
Merge pull request #44577 from clementperon/master
cmake: Fix Finddpdk cmake module

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-01-14 01:15:07 +08:00
Adam King
528f695b2f
Merge pull request #44498 from phlogistonjohn/jjm-root-check-later
cephadm: check if cephadm is root after cli is parsed 

Reviewed-by: Adam King <adking@redhat.com>
2022-01-13 12:10:13 -05:00
Adam King
b064b1fb4f
Merge pull request #44394 from melissa-kun-li/enable-autotune
Enable autotune for osd_memory_target on bootstrap

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2022-01-13 12:06:46 -05:00
Adam King
f3ca30449d
Merge pull request #44306 from sebastian-philipp/normalize_image_digest-ambiguity
cephadm: deal with ambiguity within normalize_image_digest

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sage Weil <sage@newdream.net>
2022-01-13 12:03:50 -05:00
Josh Durgin
e1548ef36a doc/rbd/rbd-config-ref: add more detail on QoS settings
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2022-01-13 11:37:46 -05:00
gal salomon
2c8d1e6e18 handling arm64(arrow installation)
Signed-off-by: gal salomon <gal.salomon@gmail.com>
2022-01-13 17:47:23 +02:00
Venky Shankar
8a293c21f2
Merge pull request #44427 from lxbsz/client_cleanup
client: remove useless Lx cap check

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-01-13 20:34:54 +05:30
Venky Shankar
ca12900ce1
Merge pull request #44451 from lxbsz/wip-53750
mds: directly return just after responding the link request

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-01-13 20:33:58 +05:30
Casey Bodley
bc81cd1226
Merge pull request #44561 from cbodley/wip-51727
qa/rgw: add PG_DEGRADED cluster warnings to log-ignorelist

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-01-13 09:38:49 -05:00
Daniel Gryniewicz
65900a9df6
Merge pull request #44538 from dang/wip-dang-zipper-perf
RGW Zipper - don't load stats for every bucket load

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-01-13 09:09:33 -05:00
Laura Flores
9ebf397972
Merge pull request #44002 from JoshSalomon/wip-primary-balancer 2022-01-13 07:45:54 -06:00
Clément Péron
96a8b4d846 cmake: dpdk: only append common dir if it has been found
Signed-off-by: Clément Péron <peron.clem@gmail.com>
2022-01-13 14:40:17 +01:00
Clément Péron
c37f15f54d cmake: dpdk: use STREQUAL and not EQUAL when comparing strings
Signed-off-by: Clément Péron <peron.clem@gmail.com>
2022-01-13 14:32:34 +01:00
Clément Péron
a24a4a0563 cmake: dpdk: fix typo in HINTS when looking for DPDK
Signed-off-by: Clément Péron <peron.clem@gmail.com>
2022-01-13 14:32:30 +01:00
Xiubo Li
14f9840dbf mds: directly return just after responding the link request
Fixes: https://tracker.ceph.com/issues/53750
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2022-01-13 20:55:49 +08:00
Venky Shankar
6028ffbad8
Merge pull request #43286 from lxbsz/improve_setattr
client: buffer the truncate if we have the Fx caps

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-01-13 18:23:27 +05:30
Xiubo Li
422ac142de client: remove useless Lx cap check
Once here the new_caps must have the 'Ls' caps, the extra check
for 'Lsx' makes no sense.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2022-01-13 20:46:17 +08:00
Venky Shankar
c1c1669527
Merge pull request #44229 from lxbsz/mds-buffix
mds: remove the duplicated or incorrect respond

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-01-13 18:16:13 +05:30
Venky Shankar
6b59fe1bec
Merge pull request #44397 from lxbsz/wip-53726
mds: dump tree '/' when the path is empty

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-01-13 18:15:24 +05:30
Venky Shankar
b52f86c8a5
Merge pull request #44422 from lxbsz/wip-51705
qa: do not use any time related suffix for *_op_timeouts

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-01-13 18:14:14 +05:30
Yuval Lifshitz
b709091d81
Merge pull request #43995 from TRYTOBE8TME/wip-rgw-kafka-teuth-cleanup
qa/tasks: Checking for kafka cleanup
2022-01-13 11:57:03 +02:00
Josh Salomon
86d6d110b4 osd, tools: refactor OSDMap::calc_pg_upmaps (simplify the code)
This is the first commit in a series of commits that aims at adding a primary balancer to Ceph and improving the current upmap balancer functionality. This first commit focuses on simplifying (refactoring) the code of `calc_pg_upmaps` so it is easier to change in the future. This PR keeps the existing functionality as-is and does not change anything but the code structure.

As part of the work is major refactoring of OSDMap::calc_pg_upmaps, the first thing is adding an --upmap-seed param to osdmaptool so test results can be compared without the random factor.

Other changes made:
    - Divided sections of `OSDMap::calc_pg_upmaps` into their own separate functions
    - Renamed tmp to tmp_osd_map
    - Changed all the occurances of 'first' and 'second' in the function to more meaningful names.

Signed-off-by: Josh Salomon <josh.salomon@gmail.com>
2022-01-13 02:25:14 +00:00
Yuri Weinstein
10be79e6c4
Merge pull request #43299 from markhpc/wip-age-binning-rebase-20210923
common/PriorityCache: Updated Implementation of Cache Age Binning

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2022-01-12 16:54:23 -08:00
gal salomon
e3254b6306 parquet implementation:
(1) adding arrow/parquet to make(install is missing)
(2) s3select-operation contains 2 flows CSV and Parquet
(3) upon parquet-flow s3select processing engine is calling (via callback) to get-size and range-request, the range-requests are a-sync, thus the caller is waiting until notification.
(4) flow : execute --> s3select --(arrow layer)--> range-request --> GetObj::execute --> send_response_data --> notify-range-request --> (back-to) --> s3select
(5) on parquet flow the s3select is handling the response (using call-backs) because of aws-response-limitation (16mb)

add unique pointer (rgw_api); verify magic number for parquet objects; s3select module update
fix buffer-over-flow (copy range request)
change the range-request flow. now,it needs to use the callback parametrs (ofs & len) and not to use the element length
refactoring.  seperate the CSV flow from the parquet flow, a phase before adding conditional build(depend on arrow package installation)
adding arrow/parquet installation to debian/control
align s3select repo with RGW (missing API"s, such as get_error_description)
undefined reference to arrow symbol
fix comment: using optional_yield by value
fix comments; remove future/promise
s3select: a leak fix
s3select: fixing result production
s3select,s3tests : parquet alignments
typo: git-remote --> git_remote
s3select: remove redundant comma(end of projections); bug fix in parquet flow upon aggregation queries
adding arrow/parquet
editorial. remove blank lines
s3select: merged with master(output serialization,presto alignments)
merging(not rebase) master functionlities into parquet branch

(*) a dedicated source-files for s3select operation.
(*) s3select-engine: fix leaks on parquet flows, enabling allocate csv_object and parquet_object on stack
(*) the csv_object and parquet object allocated on stack (no heap allocation)

move data-members from heap to stack allocation, refactoring, separate flows for CSV and parquet. s3select: bug fix

conditional build: upon arrow package is installed the parquet flow become visable, thus enables to process parquet object. in case the package is not installed only CSV is usable

remove redundant try/catch, s3select: fix compile warning

arrow-devel version should be higher than 4.0.0, where arrow::io::AsyncContext become depecrated

missing sudo; wrong url;move the rm -f arrow.list

replace codename with $(lsb_release -sc)

arrow version should be >= 4.0.0; iocontext not exists in namespace on lower versions

RGW points to s3select/master

s3select submodule

sudo --> $SUDO

Signed-off-by: gal salomon <gal.salomon@gmail.com>
2022-01-12 23:15:21 +02:00
Casey Bodley
95544e802b qa/rgw: add PG_DEGRADED cluster warnings to log-ignorelist
and cover rgw/singleton suite

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-01-12 15:56:38 -05:00
Ilya Dryomov
651f0fbc08
Merge pull request #43494 from majianpeng/enable-test-librbd-BlockGuard
test/librbd: re-enable BlockGuard test

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-01-12 21:50:00 +01:00
Samuel Just
39e0e7b8a3
Merge pull request #44478 from cyx1231st/wip-crimson-improve-log-3
crimson/os/seastore/../segment_manager: improve logs and validations

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@360.cn>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2022-01-12 12:27:14 -08:00
Casey Bodley
d01ee1122f
Merge pull request #44536 from yuvalif/wip-yuval-dynamic-reshard
rgw: fix dynamic reshard happening during user stats sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-01-12 14:14:41 -05:00
Daniel Gryniewicz
661cda66d7 RGW Zipper - don't load stats for every bucket load
This was a side-effect of consolidating the Zipper API, and resulted in
a large performance hit.  Stats are only needed if they are requested,
so don't load them every time.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2022-01-12 12:47:40 -05:00
Yuri Weinstein
a8bb49d4d9
Merge pull request #39440 from pdvian/wip-warn-filestore-osds
mon/OSDMonitor, osd: Add warning on filestore deprecation and force use of wpq scheduler for filestore OSDs

Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-01-12 08:49:02 -08:00
Daniel Gryniewicz
cca74fa8dd
Merge pull request #41778 from felixhuettner/fix_subdir_name
rgw: RGWSwiftWebsiteHandler::is_web_dir checks empty subdir_name
2022-01-12 09:22:04 -05:00
Daniel Gryniewicz
be54d5f681
Merge pull request #38234 from inspur-wyq/wip-copy-obj-check-size
rgw : check the object size when copy obj
2022-01-12 09:21:48 -05:00
Daniel Gryniewicz
2645ff5ab7
Merge pull request #38532 from Rjerk/wip-empty-tagset
rgw: an empty tagset is allowed by S3
2022-01-12 09:21:35 -05:00
Daniel Gryniewicz
72e1208321
Merge pull request #40573 from Huber-ming/rgw_admin
rgw: delete abbreviation for option "--new-uid"
2022-01-12 09:21:15 -05:00
Daniel Gryniewicz
8d2b3d578f
Merge pull request #40575 from Huber-ming/rgw_admin-f
radosgw-admin: delete the abbreviation of option "--infile"
2022-01-12 09:20:49 -05:00
Ilya Dryomov
966830f651
Merge pull request #44500 from idryomov/wip-rbd-test-group-leak
test/librbd: fix group_info.name leaks in TestGroup.add_image

Reviewed-by: Mykola Golub <mgolub@suse.com>
2022-01-12 12:56:09 +01:00
Liu-Chunmei
5fe65bc92b
Merge pull request #44490 from liu-chunmei/crimson-fix-aligned
crimson: fix assert_aligned(size) in trim_data_reservation

reviewed by: Samuel Just <sjust@redhat.com> , Yingxin <yingxin.cheng@intel.com>
2022-01-11 22:05:22 -08:00
Yingxin Cheng
8aaaeea814 crimson/os/seastore/../segment_manager: add more validations
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-01-12 13:43:52 +08:00
Yingxin Cheng
90ce0f046d crimson/os/seastore/../segment_manager: consolidate logs with structured level and format
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-01-12 13:43:52 +08:00
Yingxin Cheng
ecad0f8d68 crimson/os/seastore/../segment_manager: cleanup device_id usage
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-01-12 13:43:52 +08:00
Yingxin Cheng
d5b0cd1392 crimson/os/seastore/../segment_manager: pretty print data structures
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-01-12 13:43:43 +08:00
Josh Durgin
52995842a9 doc/rbd/rbd-config-ref: group QoS options by throttle type
This makes it clearer that there are distinct throttles with the
same groups of settings.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2022-01-11 21:46:37 -05:00
Yingxin Cheng
549036edd8 crimson/os/seastore/../segment_manager: convert to seastore logging
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-01-12 09:29:08 +08:00
Yingxin Cheng
3405661fec crimson/os/seastore/../segment_manager: suppress compile warning about unused logger
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-01-12 09:29:08 +08:00
Yingxin
f77aae9731
Merge pull request #44532 from rzarzynski/wip-crimson-fix-test-runner
test/crimson: fix a race condition in SeastarRunner

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-01-12 09:23:53 +08:00
Neha Ojha
c365b8da55
Merge pull request #43593 from ljflores/wip-rocksdb
mgr: expose rocksdb version number for use in telemetry

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-01-11 16:31:41 -08:00
chunmei-liu
7594b61826 crimson: fix assert_aligned(size) in trim_data_reservation
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
signed-off-by: Samuel Just <sjust@redhat.com>
2022-01-11 15:16:16 -08:00
Laura Flores
394cbf98e6 mgr/telemetry: add the rocksdb version number to telemetry
Capturing the RocksDB version number in Telemetry would allow us to check that users are using the appropriate RocksDB version for their Ceph cluster. For instance, if a user is working in a Pacific cluster, but their RocksDB version is meant for Nautilus, that might be a problem.

It is strucured as "rocksdb_stats" --> "version" in anticipation of more stats that can will be added under "rocksdb_stats".

Signed-off-by: Laura Flores <lflores@redhat.com>
2022-01-11 23:04:01 +00:00