]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc: 17.2.5 Release Notes 48532/head
Yuri Weinstein [Tue, 18 Oct 2022 16:38:49 +0000 (09:38 -0700)]
doc: 17.2.5 Release Notes

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #48444 from yuvalif/wip-yuval-fix-57850
Yuval Lifshitz [Tue, 18 Oct 2022 16:07:42 +0000 (19:07 +0300)]
Merge pull request #48444 from yuvalif/wip-yuval-fix-57850

rgw/amqp: store CA location string in connection object

2 years agoMerge pull request #48511 from zdover23/wip-doc-2022-10-18-radosgw-notification-relia...
zdover23 [Tue, 18 Oct 2022 14:56:50 +0000 (00:56 +1000)]
Merge pull request #48511 from zdover23/wip-doc-2022-10-18-radosgw-notification-reliability

doc/radosgw: refine "notification reliability"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/radosgw: refine "notification reliability" 48511/head
Zac Dover [Mon, 17 Oct 2022 14:09:34 +0000 (00:09 +1000)]
doc/radosgw: refine "notification reliability"

This commit refines the English in the "Notification Reliability"
section of the notifications.rst page (the "Bucket Notifications"
page). I have also added signposting structure.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Yuval Lifshitz <ylifshit@redhat.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48484 from cyx1231st/wip-crimson-msgr-cleanup
Kefu Chai [Tue, 18 Oct 2022 12:36:20 +0000 (20:36 +0800)]
Merge pull request #48484 from cyx1231st/wip-crimson-msgr-cleanup

crimson/net: simplify msgr interfaces with AuthClient/Server

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 years agoMerge pull request #48514 from ceph/wip-dashboard_gh_project-main
Ernesto Puerta [Tue, 18 Oct 2022 12:13:10 +0000 (14:13 +0200)]
Merge pull request #48514 from ceph/wip-dashboard_gh_project-main

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #48485 from vshankar/wip-upgrade-x-o-q
Venky Shankar [Tue, 18 Oct 2022 09:05:59 +0000 (14:35 +0530)]
Merge pull request #48485 from vshankar/wip-upgrade-x-o-q

qa: fs:upgrade featureful_client test upgrades to quincy

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge pull request #48398 from rhcs-dashboard/fix-get-rbd-stats
Avan [Tue, 18 Oct 2022 09:00:15 +0000 (14:30 +0530)]
Merge pull request #48398 from rhcs-dashboard/fix-get-rbd-stats

mgr/prometheus: avoid duplicates and deleted entries for rbd_stats_pools

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #48471 from SUSE/wip-fix-57860
Ilya Dryomov [Tue, 18 Oct 2022 08:41:01 +0000 (10:41 +0200)]
Merge pull request #48471 from SUSE/wip-fix-57860

ceph.spec.in: disable system_pmdk on s390x for SUSE distros

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years ago.github/pr-triage: switch from old to new project 48514/head
Ernesto Puerta [Mon, 17 Oct 2022 15:50:41 +0000 (17:50 +0200)]
.github/pr-triage: switch from old to new project

The old (classic) Dashboard project (https://github.com/ceph/ceph/projects/6) has been migrated to a new-style one (https://github.com/orgs/ceph/projects/2/views/1).

This also requires updating the GH Action that automatically assigned `dashboard`-labeled PRs to the Dashboard project.

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2 years agoMerge pull request #48512 from zdover23/wip-doc-2022-10-18-radosgw-notifications...
zdover23 [Mon, 17 Oct 2022 15:49:32 +0000 (01:49 +1000)]
Merge pull request #48512 from zdover23/wip-doc-2022-10-18-radosgw-notifications-prompts

doc/radowsgw: add prompts to notifications.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/radowsgw: add prompts to notifications.rst 48512/head
Zac Dover [Mon, 17 Oct 2022 13:46:39 +0000 (23:46 +1000)]
doc/radowsgw: add prompts to notifications.rst

This PR adds unselectable prompts to doc/radosgw/notifications.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48241 from ajarr/fix-57210
Venky Shankar [Mon, 17 Oct 2022 11:56:46 +0000 (17:26 +0530)]
Merge pull request #48241 from ajarr/fix-57210

 src/mds: increment directory inode's change attr by one

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #48425 from phlogistonjohn/jjm-shell-fixups
Kefu Chai [Mon, 17 Oct 2022 03:44:14 +0000 (11:44 +0800)]
Merge pull request #48425 from phlogistonjohn/jjm-shell-fixups

build: minor build script cleanups

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 years agoMerge pull request #48501 from zdover23/wip-doc-2022-10-17-radosgw-notifications
zdover23 [Sun, 16 Oct 2022 18:14:38 +0000 (04:14 +1000)]
Merge pull request #48501 from zdover23/wip-doc-2022-10-17-radosgw-notifications

doc/radosgw: refine notifications.rst - top part

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/radosgw: refine notifications.rst - top part 48501/head
Zac Dover [Sun, 16 Oct 2022 17:54:25 +0000 (03:54 +1000)]
doc/radosgw: refine notifications.rst - top part

This commit refines the English in the first part of the
notifications.rst page (the "Bucket Notifications" page).

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoinstall-deps: switch to C.UTF-8 locale 48425/head
John Mulligan [Mon, 10 Oct 2022 14:21:02 +0000 (10:21 -0400)]
install-deps: switch to C.UTF-8 locale

The en_US.UTF-8 locale is not always going to present on all systems.
Specifically, setting en_US.UTF-8 causes numerous warnings when running
this script on a CentOS Stream 8 container. Rather than install
additional packages to suppress the warning, use the C.UTF-8 locale.

Additionally, try to update the comment explaining the line to something
based on the commit history rather than the confusing term "vulnerable".

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agoscript/run-make: convert a tab to spaces
John Mulligan [Mon, 10 Oct 2022 14:18:00 +0000 (10:18 -0400)]
script/run-make: convert a tab to spaces

There was a single line using a hard tab to indent, convert the tab
and reformat the spacing of the line near it.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agoinstall-deps: for consistency, reformat tabs to spaces
John Mulligan [Mon, 10 Oct 2022 14:16:44 +0000 (10:16 -0400)]
install-deps: for consistency, reformat tabs to spaces

The majority of the install-deps.sh file was already using spaces to
indent, convert the remaining hard tabs to 8 spaces.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agoinstall-deps: remove emacs modeline from script
John Mulligan [Mon, 10 Oct 2022 14:01:21 +0000 (10:01 -0400)]
install-deps: remove emacs modeline from script

The majority of the lines in this shell script uses spaces to indent,
but I *think* this modeline tells emacs to indent with tabs. In a very
near future change I'm going to make all indents use spaces. So we first
remove the emacs modeline that tells it to use the opposite.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #48086 from vshankar/wip-57084
Venky Shankar [Sun, 16 Oct 2022 14:46:17 +0000 (20:16 +0530)]
Merge pull request #48086 from vshankar/wip-57084

client: use parent directory POSIX ACLs for snapshot dir

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #48497 from liu-chunmei/fix-variable-usage-after-move
Liu-Chunmei [Sun, 16 Oct 2022 06:19:08 +0000 (23:19 -0700)]
Merge pull request #48497 from liu-chunmei/fix-variable-usage-after-move

crimson/osd: not use a moved variable

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #48498 from zdover23/wip-doc-2022-10-16-radosgw-notifications...
zdover23 [Sun, 16 Oct 2022 03:41:41 +0000 (13:41 +1000)]
Merge pull request #48498 from zdover23/wip-doc-2022-10-16-radosgw-notifications-wording

doc/radosgw: update notifications.rst - grammar

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/radosgw: update notifications.rst - grammar 48498/head
Zac Dover [Sun, 16 Oct 2022 03:09:35 +0000 (13:09 +1000)]
doc/radosgw: update notifications.rst - grammar

This commit rewrites a sentence, as requested by
C. Mitchell here:
https://github.com/ceph/ceph/pull/48493/files#r996003812

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agocrimson/osd: not use a moved variable 48497/head
chunmei-liu [Sun, 16 Oct 2022 00:52:36 +0000 (17:52 -0700)]
crimson/osd: not use a moved variable

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2 years agocephfs: add additional logging to track change_attr of inodes 48241/head
Ramana Raja [Wed, 21 Sep 2022 20:31:05 +0000 (16:31 -0400)]
cephfs: add additional logging to track change_attr of inodes

Signed-off-by: Ramana Raja <rraja@redhat.com>
2 years agosrc/mds: increment directory inode's change attr by one
Ramana Raja [Thu, 22 Sep 2022 15:41:50 +0000 (11:41 -0400)]
src/mds: increment directory inode's change attr by one

... whenever the mtime or ctime of the directory inode is modified.

In CephFS subvolume clones exported using NFS-Ganesha, newly created
files using `touch` were not being listed. It was identified that the
create request sent to the Ceph MDS via NFS-Ganesha's libcephfs client
modified the mtime and ctime of the parent directory, but did not modify
the change_attr of the parent directory. Since the NFS client
didn't see a modification of the change attribute in the reply, it
didn't invalidate its readdir cache. The subsequent directory `ls` was
satisfied from the NFS client's stale readdir cache.

Whenever parent directory inode's  mtime was modified in
MDCache::predirty_journal_parents(), the parent inode's change_attr
was set to its dirstat->change_attr. The parent inode's
dirstat->change_attr doesn't track changes to parent's *ctime only*
changes such as setattr, setvxattr, etc. on the parent
directory. See commit 0d441dcd6af553d11d6be6df56d577c5659904a0 for more
details. This caused the directory inode's change_attr to not be updated
when an operation to change only its ctime was followed by an operation
to change its mtime and ctime.

Fix this by making changes to MDCache::predirty_journal_parents() and
CInode::finish_scatter_gather_update() to increment the directory
inode's change_attr by one instead of setting it to its
dirstat->change_attr.

Fixes: https://tracker.ceph.com/issues/57210
Signed-off-by: Ramana Raja <rraja@redhat.com>
2 years agotest/libcephfs: enhance directory's change_attr testing
Ramana Raja [Thu, 22 Sep 2022 19:55:52 +0000 (15:55 -0400)]
test/libcephfs: enhance directory's change_attr testing

Alternate operations that only change directory's ctime
(setattr/setxattr/removexattr on directory) with those that change
directory's mtime and ctime (create/rename/remove a file within
directory). Check that directory's change_attr is updated everytime
ctime changes.

Signed-off-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #48227 from phlogistonjohn/jjm-cephadm-test-nfsg
Adam King [Fri, 14 Oct 2022 20:10:57 +0000 (16:10 -0400)]
Merge pull request #48227 from phlogistonjohn/jjm-cephadm-test-nfsg

cephadm: add test coverage for NFSGanesha, HAproxy, & Keepalived classes

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #48493 from zdover23/wip-doc-2022-10-15-radosgw-notifications...
zdover23 [Fri, 14 Oct 2022 18:02:21 +0000 (04:02 +1000)]
Merge pull request #48493 from zdover23/wip-doc-2022-10-15-radosgw-notifications-cleanup

doc/radosgw: improve grammar - notifications.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/radosgw: improve grammar - notifications.rst 48493/head
Zac Dover [Fri, 14 Oct 2022 17:48:44 +0000 (03:48 +1000)]
doc/radosgw: improve grammar - notifications.rst

This commit makes the changes suggested by C. Mitchell in
https://github.com/ceph/ceph/pull/48486.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48422 from aravind-wdc/refactor
Kefu Chai [Fri, 14 Oct 2022 12:06:52 +0000 (20:06 +0800)]
Merge pull request #48422 from aravind-wdc/refactor

crimson/zns: refactor zone operations

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 years agoMerge pull request #48486 from zdover23/wip-doc-2022-10-14-radosgw-push_endpoint
zdover23 [Fri, 14 Oct 2022 06:49:49 +0000 (16:49 +1000)]
Merge pull request #48486 from zdover23/wip-doc-2022-10-14-radosgw-push_endpoint

doc/radosgw: add push_endpoint for rabbitmq

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agocrimson/zns: refactor zone operation 48422/head
Aravind Ramesh [Mon, 10 Oct 2022 07:22:59 +0000 (07:22 +0000)]
crimson/zns: refactor zone operation

Moved all zone operations into one routine.

Signed-off-by: Aravind Ramesh <Aravind.Ramesh@wdc.com>
2 years agodoc/radosgw: add push_endpoint for rabbitmq 48486/head
Zac Dover [Fri, 14 Oct 2022 06:17:12 +0000 (16:17 +1000)]
doc/radosgw: add push_endpoint for rabbitmq

This commit directs users of rabbitmq to use "push_endpoint"
(with an underscore) instead of "push-endpoint" (with a hy-
phen). This commit adds a note that contains such a direct-
ive. It does not alter the examples already present in the
text.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoqa: fs:upgrade featureful_client test upgrades to quincy 48485/head
Venky Shankar [Thu, 13 Oct 2022 05:22:22 +0000 (01:22 -0400)]
qa: fs:upgrade featureful_client test upgrades to quincy

Reef cycle will not allow upgrades from octopus. However, the featureful
client tests still needs to be testes, therefore, upgrade to quincy (from
octopus) rather to the current cycle (reef).

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #48475 from rzarzynski/wip-crimson-resolve_oid-clone_snaps-fix...
Samuel Just [Thu, 13 Oct 2022 20:56:07 +0000 (13:56 -0700)]
Merge pull request #48475 from rzarzynski/wip-crimson-resolve_oid-clone_snaps-fix-search

crimson/osd: resolve_oid() looks in clone_snaps by requested snap ID

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #48405 from athanatos/sjust/wip-57759
Samuel Just [Thu, 13 Oct 2022 20:01:25 +0000 (13:01 -0700)]
Merge pull request #48405 from athanatos/sjust/wip-57759

crimson: tmap support, list_snaps support, fixes for zero and cmpext

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2 years agomgr/prometheus: avoid duplicates and deleted entries for rbd_stats_pool 48398/head
Avan Thakkar [Fri, 7 Oct 2022 20:10:57 +0000 (01:40 +0530)]
mgr/prometheus: avoid duplicates and deleted entries for rbd_stats_pool

Fixes: https://tracker.ceph.com/issues/57797
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Avoid duplicate entries (pool[/namespace]) for rbd_stats_pools config and also avoid deleted pools.

2 years agocrimson/osd: resolve_oid() looks in clone_snaps by requested snap ID 48475/head
Radoslaw Zarzynski [Thu, 13 Oct 2022 11:22:32 +0000 (11:22 +0000)]
crimson/osd: resolve_oid() looks in clone_snaps by requested snap ID

Before the patch the method was looking for `lower_bound(oid.snap)`
from `SnapSet::clones` which leads to reading from head instead of
returning the `ENOENT` expected in `TestLibRBD.TestIOToSnapshot`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agocrimson/net: hide peer_global_id from Connection class 48484/head
Yingxin Cheng [Thu, 13 Oct 2022 09:51:52 +0000 (17:51 +0800)]
crimson/net: hide peer_global_id from Connection class

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/net: replace unnecessary ConnectionRef/AuthConnectionMetaRef
Yingxin Cheng [Thu, 13 Oct 2022 09:38:09 +0000 (17:38 +0800)]
crimson/net: replace unnecessary ConnectionRef/AuthConnectionMetaRef

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/net: drop Connection::get_messenger()
Yingxin Cheng [Thu, 13 Oct 2022 08:17:00 +0000 (16:17 +0800)]
crimson/net: drop Connection::get_messenger()

Simplify Connection interface for multi-core support.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/net: drop require_authorizer feature
Yingxin Cheng [Thu, 13 Oct 2022 08:11:54 +0000 (16:11 +0800)]
crimson/net: drop require_authorizer feature

There is no need to consider the pre-nautilus scenario.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/net: drop the unused ProtocolV1
Yingxin Cheng [Thu, 13 Oct 2022 08:03:29 +0000 (16:03 +0800)]
crimson/net: drop the unused ProtocolV1

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agoceph.spec.in: disable system_pmdk on s390x for SUSE distros 48471/head
Tim Serong [Thu, 13 Oct 2022 04:30:16 +0000 (15:30 +1100)]
ceph.spec.in: disable system_pmdk on s390x for SUSE distros

Fixes: https://tracker.ceph.com/issues/57860
Signed-off-by: Tim Serong <tserong@suse.com>
2 years agoMerge pull request #48437 from rosinL/fix-vstart
Samuel Just [Wed, 12 Oct 2022 23:04:04 +0000 (16:04 -0700)]
Merge pull request #48437 from rosinL/fix-vstart

src/vstart.sh: correct top_cpu's value

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 years agoMerge pull request #48457 from cyx1231st/wip-fix-msgr-test
Samuel Just [Wed, 12 Oct 2022 23:02:28 +0000 (16:02 -0700)]
Merge pull request #48457 from cyx1231st/wip-fix-msgr-test

test/crimson/test_messenger: add pause before marking down a connection

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2 years agoMerge pull request #48463 from zdover23/wip-doc-2022-10-14-dev-dev-guide-basic-workfl...
zdover23 [Wed, 12 Oct 2022 17:42:54 +0000 (03:42 +1000)]
Merge pull request #48463 from zdover23/wip-doc-2022-10-14-dev-dev-guide-basic-workflow-submodule-update-2

doc/dev: add submodule-update link to dev guide

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/dev: add submodule-update link to dev guide 48463/head
Zac Dover [Wed, 12 Oct 2022 12:39:36 +0000 (22:39 +1000)]
doc/dev: add submodule-update link to dev guide

This commit links to the procedure in install/clone-source.rst that
explains how to update submodules.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48460 from zdover23/wip-doc-2022-10-14-install-clone-source-submo... 48461/head
zdover23 [Wed, 12 Oct 2022 17:01:33 +0000 (03:01 +1000)]
Merge pull request #48460 from zdover23/wip-doc-2022-10-14-install-clone-source-submodules

doc/install: improve updating submodules procedure

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agocrimson/osd: CEPH_OSD_OP_ZERO should become truncate if past end of object 48405/head
Samuel Just [Thu, 6 Oct 2022 22:52:18 +0000 (15:52 -0700)]
crimson/osd: CEPH_OSD_OP_ZERO should become truncate if past end of object

librbd image diff seems to rely on this behavior to modify oi.size for
LIST_SNAPS.

Fixes: https://tracker.ceph.com/issues/57791
Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agocrimson/osd: add CEPH_OSD_OP_LIST_SNAPS
Samuel Just [Thu, 6 Oct 2022 21:10:57 +0000 (21:10 +0000)]
crimson/osd: add CEPH_OSD_OP_LIST_SNAPS

Fixes: https://tracker.ceph.com/issues/57789
Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #47853 from WOnder93/selinux-io_uring
Boris Ranto [Wed, 12 Oct 2022 12:58:54 +0000 (14:58 +0200)]
Merge pull request #47853 from WOnder93/selinux-io_uring

selinux: prepare for anon inode controls enablement

2 years agodoc/install: improve updating submodules procedure 48460/head
Zac Dover [Wed, 12 Oct 2022 08:27:42 +0000 (18:27 +1000)]
doc/install: improve updating submodules procedure

This commit beefs up the "Updating Submodules" procedure,
which (prior to this commit) was quite brief.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agocrimson/net: print connection memory address as the identity 48457/head
Yingxin Cheng [Wed, 12 Oct 2022 05:37:56 +0000 (13:37 +0800)]
crimson/net: print connection memory address as the identity

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agotest/crimson/test_messenger: add pause before marking down a connection
Yingxin Cheng [Wed, 12 Oct 2022 05:14:20 +0000 (13:14 +0800)]
test/crimson/test_messenger: add pause before marking down a connection

To make sure the ACK messages are consumed, otherwise there can be
unexpected connect attempts to break the test.

Fixes: https://tracker.ceph.com/issues/57693
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agoMerge pull request #48377 from ktdreyer/win-deps-clone
Justin Caratzas [Tue, 11 Oct 2022 18:45:34 +0000 (14:45 -0400)]
Merge pull request #48377 from ktdreyer/win-deps-clone

win32: speed up and simplify deps cloning

2 years agoMerge pull request #48406 from athanatos/sjust/wip-57798
Samuel Just [Tue, 11 Oct 2022 18:36:03 +0000 (11:36 -0700)]
Merge pull request #48406 from athanatos/sjust/wip-57798

qa/suites/crimson-rados: add CRIMSON_COMPAT to workunit env

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2 years agoMerge pull request #48446 from zdover23/wip-doc-2022-10-12-glossary-ceph-monitor
zdover23 [Tue, 11 Oct 2022 17:36:02 +0000 (03:36 +1000)]
Merge pull request #48446 from zdover23/wip-doc-2022-10-12-glossary-ceph-monitor

doc/glossary: add "ceph monitor" entry

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/glossary: add "ceph monitor" entry 48446/head
Zac Dover [Tue, 11 Oct 2022 16:49:13 +0000 (02:49 +1000)]
doc/glossary: add "ceph monitor" entry

This commit adds information to the "ceph monitor" entry in
glossary.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agorgw/amqp: store CA location string in connection object 48444/head
Yuval Lifshitz [Tue, 11 Oct 2022 13:46:39 +0000 (16:46 +0300)]
rgw/amqp: store CA location string in connection object

Fixes: https://tracker.ceph.com/issues/57850
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2 years agoMerge pull request #48196 from neesingh-rh/wip-human-readable-volume-info
Venky Shankar [Tue, 11 Oct 2022 11:18:19 +0000 (16:48 +0530)]
Merge pull request #48196 from neesingh-rh/wip-human-readable-volume-info

mgr/volumes: Add human-readable flag to volume info command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #48367 from stefan-chivu/namespace-optarg-fix
Ilya Dryomov [Tue, 11 Oct 2022 09:58:15 +0000 (11:58 +0200)]
Merge pull request #48367 from stefan-chivu/namespace-optarg-fix

rbd: device map/unmap --namespace handling fixes

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #45395 from tobias-urdin/rgw-keystone-service-token
Marcus Watts [Tue, 11 Oct 2022 09:49:30 +0000 (05:49 -0400)]
Merge pull request #45395 from tobias-urdin/rgw-keystone-service-token

rgw/auth: Add service token support for Keystone auth

2 years agotest: add test for checking snapdir attrs on parent inode updation 48086/head
Venky Shankar [Mon, 19 Sep 2022 11:41:29 +0000 (07:41 -0400)]
test: add test for checking snapdir attrs on parent inode updation

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 years agotest: add test for checking snapdir acls
Venky Shankar [Mon, 19 Sep 2022 11:40:52 +0000 (07:40 -0400)]
test: add test for checking snapdir acls

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 years agotest: cleanup files/dirs for some tests
Venky Shankar [Mon, 3 Oct 2022 09:36:39 +0000 (05:36 -0400)]
test: cleanup files/dirs for some tests

Otherwise subsequent tests that use the same file/dir name may fail
on ceph_mkdir() expecting success.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 years agoclient: refresh snapdir attrs on parent inode updation
Venky Shankar [Mon, 19 Sep 2022 11:38:36 +0000 (07:38 -0400)]
client: refresh snapdir attrs on parent inode updation

Snapdir attrs (ui, gid, etc..) are set its respective parent attributes,
however, those are never updated when the attributes of the parent inode
get updated. There seems to be no reason to no to update snapdir attributes.

This change also updates POSIX ACLs.

Fixes: http://tracker.ceph.com/issues/57084
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 years agoclient: use parent directory POSIX ACLs for snaphot dir
Venky Shankar [Wed, 14 Sep 2022 04:01:13 +0000 (00:01 -0400)]
client: use parent directory POSIX ACLs for snaphot dir

Fixes: http://tracker.ceph.com/issues/57084
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 years agosrc/vstart.sh: correct top_cpu's value 48437/head
luo rixin [Tue, 11 Oct 2022 07:44:05 +0000 (15:44 +0800)]
src/vstart.sh: correct top_cpu's value

Signed-off-by: luo rixin <luorixin@huawei.com>
2 years agoMerge pull request #48415 from rhcs-dashboard/repaired-metric-name
Nizamudeen A [Tue, 11 Oct 2022 07:32:53 +0000 (13:02 +0530)]
Merge pull request #48415 from rhcs-dashboard/repaired-metric-name

mgr/prometheus: change pg_repaired_objects name to pool_repaired_objects

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #47495 from rhcs-dashboard/rgw-s3-encryption
Nizamudeen A [Tue, 11 Oct 2022 07:18:43 +0000 (12:48 +0530)]
Merge pull request #47495 from rhcs-dashboard/rgw-s3-encryption

mgr/dashboard: add server side encryption to rgw/s3

Reviewed-by: Casey Bodley <cbodley@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 agoMerge pull request #46331 from lxbsz/wip-55332
Rishabh Dave [Tue, 11 Oct 2022 07:17:33 +0000 (12:47 +0530)]
Merge pull request #46331 from lxbsz/wip-55332

mds: wait unlink to finish to avoid conflict when creating same dentries

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agomgr/dashboard: add server side encryption to rgw/s3 47495/head
Aashish Sharma [Mon, 8 Aug 2022 12:35:02 +0000 (18:05 +0530)]
mgr/dashboard: add server side encryption to rgw/s3

Fixes:https://tracker.ceph.com/issues/57826
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #48350 from athanatos/sjust/wip-57739
Liu-Chunmei [Tue, 11 Oct 2022 00:30:19 +0000 (17:30 -0700)]
Merge pull request #48350 from athanatos/sjust/wip-57739

crimson/.../replicated_request,logmissing_request: retain reference to req

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@redhat.com>
2 years agoMerge pull request #48308 from cyx1231st/wip-seastore-offset
Liu-Chunmei [Tue, 11 Oct 2022 00:26:54 +0000 (17:26 -0700)]
Merge pull request #48308 from cyx1231st/wip-seastore-offset

crimson/os/seastore: introduce (64-8)-bit signed device_off_t and 32-bit signed segment_off_t

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
2 years agoqa/suites/crimson-rados: add CRIMSON_COMPAT to workunit env 48406/head
Samuel Just [Sun, 2 Oct 2022 18:08:40 +0000 (11:08 -0700)]
qa/suites/crimson-rados: add CRIMSON_COMPAT to workunit env

Fixes: https://tracker.ceph.com/issues/57798
Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #48349 from rzarzynski/wip-crimson-cltreq-errreply-debug
Liu-Chunmei [Mon, 10 Oct 2022 23:41:37 +0000 (16:41 -0700)]
Merge pull request #48349 from rzarzynski/wip-crimson-cltreq-errreply-debug

crimson/osd: introduce debug to ClientRequest::reply_op_error()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
2 years agoMerge pull request #47754 from batrick/i57248
Rishabh Dave [Mon, 10 Oct 2022 18:42:24 +0000 (00:12 +0530)]
Merge pull request #47754 from batrick/i57248

qa: cleanup volumes on unwind

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2 years agoPendingReleaseNotes: add "rbd device unmap --namespace" note 48367/head
Ilya Dryomov [Mon, 10 Oct 2022 18:18:12 +0000 (20:18 +0200)]
PendingReleaseNotes: add "rbd device unmap --namespace" note

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoqa/workunits/rbd-nbd: also test map/unmap with --namespace option
Ilya Dryomov [Sat, 8 Oct 2022 14:16:10 +0000 (16:16 +0200)]
qa/workunits/rbd-nbd: also test map/unmap with --namespace option

The entire script is using specs, let's cover non-spec syntax as well.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agowin32: speed up and simplify deps cloning 48377/head
Ken Dreyer [Fri, 30 Sep 2022 20:56:35 +0000 (16:56 -0400)]
win32: speed up and simplify deps cloning

Use --depth 1 for all the dependencies we clone to speed up the process.

Use the --branch argument for cloning all dependencies. This simplifies
the process and makes it easier to use other copies in an offline
environment where github.com is inaccessible.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2 years agoMerge pull request #48423 from zdover23/wip-doc-2022-10-11-releases-pacific-grammar
zdover23 [Mon, 10 Oct 2022 16:38:44 +0000 (02:38 +1000)]
Merge pull request #48423 from zdover23/wip-doc-2022-10-11-releases-pacific-grammar

doc/releases: improve grammar in pacific.rst

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #48396 from rhcs-dashboard/fix-57792-main
Ernesto Puerta [Mon, 10 Oct 2022 15:34:46 +0000 (17:34 +0200)]
Merge pull request #48396 from rhcs-dashboard/fix-57792-main

mgr/dashboard: fix broken login links

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #48337 from batrick/first-python
Venky Shankar [Mon, 10 Oct 2022 15:28:47 +0000 (20:58 +0530)]
Merge pull request #48337 from batrick/first-python

tools/cephfs: convert first-damage.sh to python

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #46772 from cbodley/wip-rgw-doc-bucket-index
Casey Bodley [Mon, 10 Oct 2022 15:22:46 +0000 (11:22 -0400)]
Merge pull request #46772 from cbodley/wip-rgw-doc-bucket-index

doc/dev/radosgw: start describing the bucket index

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/releases: improve grammar in pacific.rst 48423/head
Zac Dover [Mon, 10 Oct 2022 14:15:11 +0000 (00:15 +1000)]
doc/releases: improve grammar in pacific.rst

This commit accepts the grammar suggestions that were made by Cole
Mitchell in https://github.com/ceph/ceph/pull/48404.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agomgr/prometheus: change pg_repaired_objects name to pool_repaired_objects 48415/head
Pere Diaz Bou [Mon, 10 Oct 2022 10:08:34 +0000 (12:08 +0200)]
mgr/prometheus: change pg_repaired_objects name to pool_repaired_objects

Fixes: https://tracker.ceph.com/issues/57806
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #48331 from tchaikov/crimson-stop
Kefu Chai [Mon, 10 Oct 2022 04:51:33 +0000 (12:51 +0800)]
Merge pull request #48331 from tchaikov/crimson-stop

crimson/osd: shutdown on osdmaps' demand

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agocrimson/osd/pg_backend: remove incorrect length limitation on CMPEXT
Samuel Just [Thu, 6 Oct 2022 01:56:26 +0000 (18:56 -0700)]
crimson/osd/pg_backend: remove incorrect length limitation on CMPEXT

We specifically send back errors < -MAX_ERRNO to indicate offset.

Fixes: https://tracker.ceph.com/issues/57773
Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agocrimson/osd: add tmap support
Samuel Just [Tue, 4 Oct 2022 20:55:52 +0000 (20:55 +0000)]
crimson/osd: add tmap support

rbdv1 headers use tmap, it's somewhat easier to add support to crimson
than to modify those tests to avoid rbdv1 on crimson.

Fixes: https://tracker.ceph.com/issues/57759
Signed-off-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #48238 from sisco0/fix-rgw-amqp-switch-compiler-warning-2
Yuval Lifshitz [Sun, 9 Oct 2022 10:35:02 +0000 (13:35 +0300)]
Merge pull request #48238 from sisco0/fix-rgw-amqp-switch-compiler-warning-2

rgw: fix rabbitmq version checking for AMQP_STATUS_SSL_SET_ENGINE_FAILED

2 years agoMerge pull request #48374 from rkachach/fix_issue_57769
Adam King [Fri, 7 Oct 2022 16:30:31 +0000 (12:30 -0400)]
Merge pull request #48374 from rkachach/fix_issue_57769

doc/cephadm: fixing grafana cert/key generation documentation

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 years agoMerge pull request #48128 from alimaredia/wip-intrusive-lru-destructor-add
Casey Bodley [Fri, 7 Oct 2022 16:25:02 +0000 (12:25 -0400)]
Merge pull request #48128 from alimaredia/wip-intrusive-lru-destructor-add

common:  intrusive_lru destructor add

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agodoc/cephadm: fixing grafana cet/key generation documentation 48374/head
Redouane Kachach [Wed, 5 Oct 2022 14:36:15 +0000 (16:36 +0200)]
doc/cephadm: fixing grafana cet/key generation documentation
Fixes: https://tracker.ceph.com/issues/57769
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2 years agomgr/dashboard: fix broken login links 48396/head
Ernesto Puerta [Fri, 7 Oct 2022 15:08:14 +0000 (17:08 +0200)]
mgr/dashboard: fix broken login links

Fixes: https://tracker.ceph.com/issues/57792
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2 years agorbd: Removed device_name argument from wnbd unmap
Stefan Chivu [Tue, 4 Oct 2022 14:02:14 +0000 (14:02 +0000)]
rbd: Removed device_name argument from wnbd unmap

Right now, rbd-wnbd doesn't actually use disk path
identifiers such as "/dev/*" or "\\.\PhysicalDrive*".

So instead of accepting two arguments that are basically
handled more or less the same, we're dropping the device_name
argument and sticking to the image spec.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agorbd: Moved get_image_or_snap_spec and parse_options to utils
Stefan Chivu [Tue, 4 Oct 2022 12:25:45 +0000 (12:25 +0000)]
rbd: Moved get_image_or_snap_spec and parse_options to utils

At the moment, there are multiple copies of "get_image_or_snap_spec".

For this reason, we're moving it to Utils.cc so that all backends may
re-use it, also benefiting from the recent pool related fix.

We are also renaming parse_options to append_options_as_args and
changing its type to void

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agorbd: Added namespace optarg for rbd device unmap
Stefan Chivu [Mon, 3 Oct 2022 08:20:58 +0000 (08:20 +0000)]
rbd: Added namespace optarg for rbd device unmap

When executing rbd device unmap, an explicit namespace optarg wasn't available

Fixes: https://tracker.ceph.com/issues/57765
Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>