]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agomonitoring/grafana: update the grafana version 50845/head
Nizamudeen A [Mon, 3 Apr 2023 16:23:39 +0000 (21:53 +0530)]
monitoring/grafana: update the grafana version

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #50274 from zdover23/wip-doc-2023-02-27-radosgw-multisite-remove...
Anthony D'Atri [Mon, 27 Feb 2023 13:43:58 +0000 (08:43 -0500)]
Merge pull request #50274 from zdover23/wip-doc-2023-02-27-radosgw-multisite-remove-tertiary

doc/rgw: remove "tertiary", link to procedure

2 years agoMerge pull request #50230 from idryomov/wip-58833
Ilya Dryomov [Mon, 27 Feb 2023 13:15:31 +0000 (14:15 +0100)]
Merge pull request #50230 from idryomov/wip-58833

librbd: call apply_changes() after setting librados_thread_count

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoMerge pull request #50232 from idryomov/wip-qa-workunits-windows-ownership
Ilya Dryomov [Mon, 27 Feb 2023 10:24:40 +0000 (11:24 +0100)]
Merge pull request #50232 from idryomov/wip-qa-workunits-windows-ownership

CODEOWNERS: assign qa/workunits/windows to RBD

Reviewed-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #50264 from zdover23/wip-doc-2023-02-27-radosgw-multisite-infernal...
zdover23 [Mon, 27 Feb 2023 09:01:36 +0000 (19:01 +1000)]
Merge pull request #50264 from zdover23/wip-doc-2023-02-27-radosgw-multisite-infernalis-changes

doc/radosgw: multisite - edit "functional changes"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rgw: remove "tertiary", link to procedure 50274/head
Zac Dover [Mon, 27 Feb 2023 08:40:14 +0000 (18:40 +1000)]
doc/rgw: remove "tertiary", link to procedure

Remove the term "tertiary zone" and replace it with "second secondary
zone" (because there is no such thing as a tertiary zone). Link to the
procedure for creating a secondary zone in a place where such a link is
helpful to the reader.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agodoc/radosgw: multisite - edit "functional changes" 50264/head
Zac Dover [Sun, 26 Feb 2023 16:52:02 +0000 (02:52 +1000)]
doc/radosgw: multisite - edit "functional changes"

Improve the wording of the section "Functional Changes from Infernalis"
in doc/radosgw/multisite.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge PR #50178 into main
Venky Shankar [Mon, 27 Feb 2023 05:52:42 +0000 (11:22 +0530)]
Merge PR #50178 into main

* refs/pull/50178/head:
client: add comment about how quota affect space usage report

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge PR #44240 into main
Venky Shankar [Mon, 27 Feb 2023 05:36:01 +0000 (11:06 +0530)]
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>
2 years agoMerge pull request #50238 from rhcs-dashboard/fix-fix-58827_2-main
Nizamudeen A [Mon, 27 Feb 2023 04:43:45 +0000 (10:13 +0530)]
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>
2 years agoMerge pull request #50236 from ronen-fr/wip-rf-total-dump
Ronen Friedman [Sun, 26 Feb 2023 19:30:30 +0000 (21:30 +0200)]
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>-
2 years agoMerge pull request #50267 from zdover23/wip-doc-2023-02-27-glossary-zone
Anthony D'Atri [Sun, 26 Feb 2023 18:42:11 +0000 (13:42 -0500)]
Merge pull request #50267 from zdover23/wip-doc-2023-02-27-glossary-zone

doc/glossary: Add "zone" to glossary.rst

2 years agodoc/glossary: Add "zone" to glossary.rst 50267/head
Zac Dover [Sun, 26 Feb 2023 18:18:50 +0000 (04:18 +1000)]
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>
2 years agoCODEOWNERS: assign qa/workunits/windows to RBD 50232/head
Ilya Dryomov [Thu, 23 Feb 2023 13:07:46 +0000 (14:07 +0100)]
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>
2 years agoMerge pull request #49299 from weirdwiz/status-update
Ilya Dryomov [Sun, 26 Feb 2023 13:13:07 +0000 (14:13 +0100)]
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>
2 years agotest/osd-scrub-dump.sh: fix scrub chunk size 50236/head
Ronen Friedman [Thu, 23 Feb 2023 15:53:56 +0000 (17:53 +0200)]
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 ffda64119fc6165cebffd0b26619ad47b13daf51
(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>
2 years agoMerge pull request #50260 from zdover23/wip-doc-2023-02-26-glossary-client
zdover23 [Sat, 25 Feb 2023 20:16:42 +0000 (06:16 +1000)]
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>
2 years agodoc/glossary: add "client" to glossary 50260/head
Zac Dover [Sat, 25 Feb 2023 19:51:07 +0000 (05:51 +1000)]
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>
2 years agoMerge pull request #50257 from zdover23/wip-doc-2023-02-25-glossary-application
zdover23 [Sat, 25 Feb 2023 19:03:36 +0000 (05:03 +1000)]
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>
2 years agodoc/glossary: add "application" to the glossary 50257/head
Zac Dover [Sat, 25 Feb 2023 10:12:16 +0000 (20:12 +1000)]
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>
2 years agoqa/cephfs: upgrade xfstests_dev.py for FUSE mounts 44240/head
Rishabh Dave [Mon, 6 Dec 2021 12:31:40 +0000 (18:01 +0530)]
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>
2 years agoMerge pull request #50142 from rishabh-d-dave/fs-xfstests_dev-distro
Rishabh Dave [Fri, 24 Feb 2023 17:21:20 +0000 (22:51 +0530)]
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>
2 years agoMerge pull request #50250 from tnyeanderson/fix-service-spec-link
zdover23 [Fri, 24 Feb 2023 08:33:52 +0000 (18:33 +1000)]
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>
2 years agoMerge pull request #50191 from xxhdx1985126/wip-weak-backref-retrieval-trans-issue-fix
Yingxin [Fri, 24 Feb 2023 06:35:36 +0000 (14:35 +0800)]
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>
2 years agodoc/cephadm/host-management: add service spec link 50250/head
thomas [Fri, 24 Feb 2023 06:00:00 +0000 (01:00 -0500)]
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>
2 years agoMerge pull request #48516 from athanatos/sjust/wip-57801
Samuel Just [Fri, 24 Feb 2023 02:39:27 +0000 (18:39 -0800)]
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>
2 years agoMerge pull request #50246 from zdover23/wip-doc-2023-02-24-glossary-bucket-2
zdover23 [Fri, 24 Feb 2023 02:15:54 +0000 (12:15 +1000)]
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>
2 years agodoc/glossary: add AWS/OpenStack bucket info 50246/head
Zac Dover [Fri, 24 Feb 2023 01:07:12 +0000 (11:07 +1000)]
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>
2 years agoMerge pull request #50202 from rzarzynski/wip-librbd-drop-cxx11-from-example
Ilya Dryomov [Thu, 23 Feb 2023 17:25:14 +0000 (18:25 +0100)]
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>
2 years agoqa/cephfs: add 'rhel' to family of RH OS in xfstest_dev.py 50142/head
Rishabh Dave [Thu, 16 Feb 2023 12:02:37 +0000 (17:32 +0530)]
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>
2 years agomgr/dashboard: fix constraints.txt again 50238/head
Ernesto Puerta [Thu, 23 Feb 2023 16:22:10 +0000 (17:22 +0100)]
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>
2 years agoMerge pull request #50098 from soumyakoduri/wip-skoduri-cloud-trans-azure
Soumya Koduri [Thu, 23 Feb 2023 12:19:31 +0000 (17:49 +0530)]
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>
2 years agolibrbd: call apply_changes() after setting librados_thread_count 50230/head
Ilya Dryomov [Wed, 22 Feb 2023 18:02:18 +0000 (19:02 +0100)]
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>
2 years agoMerge pull request #46574 from rishabh-d-dave/xfstests-dev-improvements
Rishabh Dave [Thu, 23 Feb 2023 11:38:53 +0000 (17:08 +0530)]
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>
2 years agoMerge pull request #49528 from NitzanMordhai/wip-nitzan-filestore-removal
Radoslaw Zarzynski [Thu, 23 Feb 2023 11:20:49 +0000 (12:20 +0100)]
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>
2 years agoMerge pull request #50176 from xxhdx1985126/wip-seastore-throttle
Yingxin [Thu, 23 Feb 2023 08:49:03 +0000 (16:49 +0800)]
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>
2 years agoMerge pull request #50226 from anthonyeleven/anthonyeleven/tweak-cephadm-troubleshooting
Anthony D'Atri [Thu, 23 Feb 2023 07:39:10 +0000 (02:39 -0500)]
Merge pull request #50226 from anthonyeleven/anthonyeleven/tweak-cephadm-troubleshooting

doc: preen cephadm/troubleshooting.rst and radosgw/placement.rst

2 years agodoc: preen cephadm/troubleshooting.rst and radosgw/placement.rst 50226/head
Anthony D'Atri [Thu, 23 Feb 2023 06:31:31 +0000 (01:31 -0500)]
doc: preen cephadm/troubleshooting.rst and radosgw/placement.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 years agoMerge pull request #50221 from zdover23/wip-doc-2023-02-23-glossary-bucket
Anthony D'Atri [Thu, 23 Feb 2023 06:06:19 +0000 (01:06 -0500)]
Merge pull request #50221 from zdover23/wip-doc-2023-02-23-glossary-bucket

doc/glossary: add "Bucket"

2 years agoMerge pull request #50220 from tnyeanderson/fix-word-repeat
Anthony D'Atri [Thu, 23 Feb 2023 05:59:16 +0000 (00:59 -0500)]
Merge pull request #50220 from tnyeanderson/fix-word-repeat

doc: remove word repeat in docs

2 years agodoc/glossary: add "Bucket" 50221/head
Zac Dover [Thu, 23 Feb 2023 05:53:39 +0000 (15:53 +1000)]
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>
2 years agodoc/cephadm/troubleshooting: remove word repeat 50220/head
thomas [Thu, 23 Feb 2023 05:41:34 +0000 (00:41 -0500)]
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>
2 years agoMerge PR #50196 into main
Venky Shankar [Thu, 23 Feb 2023 05:46:21 +0000 (11:16 +0530)]
Merge PR #50196 into main

* refs/pull/50196/head:
qa: export DIFF_LENGTH env parameter to print the full git diff

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50179 from rishabh-d-dave/doc-fs-quota
Anthony D'Atri [Thu, 23 Feb 2023 05:36:36 +0000 (00:36 -0500)]
Merge pull request #50179 from rishabh-d-dave/doc-fs-quota

doc/cephfs: improve CephFS Quota document

2 years agoMerge pull request #50213 from pponnuvel/osd_backfill_doc
zdover23 [Thu, 23 Feb 2023 05:16:33 +0000 (15:16 +1000)]
Merge pull request #50213 from pponnuvel/osd_backfill_doc

doc/rados: update OSD_BACKFILLFULL description

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agocrimson/os/seastore/async_cleaner: make backref retrieval trans non-weak 50191/head
Xuehan Xu [Thu, 23 Feb 2023 01:56:01 +0000 (01:56 +0000)]
crimson/os/seastore/async_cleaner: make backref retrieval trans non-weak

backref retrieval transactions may conflict with others on RootBlock

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2 years agocrimson/os/seastore/cache: return the RootBlock it's waiting on in
Xuehan Xu [Thu, 23 Feb 2023 01:30:59 +0000 (01:30 +0000)]
crimson/os/seastore/cache: return the RootBlock it's waiting on in
`Cache::get_root()`

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2 years agoMerge pull request #50215 from ljflores/wip-temporarily-disable-cronjobs
Laura Flores [Thu, 23 Feb 2023 01:29:20 +0000 (19:29 -0600)]
Merge pull request #50215 from ljflores/wip-temporarily-disable-cronjobs

2 years agoqa/crontab: temporarily disable teuthology cronjobs 50215/head
Laura Flores [Wed, 22 Feb 2023 23:17:19 +0000 (23:17 +0000)]
qa/crontab: temporarily disable teuthology cronjobs

Temporarily disable teuthology cron jobs before
the Reef dev freeze. This commit is intended to
lessen the load on the teuthology queue as we
test final patches for Reef, but should be reverted
after the dev freeze.

Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50201 from ceph/fix-github_action-main
Nizamudeen A [Wed, 22 Feb 2023 17:19:44 +0000 (22:49 +0530)]
Merge pull request #50201 from ceph/fix-github_action-main

.github/workflows: update failing action

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: rkachach <NOT@FOUND>
2 years agoMerge pull request #48127 from petrutlucian94/cephfs_tests
Ilya Dryomov [Wed, 22 Feb 2023 16:43:17 +0000 (17:43 +0100)]
Merge pull request #48127 from petrutlucian94/cephfs_tests

Windows tests follow-up (librados_asio error category, disable some tests)

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agodoc/rados: update OSD_BACKFILLFULL description 50213/head
Ponnuvel Palaniyappan [Wed, 22 Feb 2023 16:20:46 +0000 (16:20 +0000)]
doc/rados: update OSD_BACKFILLFULL description

Document that this warning can happen even when the OSDs' limits
haven't hit the backfill_full_ratio.

Signed-off-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
2 years agodoc/cephfs: describe conf opt "client quota df" in quota doc 50179/head
Rishabh Dave [Mon, 20 Feb 2023 07:51:25 +0000 (13:21 +0530)]
doc/cephfs: describe conf opt "client quota df" in quota doc

The ceph config file option (from the client section) "client quota df"
is mentioned in "CephFS Client Capabilities" document but not in the
"CephFS Quota" document. Adding information about this option to this
document too would make it easier for CephFS users to discover,
understand and use this option.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agodoc/cephfs: rearrange CephFS Quota document
Rishabh Dave [Mon, 20 Feb 2023 07:47:03 +0000 (13:17 +0530)]
doc/cephfs: rearrange CephFS Quota document

CephFS users, especially new users, would find it easier to discover,
understand and use CephFS Quota when basic information (like setting,
viewing and removing CephFS quota from a CephFS directory) is mentioned
in the documentation before advanced information (like limitations &
implementation details of CephFS Quota).

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoqa/cephfs: save results dir from xfstests-dev repo 46574/head
Rishabh Dave [Tue, 31 May 2022 03:14:51 +0000 (08:44 +0530)]
qa/cephfs: save results dir from xfstests-dev repo

The "results" directory in xfstests-dev repo contains logs that are
created by it during execution of its tests. Copying this directory to
Ceph log directory saves it from being erased during tear down conducted
by teuthology test runner. These logs allow deeper inspection in to the
cause of failure of tests.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoqa/cephfs: don't create symlinks for xfstests-dev
Rishabh Dave [Wed, 8 Jun 2022 16:49:59 +0000 (22:19 +0530)]
qa/cephfs: don't create symlinks for xfstests-dev

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoqa/cephfs: modify user creation code for xfstests-dev
Rishabh Dave [Wed, 8 Jun 2022 17:04:51 +0000 (22:34 +0530)]
qa/cephfs: modify user creation code for xfstests-dev

Create user "fsgqa2" and, since xfstests-dev's README uses option "-m"
while creating user "fsgqa", do the same in our codebase.

Creating user "fsgqa2" is optional along with other users according to
xfstests-dev's README. Create all these users is a preventive step since
tests needing user/users maybe skipped during execution.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoqa/cephfs: log xfstests-dev local.config
Rishabh Dave [Wed, 8 Jun 2022 17:02:27 +0000 (22:32 +0530)]
qa/cephfs: log xfstests-dev local.config

Log contents of xfstests-dev repo config file "local.config" to make
debugging easier.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoqa/cephfs: minor changes in xfstests_dev.py
Rishabh Dave [Wed, 8 Jun 2022 16:58:34 +0000 (22:28 +0530)]
qa/cephfs: minor changes in xfstests_dev.py

In xfstests-dev repo, local.config options "SCRATCH_DEV" and
"SCRATCH_MNT" were enabled in commit
2ba6b871056c10d7ea75b526489baa3586024fbf but TODO comment for the
wasn't deleted. Let's delete that and use format string instead of
format function on regular string.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50207 from rhcs-dashboard/fix-58827-main
Ernesto Puerta [Wed, 22 Feb 2023 14:57:38 +0000 (15:57 +0100)]
Merge pull request #50207 from rhcs-dashboard/fix-58827-main

mgr/dashboard: fix constraints.txt

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoqa/cephfs: make it easier to use xfstests-dev using vstart_runner
Rishabh Dave [Sat, 7 May 2022 03:42:52 +0000 (09:12 +0530)]
qa/cephfs: make it easier to use xfstests-dev using vstart_runner

The intention of this re-arrangement is to make it easier for developers
to use an already cloned and built xfstests-dev repo  with
vstart_runner.py.

The re-arrangements are -

* move tearDown() closer to setUp() (so that devs can
  enable/disable parts of them easily),

* carve out separate methods (so that these codeblocks can be disabled
  in a single go) for -
  ** deleting groups and users,
  ** deleting xfstests-dev and xfsprogs-dev repo and
  ** building xfstests-dev repo

* carve out method for deleting xfstests-dev and xfsprogs-dev repos

* add self.xfstests_repo_path comment (for devs to set path to
  xfstests-dev repo), and,

* add a note showing how to use already cloned and built xfstests-dev
  repo

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoqa/cephfs: use standard name for logging variable
Rishabh Dave [Tue, 19 Apr 2022 16:31:49 +0000 (22:01 +0530)]
qa/cephfs: use standard name for logging variable

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge PR #50175 into main
Venky Shankar [Wed, 22 Feb 2023 14:17:43 +0000 (19:47 +0530)]
Merge PR #50175 into main

* refs/pull/50175/head:
cephfs: upgrade cephfs-shell's path wherever necessary

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge pull request #49979 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard...
Ernesto Puerta [Wed, 22 Feb 2023 13:56:05 +0000 (14:56 +0100)]
Merge pull request #49979 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard-frontend-http-cache-semantics-4.1.1

mgr/dashboard: bump http-cache-semantics from 4.1.0 to 4.1.1 in /src/pybind/mgr/dashboard/frontend

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoMerge pull request #49192 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard...
Ernesto Puerta [Wed, 22 Feb 2023 11:09:25 +0000 (12:09 +0100)]
Merge pull request #49192 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard-frontend-decode-uri-component-0.2.2

mgr/dashboard: bump decode-uri-component from 0.2.0 to 0.2.2 in /src/pybind/mgr/dashboard/frontend

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agomgr/dashboard: fix constraints.txt 50207/head
Ernesto Puerta [Wed, 22 Feb 2023 10:31:47 +0000 (11:31 +0100)]
mgr/dashboard: fix constraints.txt

Replaces strict version matching with compatible version syntax.

Reference: https://peps.python.org/pep-0440/#version-specifiers

Fixes: https://tracker.ceph.com/issues/58827
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoMerge PR #45669 into main
Venky Shankar [Wed, 22 Feb 2023 09:11:09 +0000 (14:41 +0530)]
Merge PR #45669 into main

* refs/pull/45669/head:
client: switch to use 32 bits ext_num_fwd
client: switch to use 32 bits ext_num_retry
ceph_fs.h: add 32 bits extended num_retry and num_fwd support
ceph_fs.h: switch to use its own encode/decode helpers

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoqa: export DIFF_LENGTH env parameter to print the full git diff 50196/head
Xiubo Li [Tue, 21 Feb 2023 05:20:50 +0000 (13:20 +0800)]
qa: export DIFF_LENGTH env parameter to print the full git diff

From the xfstests-dev's README doc set DIFF_LENGTH to 0 will print
the full diff instead of the default 10.

This will be very helpful to debug the test failures, or we will
lose many valuable debug infomation.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge PR #49934 into main
Venky Shankar [Wed, 22 Feb 2023 06:11:44 +0000 (11:41 +0530)]
Merge PR #49934 into main

* refs/pull/49934/head:
qa: add test_fscrypt_dummy_encryption test case support
qa: add 'options' parameter support for write_local_config
qa: add ceph.exclude file to exclude individual tests
qa: add require_kernel_mount helper support
qa: rename test_fscrypt to test_fscrypt_encrypt

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50203 from zdover23/wip-doc-2023-02-22-radosgw-multisite-refine...
zdover23 [Wed, 22 Feb 2023 04:23:01 +0000 (14:23 +1000)]
Merge pull request #50203 from zdover23/wip-doc-2023-02-22-radosgw-multisite-refine-top-matter

doc/rgw: clarify multisite.rst top matter

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rgw: clarify multisite.rst top matter 50203/head
Zac Dover [Wed, 22 Feb 2023 03:36:40 +0000 (13:36 +1000)]
doc/rgw: clarify multisite.rst top matter

Improve the pragmatics of the top matter of multisite.rst. Organize the
text into sections, where doing so makes the nature of multi-site
configurations clearer.

Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #49605 from myoungwon/wip-rbm-integration-step2
Yingxin [Wed, 22 Feb 2023 01:37:07 +0000 (09:37 +0800)]
Merge pull request #49605 from myoungwon/wip-rbm-integration-step2

crimson/os/seastore: enable metadata (*_INTERNAL and *_LEAF ) allocation using OOL path

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agoMerge pull request #49722 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard...
Ernesto Puerta [Wed, 22 Feb 2023 00:48:01 +0000 (01:48 +0100)]
Merge pull request #49722 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard-frontend-loader-utils-1.4.2

mgr/dashboard: bump loader-utils from 1.4.0 to 1.4.2 in /src/pybind/mgr/dashboard/frontend

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoMerge pull request #50042 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard...
Ernesto Puerta [Tue, 21 Feb 2023 23:26:23 +0000 (00:26 +0100)]
Merge pull request #50042 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard-frontend-sideway-formula-3.0.1

mgr/dashboard: bump @sideway/formula from 3.0.0 to 3.0.1 in /src/pybind/mgr/dashboard/frontend

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoexamples/librbd: drop -std=c++11 from CXXFLAGS 50202/head
Radoslaw Zarzynski [Tue, 21 Feb 2023 20:37:13 +0000 (20:37 +0000)]
examples/librbd: drop -std=c++11 from CXXFLAGS

In terms of `CXXFLAGS` this commit does for `examples/librbd`
exactly what be838652fae1ee4683b62785192a58992a76d1fe already
did to `examples/librados`. Together they cover the purpose
of the long-waiting PR #44738.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years ago.github/workflows: update failing action 50201/head
Ernesto Puerta [Tue, 21 Feb 2023 19:47:31 +0000 (20:47 +0100)]
.github/workflows: update failing action

[Example](https://github.com/ceph/ceph/actions/runs/4222995073/jobs/7360873373) of failing run.

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2 years agocephfs: upgrade cephfs-shell's path wherever necessary 50175/head
Rishabh Dave [Mon, 20 Feb 2023 04:47:10 +0000 (10:17 +0530)]
cephfs: upgrade cephfs-shell's path wherever necessary

Commit dc69033763cc116c6ccdf1f97149a74248691042 moves cephfs-shell from
"<CEPH-REPO-ROOT>/src/tools/cephfs/" to
"<CEPH-REPO-ROOT>/src/tools/cephfs/shell" but cephfs-shell's location in
src/vstart.sh and qa/tasks/cephfs/test_cephfs_shell.py is left
un-updated. This produces a broken vstart_environment.sh and broken
export command in test_cephfs_shell.py.

Introduced-by: dc69033763cc116c6ccdf1f97149a74248691042
Fixes: https://tracker.ceph.com/issues/58795
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoqa: add test_fscrypt_dummy_encryption test case support 49934/head
Xiubo Li [Tue, 31 Jan 2023 02:33:07 +0000 (10:33 +0800)]
qa: add test_fscrypt_dummy_encryption test case support

This will test around 130 test cases with the test_dummy_encryption
option enabled.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #50165 from zdover23/wip-doc-2023-02-19-radosgw-multisite-multisit...
zdover23 [Tue, 21 Feb 2023 04:52:21 +0000 (14:52 +1000)]
Merge pull request #50165 from zdover23/wip-doc-2023-02-19-radosgw-multisite-multisite-top-matter-cleanup

doc/rgw: multisite ref. top matter cleanup

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoqa: add 'options' parameter support for write_local_config
Xiubo Li [Tue, 31 Jan 2023 13:58:39 +0000 (21:58 +0800)]
qa: add 'options' parameter support for write_local_config

This will allow the fscrypt test case to add dedicated options.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoqa: add ceph.exclude file to exclude individual tests
Xiubo Li [Tue, 31 Jan 2023 03:09:16 +0000 (11:09 +0800)]
qa: add ceph.exclude file to exclude individual tests

Skip some tests, which will take to much time or will fail, for now.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #50186 from zdover23/wip-doc-2023-02-21-radosgw-session-tags-rende...
zdover23 [Tue, 21 Feb 2023 04:09:30 +0000 (14:09 +1000)]
Merge pull request #50186 from zdover23/wip-doc-2023-02-21-radosgw-session-tags-render-fix

doc/rgw: session-tags.rst - fix link to keycloak

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge PR #49154 into main
Venky Shankar [Tue, 21 Feb 2023 04:03:18 +0000 (09:33 +0530)]
Merge PR #49154 into main

* refs/pull/49154/head:
qa: add tests for cephfs-top
doc: updates --dump and --dumpfs
cephfs-top: dump values to stdout

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2 years agodoc/rgw: session-tags.rst - fix link to keycloak 50186/head
Zac Dover [Tue, 21 Feb 2023 03:55:03 +0000 (13:55 +1000)]
doc/rgw: session-tags.rst - fix link to keycloak

Fix a link in the doc/radosgw/session-tags.rst file that was intended to
link to the doc/radosgw/keycloak.rst file.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #43145 from pritha-srivastava/wip-rgw-sts-doc-fixes
zdover23 [Tue, 21 Feb 2023 03:48:28 +0000 (13:48 +1000)]
Merge pull request #43145 from pritha-srivastava/wip-rgw-sts-doc-fixes

rgw/sts: correcting documentation errors.

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #49843 from shreyanshjain7174/compression_58410
Yuri Weinstein [Mon, 20 Feb 2023 22:29:38 +0000 (14:29 -0800)]
Merge pull request #49843 from shreyanshjain7174/compression_58410

rados: Set snappy as default value in ms_osd_compression_algorithm

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #49487 from trociny/wip-58269
Yuri Weinstein [Mon, 20 Feb 2023 22:28:49 +0000 (14:28 -0800)]
Merge pull request #49487 from trociny/wip-58269

mgr: don't dump global config holding gil

Reviewed-by: Tim Serong <tserong@suse.com>
2 years agoMerge pull request #49379 from zhsgao/osd_deep_scrub_stride
Yuri Weinstein [Mon, 20 Feb 2023 22:27:31 +0000 (14:27 -0800)]
Merge pull request #49379 from zhsgao/osd_deep_scrub_stride

osd/scrub: add a variable to store osd_deep_scrub_stride

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoMerge pull request #49199 from ifed01/wip-ifed-fix-require-osd-release
Yuri Weinstein [Mon, 20 Feb 2023 22:26:39 +0000 (14:26 -0800)]
Merge pull request #49199 from ifed01/wip-ifed-fix-require-osd-release

mon: avoid exception when setting require-osd-release more than 2

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #45414 from ifed01/wip-ifed-log-before-assert-in-avl
Yuri Weinstein [Mon, 20 Feb 2023 22:26:11 +0000 (14:26 -0800)]
Merge pull request #45414 from ifed01/wip-ifed-log-before-assert-in-avl

os/bluestore: log before assert in AvlAllocator

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #49335 from yuvalif/wip-yuval-fix-58167
Yuval Lifshitz [Mon, 20 Feb 2023 20:29:51 +0000 (22:29 +0200)]
Merge pull request #49335 from yuvalif/wip-yuval-fix-58167

prevent anonymous topic operations

Reviewed-By: pritha-srivastava, cbodley
2 years agoMerge pull request #48709 from yanghonggang/yhg-jaeger-port
Yuval Lifshitz [Mon, 20 Feb 2023 20:27:06 +0000 (22:27 +0200)]
Merge pull request #48709 from yanghonggang/yhg-jaeger-port

common: add a config option for jaeger agent port

Reviewed-By: tchaikov, zenomri, yuvalif
2 years agoMerge pull request #49910 from myoungwon/fix-58587
Laura Flores [Mon, 20 Feb 2023 20:24:03 +0000 (14:24 -0600)]
Merge pull request #49910 from myoungwon/fix-58587

qa/workunits/rados/test_dedup_tool.sh: reset dedup tier during tests

2 years agorgw/cloud: Add custom headers for objects transitioned to cloud 50098/head
Soumya Koduri [Mon, 13 Feb 2023 15:00:21 +0000 (20:30 +0530)]
rgw/cloud: Add custom headers for objects transitioned to cloud

Some of the cloud services, (like MCG Noobaa/Azure Namespace store),
may not be able to map and store the objects which contain s3 style
metadata keys.

To help such services determine if the objects being transitioned
are from RGW and whether or not ignore such attrs, added below two
headers for the objects being copied/transitioned from RGW -

1) x-rgw-cloud : true/false
(set to "true" if the object is being transitioned/synced from RGW)

2) x-rgw-cloud-keep-attrs : true/false
- if set to default "true" , the cloud service should store all the
x-amz-meta-* attrs. If cannot be mapped/stored, the operation
should fail
- if set to "false", the destination cloud can ignore such attrs and
just store the object data being sent.

Also fixed a bug in the cloudtier module wherein the user-defined attrs
were not being copied to the cloud endpoint as part of transition

Fixes: https://tracker.ceph.com/issues/57980
Fixes: https://tracker.ceph.com/issues/58796
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2 years agoMerge pull request #49950 from cbodley/wip-qa-ragweed-tox
Casey Bodley [Mon, 20 Feb 2023 14:29:50 +0000 (09:29 -0500)]
Merge pull request #49950 from cbodley/wip-qa-ragweed-tox

qa/rgw: run ragweed tests with tox

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2 years agoMerge pull request #49962 from robbat2/main-post_object_upload_size_rgw_chunk_size_bug
Casey Bodley [Mon, 20 Feb 2023 14:28:41 +0000 (09:28 -0500)]
Merge pull request #49962 from robbat2/main-post_object_upload_size_rgw_chunk_size_bug

rgw: Fix Browser POST content-length-range min value

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agolibrados/asio: use boost::system::generic_category on Windows 48127/head
Lucian Petrut [Fri, 17 Feb 2023 10:55:07 +0000 (10:55 +0000)]
librados/asio: use boost::system::generic_category on Windows

librados uses "errno.h" error codes. On Windows,
boost::system::system_category refers to errors from winerror.h.

That being considered, we'll add a platform check and use
boost::system::generic_category on Windows. This ensures that
error code comparisons work as expected.

This issue was brought up by the following test assertion failure:

  ft2.4: ceph_test_rados_api_asio.AsioRados.AsyncWriteCallbacktesttools.
    testresult.real._StringException: details: {{{
  /ceph/src/test/librados/asio.cc:148
  Expected equality of these values:
    boost::system::errc::read_only_file_system
      Which is: 30
    ec
      Which is: system:30
  }}}

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agotest/librados: avoid using rlimit on Windows
Lucian Petrut [Thu, 15 Sep 2022 08:42:10 +0000 (08:42 +0000)]
test/librados: avoid using rlimit on Windows

One of the librados tests is temporarily adjusting the file
rlimit. This is unsupported on Windows, so we're skipping it.

At the same time, asprintf is not available, so we'll switch
to sprint with a predefined buffer.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agocrimson/os/seastore: count transactions pending on seastore's throttler 50176/head
Xuehan Xu [Mon, 20 Feb 2023 08:44:29 +0000 (08:44 +0000)]
crimson/os/seastore: count transactions pending on seastore's throttler

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2 years agoMerge pull request #50166 from zdover23/wip-doc-2023-02-19-radosgw-multisite-zonegrou...
zdover23 [Mon, 20 Feb 2023 08:21:16 +0000 (18:21 +1000)]
Merge pull request #50166 from zdover23/wip-doc-2023-02-19-radosgw-multisite-zonegroup-setup-cleanup

doc/rgw: refine "Setting a Zonegroup"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>