Commit Graph

132028 Commits

Author SHA1 Message Date
Casey Bodley
3005be1c92 common: remove log subsys for deprecated 'civetweb'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-06-08 11:02:34 -04:00
Neha Ojha
3bf1e368cf
Merge pull request #46540 from yaarith/rook-telemetry-release-notes
PendingReleaseNotes: add a note about Rook telemetry

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2022-06-08 07:33:41 -07:00
Patrick Donnelly
07fe578010
script/ptl-tool: update main branch name
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2022-06-08 10:11:09 -04:00
Guillaume Abrioux
409105d7f0 cephadm/tests: decrease number of docker.io occurances
with haproxy/keepalived default images change, this check needs to be updated.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2022-06-08 14:31:50 +02:00
Guillaume Abrioux
ae22c330ae cephadm: change default keepalived/haproxy container img
given that we now host haproxy and keepalived container images at
`quay.io/ceph` (keepalived and haproxy) let's use them as
defaults in cephadm.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2022-06-08 14:31:11 +02:00
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
Avan Thakkar
73c4a10d70 mgr/dashboard: fix mirroring e2e and lint errors
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2022-06-08 17:21:57 +05:30
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
dparmar18
f2bfea5bfd mds: add include/cephfs/types.h path in spec files
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-06-08 11:49:17 +05:30
dparmar18
4cc3d626ee mds: split up mdstypes
mdstypes.h contains both MDS-exclusive and client-shared structs.
This PR splits it up into "mdstypes.h" and "sharedtypes.h".

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

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-06-08 11:49:08 +05:30
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
Pritha Srivastava
7140e822d6 rgw: adding a test to check if role metadata syncs fine.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-08 10:31:15 +05:30
Melissa Li
6ac9b3cfe1 mgr/dashboard: add rbd status endpoint
Show "No RBD pools available" error page when accessing block/rbd if there are no rbd pools.
Add a "button_name" and "button_route" property to `ModuleStatusGuardService` config to customize the button on the error page.
Modify `ModuleStatusGuardService` to execute API calls to `/ui-api/<uiApiPath>/status` which uses the `UIRouter`.

Fixes: https://tracker.ceph.com/issues/42109
Signed-off-by: Melissa Li <melissali@redhat.com>
2022-06-07 23:12:39 -04: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
Pere Diaz Bou
fb30b86d29 mgr/dashboard: add byte info, move state, add idle state
Idle substate added from snapshot mode.
Instead of seconds info we display bytes and entries info.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-06-07 19:57:44 +02: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
Pere Diaz Bou
817ad471fd mgr/dashboard: move replaying images to Syncing tab
Images with 'Replaying' state will be displayed in Syncing tab. syncTmpl
removed as it was unnecessary if sate is provided from the backend.

Replaying images in contrast of Syncing images don't have a progress
percentage, nevertheless, we have an approximation of how much time left
there is until the image is fully synced. Therefore, we can use seconds_until_synced to represent the progress.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-06-07 17:47:58 +02:00
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
Teoman ONAY
79c51938e8 Modify how Iscsi tcmu-runner container is started within systemd
Modify Iscsi tcmu-runner container to be run demonized in the same
systemd slice as all other ceph processes

Signed-off-by: Teoman ONAY <tonay@redhat.com>
2022-06-07 14:42:50 +02: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
Prashant D
2f6272ac85 osd/scrub: Reintroduce scrub starts message
Whenever the scrubbing process starts for a PG, We used to log
scrub/deep-scrub "starts" message in the cluster log. We are
not seeing scrub "starts" messages anymore. Reintroduce scrub
starts message in order to calculate exact time taken to
scrub/deep-scrub the PG.

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

Signed-off-by: Prashant D <pdhange@redhat.com>
2022-06-07 13:27:35 +01: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
Ngwa Sedrick Meh
a4b66efb2a mgr/dashboard: Dashboard should display some helpful (error) message when the iframe-embedded Grafana dashboard failed to load
This commit adds checks for successful grafana panel loads before displaying dashboards and informs the user if the request is blocked by the browser
Fixes: https://tracker.ceph.com/issues/54206
Signed-off-by: Ngwa Sedrick Meh <nsedrick101@gmail.com>
2022-06-07 10:28:28 +01: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
Yaarit Hatuka
1742d1b365 PendingReleaseNotes: add a note about Rook telemetry
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
2022-06-06 19:34:19 +00: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