Commit Graph

133667 Commits

Author SHA1 Message Date
zdover23
555f0590dd
Merge pull request #47871 from zdover23/wip-doc-2022-08-30-start-documenting-ceph-branch-name-update
doc/start: update documenting-ceph branch names

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-09-04 12:10:37 +10:00
J. Eric Ivancich
929e96fbe9
Merge pull request #47906 from ivancich/wip-bad-move-s3-getobj
rgw: fix bug where variable referenced after data moved out

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2022-09-03 18:26:42 -04:00
Adam King
1aac56e007
Merge pull request #47941 from adk3798/tp-no-overwrite-doc2
doc/cephadm: add info about --no-overwrite to note about tuned-profiles

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-09-03 15:47:21 -04:00
Adam King
d879c5098f doc/cephadm: add info about --no-overwrite to note about tuned-profiles
Follow up to fix to this flag in
028cb031dd

Signed-off-by: Adam King <adking@redhat.com>
2022-09-03 12:19:54 -04:00
Adam King
648618f2c0
Merge pull request #47733 from adk3798/prometheus-retention
mgr/cephadm: allow setting prometheus retention time

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-03 11:59:32 -04:00
Adam King
a725a7c573
Merge pull request #47815 from rkachach/fix_issue_57032
cephadm/mgr: adding logic to handle --no-overwrite for tuned profiles

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-09-03 11:58:01 -04:00
Adam King
eaac7b7c80
Merge pull request #47859 from pcuzner/fix-gather-facts-disk-size
cephadm: Fix disk size calculation

Reviewed-by: Adam King <adking@redhat.com>
2022-09-03 11:55:05 -04:00
Adam King
41ac5cab4c
Merge pull request #47882 from rkachach/fix_issue_57060
mgr/cephadm: Fix how we check if a host belongs to public network

Reviewed-by: Adam King <adking@redhat.com>
2022-09-03 11:53:23 -04:00
J. Eric Ivancich
550196c104
Merge pull request #47904 from cbodley/wip-57329
rgw: avoid use-after-move in RGWDataSyncSingleEntryCR ctor

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2022-09-03 11:21:11 -04:00
Adam King
34d0977861
Merge pull request #47921 from rkachach/fix_issue_56953
doc/cephadm/services: fix example for specifying rgw placement

Reviewed-by: Adam King <adking@redhat.com>
2022-09-02 14:36:22 -04:00
Ronen Friedman
a4f3561146
Merge pull request #47388 from ronen-fr/wip-rf-snapper
osd/scrub: verify SnapMapper consistency

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2022-09-02 21:31:59 +03:00
J. Eric Ivancich
f070376b0b
Merge pull request #44589 from xijiacun/lc-transition
rgw: Get canonical storage class when storage class is empty in lifecycle configuration

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-02 12:38:56 -04:00
J. Eric Ivancich
ddf1ccab16
Merge pull request #44610 from xijiacun/append-object
rgw: Use STANDARD storage class in objects appending operation when the

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-02 12:37:10 -04:00
J. Eric Ivancich
f8a76e4ea6
Merge pull request #46930 from zealot-xzd/wip-rgw-list-optimization2
rgw: bucket list operation slow down in special scenario

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2022-09-02 12:36:27 -04:00
Casey Bodley
03d8457694
Merge pull request #47831 from a16bitsysop/libaio-musl
rgw: rgw_d3n_datacache.cc add check for musl

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-02 12:29:48 -04:00
Casey Bodley
ef458ab281
Merge pull request #47819 from yehudasa/wip-cloud-sync-fixes
rgw: cloud sync fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-09-02 12:26:47 -04:00
Casey Bodley
9f870f8527
Merge pull request #47527 from shraddhaghatol/shr/etag_cosmetic_change
rgw: Added Cosmetic change in etag of copyObjectResult

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-02 11:20:10 -04:00
Casey Bodley
303689fac1
Merge pull request #47667 from AISHU-Technology/fix-rgw-data-corruption
rgw: fix data corruption due to network jitter

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Or Friedmann <ofriedma@redhat.com>
2022-09-02 11:18:37 -04:00
David Galloway
af4906e084
Merge pull request #47818 from petrutlucian94/fix_is_err
include: fix IS_ERR on Windows
2022-09-02 09:41:40 -04:00
Ernesto Puerta
c228491636
Merge pull request #47916 from rhcs-dashboard/applitools-master-main
mgr/dashboard: s/master/main in applitools config

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-09-02 15:05:14 +02:00
Adam King
e9a8fc8ecc
Merge pull request #47796 from adk3798/test_cephadm_fix
qa/cephadm: remove fsid dir before bootstrap in test_cephadm.sh

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-02 08:57:15 -04:00
Rishabh Dave
831344e3ac
Merge pull request #47620 from lxbsz/wip-56249
client: stop the remount_finisher thread in the Client::unmount()

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
2022-09-02 17:54:22 +05:30
Rishabh Dave
bc264a9812
Merge pull request #47593 from lxbsz/wip-57126
client: abort the client if we couldn't invalidate dentry caches

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
2022-09-02 17:53:07 +05:30
Rishabh Dave
d5ab255225
Merge pull request #46988 from rishabh-d-dave/qa-suites-upgraded-client
qa/cephfs: clean up evicted client in 4-compat_client.yaml

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2022-09-02 17:51:25 +05:30
Tim Serong
ad580135e2
Merge pull request #47919 from SUSE/wip-fix-57390
ceph-dencoder: Add erasure_code to denc-mod-osd's target_link_libraries

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-09-02 20:04:31 +10:00
Redouane Kachach
1ed4c30876
doc/cephadm/services: fix example for specifying rgw placement
fixes: https://tracker.ceph.com/issues/56953

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2022-09-02 11:57:43 +02:00
Tim Serong
690b9c6e80 ceph-dencoder: Add erasure_code to denc-mod-osd's target_link_libraries
Fixes: https://tracker.ceph.com/issues/57390
Signed-off-by: Tim Serong <tserong@suse.com>
2022-09-02 18:44:11 +10:00
Ilya Dryomov
140ce93b1d
Merge pull request #47881 from idryomov/wip-57343
test/cli-integration/rbd: iSCSI REST API responses aren't pretty-printed anymore

Reviewed-by: Xiubo Li <xiubli@redhat.com>
2022-09-02 10:00:23 +02:00
Ronen Friedman
a85ef8e798 osd/scrub: modify SnapMapper.cc to use ceph::buffer::list
... systematically, over ceph::bufferlist.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2022-09-02 10:40:54 +03:00
Ronen Friedman
84d9c4d177 tests/osd: creating a Teuthology test re missing SnapMapper entries
The test (in the standalone/scrub suite) verifies that the scrubber
detects (and issues a cluster-log error) whenever a mapping entry
("SNA_") is missing in the SnapMapper DB.

Specifically, here the entry is corrupted - shortened as per
https://tracker.ceph.com/issues/56147.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2022-09-02 10:40:54 +03:00
Ronen Friedman
dc254da593 osd/scrub: verify SnapMapper consistency
Whenever the scrubber access the SnapMapper for the snaps of a specific
clone, the mapper will now verify that the snaps have the required
mapping DB entries (the 'SNA_' keys).

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2022-09-02 10:40:54 +03:00
Ronen Friedman
d32b1b41b8 osd/scrub: move snap_mapper_{fix/op}_t to the Scrub namespace
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2022-09-02 10:40:54 +03:00
Ronen Friedman
d9a1b54e19 osd/scrub: improve SnapMapper's API used by the scrubber
By:
- defining the interface;
- avoiding 'out' parameters where possible
- (forced to) improved const correctness

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2022-09-02 10:40:54 +03:00
Yingxin
926cef781b
Merge pull request #47847 from xxhdx1985126/wip-simplify-may-interrupt
crimson/common/interrupt_future: simplify may_interrupt

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-09-02 15:03:34 +08:00
Nizamudeen A
c3d0e6c8e8 mgr/dashboard: s/master/main in applitools config
Signed-off-by: Nizamudeen A <nia@redhat.com>
2022-09-02 10:51:41 +05:30
Yuri Weinstein
e1f12f7693
Merge pull request #47650 from rzarzynski/wip-bug-57119
osd: fix the "heap" admin cmd printing always to error stream 

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Prashant D <pdhange@redhat.com>
2022-09-01 16:03:02 -07:00
Adam King
11fc0ef194 doc/cephadm: documentation for setting prometheus retention time
Signed-off-by: Adam King <adking@redhat.com>
2022-09-01 14:48:56 -04:00
Adam King
91dd03fd64 mgr/cephadm: allow setting prometheus retention time
When we deploy Prometheus server, we don't provide any
ability to define the tsdb retention time - so it defaults to 15d.

This change adds a field that can be passed in a prometheus service
spec that will be passed as an arg to the --storage.tsdb.retention.time
parameter for the prometheus daemon.

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

Signed-off-by: Adam King <adking@redhat.com>
2022-09-01 14:48:56 -04:00
Adam King
0c55bf362e
Merge pull request #47817 from rkachach/fix_issue_57304
mgr/cephadm: allow binding to loopback for rgw daemons

Reviewed-by: Adam King <adking@redhat.com>
2022-09-01 14:17:31 -04:00
Adam King
9be200001b
Merge pull request #47098 from rkachach/fix_issue_56508
mgr/cephadm: Adding logic to store grafana cert/key per node

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Francesco Pantano <fpantano@redhat.com>
2022-09-01 14:15:29 -04:00
Daniel Gryniewicz
646e23e993
Merge pull request #47884 from dang/wip-dang-zipper-invalidate
RGW - Zipper - Pass invaliate down from RadosStore

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-01 14:12:53 -04:00
Adam King
87b1845c60
Merge pull request #47631 from guits/bz2112730
ceph-volume: add a retry in util.disk.remove_partition

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2022-09-01 14:02:43 -04:00
Adam King
977a9daba0
Merge pull request #47665 from adk3798/apply-spec-error-code
cephadm: return nonzero exit code when applying spec fails in bootstrap

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-01 14:00:00 -04:00
Adam King
9a5b94c51b
Merge pull request #47666 from adk3798/offline-no-check
mgr/cephadm: don't try to write client/os tuning profiles to known offline hosts

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-01 13:58:29 -04:00
Adam King
812be8465f
Merge pull request #47763 from phlogistonjohn/jjm-object-format-fixes
pybind/mgr: object_format.py decorator updates & docs

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-01 13:54:13 -04:00
Adam King
948ad7d4d9
Merge pull request #47804 from p-se/wip-7294-pse-custom-prometheus-alerts
mgr/dashboard: enable addition of custom Prometheus alerts

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-09-01 13:44:16 -04:00
Daniel Gryniewicz
3e3aa38040
Merge pull request #47788 from dang/wip-dang-zipper-admin
RGW - Zipper - Remove a number of casts from rgw_admin

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
2022-09-01 12:57:35 -04:00
Casey Bodley
b45daa62e8
Merge pull request #47719 from yuvalif/wip-yuval-lua-filter2
rgw/lua: allow read access to object data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-01 11:31:31 -04:00
Yuri Weinstein
4b0182efda
Merge pull request #47184 from ljflores/wip-telemetry-memory-stats
mgr/telemetry: add `perf_memory_metrics` collection to telemetry

Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
2022-09-01 08:29:25 -07:00
J. Eric Ivancich
6038511c70 rgw: fix bug where variable referenced after data moved out
Addresses RGWGetObj_ObjStore_S3::override_range_hdr using a variable
for logging after the data had been moved out. This was caught by
coverity.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2022-09-01 11:06:44 -04:00