Commit Graph

136673 Commits

Author SHA1 Message Date
Venky Shankar
fb0c668e3b Merge PR #44240 into main
* refs/pull/44240/head:
	qa/cephfs: upgrade xfstests_dev.py for FUSE mounts

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2023-02-27 11:06:01 +05:30
Nizamudeen A
a7fb5f294f
Merge pull request #50238 from rhcs-dashboard/fix-fix-58827_2-main
mgr/dashboard: fix constraints.txt again

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-02-27 10:13:45 +05:30
Ronen Friedman
dac0fce773
Merge pull request #50236 from ronen-fr/wip-rf-total-dump
test/osd-scrub-dump.sh: fix scrub chunk size

Reviewed-by: Samuel Just <sjust@redhat.com>-
2023-02-26 21:30:30 +02:00
Anthony D'Atri
9b332902f2
Merge pull request #50267 from zdover23/wip-doc-2023-02-27-glossary-zone
doc/glossary: Add "zone" to glossary.rst
2023-02-26 13:42:11 -05:00
Zac Dover
495eb97fd7 doc/glossary: Add "zone" to glossary.rst
Add "Zone" to the glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-27 04:23:34 +10:00
Ilya Dryomov
38898dfeb8 CODEOWNERS: assign qa/workunits/windows to RBD
Assume ownership of qa/workunits/windows.  Despite the generic name,
currently it has just rbd-wnbd tests.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-02-26 17:55:13 +01:00
Ilya Dryomov
f723ec4b44
Merge pull request #49299 from weirdwiz/status-update
rbd-mirror: add information about the last snapshot sync to image status

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2023-02-26 14:13:07 +01:00
Ronen Friedman
ce7e132e7d test/osd-scrub-dump.sh: fix scrub chunk size
The test performs shallow scrubs, intentionally using small chunk
sizes to allow dump commands time to check specific details.
Following commit ffda64119f
(PR#44749), shallow scrubs chunks are controlled by a separate
configuration parameter. This PR fixes the test to use the
correct parameter.

An additional minor change is an adjustment to the test loop sleep time:
it is now reduced to guarantee that a dump followed by a counter
increase will be performed in more-or-less the scrubs frequency.

Fixes: https://tracker.ceph.com/issues/58797
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2023-02-26 15:06:19 +02:00
zdover23
e506e20ef2
Merge pull request #50260 from zdover23/wip-doc-2023-02-26-glossary-client
doc/glossary: add "client" to glossary

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2023-02-26 06:16:42 +10:00
Zac Dover
2dc6f56f26 doc/glossary: add "client" to glossary
Add a definition of "client" to doc/glossary.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-26 05:51:07 +10:00
zdover23
0d8957f82a
Merge pull request #50257 from zdover23/wip-doc-2023-02-25-glossary-application
doc/glossary: add "application" to the glossary

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-02-26 05:03:36 +10:00
Zac Dover
235d2e8b67 doc/glossary: add "application" to the glossary
Add an admittedly-stub definition of "application" to the glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-26 04:50:48 +10:00
Rishabh Dave
b88e917461 qa/cephfs: upgrade xfstests_dev.py for FUSE mounts
Add support for testing CephFS mounted with FUSE using xfstests-dev.

Fixes: https://tracker.ceph.com/issues/55354
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-02-25 16:03:45 +05:30
myoungwon oh
7d75557d3b test/crimson/seastore/rbm: use normal initialization path instead of open and set_block_size for test
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 13:19:20 +09:00
myoungwon oh
9a84b36181 crimson/os/seastore/rbm: add do_mount() and use it in derived classes
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 13:19:04 +09:00
myoungwon oh
4dfe1a7d16 crimson/os/seastore/rbm: only set block_size at mkfs time
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 13:18:57 +09:00
myoungwon oh
9d01a7cec6 crimson/os/seastore/rbm: move RBMDevice related functions to rbm_device.cc
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:10:28 +09:00
myoungwon oh
c1fb998eca crimson/os/seastore/rbm: drop set_device_id() in RBMDevice
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:10:21 +09:00
myoungwon oh
bc3ab64c05 crimson/os/seastore/rbm: remove read_rbm_header in BlockRBManager::open(), and use mount to load superblock
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:10:15 +09:00
myoungwon oh
60e4407617 crimson/os/seastore/rbm: reset stream_index_to_open in NVMeBlockDevice at close()
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:10:07 +09:00
myoungwon oh
70d0145c35 crimson/os/seastore/rbm: use do_with() to prevent from freeing allocated memory
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:10:00 +09:00
myoungwon oh
c0305cedf2 crimson/os/seastore/rbm: add mount() to NVMeBlockDevice
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:09:53 +09:00
myoungwon oh
1e9de00aa8 crimson/os/seastore/rbm: In mkfs, add open() before write_rbm_header()
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:09:45 +09:00
myoungwon oh
8e5a3f229d crimson/os/seastore/rbm: generalize shared logic and set cbjournal_size in mkfs()
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:09:32 +09:00
myoungwon oh
1bd4acc318 crimson/os/seastore/rbm: do not set block_size in open()
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:08:35 +09:00
myoungwon oh
1bea8348de crimson/os/seastore/rbm: fix stat_deivce() to return correct device size
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:08:29 +09:00
myoungwon oh
2e4ab7fdba crimson/os/seastore: create random_block_device using make_device at startup time
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2023-02-25 12:08:20 +09:00
Rishabh Dave
d8749faf21
Merge pull request #50142 from rishabh-d-dave/fs-xfstests_dev-distro
qa/cephfs: add 'rhel' to family of RH OS in xfstest_dev.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2023-02-24 22:51:20 +05:30
zdover23
f9d812a562
Merge pull request #50250 from tnyeanderson/fix-service-spec-link
doc/cephadm/host-management: add service spec link

Reviewed-by: Zac Dover <zac.dover@proton.me>
2023-02-24 18:33:52 +10:00
Yingxin
fce4edc834
Merge pull request #50191 from xxhdx1985126/wip-weak-backref-retrieval-trans-issue-fix
crimson/os/seastore: make weak transactions conflict with others on ROOT

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-02-24 14:35:36 +08:00
thomas
bb5837f049 doc/cephadm/host-management: add service spec link
The old "(below)" text is not accurate, the service spec definition is
not in the same file at this point in time. This commit adds a ref link
to the actual service specification section.

Signed-off-by: thomas <me@thomasanderson.cloud>
2023-02-24 01:10:23 -05:00
Samuel Just
acedd169e4
Merge pull request #48516 from athanatos/sjust/wip-57801
crimson,mon: add guards to avoid accidental crimson deployment and to avoid usage of unsupported features with crimson

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2023-02-23 18:39:27 -08:00
zdover23
5bdcee8bfe
Merge pull request #50246 from zdover23/wip-doc-2023-02-24-glossary-bucket-2
doc/glossary: add AWS links to bucket info

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-02-24 12:15:54 +10:00
Zac Dover
d16ed970e9 doc/glossary: add AWS/OpenStack bucket info
Add links to AWS's documentation of buckets, in accordance with Casey
Bodley's suggestions here:
https://github.com/ceph/ceph/pull/50221#discussion_r1115900879

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-24 11:57:58 +10:00
Ilya Dryomov
673373f829
Merge pull request #50202 from rzarzynski/wip-librbd-drop-cxx11-from-example
examples/librbd: drop -std=c++11 from CXXFLAGS

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-02-23 18:25:14 +01:00
Ali Maredia
56e2a1006f common: Add labeled perf counters
Add the ability to dump labeled perf counters
for a daemon. Labeled perf counters are stored
in a CephContext's PerfCountersCollection.

Labeled and unlabeled perf counters are dumped
to the admin socket via `counters dump` command.

The schema for labeled and unlabeled perf
counters are dumped to the admin socket via
`counters schema` command.

This commit includes docs and additional unit tests

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2023-02-23 12:05:36 -05:00
Casey Bodley
f427bb2d2c common: add abstraction for label-aware perf counter keys
a flat representation of a set of prometheus labels, returned as a
std::string. this string can either be used for sorting an ordered
container of perf counters, or for hashing an unordered container

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-02-23 12:04:19 -05:00
Rishabh Dave
fec9be184d qa/cephfs: add 'rhel' to family of RH OS in xfstest_dev.py
The string returned by get_system_type() for RHEL 8.4 recently wasn't
one of the strings that xfstests_dev.py expects. The string returned
this time was instead "rhel". Add this string to the list of strings
that xfstests_dev.py expects for Red Hat OS family so that this failure
won't occur again in future. Also log the detected distro and version so
that it is easier to debug when this issue occurs next time.

Fixes: https://tracker.ceph.com/issues/58726
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-02-23 22:31:27 +05:30
Ernesto Puerta
1c7fb66856
mgr/dashboard: fix constraints.txt again
The previous attempt to fix this issue
(https://github.com/ceph/ceph/pull/50207) was not successful, since the
PIP syntax for compatible versions (~=) behaves differently compared to
other package management tools (e.g.: npm).

In this case, package~=x.y.z equasl to package>=x.y.z;package==x.y.*,
instead of the desired package>=x.y.z;package==x.*.

Fixes: tracker.ceph.com/issues/58827

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2023-02-23 17:22:10 +01:00
Soumya Koduri
9f0440e6d5
Merge pull request #50098 from soumyakoduri/wip-skoduri-cloud-trans-azure
rgw/cloud: Add custom headers for objects transitioned to cloud

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-02-23 17:49:31 +05:30
Ilya Dryomov
b21a379c5b librbd: call apply_changes() after setting librados_thread_count
Otherwise the setting doesn't take effect.  While at it, replace
home-grown stringify() with standard to_string().

Fixes: https://tracker.ceph.com/issues/58833
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-02-23 12:50:45 +01:00
Rishabh Dave
4017bfa2c5
Merge pull request #46574 from rishabh-d-dave/xfstests-dev-improvements
qa/cephfs: improvements for xfstests_dev.py

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-02-23 17:08:53 +05:30
Radoslaw Zarzynski
6668814a17
Merge pull request #49528 from NitzanMordhai/wip-nitzan-filestore-removal
Reef: filestore removal

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-23 12:20:49 +01:00
Yingxin
7818c6e003
Merge pull request #50176 from xxhdx1985126/wip-seastore-throttle
crimson/os/seastore: throttle concurrent transactions in seastore

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-02-23 16:49:03 +08:00
Anthony D'Atri
d67427a425
Merge pull request #50226 from anthonyeleven/anthonyeleven/tweak-cephadm-troubleshooting
doc: preen cephadm/troubleshooting.rst and radosgw/placement.rst
2023-02-23 02:39:10 -05:00
Anthony D'Atri
d5bf55bcd6 doc: preen cephadm/troubleshooting.rst and radosgw/placement.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2023-02-23 02:12:34 -05:00
Anthony D'Atri
c04a41f82d
Merge pull request #50221 from zdover23/wip-doc-2023-02-23-glossary-bucket
doc/glossary: add "Bucket"
2023-02-23 01:06:19 -05:00
Anthony D'Atri
3cf687d616
Merge pull request #50220 from tnyeanderson/fix-word-repeat
doc: remove word repeat in docs
2023-02-23 00:59:16 -05:00
Zac Dover
ffbc5ea2b9 doc/glossary: add "Bucket"
Add "Bucket" to the glossary. The definition added here is just a first
attempt, but a man's reach must exceed his grasp, or what's a heaven
for?

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-23 15:53:39 +10:00
thomas
4e9eaf8b5d doc/cephadm/troubleshooting: remove word repeat
The original text was "In case the cluster the last MGR of a cluster"

Signed-off-by: thomas <me@thomasanderson.cloud>
2023-02-23 00:47:58 -05:00