Commit Graph

131763 Commits

Author SHA1 Message Date
Guillaume Abrioux
2e11c6dfc3 containers: add keepalived container image
we need to maintain a fork of keepalived container image in order
to push it to quay.io so we can get around the docker rate limitation

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2022-06-08 14:30:13 +02:00
Ernesto Puerta
d37ec66709
Merge pull request #46482 from ceph/feature-54330-osd-creation-workflow
mgr/dashboard: Feature 54330 osd creation workflow 

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-06-08 14:04:48 +02:00
Yuval Lifshitz
4cc0e0cdfb
Merge pull request #46458 from yuvalif/wip-yuval-objecter-latency
objecter: add op latency stat and in-flight count
Reviwed-by: cbodley, adamemerson
2022-06-08 10:59:35 +03:00
Yuval Lifshitz
c824b00239
Merge pull request #42779 from Matan-B/lua-rgw-map
rgw: Lua scripting global map feature
Reviwed-by: dang, cbodley, yuvalif, anthonyeleven, tchaikov,  mattbenjamin, batrick
2022-06-08 08:32:35 +03:00
Adam King
1af1377cdf
Merge pull request #46514 from adk3798/fqdn-autotune
mgr/cephadm: use host shortname for osd memory autotuning

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-06-07 20:54:02 -04:00
Adam King
0de9173698
Merge pull request #46517 from guits/cephadm-upgrade-status-is_paused
cephadm: add 'is_paused' field in orch status output

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-06-07 20:52:40 -04:00
Adam King
cf2fdca093
Merge pull request #46539 from adk3798/master-main-cleanup2
mgr/cephadm: some master -> main cleanup

Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-06-07 20:51:06 -04:00
Venky Shankar
cf17ed16c3
Merge pull request #44234 from lxbsz/wip-53504
client: always return ESTALE directly in handle_reply

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
2022-06-07 22:59:09 +05:30
Venky Shankar
b771b76331
Merge pull request #44247 from neesingh-rh/fix-52982
client: Inode::hold_caps_until is time from monotonic clock now.

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2022-06-07 22:56:35 +05:30
Venky Shankar
971567e903
Merge pull request #46210 from vshankar/wip-54701
mds: do not assert early on when issuing client leases

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2022-06-07 22:50:20 +05:30
Venky Shankar
375c8a6006
Merge pull request #44335 from SMIL-Infra/export-unlinked-dir
mds: fix crash when exporting unlinked dir

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2022-06-07 22:47:36 +05:30
Venky Shankar
45c9fd6187
Merge pull request #46078 from kotreshhr/fuse-directory-dacs-issue
client/fuse: Fix directory DACs overriding for root

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-06-07 22:45:05 +05:30
Venky Shankar
37a466b475
Merge pull request #46267 from tshacked/fix_24894
client: allow overwrites to file with size greater than the max_file_size

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-06-07 22:44:01 +05:30
Venky Shankar
26b778decf
Merge pull request #46371 from aliakseimakarau/fs_multifs_fix
mds/fsmap: proper update of filesystems

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2022-06-07 22:08:09 +05:30
Venky Shankar
c44406e855
Merge pull request #46398 from lxbsz/feature-cleanup
mds, client: remove useless feature required code

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2022-06-07 22:06:24 +05:30
Adam King
8e2c9216f3
Merge pull request #46405 from mgfritch/ceph-backport-fw-slash
script/ceph-backport.sh: consume excess forward slash chars

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-06-07 11:27:21 -04:00
Ernesto Puerta
65acb3e124
Merge pull request #46263 from rhcs-dashboard/rbd-mirroring-snapshot
mgr/dashboard: rbd mirroring snapshot support

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-06-07 16:25:57 +02:00
yuval Lifshitz
2c6a263892 objecter: add op latency stat and in-flight count
this is done in order to better estimate the origin of the end-to-end
operation latency. and see how much of it is due to the objecter and how
much of it is due to the client that uses it (e.g. the RGW)

Signed-off-by: yuval Lifshitz <ylifshit@redhat.com>
2022-06-07 15:44:54 +03:00
Daniel Gryniewicz
e12afb2e85
Merge pull request #46261 from dang/wip-dang-zipper-req-id
RGW - Zipper - Provide default get_new_req_id()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-06-07 08:44:33 -04:00
Casey Bodley
a75a9ac990
Merge pull request #46403 from soumyakoduri/wip-skoduri-syncpolicy-crash
rgw: Avoid dereferencing nullptr while configuring bucket sync policy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2022-06-07 08:28:47 -04:00
Pere Diaz Bou
e3062db270
Merge pull request #46479 from rhcs-dashboard/rbd-mirroring-list-primary
mgr/dashboard: add rbd primary info

Reviewed-by: Sarthak Gupta <sarthak.dev.0702@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-06-07 11:32:48 +02:00
Liu-Chunmei
d8e090366d
Merge pull request #46473 from liu-chunmei/crimson-no-rollback
crimson/osd: don't do rollback when object not exists
2022-06-07 02:12:18 -07:00
Ilya Dryomov
9324b49ebb
Merge pull request #46045 from idryomov/wip-qa-rwl-on-tmpfs
qa/suites/rbd: place cache file on tmpfs for xfstests

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2022-06-07 10:39:31 +02:00
Ronen Friedman
2e685995bd
Merge pull request #46440 from ronen-fr/wip-rf-scrub-trimisbad
osd/scrub: do not start scrubbing if the PG is snap-trimming

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2022-06-07 11:03:28 +03:00
Guillaume Abrioux
de1c428dfe cephadm: add 'is_paused' field in orch status output
it can be convenient for automation tool if `orch status` output reports
whether the upgrade is currently paused.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2022-06-07 09:54:02 +02:00
Casey Bodley
1f4df9af15
Merge pull request #46538 from adamemerson/wip-remove-unbuilt-rgw
rgw: Remove rgw_json_enc.cc which is not built

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-06-06 18:22:19 -04:00
Samuel Just
af7e6f34a8
Merge pull request #46396 from xxhdx1985126/wip-backref-buffer-optimization
crimson/os/seastore/backref: don't merge in-cache backrefs that has already been released

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-06-06 14:45:35 -07:00
Adam King
7c6c715aa5 mgr/cephadm: some master -> main cleanup
Signed-off-by: Adam King <adking@redhat.com>
2022-06-06 15:18:08 -04:00
Casey Bodley
e4adce1c21
Merge pull request #46537 from cbodley/wip-55901
rgw: fix un/signed comparison warnings in rgw_admin.cc

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-06-06 14:31:06 -04:00
Casey Bodley
49eeee6118
Merge pull request #46536 from cbodley/wip-55898
rgw: fix un/signed comparison warnings in rgw_sync.cc

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-06-06 14:07:24 -04:00
Adam C. Emerson
4b8792f1ec rgw: Remove rgw_json_enc.cc which is not built
This was removed from the build in a refactor but not removed from the tree.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2022-06-06 13:10:51 -04:00
Casey Bodley
941713bd68 rgw: fix un/signed comparison warnings in rgw_admin.cc
Fixes: https://tracker.ceph.com/issues/55901

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-06-06 13:01:15 -04:00
Adam King
50f28aa56e mgr/cephadm: use hostname from crush map for osd memory autotuning
Fixes: https://tracker.ceph.com/issues/55841

Signed-off-by: Adam King <adking@redhat.com>
2022-06-06 12:51:59 -04:00
Adam King
d88e71ded6
Merge pull request #46376 from adk3798/cache-size
mgr/cephadm: store device info separately from rest of host cache

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-06-06 12:50:09 -04:00
Adam King
6d3d48293d
Merge pull request #46502 from adk3798/default-image-master-main
cephadm: master -> main updates

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-06-06 12:48:46 -04:00
Daniel Gryniewicz
77566a5574 RGW - Zipper - Provide default get_new_req_id()
Now that RadorStore's get_new_req_id() just returns a random number, use
that as the default implementation for SAL.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2022-06-06 12:22:37 -04:00
Casey Bodley
71590fd117 rgw: fix un/signed comparison warnings in rgw_sync.cc
Fixes: https://tracker.ceph.com/issues/55898

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-06-06 12:06:21 -04:00
Pere Diaz Bou
489a385a95 mgr/dashboard: snapshot mirroring from dashboard
Enable snapshot mirroring from the Pools -> Image

Also show the mirror-snapshot in the image where snapshot is enabled

When parsing images if an image has the snapshot mode enabled, it will
try to  run commands that don't work with that mode. The solution was
not running those for now and appending the mode in the get call.

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

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Signed-off-by: Nizamudeen A <nia@redhat.com>
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2022-06-06 17:56:47 +02:00
Ernesto Puerta
9bfde20d57
Merge pull request #46452 from ceph/fix-codeowners_api-master
codeowners: remove api team

Reviewed-by: Sarthak Gupta <sarthak.dev.0702@gmail.com>
Reviewed-by: nSedrickm <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-06-06 17:40:09 +02:00
Venky Shankar
907b1f41e5 mds: do not assert early on when issuing client leases
Move the relevant ceph_assert()'s when the MDS is issuing leases
to clients since clients may not be capable of reading projected
linkages.

Fixes: http://tracker.ceph.com/issues/54701
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-06-06 10:12:26 -04:00
Patrick Donnelly
a18bceeb25
Merge PR #46516 into main
* refs/pull/46516/head:
	doc/dev/developer_guide/testing_integration_tests: document how to test custom kernels

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-06-06 08:48:39 -04:00
Xiubo Li
c6cb986a2e mds, client: remove useless feature required code
This code was added but never ever used.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2022-06-06 14:50:47 +08:00
Venky Shankar
2ab2777722
Merge pull request #46165 from rishabh-d-dave/qa-omit-sudo
qa/cephfs: set omit_sudo False when sudo is set to True

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
2022-06-06 11:23:11 +05:30
Venky Shankar
86b8df6756
Merge pull request #46168 from rishabh-d-dave/fix-caps-helper
qa/cephfs: fix minor bug in caps_helper.py's run_mon_cap_tests()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-06-06 11:20:58 +05:30
Venky Shankar
9440f79d72
Merge pull request #40434 from rishabh-d-dave/fs-refactor-method-in-mount
qa/cephfs: modify get_key_from_keyfile() in mount.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2022-06-06 11:19:54 +05:30
Pere Diaz Bou
578ee21f59 mgr/dashboard: add rbd primary info
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-06-06 06:43:07 +02:00
Kefu Chai
f93edc4b0a
Merge pull request #46522 from tchaikov/wip-crimson-logging
crimson/osd: reset logger before exit

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-06-06 08:30:46 +08:00
Kefu Chai
6726fe7304
Merge pull request #46416 from tchaikov/wip-debian-dh-python3
debian: python3 related cleanups

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-06-05 21:44:41 +08:00
Kefu Chai
66c923d703 crimson/osd: reset logger before exit
* extract the code to set logging fstream into a dedicated function
* do not reset logging until the end of the seastar application.

before this change, `reset_logger` is created in the
`if (auto log_file = local_conf()->log_file; !log_file.empty())` branch,
so its life cycle ends when the `if` block ends. in other words,
the cerr fstream is used for logging after the `if` block ends.
this is not the expected behavior.

after this changge, `reset_logger` is created out of the `if` block.
so we won't reset the logger back to `cerr` until the lambda passed to
`seastar::async()` exits.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-06-05 18:36:03 +08:00
Xuehan Xu
4a83e91173 crimson/os/seastore/backref: tolerate removing non-existing backrefs
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-06-04 16:57:44 +08:00