]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agorgw: add default Server response header 50510/head
Casey Bodley [Mon, 13 Mar 2023 21:21:47 +0000 (17:21 -0400)]
rgw: add default Server response header

if a specific rgw_service_provider_name is not configured, add a default
Server response header that includes the ceph release name:

Server: Ceph Object Gateway (reef)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoRevert "rgw/beast: add extra_response_headers for Server name"
Casey Bodley [Mon, 13 Mar 2023 21:18:39 +0000 (17:18 -0400)]
Revert "rgw/beast: add extra_response_headers for Server name"

This reverts commit ffeacc095963436588da749f34c5890ca8c74aa4.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50147 from cbodley/wip-debian-mgr-pytest
Ernesto Puerta [Mon, 13 Mar 2023 16:00:10 +0000 (17:00 +0100)]
Merge pull request #50147 from cbodley/wip-debian-mgr-pytest

debian/mgr: remove pytest from debian/ceph-mgr-dashboard.requires

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoMerge pull request #50282 from mhmdawnallah/fix-access-a-destructed-temporary-variabl...
Yuval Lifshitz [Mon, 13 Mar 2023 15:46:34 +0000 (17:46 +0200)]
Merge pull request #50282 from mhmdawnallah/fix-access-a-destructed-temporary-variable-in-rgw_sync_checkpoint

src/rgw/rgw_sync_checkpoint.cc: fix a destructed temporary variable access

reviewed-by: adamemerson, yuvalif

2 years agoMerge pull request #50482 from neha-ojha/wip-milestore
Laura Flores [Mon, 13 Mar 2023 14:59:50 +0000 (09:59 -0500)]
Merge pull request #50482 from neha-ojha/wip-milestore

.github/milestone.yml: add reef

2 years agoMerge PR #50493 into main
Venky Shankar [Mon, 13 Mar 2023 14:23:14 +0000 (19:53 +0530)]
Merge PR #50493 into main

* refs/pull/50493/head:
qa: fixup quota values exceeding 64 bit signed int value
qa, cleanup: no need to specify human readable quota values in comment

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge PR #48382 into main
Venky Shankar [Mon, 13 Mar 2023 13:56:59 +0000 (19:26 +0530)]
Merge PR #48382 into main

* refs/pull/48382/head:
test: add test to validate attrs for snapdir after snap operations
client: update {m,c}time and change attr for snapdir from last modification time of a snap realm
mds: update last modification time and change attr for a snap realm node
mds: include last modification time and change attr of a snap realm node in snap trace reply
mds: use change_attr from closest ancestor when initializing a new snaprealm
mds: initialize last_modified to current timestamp for root inode snaprealm
mds: track last modification time and change attr for a snap realm node (srnode)

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge PR #49970 into main
Venky Shankar [Mon, 13 Mar 2023 13:54:38 +0000 (19:24 +0530)]
Merge PR #49970 into main

* refs/pull/49970/head:
mds: force replay sessionmap version

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50049 into main
Venky Shankar [Mon, 13 Mar 2023 13:52:04 +0000 (19:22 +0530)]
Merge PR #50049 into main

* refs/pull/50049/head:
qa: add cephfs_mirror test case to check root dir modes
cephfs_mirror: sync snap dir root mode with remote dir

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoqa: fixup quota values exceeding 64 bit signed int value 50493/head
Venky Shankar [Mon, 13 Mar 2023 06:20:31 +0000 (11:50 +0530)]
qa: fixup quota values exceeding 64 bit signed int value

The test does the following:

        setfattr -n ceph.quota.max_bytes -v 8388608Ti .

This failes since 8388608Ti exceeds 64 bit signed integer value.
Change that to the approprivate value and expect faliure when
quota is set for this exceeded value.

Fixes: http://tracker.ceph.com/issues/55940
Introduced-by: 733065148250e892fca941cdeaad3e3a8193b0d8
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 years agoqa, cleanup: no need to specify human readable quota values in comment
Venky Shankar [Mon, 13 Mar 2023 06:25:18 +0000 (11:55 +0530)]
qa, cleanup: no need to specify human readable quota values in comment

... since the values themselves are self-explanatory.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50383 from cbodley/wip-rgw-admin-formatter-v2
Casey Bodley [Sun, 12 Mar 2023 23:00:44 +0000 (19:00 -0400)]
Merge pull request #50383 from cbodley/wip-rgw-admin-formatter-v2

rgw/admin: fix formatter leaks again

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agoMerge pull request #50385 from cbodley/wip-cmake-asan
Casey Bodley [Sun, 12 Mar 2023 18:29:25 +0000 (14:29 -0400)]
Merge pull request #50385 from cbodley/wip-cmake-asan

cmake: some fixes and suppressions for WITH_ASAN under vstart.sh

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #50473 from guits/cv-fix-cv-tests
Guillaume Abrioux [Sun, 12 Mar 2023 07:11:19 +0000 (08:11 +0100)]
Merge pull request #50473 from guits/cv-fix-cv-tests

ceph-volume: update the OS before deploying Ceph

2 years agoMerge pull request #50483 from cbodley/wip-rgw-beast-server-name
Anthony D'Atri [Sun, 12 Mar 2023 00:07:33 +0000 (19:07 -0500)]
Merge pull request #50483 from cbodley/wip-rgw-beast-server-name

rgw/beast: add extra_response_headers for Server name

2 years agoMerge pull request #50168 from cbodley/wip-23838
Casey Bodley [Sat, 11 Mar 2023 20:09:02 +0000 (15:09 -0500)]
Merge pull request #50168 from cbodley/wip-23838

rgw: store torrent file for GetObjectTorrent in object attrs instead of omap

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agoMerge pull request #50346 from vedanshbhartia/rm-57938
Casey Bodley [Sat, 11 Mar 2023 19:39:46 +0000 (14:39 -0500)]
Merge pull request #50346 from vedanshbhartia/rm-57938

rgw: use unique_ptr for flat_map emplace in BucketTrimWatche

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50429 from cbodley/wip-58932
Casey Bodley [Sat, 11 Mar 2023 19:34:06 +0000 (14:34 -0500)]
Merge pull request #50429 from cbodley/wip-58932

rgw/admin: 'bucket stats' displays non-empty mtime

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agoMerge pull request #50211 from bbc/add_quota_containers_rgw_rest_header
Casey Bodley [Sat, 11 Mar 2023 19:33:19 +0000 (14:33 -0500)]
Merge pull request #50211 from bbc/add_quota_containers_rgw_rest_header

rgw: add containers quota to swift rest headers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49466 from linuxbox2/wip-lc-size
Casey Bodley [Sat, 11 Mar 2023 19:32:47 +0000 (14:32 -0500)]
Merge pull request #49466 from linuxbox2/wip-lc-size

rgw/notifications: fetch object state to get size, in rgw_lc.cc

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2 years agoMerge pull request #47040 from hualongfeng/qat_batch_mode
Casey Bodley [Sat, 11 Mar 2023 19:31:47 +0000 (14:31 -0500)]
Merge pull request #47040 from hualongfeng/qat_batch_mode

Crypto: Add QAT batch mode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agodoc/rgw: remove rgw_thread_pool_size from frontend options 50483/head
Casey Bodley [Sat, 11 Mar 2023 19:12:04 +0000 (14:12 -0500)]
doc/rgw: remove rgw_thread_pool_size from frontend options

this is a config variable, not a frontend option. and the description is
not accurate

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agorgw/beast: add extra_response_headers for Server name
Casey Bodley [Sat, 11 Mar 2023 18:27:55 +0000 (13:27 -0500)]
rgw/beast: add extra_response_headers for Server name

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years ago.github/milestone.yml: add reef 50482/head
Neha Ojha [Fri, 10 Mar 2023 22:13:17 +0000 (22:13 +0000)]
.github/milestone.yml: add reef

Signed-off-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #50470 from zdover23/wip-doc-2023-03-10-landing-page-uniquely
zdover23 [Fri, 10 Mar 2023 21:20:11 +0000 (07:20 +1000)]
Merge pull request #50470 from zdover23/wip-doc-2023-03-10-landing-page-uniquely

doc/index: remove "uniquely" from landing page

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #49963 from ifed01/wip-ifed-fix-prefixed-kv-iterator
Yuri Weinstein [Fri, 10 Mar 2023 20:13:07 +0000 (12:13 -0800)]
Merge pull request #49963 from ifed01/wip-ifed-fix-prefixed-kv-iterator

kv/RocksDBStore: don't use real wholespace iterator for prefixed access

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Cory Snyder <csnyder@iland.com>
2 years agoMerge pull request #49958 from ifed01/wip-ifed-report-min-alloc-size
Yuri Weinstein [Fri, 10 Mar 2023 20:11:29 +0000 (12:11 -0800)]
Merge pull request #49958 from ifed01/wip-ifed-report-min-alloc-size

os/bluestore: report min_alloc_size through "ceph osd metadata"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #49768 from rzarzynski/wip-crimson-fmt9-compile-guard
Yuri Weinstein [Fri, 10 Mar 2023 20:11:03 +0000 (12:11 -0800)]
Merge pull request #49768 from rzarzynski/wip-crimson-fmt9-compile-guard

crush: fix compilation guard around specialization for libfmt => 9

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
2 years agoMerge pull request #49524 from rzarzynski/wip-osd-snaptrimmer-awaitasyncwork-better-ret
Yuri Weinstein [Fri, 10 Mar 2023 20:09:16 +0000 (12:09 -0800)]
Merge pull request #49524 from rzarzynski/wip-osd-snaptrimmer-awaitasyncwork-better-ret

osd: slightly improve readability in handling of snap trim errors

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoMerge pull request #48948 from ljflores/wip-telemetry-show-all
Laura Flores [Fri, 10 Mar 2023 19:32:01 +0000 (13:32 -0600)]
Merge pull request #48948 from ljflores/wip-telemetry-show-all

mgr/telemetry: make sure histograms are formatted in `all` commands

2 years agoMerge pull request #50348 from ivancich/wip-restore-bucket-index
J. Eric Ivancich [Fri, 10 Mar 2023 17:32:58 +0000 (12:32 -0500)]
Merge pull request #50348 from ivancich/wip-restore-bucket-index

rgw: experimental support for restoring a lost bucket index

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50465 from ceph/wip-yuri-branch_fix-main
Yuri Weinstein [Fri, 10 Mar 2023 16:06:55 +0000 (08:06 -0800)]
Merge pull request #50465 from ceph/wip-yuri-branch_fix-main

qa/tests: added reef branch

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoceph-volume: add bluefs_buffered_io: false in functional tests 50473/head
Guillaume Abrioux [Fri, 10 Mar 2023 15:44:16 +0000 (16:44 +0100)]
ceph-volume: add bluefs_buffered_io: false in functional tests

This is a workaround to make dmcrypt scenarios pass the CI.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #49807 from DHB-liuhong/lh-bucket-notification-cache
Yuval Lifshitz [Fri, 10 Mar 2023 15:33:13 +0000 (17:33 +0200)]
Merge pull request #49807 from DHB-liuhong/lh-bucket-notification-cache

rgw: add bucket notification cache

reviewed-by: cbodley, yuvalif

2 years agoceph-volume: update the OS before deploying Ceph
Guillaume Abrioux [Fri, 10 Mar 2023 15:01:19 +0000 (16:01 +0100)]
ceph-volume: update the OS before deploying Ceph

ceph-volume tests are failing, OSDs never get up and running.
For some reason, updating the OS early in the testing workflow
addresses that issue in the CI.

-- to be continued ... --

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agorgw/admin: hide bencoded torrent data from 'object stat' 50168/head
Casey Bodley [Fri, 10 Mar 2023 14:58:21 +0000 (09:58 -0500)]
rgw/admin: hide bencoded torrent data from 'object stat'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge PR #50013 into main
Venky Shankar [Fri, 10 Mar 2023 12:18:24 +0000 (17:48 +0530)]
Merge PR #50013 into main

* refs/pull/50013/head:
mgr/volumes: avoid returning -ESHUTDOWN back to cli

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2 years agoMerge PR #48280 into main
Venky Shankar [Fri, 10 Mar 2023 11:20:45 +0000 (16:50 +0530)]
Merge PR #48280 into main

* refs/pull/48280/head:
qa: test new client with old cluster

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #49102 into main
Venky Shankar [Fri, 10 Mar 2023 11:15:35 +0000 (16:45 +0530)]
Merge PR #49102 into main

* refs/pull/49102/head:
qa: add test for schedule auto deactivation
doc/cephfs: add note about path usage in snap-schedule
mgr/snap_schedule: add debug log for missing or wrong path

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agodoc/index: remove "uniquely" from landing page 50470/head
Zac Dover [Fri, 10 Mar 2023 10:35:18 +0000 (20:35 +1000)]
doc/index: remove "uniquely" from landing page

Change "Ceph uniquely delivers[...]" to "Ceph delivers[...]"

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agotest/rgw: Add optional_yield in rgw_crypto 47040/head
Feng Hualong [Tue, 7 Mar 2023 08:07:06 +0000 (16:07 +0800)]
test/rgw: Add optional_yield in rgw_crypto

Signed-off-by: Feng Hualong <hualong.feng@intel.com>
2 years agoCrypto: Add QAT batch mode
Feng Hualong [Mon, 25 Apr 2022 03:34:49 +0000 (11:34 +0800)]
Crypto: Add QAT batch mode

Now, the current code does not allow qat to exert
its acceleration advantage, but leads to poor performance
of qat. The QAT batch mode is implemented here, so that
the QAT performance can be displayed.

When we scale up the number of concurrent requests and worry about
QAT instance will be bottleneck, we can fall back to CPU.

And there add a parameter to set the times of the number of QAT
instance to wait for free instance, which can avoid QAT to be
not busy and make sure QAT full of utilization as much as possible.

max_queue_size is up to max_requests

Add optional_yield in RGWPutObj_BlockEncrypt and
RGWGetObj_BlockDecrypt. Make it with coroutine and non-coroutine mode.

Signed-off-by: Feng Hualong <hualong.feng@intel.com>
2 years agoqa: test new client with old cluster 48280/head
dparmar18 [Wed, 12 Oct 2022 10:27:40 +0000 (15:57 +0530)]
qa: test new client with old cluster

Fixes: https://tracker.ceph.com/issues/53573
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2 years agorgw: add bucket notification cache 49807/head
liuhong [Fri, 20 Jan 2023 13:02:24 +0000 (21:02 +0800)]
rgw: add bucket notification cache

Bucket notification supports reading the rule configuration from the cache first, rather than directly from the bottom layer

Signed-off-by: liuhong <liuhong_yewu@cmss.chinamobile.com>
2 years agoMerge PR #45224 into main
Venky Shankar [Fri, 10 Mar 2023 04:45:59 +0000 (10:15 +0530)]
Merge PR #45224 into main

* refs/pull/45224/head:
mds: add support for snapshots alternate_name

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50107 into main
Venky Shankar [Fri, 10 Mar 2023 04:39:09 +0000 (10:09 +0530)]
Merge PR #50107 into main

* refs/pull/50107/head:
client: fix CEPH_CAP_FILE_WR caps reference leakage in _write()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50127 into main
Venky Shankar [Fri, 10 Mar 2023 04:27:15 +0000 (09:57 +0530)]
Merge PR #50127 into main

* refs/pull/50127/head:
client: correct quota check in Client::_rename()

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoqa/tests: added reef branch 50465/head
Yuri Weinstein [Thu, 9 Mar 2023 23:02:55 +0000 (15:02 -0800)]
qa/tests: added reef branch

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #49870 from ifed01/wip-ifed-rm-range-threshold-on-the-fly
Yuri Weinstein [Thu, 9 Mar 2023 22:52:42 +0000 (14:52 -0800)]
Merge pull request #49870 from ifed01/wip-ifed-rm-range-threshold-on-the-fly

kv/rocksdbstore: apply rocksdb_delete_range_threshold on the fly

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #49628 from Rethan/feat-osd-op-thread-timeout
Yuri Weinstein [Thu, 9 Mar 2023 22:52:12 +0000 (14:52 -0800)]
Merge pull request #49628 from Rethan/feat-osd-op-thread-timeout

osd: allow osd_op_thread_timeout and suicide_timeout to be adjusted o…

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2 years agoMerge pull request #50199 from athanatos/sjust/wip-scrub-event-helpers-50088
Laura Flores [Thu, 9 Mar 2023 21:30:23 +0000 (15:30 -0600)]
Merge pull request #50199 from athanatos/sjust/wip-scrub-event-helpers-50088

scrub: use a generic interface for scheduling timer based events

2 years agoMerge pull request #50283 from ronen-fr/wip-rf-partial-unpub
Laura Flores [Thu, 9 Mar 2023 20:54:47 +0000 (14:54 -0600)]
Merge pull request #50283 from ronen-fr/wip-rf-partial-unpub

osd/scrub: only call publish_stats_to_osd() where allowed and needed

2 years agoMerge pull request #50065 from ajarr/fix-58691
Laura Flores [Thu, 9 Mar 2023 19:09:04 +0000 (13:09 -0600)]
Merge pull request #50065 from ajarr/fix-58691

mgr: store names of modules that register RADOS clients in the MgrMap

2 years agoMerge pull request #49546 from Matan-B/wip-matanb-pull-push-naming
Laura Flores [Thu, 9 Mar 2023 18:55:18 +0000 (12:55 -0600)]
Merge pull request #49546 from Matan-B/wip-matanb-pull-push-naming

osd/ReplicatedBackend: Rename Push/Pull Info

2 years agorgw: add rgw-restore-bucket-index 50348/head
J. Eric Ivancich [Wed, 8 Mar 2023 21:51:17 +0000 (16:51 -0500)]
rgw: add rgw-restore-bucket-index

Adds an experimental script that allows a bucket index of a
non-versioned bucket to be restored by applying `radosgw-admin object
reindex ...` to all objects in the specified bucket. The objects in
the bucket are determined by scanning the data pool for head objects
containing the bucket's marker.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agorgw: add an "object reindex" subcommand to radosgw-admin
J. Eric Ivancich [Thu, 2 Mar 2023 04:41:12 +0000 (23:41 -0500)]
rgw: add an "object reindex" subcommand to radosgw-admin

This subcommand will take a bucket and an object (or a list of objects
in a file) and add those objects to the bucket's index. It does so by
preparing the bucket index entry update and then allowing the
so-called "dir suggest" mechansim, which is triggered by listing the
bucket, to completing the bucket index entry. This mechanism is
triggered by listing the bucket.  Using this mechanism has the
advantage of doing this lazily that both allows the reindex operation
to run more quickly and distributes the workload over time.

This subcommand can help restore lost bucket index entries.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoMerge PR #50195 into main
Venky Shankar [Thu, 9 Mar 2023 14:20:38 +0000 (19:50 +0530)]
Merge PR #50195 into main

* refs/pull/50195/head:
cephfs-top: Handle `METRIC_TYPE_NONE` fields for sorting

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50456 from rhcs-dashboard/custom-image-kcli-bootstrap
Nizamudeen A [Thu, 9 Mar 2023 14:10:01 +0000 (19:40 +0530)]
Merge pull request #50456 from rhcs-dashboard/custom-image-kcli-bootstrap

mgr/dashboard: custom image for kcli bootstrap script

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agomgr/dashboard: custom image for kcli bootstrap script 50456/head
Nizamudeen A [Thu, 9 Mar 2023 11:51:44 +0000 (17:21 +0530)]
mgr/dashboard: custom image for kcli bootstrap script

the stable branches like quincy pulls from the quay.io/ceph/ceph:v17 to
bootstrap the ceph cluster in test environments. This will cause issues
because the branches are changing constantly but the image is not. So
using the quay.ceph.io repo to bring the cluster in test environment.

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge PR #50177 into main
Venky Shankar [Thu, 9 Mar 2023 12:21:17 +0000 (17:51 +0530)]
Merge PR #50177 into main

* refs/pull/50177/head:
cephfs-top: navigate to home screen when no fs

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #49953 from rhcs-dashboard/dashboard-rgw-multisite
Nizamudeen A [Thu, 9 Mar 2023 11:43:45 +0000 (17:13 +0530)]
Merge pull request #49953 from rhcs-dashboard/dashboard-rgw-multisite

mgr/dashboard: Dashboard RGW multisite configuration

Reviewed-by: aashish1412 <NOT@FOUND>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agomgr/dashboard: Dashboard RGW multisite configuration 49953/head
Aashish Sharma [Wed, 1 Feb 2023 05:26:31 +0000 (10:56 +0530)]
mgr/dashboard: Dashboard RGW multisite configuration

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #50439 from anthonyeleven/anthonyeleven/caps
zdover23 [Thu, 9 Mar 2023 06:01:12 +0000 (16:01 +1000)]
Merge pull request #50439 from anthonyeleven/anthonyeleven/caps

doc/rados/operations: Improve wording, capitalization, formatting

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 years agodoc/rados/operations: Improve wording, capitalizatiopn, formatting 50439/head
Anthony D'Atri [Wed, 8 Mar 2023 12:29:55 +0000 (07:29 -0500)]
doc/rados/operations: Improve wording, capitalizatiopn, formatting

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 years agoMerge pull request #50149 from fmount/fs_cleanup
Guillaume Abrioux [Wed, 8 Mar 2023 16:01:10 +0000 (17:01 +0100)]
Merge pull request #50149 from fmount/fs_cleanup

Remove the filestore section from ceph-volume

2 years agoMerge pull request #50082 from adk3798/move-repos
Adam King [Wed, 8 Mar 2023 15:54:01 +0000 (10:54 -0500)]
Merge pull request #50082 from adk3798/move-repos

mgr/cephadm: make upgrade respect use_repo_digest

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50318 from Svelar/extra_conf
Adam King [Wed, 8 Mar 2023 15:52:39 +0000 (10:52 -0500)]
Merge pull request #50318 from Svelar/extra_conf

cephadm: eliminate duplication of sections

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50413 from adk3798/prometheus-cephadm-dep
Adam King [Wed, 8 Mar 2023 15:49:37 +0000 (10:49 -0500)]
Merge pull request #50413 from adk3798/prometheus-cephadm-dep

mgr/prometheus: remove dependency on cephadm module

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50402 from ronen-fr/wip-rf-operator-log
Ronen Friedman [Wed, 8 Mar 2023 12:52:55 +0000 (14:52 +0200)]
Merge pull request #50402 from ronen-fr/wip-rf-operator-log

osd: ECTransactions.cc: remove __func__ used inside a lambda

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #50437 from Svelar/rados-doc
Anthony D'Atri [Wed, 8 Mar 2023 11:45:08 +0000 (06:45 -0500)]
Merge pull request #50437 from Svelar/rados-doc

doc/rados: fix grammar mistake

2 years agodoc/rados: fix grammar mistake 50437/head
Rongqi Sun [Wed, 8 Mar 2023 07:33:59 +0000 (15:33 +0800)]
doc/rados: fix grammar mistake

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
2 years agoMerge PR #49008 into main
Venky Shankar [Wed, 8 Mar 2023 07:06:21 +0000 (12:36 +0530)]
Merge PR #49008 into main

* refs/pull/49008/head:
doc/quota: accept human readable quota value documented
qa/workunits/fs/quota.sh: use human readable format for ceph.quota.max_bytes
qa: added three testcases
mds: accept human readable values for quotas

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50430 from zdover23/wip-doc-2023-03-08-install-minor-grammar-fix
zdover23 [Wed, 8 Mar 2023 03:31:04 +0000 (13:31 +1000)]
Merge pull request #50430 from zdover23/wip-doc-2023-03-08-install-minor-grammar-fix

doc/install: update index.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge PR #46357 into main
Venky Shankar [Wed, 8 Mar 2023 02:42:02 +0000 (08:12 +0530)]
Merge PR #46357 into main

* refs/pull/46357/head:
PendingReleaseNotes: add reference to the new mdsmap max_xattr_size field
qa/tasks/mgr/dashboard/test_health: Add 'max_xattr_size' to the mdsmap schema
mds: prevent exceeding xattrs limits on initial set
mds: prevent clients from exceeding the xattrs key/value limits
mon: add new configuration to limit filesystem xattrs size

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #49766 into main
Venky Shankar [Wed, 8 Mar 2023 02:39:36 +0000 (08:09 +0530)]
Merge PR #49766 into main

* refs/pull/49766/head:
mds: record and dump last tid for trimming completed requests (or flushes)

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge PR #49844 into main
Venky Shankar [Wed, 8 Mar 2023 02:38:17 +0000 (08:08 +0530)]
Merge PR #49844 into main

* refs/pull/49844/head:
qa: enforce string client-id check for testing oldest client tid warning
qa: optionally check pattern string match in `health detail`

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2 years agoMerge PR #49912 into main
Venky Shankar [Wed, 8 Mar 2023 02:37:04 +0000 (08:07 +0530)]
Merge PR #49912 into main

* refs/pull/49912/head:
qa: avoid explicit set to client mountpoint as "/"

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agotest_cephadm: fix conf format 50318/head
Rongqi Sun [Wed, 8 Mar 2023 02:16:55 +0000 (10:16 +0800)]
test_cephadm: fix conf format

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
2 years agodoc/install: update index.rst 50430/head
Zac Dover [Wed, 8 Mar 2023 01:52:12 +0000 (11:52 +1000)]
doc/install: update index.rst

Update index.rst by making minor grammar improvements. This file was
long overdue for a backport to Reef, Quincy, and Pacific, so this commit
was a good way to pass a human eyeball over the text before making those
backports.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agorgw/admin: 'bucket stats' displays non-empty mtime 50429/head
Casey Bodley [Tue, 7 Mar 2023 22:49:44 +0000 (17:49 -0500)]
rgw/admin: 'bucket stats' displays non-empty mtime

Fixes: https://tracker.ceph.com/issues/58932
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agorgw/sysobj: read() can query size/mtime
Casey Bodley [Tue, 7 Mar 2023 22:28:54 +0000 (17:28 -0500)]
rgw/sysobj: read() can query size/mtime

rgw_get_system_obj() stopped calling stat() before read() in
90aec61298fc378e1733bc76f0d3f95ce8ec135a, which left the optional
'real_time *pmtime' argument uninitialized

when requested, read() will add a stat op to initialize size/mtime

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50146 from adk3798/container-selinux-conflict
Adam King [Tue, 7 Mar 2023 22:06:46 +0000 (17:06 -0500)]
Merge pull request #50146 from adk3798/container-selinux-conflict

qa/distros: pass --allowerasing --nobest when installing container-tools

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50133 from adk3798/fqdn-stray
Adam King [Tue, 7 Mar 2023 22:05:22 +0000 (17:05 -0500)]
Merge pull request #50133 from adk3798/fqdn-stray

mgr/cephadm: be aware of host's shortname and FQDN

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50244 from phlogistonjohn/jjm-cephadm-test-call
Adam King [Tue, 7 Mar 2023 21:34:20 +0000 (16:34 -0500)]
Merge pull request #50244 from phlogistonjohn/jjm-cephadm-test-call

cephadm: test call function & fix timeout argument

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50101 from adk3798/all-devices-raw
Adam King [Tue, 7 Mar 2023 19:50:29 +0000 (14:50 -0500)]
Merge pull request #50101 from adk3798/all-devices-raw

mgr/orchestrator: allow deploying raw mode OSDs with --all-available-devices

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #45469 from zaitcev/srbac-bz1901857-3
Casey Bodley [Tue, 7 Mar 2023 19:38:12 +0000 (14:38 -0500)]
Merge pull request #45469 from zaitcev/srbac-bz1901857-3

RGW: Add a reader feature

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agocephadm/tests: enable timeout test cases for call function 50244/head
John Mulligan [Mon, 27 Feb 2023 19:39:18 +0000 (14:39 -0500)]
cephadm/tests: enable timeout test cases for call function

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agocephadm: fix timeout argument to call function
John Mulligan [Mon, 27 Feb 2023 19:38:50 +0000 (14:38 -0500)]
cephadm: fix timeout argument to call function

The timeout argument to call function, for executing sub-processes, did
not function - this patch makes timeout work as (probably) intended.
Use the `process.communicate()` method rather than `tee` functions to
handle IO collection. Since no logging is done until after the exit code
is known the tee calls are not necessary. Add calls to kill the child
process when the time out occurs. This helps prevent event loop "leaks"
that generate python warnings.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #50270 from mnasiadka/cephadm_ulimit_docker
Adam King [Tue, 7 Mar 2023 18:56:02 +0000 (13:56 -0500)]
Merge pull request #50270 from mnasiadka/cephadm_ulimit_docker

cephadm: set --ulimit nofiles with Docker

Reviewed-by: Adam King <adking@redhat.com>
2 years agomgr/cephadm: be aware of host's shortname and FQDN 50133/head
Adam King [Wed, 15 Feb 2023 22:07:09 +0000 (17:07 -0500)]
mgr/cephadm: be aware of host's shortname and FQDN

The idea is to gether the shortname and FQDN as part
of gather-facts, and then if we ever try to check if a certain
host is in our internal inventory by hostname, we can check
these other known names. This should avoid issues where
we think a hostname specified by FQDN is not in our
inventory because we know the host by the shortname
or vice versa.

Fixes: https://tracker.ceph.com/issues/58738
Signed-off-by: Adam King <adking@redhat.com>
2 years agocmake/boost: WITH_ASAN adds BOOST_USE_ASAN to context 50385/head
Casey Bodley [Sun, 5 Mar 2023 02:09:20 +0000 (21:09 -0500)]
cmake/boost: WITH_ASAN adds BOOST_USE_ASAN to context

also adds 'context-impl=ucontext' to the b2 command line and the
BOOST_USE_UCONTEXT define as described in:
https://www.boost.org/doc/libs/1_79_0/libs/context/doc/html/context/stack/sanitizers.html

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoasan: add qa/lsan.supp for leak sanitizer suppressions
Casey Bodley [Sun, 5 Mar 2023 16:58:43 +0000 (11:58 -0500)]
asan: add qa/lsan.supp for leak sanitizer suppressions

any executable that links against the heap_profiler leaks 8 bytes for a
singleton:
> -----------------------------------------------------
> Suppressions used:
> count      bytes template
> 1          8 ^MallocExtension::Register
> -----------------------------------------------------

the python script bin/ceph has a lot of leaks:
> -----------------------------------------------------
> Suppressions used:
>   count      bytes template
>     205     294983 ^PyObject_Malloc
>      10       6216 ^_PyObject_Realloc
>       1        568 ^PyMem_Calloc
>       2          2 ^PyMem_Malloc
>      63      58935 ^PyUnicode_New
>      10       7294 ^_PyBytes_FromSize
>     166     149904 ^_PyObject_GC_Alloc
>       5       3360 ^_PyObject_GC_Resize
> -----------------------------------------------------

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agocmake: update FindSanitizers for new libasan versions
Casey Bodley [Sun, 5 Mar 2023 02:10:29 +0000 (21:10 -0500)]
cmake: update FindSanitizers for new libasan versions

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50100 from adk3798/set-unmanaged
Adam King [Tue, 7 Mar 2023 18:25:17 +0000 (13:25 -0500)]
Merge pull request #50100 from adk3798/set-unmanaged

mgr/cephadm: add commands to set services to managed/unmanaged

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50167 from trociny/wip-58792
Adam King [Tue, 7 Mar 2023 18:22:53 +0000 (13:22 -0500)]
Merge pull request #50167 from trociny/wip-58792

mgr/cephadm: don't add mgr into iscsi trusted_ip_list if it's already there

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50275 from rkachach/fix_issue_58856
Adam King [Tue, 7 Mar 2023 18:21:15 +0000 (13:21 -0500)]
Merge pull request #50275 from rkachach/fix_issue_58856

mgr/rgw: adding mgr rgw module to ceph image

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoMerge pull request #48911 from yuvalif/test-kafka-sasl-scram
Yuval Lifshitz [Tue, 7 Mar 2023 18:20:28 +0000 (20:20 +0200)]
Merge pull request #48911 from yuvalif/test-kafka-sasl-scram

rgw: test kafka sasl scram

reviewed-by: anthonyeleven, cbodley

2 years agoMerge pull request #50311 from trociny/wip-58051-1
Adam King [Tue, 7 Mar 2023 18:18:41 +0000 (13:18 -0500)]
Merge pull request #50311 from trociny/wip-58051-1

mgr/cephadm: try to avoid pull when getting container image info

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50403 from yuvalif/wip-yuval-dont-start-notif-thread
Yuval Lifshitz [Tue, 7 Mar 2023 17:04:19 +0000 (19:04 +0200)]
Merge pull request #50403 from yuvalif/wip-yuval-dont-start-notif-thread

rgw: don't start the bucket notification thread in radosgw-admin

reviewewd-by: cbodley

2 years agoMerge pull request #49116 from Matan-B/wip-matanb-c-balanced-reads
Matan [Tue, 7 Mar 2023 16:58:58 +0000 (18:58 +0200)]
Merge pull request #49116 from Matan-B/wip-matanb-c-balanced-reads

crimson/osd: Support balance reads

Reviewed-by: Samuel Just <sjust@redhat.com>