]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agocrimson/osd: use a named type for user_modify 47033/head
Kefu Chai [Sun, 10 Jul 2022 04:27:55 +0000 (00:27 -0400)]
crimson/osd: use a named type for user_modify

for better readability

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46862 from kamoltat/wip-ksirivad-fix-56392
Kefu Chai [Sun, 10 Jul 2022 03:35:56 +0000 (11:35 +0800)]
Merge pull request #46862 from kamoltat/wip-ksirivad-fix-56392

mon/Elector: make paxos_size() an int

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46923 from rzarzynski/wip-crimson-opexec-reformat-switch
Kefu Chai [Sun, 10 Jul 2022 03:23:29 +0000 (11:23 +0800)]
Merge pull request #46923 from rzarzynski/wip-crimson-opexec-reformat-switch

crimson/osd: clean up the op dispatch on OpsExecuter

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #47023 from tchaikov/wip-doc-crimson
Kefu Chai [Sat, 9 Jul 2022 00:42:00 +0000 (08:42 +0800)]
Merge pull request #47023 from tchaikov/wip-doc-crimson

doc/dev/crimson: Correct the link to Scylla

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/dev/crimson: Correct the link to Scylla 47023/head
Kefu Chai [Fri, 8 Jul 2022 14:54:19 +0000 (22:54 +0800)]
doc/dev/crimson: Correct the link to Scylla

the old one brings us to 404.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46861 from ajarr/fix-54108
Rishabh Dave [Fri, 8 Jul 2022 14:06:22 +0000 (19:36 +0530)]
Merge pull request #46861 from ajarr/fix-54108

qa/suites/fs: skip check-counters for iogen workload

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
3 years agoMerge pull request #46833 from kotreshhr/standby-replay-blocklist-assert
Rishabh Dave [Fri, 8 Jul 2022 14:03:10 +0000 (19:33 +0530)]
Merge pull request #46833 from kotreshhr/standby-replay-blocklist-assert

mds: Don't blocklist clients in any replay state

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
3 years agoMerge pull request #46191 from rishabh-d-dave/qa-cephfs-mount-rm-sudo
Rishabh Dave [Fri, 8 Jul 2022 14:00:16 +0000 (19:30 +0530)]
Merge pull request #46191 from rishabh-d-dave/qa-cephfs-mount-rm-sudo

qa/cephfs: remove sudo parameter from run_shell()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
3 years agoMerge pull request #45998 from dparmar18/implement_ln_cephfs_shell
Rishabh Dave [Fri, 8 Jul 2022 13:56:34 +0000 (19:26 +0530)]
Merge pull request #45998 from dparmar18/implement_ln_cephfs_shell

cephfs-shell: ln command implementation

Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
3 years agoMerge pull request #46225 from inspur-wyq/wip-bluestore-deferred_stable
Yuri Weinstein [Fri, 8 Jul 2022 10:34:37 +0000 (03:34 -0700)]
Merge pull request #46225 from inspur-wyq/wip-bluestore-deferred_stable

os/bluestore: use swap for deferred_stable when not bluefs_layout.single_shared_device()

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
3 years agoMerge pull request #46853 from soumyakoduri/wip-skoduri-dbstore-lc
Soumya Koduri [Fri, 8 Jul 2022 08:28:57 +0000 (13:58 +0530)]
Merge pull request #46853 from soumyakoduri/wip-skoduri-dbstore-lc

rgw/dbstore: Lifecycle support

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #47015 from ljflores/wip-stale-bot-schedule
Sébastien Han [Fri, 8 Jul 2022 08:27:41 +0000 (10:27 +0200)]
Merge pull request #47015 from ljflores/wip-stale-bot-schedule

.github/workflows: run the stale bot every hour

3 years agoMerge pull request #46951 from dparmar18/fix_caps_doc
Venky Shankar [Fri, 8 Jul 2022 04:59:40 +0000 (10:29 +0530)]
Merge pull request #46951 from dparmar18/fix_caps_doc

doc/cephfs/capabilities: Fixed some typos

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
3 years agoMerge pull request #46992 from guits/cv-fix-simple-scan
Guillaume Abrioux [Thu, 7 Jul 2022 22:30:00 +0000 (00:30 +0200)]
Merge pull request #46992 from guits/cv-fix-simple-scan

ceph-volume: fix `simple scan`

3 years agoMerge pull request #45643 from rkachach/fix_issue_52514
Adam King [Thu, 7 Jul 2022 22:04:13 +0000 (18:04 -0400)]
Merge pull request #45643 from rkachach/fix_issue_52514

ceph.spec: fixing cephadm build deps

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46907 from rkachach/fix_issue_55491
Adam King [Thu, 7 Jul 2022 21:55:41 +0000 (17:55 -0400)]
Merge pull request #46907 from rkachach/fix_issue_55491

mgr/cephadm: limiting ingress/keepalived pass to 8 chars

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #37831 from ybwang0211/put-obj-doc
Anthony D'Atri [Thu, 7 Jul 2022 20:34:55 +0000 (13:34 -0700)]
Merge pull request #37831 from ybwang0211/put-obj-doc

doc:Add a description of the put obj API

3 years agoceph-volume: fix `simple scan` 46992/head
Guillaume Abrioux [Wed, 6 Jul 2022 11:42:02 +0000 (13:42 +0200)]
ceph-volume: fix `simple scan`

`lsblk_all()` should return an empty dict `{}` if nothing was found.
If we raise `RuntimeError()` then the loop in `scan.Scan.main` will stop
and make ceph-volume fails because we don't try to catch this exception.
`scan.Scan.main()` has its own logic in order to detect the given path
is a ceph-disk created OSD anyway.

Fixes: https://tracker.ceph.com/issues/56482
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #47004 from rzarzynski/wip-crimson-osdspec-affinity
Samuel Just [Thu, 7 Jul 2022 18:34:21 +0000 (11:34 -0700)]
Merge pull request #47004 from rzarzynski/wip-crimson-osdspec-affinity

crimson/osd: add support for OSD Service Specification

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years ago.github/workflows: run the stale bot every hour 47015/head
Laura Flores [Thu, 7 Jul 2022 17:15:10 +0000 (12:15 -0500)]
.github/workflows: run the stale bot every hour

Currently, the stale bot runs once a day at 1:30 UTC.
This will only process a few PRs per day, which is not
enough to handle the volume of PRs that come into the
Ceph repository. Running the bot once every hour with
a limit of 30 operations will keep within the rate
limit, but it will also process more PRs per day.

Followup to 1a8d2010375fb485ed73f08f7de9ea1738826d91.

Signed-off-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #46700 from sseshasa/wip-fix-mclock-config-set
Yuri Weinstein [Thu, 7 Jul 2022 15:44:15 +0000 (08:44 -0700)]
Merge pull request #46700 from sseshasa/wip-fix-mclock-config-set

osd: Set initial mClock QoS params at CONF_DEFAULT level

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agocrimson/osd: add support for OSD Service Specification 47004/head
Radoslaw Zarzynski [Thu, 7 Jul 2022 09:59:52 +0000 (09:59 +0000)]
crimson/osd: add support for OSD Service Specification

This patch is a crimson's counterpart of
1b44b6709d9400102c14ad3ea40fca19ab4ed214 that brought
the support for `--osdspec-affinity` to the classical
OSD.

`cephadm` started passing this argv which caused the
problem reported by Li, Jianxin <jianxin1.li@intel.com>.
See:
  * https://gist.github.com/rzarzynski/4d1225971b6c28758cb2b68fbda3bf5f?permalink_comment_id=4223998#gistcomment-4223998
  * https://docs.ceph.com/en/octopus/cephadm/drivegroups/

Testing
-------

```diff
diff --git a/src/vstart.sh b/src/vstart.sh
index 51ebcf26cdb..2a5b485e8d7 100755
--- a/src/vstart.sh
+++ b/src/vstart.sh
@@ -1014,7 +1014,7 @@ EOF
             echo "{\"cephx_secret\": \"$OSD_SECRET\"}" > $CEPH_DEV_DIR/osd$osd/new.json
             ceph_adm osd new $uuid -i $CEPH_DEV_DIR/osd$osd/new.json
             rm $CEPH_DEV_DIR/osd$osd/new.json
-            prun $SUDO $CEPH_BIN/$ceph_osd $extra_osd_args -i $osd $ARGS --mkfs --key $OSD_SECRET --osd-uuid $uuid $extra_seastar_args \
+            prun $SUDO $CEPH_BIN/$ceph_osd $extra_osd_args -i $osd $ARGS --mkfs --osdspec-affinity None --key $OSD_SECRET --osd-uuid $uuid $extra_seastar_args \
                 2>&1 | tee $CEPH_OUT_DIR/osd-mkfs.$osd.log

             local key_fn=$CEPH_DEV_DIR/osd$osd/keyring
```

The new meta is truly set:

```
$ bin/ceph-bluestore-tool --path dev/osd0/ show-label
inferring bluefs devices from bluestore path
{
    "dev/osd0/block": {
        "osd_uuid": "c0534f3a-3d2b-4080-91da-cefc76387e4b",
        "size": 107374182400,
        "btime": "2022-07-07T09:56:34.306383+0000",
        "description": "main",
        "bfm_blocks": "26214400",
        "bfm_blocks_per_key": "128",
        "bfm_bytes_per_block": "4096",
        "bfm_size": "107374182400",
        "bluefs": "1",
        "ceph_fsid": "c4b8836d-cbf6-434f-ac4c-4ed1f869ec31",
        "kv_backend": "rocksdb",
        "magic": "ceph osd volume v026",
        "mkfs_done": "yes",
        "osd_key": "AQDRrcZitoB+HxAAsJNAHtv9S2Kyrh0HfJOpzw==",
        "osdspec_affinity": "None",
        "ready": "ready",
        "require_osd_release": "17",
        "whoami": "0"
    },
    "dev/osd0/block.wal": {
        "osd_uuid": "c0534f3a-3d2b-4080-91da-cefc76387e4b",
        "size": 1048576000,
        "btime": "2022-07-07T09:56:34.311501+0000",
        "description": "bluefs wal"
    },
    "dev/osd0/block.db": {
        "osd_uuid": "c0534f3a-3d2b-4080-91da-cefc76387e4b",
        "size": 1073741824,
        "btime": "2022-07-07T09:56:34.308145+0000",
        "description": "bluefs db"
    }
}
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #46982 from cyx1231st/wip-seastar-rbm-cleanup
Yingxin [Thu, 7 Jul 2022 03:19:59 +0000 (11:19 +0800)]
Merge pull request #46982 from cyx1231st/wip-seastar-rbm-cleanup

crimson/os/seastore/circular_bounded_journal: fixes and cleanups

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoMerge pull request #46999 from athanatos/sjust/wip-clt-update
Josh Durgin [Wed, 6 Jul 2022 21:28:20 +0000 (14:28 -0700)]
Merge pull request #46999 from athanatos/sjust/wip-clt-update

doc/governance.rst: add Yingxin Cheng <yingxin.cheng@intel.com> to CLT

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #46995 from leseb/stale-bot-proceed-in-ascending
Laura Flores [Wed, 6 Jul 2022 19:07:51 +0000 (14:07 -0500)]
Merge pull request #46995 from leseb/stale-bot-proceed-in-ascending

3 years agoMerge pull request #46971 from gregsfortytwo/wip-librados-doc
Josh Durgin [Wed, 6 Jul 2022 16:48:50 +0000 (09:48 -0700)]
Merge pull request #46971 from gregsfortytwo/wip-librados-doc

librados: doc: make header function documentation accurate and less c…

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #46932 from ceph/fix-crontab
David Galloway [Wed, 6 Jul 2022 16:12:15 +0000 (12:12 -0400)]
Merge pull request #46932 from ceph/fix-crontab

qa/tests: Typos and spacing

3 years ago.github/workflows: process PRs in ascending order 46995/head
Sébastien Han [Wed, 6 Jul 2022 15:10:45 +0000 (17:10 +0200)]
.github/workflows: process PRs in ascending order

The Ceph repo has many PRs and we cannot process all the PRs with the
default "operations-per-run" value (30). At the time of writting the bot
processes 408 every day and there are around 938 PRs.
Even the job informs us that not enough PRs might have been processed
and encouraged us to increase "operations-per-run" if possible. However
it might expose us to Github's API rate limit.
So let's operate with the oldest PRs first, this should close a bunch of
PRs already. If not enough we can try to increase "operations-per-run".

Signed-off-by: Sébastien Han <seb@redhat.com>
3 years agoMerge pull request #46868 from vshankar/wip-cephfs-mirror-ha-doc
Anthony D'Atri [Wed, 6 Jul 2022 14:46:26 +0000 (07:46 -0700)]
Merge pull request #46868 from vshankar/wip-cephfs-mirror-ha-doc

doc: document deploying multiple cephfs-mirror daemons

3 years agoMerge pull request #46973 from cbodley/wip-56131
Casey Bodley [Wed, 6 Jul 2022 12:38:14 +0000 (08:38 -0400)]
Merge pull request #46973 from cbodley/wip-56131

doc/rgw: update multisite doc

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #46811 from rhcs-dashboard/fix-56165-main
Nizamudeen A [Wed, 6 Jul 2022 11:04:02 +0000 (16:34 +0530)]
Merge pull request #46811 from rhcs-dashboard/fix-56165-main

mgr/dashboard: Improve monitoring tabs content

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>
3 years agodoc/man/cephfs-shell.rst: documentation of ln command 45998/head
dparmar18 [Tue, 17 May 2022 06:16:00 +0000 (11:46 +0530)]
doc/man/cephfs-shell.rst: documentation of ln command

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
3 years agoqa: tests for ln command
dparmar18 [Tue, 17 May 2022 06:12:10 +0000 (11:42 +0530)]
qa: tests for ln command

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
3 years agoosd: Set initial mClock QoS params at CONF_DEFAULT level 46700/head
Sridhar Seshasayee [Wed, 15 Jun 2022 14:52:53 +0000 (20:22 +0530)]
osd: Set initial mClock QoS params at CONF_DEFAULT level

Create the initial mClock QoS params at CONF_DEFAULT level using
set_val_default(). This allows switching to a custom profile on a
running OSD and to make necessary changes to the desired QoS params.
Note that Switching to ‘custom’ profile and then subsequently changing
the QoS params using “config set osd.n …” will be at a higher level i.e.
at CONF_MON.

But When switching back to a built-in profile, the new values won’t take
effect since CONF_DEFAULT < CONF_MON. For the values to take effect, the
config keys created as part of the ‘custom’ profile must be removed from
the ConfigMonitor store after switching back to a built-in profile.

- Added a couple of standalone tests to exercise the scenario.
- Updated the mClock configuration document and the mClock internal
  documentation with a couple of typos relating to the best effort weights.
- Added new sections to the mClock configuration document outlining the
  steps to switch between the built-in and custom profile and vice-versa.

Fixes: https://tracker.ceph.com/issues/55153
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
3 years agocephfs-shell: allow creating hard and soft links
dparmar18 [Fri, 22 Apr 2022 09:27:34 +0000 (14:57 +0530)]
cephfs-shell: allow creating hard and soft links

Add ln command to cephfs-shell for enabling creation of hard and soft
links. It allows creating hard links to regular files and soft links to
regular files as well as directories. The behaviour of this cephfs-shell
command is kept as close as possible to the ln command from GNU
coreutils.

Test and docs too have been updated for the same.

Fixes: https://tracker.ceph.com/issues/48911
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
3 years agoMerge pull request #46978 from yuvalif/wip-yuval-lua-bucket-name
Yuval Lifshitz [Wed, 6 Jul 2022 05:32:30 +0000 (08:32 +0300)]
Merge pull request #46978 from yuvalif/wip-yuval-lua-bucket-name

rgw/lua: allow bucket name override in pre request

Reviewed-by: anthonyeleven, cbodley
3 years agoMerge pull request #38727 from Huber-ming/front_confg
Anthony D'Atri [Wed, 6 Jul 2022 03:46:42 +0000 (20:46 -0700)]
Merge pull request #38727 from Huber-ming/front_confg

doc: add description of rgw_thread_pool_size

3 years agoMerge pull request #46981 from anthonyeleven/anthonyeleven/fix-capitalization
Anthony D'Atri [Wed, 6 Jul 2022 03:45:30 +0000 (20:45 -0700)]
Merge pull request #46981 from anthonyeleven/anthonyeleven/fix-capitalization

doc/mgr: Fix capitalization in orchestrator.rst

3 years agocrimson/os/seastore/circular_bounded_journal: misc cleanups 46982/head
Yingxin Cheng [Tue, 5 Jul 2022 14:46:58 +0000 (22:46 +0800)]
crimson/os/seastore/circular_bounded_journal: misc cleanups

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/circular_bounded_journal: increment seq when roll
Yingxin Cheng [Tue, 5 Jul 2022 14:32:23 +0000 (22:32 +0800)]
crimson/os/seastore/circular_bounded_journal: increment seq when roll

Similar to segmented_journal, only increment seq when roll
circular_bounded_journal.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/circular_bounded_journal: do not split records
Yingxin Cheng [Tue, 5 Jul 2022 08:31:34 +0000 (16:31 +0800)]
crimson/os/seastore/circular_bounded_journal: do not split records

* no split record due to relative paddr resolution
* fix md_bl.substr_of(bl, 0, header.mdlength)
* maintain written_to in range [get_start_addr(), get_journal_end())

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agodoc/mgr: Fix capitalization in orchestrator.rst 46981/head
Anthony D'Atri [Wed, 6 Jul 2022 02:23:36 +0000 (19:23 -0700)]
doc/mgr: Fix capitalization in orchestrator.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 years agocrimson/os/seastore/circular_bounded_journal: drop unused applied_to
Yingxin Cheng [Mon, 4 Jul 2022 08:34:07 +0000 (16:34 +0800)]
crimson/os/seastore/circular_bounded_journal: drop unused applied_to

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/circular_bounded_journal: simplify RBM start as a hard-coded...
Yingxin Cheng [Mon, 4 Jul 2022 08:14:00 +0000 (16:14 +0800)]
crimson/os/seastore/circular_bounded_journal: simplify RBM start as a hard-coded position

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge branch 'main' into front_confg 38727/head
Anthony D'Atri [Wed, 6 Jul 2022 01:27:00 +0000 (18:27 -0700)]
Merge branch 'main' into front_confg

3 years agoMerge pull request #46979 from rzarzynski/wip-crison-fix-connpriv-life-time
Samuel Just [Tue, 5 Jul 2022 23:29:24 +0000 (16:29 -0700)]
Merge pull request #46979 from rzarzynski/wip-crison-fix-connpriv-life-time

crimson/osd: fix life-time management of OSDConnectionPriv

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #46965 from rzarzynski/wip-crimson-fix-no-mon-config-argv
Samuel Just [Tue, 5 Jul 2022 20:50:58 +0000 (13:50 -0700)]
Merge pull request #46965 from rzarzynski/wip-crimson-fix-no-mon-config-argv

crimson/osd: fix ignoring --no-mon-config

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/osd: fix life-time management of OSDConnectionPriv 46979/head
Radoslaw Zarzynski [Tue, 5 Jul 2022 18:16:47 +0000 (18:16 +0000)]
crimson/osd: fix life-time management of OSDConnectionPriv

Before the patch there was a possibility that `OSDConnectionPriv`
gets destructed before a `PipelineHandle` instance that was using
it. The reason is our remote-handling operations store `conn` directly
while `handle` is defined in a parent class. Due to the language rules
the former gets deinitialized earlier.

```
==756032==ERROR: AddressSanitizer: heap-use-after-free on address 0x615000039684 at pc 0x0000020bdfa2 bp 0x7ffd3abfa370 sp 0x7ffd3abfa360
READ of size 1 at 0x615000039684 thread T0
Reactor stalled for 261 ms on shard 0. Backtrace: 0x45d9d 0xe90f6d1 0xe6b8a1d 0xe6d1205 0xe6d16a8 0xe6d1938 0xe6d1c03 0x12cdf 0xccebf 0x7f6447161b1e 0x7f644714aee8 0x7f644714eed6 0x7f644714fb36 0x7f64471420b5 0x
7f6447143f3a 0xd61d0 0x32412 0xbd8a7 0xbd134 0xbdc1a 0x20bdfa1 0x20c184e 0x352eb7f 0x352fa28 0x20b04a5 0x1be30e5 0xe694bc4 0xe6ebb8a 0xe843a11 0xe845a22 0xe29f497 0xe2a3ccd 0x1ab1841 0x3aca2 0x175698d
    #0 0x20bdfa1 in seastar::shared_mutex::unlock() ../src/seastar/include/seastar/core/shared_mutex.hh:122
    #1 0x20c184e in crimson::OrderedExclusivePhaseT<crimson::osd::ConnectionPipeline::GetPG>::exit() ../src/crimson/common/operation.h:548
    #2 0x20c184e in crimson::OrderedExclusivePhaseT<crimson::osd::ConnectionPipeline::GetPG>::ExitBarrier::exit() ../src/crimson/common/operation.h:533
    #3 0x20c184e in crimson::OrderedExclusivePhaseT<crimson::osd::ConnectionPipeline::GetPG>::ExitBarrier::cancel() ../src/crimson/common/operation.h:539
    #4 0x20c184e in crimson::OrderedExclusivePhaseT<crimson::osd::ConnectionPipeline::GetPG>::ExitBarrier::~ExitBarrier() ../src/crimson/common/operation.h:543
    #5 0x20c184e in crimson::OrderedExclusivePhaseT<crimson::osd::ConnectionPipeline::GetPG>::ExitBarrier::~ExitBarrier() ../src/crimson/common/operation.h:544
    #6 0x352eb7f in std::default_delete<crimson::PipelineExitBarrierI>::operator()(crimson::PipelineExitBarrierI*) const /opt/rh/gcc-toolset-11/root/usr/include/c++/11/bits/unique_ptr.h:85
    #7 0x352eb7f in std::unique_ptr<crimson::PipelineExitBarrierI, std::default_delete<crimson::PipelineExitBarrierI> >::~unique_ptr() /opt/rh/gcc-toolset-11/root/usr/include/c++/11/bits/unique_ptr.h:361
    #8 0x352eb7f in crimson::PipelineHandle::~PipelineHandle() ../src/crimson/common/operation.h:457
    #9 0x352eb7f in crimson::osd::PhasedOperationT<crimson::osd::ClientRequest>::~PhasedOperationT() ../src/crimson/osd/osd_operation.h:152
    #10 0x352eb7f in crimson::osd::ClientRequest::~ClientRequest() ../src/crimson/osd/osd_operations/client_request.cc:64
    #11 ...
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: avoid unnecessary counter management in ClientRequest's ctor
Radoslaw Zarzynski [Tue, 5 Jul 2022 18:35:27 +0000 (18:35 +0000)]
crimson/osd: avoid unnecessary counter management in ClientRequest's ctor

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: improve assertions around Connection::user_private
Radoslaw Zarzynski [Tue, 5 Jul 2022 18:12:31 +0000 (18:12 +0000)]
crimson/osd: improve assertions around Connection::user_private

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #46735 from guits/guits-better-msg-rm-osd
Adam King [Tue, 5 Jul 2022 18:45:34 +0000 (14:45 -0400)]
Merge pull request #46735 from guits/guits-better-msg-rm-osd

cephadm: improve message when removing osd

Reviewed-by: Adam King <adking@redhat.com>
3 years agorgw/lua: allow bucket name override in pre request 46978/head
Yuval Lifshitz [Sun, 12 Jun 2022 17:58:40 +0000 (20:58 +0300)]
rgw/lua: allow bucket name override in pre request

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
3 years agodoc/rgw/multisite: update pool names 46973/head
Casey Bodley [Tue, 5 Jul 2022 16:58:57 +0000 (12:58 -0400)]
doc/rgw/multisite: update pool names

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agodoc/rgw/multisite: 'zone rm' -> 'zone delete'
Casey Bodley [Tue, 5 Jul 2022 16:58:33 +0000 (12:58 -0400)]
doc/rgw/multisite: 'zone rm' -> 'zone delete'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agodoc/rgw/multisite: remove redundant --endpoints from zone create
Casey Bodley [Tue, 5 Jul 2022 16:58:01 +0000 (12:58 -0400)]
doc/rgw/multisite: remove redundant --endpoints from zone create

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agolibrados: doc: make header function documentation accurate and less confusing 46971/head
Greg Farnum [Tue, 5 Jul 2022 15:26:03 +0000 (15:26 +0000)]
librados: doc: make header function documentation accurate and less confusing

The time is set in PrimaryLogPG::execute/_cts/finish_ctx, and the size is just
the tracked size of the object.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
3 years agoMerge pull request #46676 from dparmar18/fix_56024
Adam King [Tue, 5 Jul 2022 14:39:50 +0000 (10:39 -0400)]
Merge pull request #46676 from dparmar18/fix_56024

pybind/mgr/cephadm/serve: don't remove ceph.conf which leads to qa failure

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46926 from rkachach/fix_issue_53997
Adam King [Tue, 5 Jul 2022 13:50:32 +0000 (09:50 -0400)]
Merge pull request #46926 from rkachach/fix_issue_53997

doc/cephadm/services: the config section of service specs

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 years agocephadm: improve message when removing osd 46735/head
Guillaume Abrioux [Fri, 17 Jun 2022 14:27:34 +0000 (16:27 +0200)]
cephadm: improve message when removing osd

make it clearer that not passing --zap will leave VG/LV, therefore all
LVM metadata associated with the osd being removed from the Ceph cluster.

Fixes: https://tracker.ceph.com/issues/56092
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #46766 from guits/util-device-refactor
Guillaume Abrioux [Tue, 5 Jul 2022 13:11:54 +0000 (15:11 +0200)]
Merge pull request #46766 from guits/util-device-refactor

ceph-volume: avoid unnecessary subprocess calls

3 years agoMerge pull request #46753 from guits/improve-lvm-list
Guillaume Abrioux [Tue, 5 Jul 2022 12:56:00 +0000 (14:56 +0200)]
Merge pull request #46753 from guits/improve-lvm-list

ceph-volume: decrease number of `pvs` calls in `lvm list`

3 years agocrimson/osd: fix ignoring --no-mon-config 46965/head
Radoslaw Zarzynski [Tue, 5 Jul 2022 12:20:23 +0000 (12:20 +0000)]
crimson/osd: fix ignoring --no-mon-config

Before we were treating the `--no-mon-config` as one of the
`seastar_n_early_args`. However, this was wrong as it truly
belongs to `config_proxy_args` as:

```cpp
int md_config_t::parse_argv(ConfigValues& values,
                            const ConfigTracker& tracker,
                            std::vector<const char*>& args, int level)
{
    // ...
    else if (ceph_argparse_flag(args, i, "--no-mon-config", (char*)NULL)) {
      values.no_mon_config = true;
    }
    // ...
}
```

The net result of this ignoring `--no-mon-config` which was
the reason behind many dead jobs at Sepia.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: log about respecting --no-mon-config
Radoslaw Zarzynski [Tue, 5 Jul 2022 10:56:19 +0000 (10:56 +0000)]
crimson/osd: log about respecting --no-mon-config

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agorgw/dbstore: Lifecycle support 46853/head
Soumya Koduri [Mon, 27 Jun 2022 08:43:19 +0000 (14:13 +0530)]
rgw/dbstore: Lifecycle support

Fixed issues with LC rule processing in dbstore. Also wrt object
transition, for now just the target storage class is updated for that
object in the object table without any other special action taken.

TODO: Once zonegroup, zone and storage-classes can be configured for
dbstore, need to validate target storage-class/placement rules and also
perform any other actions necessary (for eg., moving objects to another
table etc., if in case each storage class needs to have separate object table)

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
3 years agoMerge pull request #46879 from dang/wip-dang-zipper-virtual
Daniel Gryniewicz [Tue, 5 Jul 2022 12:01:59 +0000 (08:01 -0400)]
Merge pull request #46879 from dang/wip-dang-zipper-virtual

RGW Zipper pure virtual base class

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
3 years agoMerge pull request #46157 from nmshelke/fix-55041
Venky Shankar [Tue, 5 Jul 2022 09:09:57 +0000 (14:39 +0530)]
Merge pull request #46157 from nmshelke/fix-55041

mgr/volumes: display in-progress clones for a snapshot

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
3 years agoMerge pull request #46957 from hookak/cephadm-doc
Anthony D'Atri [Tue, 5 Jul 2022 05:23:55 +0000 (22:23 -0700)]
Merge pull request #46957 from hookak/cephadm-doc

doc/cephadm/services: update docs for overriding loki, promtail configuration file

3 years agodoc/cephadm/services: overriding loki, promtail conf file 46957/head
jinhong.kim [Mon, 4 Jul 2022 12:32:42 +0000 (21:32 +0900)]
doc/cephadm/services: overriding loki, promtail conf file

Signed-off-by: jinhong.kim <jinhong.kim0@navercorp.com>
3 years agoMerge pull request #46641 from lxbsz/wip-56010
Venky Shankar [Tue, 5 Jul 2022 02:49:32 +0000 (08:19 +0530)]
Merge pull request #46641 from lxbsz/wip-56010

mds: switch to use projected inode instead

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Luis Henriques <lhenriques@suse.de>
3 years agoMerge pull request #46746 from vshankar/wip-fs-snaps-timeout
Venky Shankar [Mon, 4 Jul 2022 15:11:51 +0000 (20:41 +0530)]
Merge pull request #46746 from vshankar/wip-fs-snaps-timeout

qa: increase fs/snaps workunit timeout to 6h

Reviewed-by: Xiubo Li <xiubli@redhat.com>
3 years agoMerge pull request #45143 from lxbsz/wip-54384
Venky Shankar [Mon, 4 Jul 2022 15:10:24 +0000 (20:40 +0530)]
Merge pull request #45143 from lxbsz/wip-54384

mds: skip fetching the dirfrags if not a directory

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
3 years agodoc/cephfs/capabilities: Fixed some typos 46951/head
dparmar18 [Mon, 4 Jul 2022 09:38:01 +0000 (15:08 +0530)]
doc/cephfs/capabilities: Fixed some typos

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
3 years agoMerge pull request #46839 from maydaycc/wip-56387
Ilya Dryomov [Mon, 4 Jul 2022 09:50:33 +0000 (11:50 +0200)]
Merge pull request #46839 from maydaycc/wip-56387

rbd-fuse: librados will filter out -r option from command-line

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agodoc/cephadm/services: the config section of service specs 46926/head
Redouane Kachach [Fri, 1 Jul 2022 12:11:06 +0000 (14:11 +0200)]
doc/cephadm/services: the config section of service specs
Fixes: https://tracker.ceph.com/issues/53997
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoqa: display in-progress clones for a snapshot 46157/head
Nikhilkumar Shelke [Thu, 5 May 2022 07:02:31 +0000 (12:32 +0530)]
qa: display in-progress clones for a snapshot

If any clone is in pending or in-progress state then
show these clones in 'fs subvolume snapshot info'
command output.

Fixes: https://tracker.ceph.com/issues/55041
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
3 years agodocs: display in-progress clones for a snapshot
Nikhilkumar Shelke [Thu, 5 May 2022 08:01:24 +0000 (13:31 +0530)]
docs: display in-progress clones for a snapshot

If any clone is in pending or in-progress state then
show these clones in 'fs subvolume snapshot info'
command output. This field only exists if clones are
in pending or in progress state.

Fixes: https://tracker.ceph.com/issues/55041
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
3 years agomgr/volumes: display in-progress clones for a snapshot
Nikhilkumar Shelke [Thu, 5 May 2022 06:56:03 +0000 (12:26 +0530)]
mgr/volumes: display in-progress clones for a snapshot

If any clone is in pending or in-progress state then
show these clones in 'fs subvolume snapshot info'
command output.

Fixes: https://tracker.ceph.com/issues/55041
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
3 years agocrimson/os/seastore: cleanup printing device-id
Yingxin Cheng [Mon, 4 Jul 2022 03:46:44 +0000 (11:46 +0800)]
crimson/os/seastore: cleanup printing device-id

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #46472 from lxbsz/wip-55331
Venky Shankar [Mon, 4 Jul 2022 02:57:54 +0000 (08:27 +0530)]
Merge pull request #46472 from lxbsz/wip-55331

mds: notify the xattr_version to replica MDSes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
3 years agoMerge pull request #46575 from batrick/i51332
Venky Shankar [Mon, 4 Jul 2022 02:55:15 +0000 (08:25 +0530)]
Merge pull request #46575 from batrick/i51332

qa: exercise metadata replication in workloads

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46919 from jsoref/spelling-docs
Anthony D'Atri [Mon, 4 Jul 2022 02:54:55 +0000 (19:54 -0700)]
Merge pull request #46919 from jsoref/spelling-docs

doc: Fix many spelling errors

3 years agoMerge pull request #46602 from batrick/i55980
Venky Shankar [Mon, 4 Jul 2022 02:52:50 +0000 (08:22 +0530)]
Merge pull request #46602 from batrick/i55980

mds,qa: some balancer debug messages (<=5) not printed when debug_mds is >=5

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
3 years agodoc: document deploying multiple cephfs-mirror daemons 46868/head
Venky Shankar [Tue, 28 Jun 2022 08:56:11 +0000 (14:26 +0530)]
doc: document deploying multiple cephfs-mirror daemons

Signed-off-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46770 from rzarzynski/wip-crimson-setallochint
Yingxin [Mon, 4 Jul 2022 01:24:15 +0000 (09:24 +0800)]
Merge pull request #46770 from rzarzynski/wip-crimson-setallochint

crimson: bring alloc hints to OpsExecuter, ignore them in SeaStore

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
3 years agoMerge pull request #46929 from rzarzynski/wip-crimson-ftbfs-segment_cleaner
Yingxin [Mon, 4 Jul 2022 01:15:00 +0000 (09:15 +0800)]
Merge pull request #46929 from rzarzynski/wip-crimson-ftbfs-segment_cleaner

crimson/tools: fix FTBFS due to seastore/segment_cleaner.h

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #46087 from rhcs-dashboard/update-centralized-logging-docs
Anthony D'Atri [Sun, 3 Jul 2022 23:32:59 +0000 (16:32 -0700)]
Merge pull request #46087 from rhcs-dashboard/update-centralized-logging-docs

doc: update docs for centralized logging

3 years agoMerge pull request #46942 from Schweinepriester/patch-1
Anthony D'Atri [Sun, 3 Jul 2022 23:19:11 +0000 (16:19 -0700)]
Merge pull request #46942 from Schweinepriester/patch-1

README.md: HTTP => HTTPS

3 years agoREADME.md: HTTP => HTTPS 46942/head
Kai [Sun, 3 Jul 2022 19:36:27 +0000 (21:36 +0200)]
README.md: HTTP => HTTPS

Switching the link http://ceph.com/ from HTTP to HTTPS, so https://ceph.com/, to skip the redirect when opening it.
(http://ceph.com/ is being redirected to https://ceph.com/)

Signed-off-by: Kai Hollberg <kai.hollberg@googlemail.com>
3 years agodoc: Fix many spelling errors 46919/head
Josh Soref [Sun, 26 Jun 2022 03:09:51 +0000 (23:09 -0400)]
doc: Fix many spelling errors

* administrators
* allocated
* allowed
* approximate
* authenticate
* availability
* average
* behavior
* binaries
* bootstrap
* bootstrapping
* capacity
* cephadm
* clients
* combining
* command
* committed
* comparison
* compiled
* consequences
* continues
* convenience
* cookie
* crypto
* dashboard
* deduplication
* defaults
* delivered
* deployment
* describe
* directory
* documentation
* dynamic
* elimination
* entries
* expectancy
* explicit
* explicitly
* exporter
* github
* hard
* healthcheck
* heartbeat
* heavily
* http
* indices
* infrastructure
* inherit
* layout
* lexically
* likelihood
* logarithmic
* manually
* metadata
* minimization
* minimize
* object
* of
* operation
* opportunities
* overwrite
* prioritized
* recipe
* records
* requirements
* restructured
* running
* scalability
* second
* select
* significant
* specify
* subscription
* supported
* synonym
* throttle
* unpinning
* upgraded
* value
* version
* which
* with

Plus some line wrapping and additional edits...

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
3 years agoMerge pull request #42095 from thotz/rgwvaultdocupdate
Anthony D'Atri [Sun, 3 Jul 2022 03:04:12 +0000 (20:04 -0700)]
Merge pull request #42095 from thotz/rgwvaultdocupdate

doc/radosgw/vault: update the vault documentation

3 years agoMerge pull request #46938 from zdover23/wip-doc-2022-07-03-dev-guide-irc-registration...
zdover23 [Sat, 2 Jul 2022 17:40:08 +0000 (03:40 +1000)]
Merge pull request #46938 from zdover23/wip-doc-2022-07-03-dev-guide-irc-registration-instructions-2

doc/dev: add IRC registration instructions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/dev: add IRC registration instructions 46938/head
Zac Dover [Sat, 2 Jul 2022 15:47:02 +0000 (01:47 +1000)]
doc/dev: add IRC registration instructions

This PR adds to the Developer Guide a link to the OFTC's IRC nick
registration instructions.

3 years agoMerge pull request #46906 from zdover23/wip-doc-2022-06-30-devguide-basic-workflow...
zdover23 [Sat, 2 Jul 2022 15:19:45 +0000 (01:19 +1000)]
Merge pull request #46906 from zdover23/wip-doc-2022-06-30-devguide-basic-workflow-the-the-fix

doc/dev: s/the the/the/ in basic-workflow.rst

3 years agoMerge pull request #43085 from thotz/updategocephadminops
Anthony D'Atri [Sat, 2 Jul 2022 07:52:19 +0000 (00:52 -0700)]
Merge pull request #43085 from thotz/updategocephadminops

doc/radosgw/adminops: add latest go ceph library to adminops doc

3 years agodoc/radosgw: Resolving conflicts with #43128 43085/head
Anthony D'Atri [Fri, 1 Jul 2022 20:28:04 +0000 (13:28 -0700)]
doc/radosgw: Resolving conflicts with #43128

Signed-off-by: Anthony D'Atri <anthony,.datri@gmail.com>
3 years agoqa/tests: Typos and spacing 46932/head
David Galloway [Fri, 1 Jul 2022 20:40:20 +0000 (16:40 -0400)]
qa/tests: Typos and spacing

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge branch 'main' into updategocephadminops
Anthony D'Atri [Fri, 1 Jul 2022 20:26:08 +0000 (13:26 -0700)]
Merge branch 'main' into updategocephadminops

3 years agoMerge pull request #43128 from lbausch/adminops_php_binding_libraries
Anthony D'Atri [Fri, 1 Jul 2022 20:24:24 +0000 (13:24 -0700)]
Merge pull request #43128 from lbausch/adminops_php_binding_libraries

doc/radosgw/adminops: add PHP binding libraries

3 years agoMerge pull request #46784 from adk3798/backport-cephadm-label
Adam King [Fri, 1 Jul 2022 20:05:49 +0000 (16:05 -0400)]
Merge pull request #46784 from adk3798/backport-cephadm-label

script/ceph-backport.sh: add label entries for cephadm

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #46892 from rkachach/fix_issue_56415
Adam King [Fri, 1 Jul 2022 20:02:48 +0000 (16:02 -0400)]
Merge pull request #46892 from rkachach/fix_issue_56415

mgr/cephadm: fixing scheduler consistent hashing

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>