]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agodoc/dev: alphabetize EC glossary 48684/head
Zac Dover [Tue, 1 Nov 2022 00:47:52 +0000 (10:47 +1000)]
doc/dev: alphabetize EC glossary

Alphabetize the glossary in
doc/dev/osd_internals/erasure_coding.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48673 from idryomov/wip-49947
Ilya Dryomov [Mon, 31 Oct 2022 18:33:30 +0000 (19:33 +0100)]
Merge pull request #48673 from idryomov/wip-49947

doc: note architecture availability for PMEM mode of PWL cache

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
3 years agoMerge pull request #48548 from dparmar18/update_debug_script
Matan [Mon, 31 Oct 2022 12:57:08 +0000 (14:57 +0200)]
Merge pull request #48548 from dparmar18/update_debug_script

script/ceph-debug-docker.sh: change default branch to main

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 years agoMerge pull request #48674 from zdover23/doc-2022-10-31-dev-osd-internals-ec-glossary
zdover23 [Mon, 31 Oct 2022 03:43:46 +0000 (13:43 +1000)]
Merge pull request #48674 from zdover23/doc-2022-10-31-dev-osd-internals-ec-glossary

doc/dev: improve EC glossary

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/dev: improve EC glossary 48674/head
Zac Dover [Mon, 31 Oct 2022 03:17:45 +0000 (13:17 +1000)]
doc/dev: improve EC glossary

Improve the clarity and syntax of the text in
doc/dev/osd_internals/erasure_coding.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agodoc: note architecture availability for PMEM mode of PWL cache 48673/head
Ilya Dryomov [Sun, 30 Oct 2022 17:06:57 +0000 (18:06 +0100)]
doc: note architecture availability for PMEM mode of PWL cache

Fixes: https://tracker.ceph.com/issues/49947
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #48667 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare...
zdover23 [Sun, 30 Oct 2022 06:07:38 +0000 (16:07 +1000)]
Merge pull request #48667 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare-colemitchell-notes

doc/ceph-volume: refine Filestore docs

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/ceph-volume: refine Filestore docs 48667/head
Zac Dover [Sun, 30 Oct 2022 05:27:24 +0000 (15:27 +1000)]
doc/ceph-volume: refine Filestore docs

Add Cole Mitchell's improvements to the filestore section.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48665 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare...
zdover23 [Sun, 30 Oct 2022 00:49:31 +0000 (10:49 +1000)]
Merge pull request #48665 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare-datri-notes

doc/ceph-volume: improve prepare.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/ceph-volume: improve prepare.rst 48665/head
Zac Dover [Sat, 29 Oct 2022 22:46:26 +0000 (08:46 +1000)]
doc/ceph-volume: improve prepare.rst

Incorporate Anthony D'Atri's suggestions from
https://github.com/ceph/ceph/pull/48651.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48090 from joscollin/wip-F55197-cephfs-top-scroll
Jos Collin [Sat, 29 Oct 2022 02:09:55 +0000 (07:39 +0530)]
Merge pull request #48090 from joscollin/wip-F55197-cephfs-top-scroll

cephfs-top: make cephfs-top display scrollable

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
3 years agoMerge pull request #48662 from ceph/wip-update-stale-bot
Laura Flores [Fri, 28 Oct 2022 20:02:07 +0000 (15:02 -0500)]
Merge pull request #48662 from ceph/wip-update-stale-bot

.github/workflows: update `days-before-pr-close`

3 years ago.github/workflows: update `days-before-pr-close` 48662/head
Laura Flores [Fri, 28 Oct 2022 18:24:33 +0000 (13:24 -0500)]
.github/workflows: update `days-before-pr-close`

Currently, the stale bot closes PRs 90 days after they are marked stale since it counts "marking a PR stale" as activity.

We really want the PRs to close after a total of 90 days, or 30 days after they are marked stale. Changing `days-before-prs-close` to 30 will fix this.

Signed-off-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #48658 from zdover23/wip-doc-2022-10-28-radosgw-multisite-prompts
zdover23 [Fri, 28 Oct 2022 13:54:31 +0000 (23:54 +1000)]
Merge pull request #48658 from zdover23/wip-doc-2022-10-28-radosgw-multisite-prompts

doc/radosgw: add prompts to multisite.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/radosgw: add prompts to multisite.rst 48658/head
Zac Dover [Fri, 28 Oct 2022 13:37:16 +0000 (23:37 +1000)]
doc/radosgw: add prompts to multisite.rst

Add unselectable prompts to multisite.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #47582 from snosratiershad/docs/correct-add-system-user-to-the...
zdover23 [Fri, 28 Oct 2022 11:14:03 +0000 (21:14 +1000)]
Merge pull request #47582 from snosratiershad/docs/correct-add-system-user-to-the-master-zone-command

docs: correct add system user to the master zone command

Reviewed-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48649 from ybwang0211/REST-spell
zdover23 [Fri, 28 Oct 2022 10:49:52 +0000 (20:49 +1000)]
Merge pull request #48649 from ybwang0211/REST-spell

doc: Change 'ReST' to 'REST' in doc/radosgw/layout.rst

Reviewed-by: Zac Dover <zac.dover@gmail.com>
3 years agodoc: Change 'ReST' to 'REST' in doc/radosgw/layout.rst 48649/head
wangyingbin [Fri, 28 Oct 2022 08:23:44 +0000 (16:23 +0800)]
doc: Change 'ReST' to 'REST' in doc/radosgw/layout.rst

In doc/radosgw/layout.rst, 'ReST' is not spelled properly, so we change it to 'REST'.

Signed-off-by: wangyingbin <wangyingbin@inspur.com>
3 years agoMerge pull request #48644 from zdover23/wip-doc-2022-10-28-ceph-volume-lvm-prepare...
zdover23 [Fri, 28 Oct 2022 02:56:54 +0000 (12:56 +1000)]
Merge pull request #48644 from zdover23/wip-doc-2022-10-28-ceph-volume-lvm-prepare-datri-notes

doc/ceph-volume: add A. D'Atri's suggestions

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/ceph-volume: add A. D'Atri's suggestions 48644/head
Zac Dover [Fri, 28 Oct 2022 02:42:00 +0000 (12:42 +1000)]
doc/ceph-volume: add A. D'Atri's suggestions

Add Anthony D'Atri's notes on doc/ceph-volume/lvm/prepare.rst as
expressed in https://github.com/ceph/ceph/pull/48634.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48629 from SUSE/wip-fix-neorados-fmt9
Tim Serong [Thu, 27 Oct 2022 23:05:49 +0000 (10:05 +1100)]
Merge pull request #48629 from SUSE/wip-fix-neorados-fmt9

neorados: compile with fmt v9

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #48622 from vumrao/wip-vikhyat-governance
Vikhyat Umrao [Thu, 27 Oct 2022 22:19:38 +0000 (15:19 -0700)]
Merge pull request #48622 from vumrao/wip-vikhyat-governance

doc/governance: add CLT member Vikhyat Umrao

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #47874 from petrutlucian94/dokany_v2
Venky Shankar [Thu, 27 Oct 2022 12:48:36 +0000 (18:18 +0530)]
Merge pull request #47874 from petrutlucian94/dokany_v2

dokan: switch to Dokany v2

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #48624 from zdover23/wip-doc-2022-10-26-ceph-volume-lvm-prepare
Guillaume Abrioux [Thu, 27 Oct 2022 07:12:19 +0000 (09:12 +0200)]
Merge pull request #48624 from zdover23/wip-doc-2022-10-26-ceph-volume-lvm-prepare

doc/ceph-volume: refine "prepare" top matter

3 years agoneorados: compile with fmt v9 48629/head
Tim Serong [Wed, 26 Oct 2022 09:42:53 +0000 (20:42 +1100)]
neorados: compile with fmt v9

neorados FTBFS on openSUSE Tumbleweed which includes fmt version 9.
On the assumption it's still desirable to support building with older
versions, I've put "#if FMT_VERSION" guards around the additions here.

Signed-off-by: Tim Serong <tserong@suse.com>
3 years agodoc/ceph-volume: refine "prepare" top matter 48624/head
Zac Dover [Wed, 26 Oct 2022 01:11:30 +0000 (11:11 +1000)]
doc/ceph-volume: refine "prepare" top matter

This commit refines the top matter in the
doc/ceph-volume/lvm/prepare.rst file.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48633 from adamemerson/wip-scopeguard-nodiscard
Adam C. Emerson [Wed, 26 Oct 2022 19:40:38 +0000 (15:40 -0400)]
Merge pull request #48633 from adamemerson/wip-scopeguard-nodiscard

include: Add [[nodiscard]] to make_scope_guard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #48586 from ivancich/wip-document-sal-readop-read
J. Eric Ivancich [Wed, 26 Oct 2022 17:45:19 +0000 (13:45 -0400)]
Merge pull request #48586 from ivancich/wip-document-sal-readop-read

rgw: document convention used in ReadOp::read and ReadOp::iterate

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoinclude: Add [[nodiscard]] to make_scope_guard 48633/head
Adam C. Emerson [Wed, 26 Oct 2022 17:22:08 +0000 (13:22 -0400)]
include: Add [[nodiscard]] to make_scope_guard

To prevent a bug where an unassigned scope guard runs right away.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoMerge pull request #48619 from ceph/wip-tracker-57883
Laura Flores [Wed, 26 Oct 2022 14:43:09 +0000 (09:43 -0500)]
Merge pull request #48619 from ceph/wip-tracker-57883

qa/standalone/erasure-code: give osdmap 5 seconds to refresh

3 years agoMerge pull request #48557 from phlogistonjohn/jjm-fix-cephadm-test-py36
Adam King [Wed, 26 Oct 2022 13:47:00 +0000 (09:47 -0400)]
Merge pull request #48557 from phlogistonjohn/jjm-fix-cephadm-test-py36

cephadm: fix running cephadm tox test suite on python 3.6

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #48620 from mgfritch/cephadm-gitignore
Adam King [Wed, 26 Oct 2022 12:40:57 +0000 (08:40 -0400)]
Merge pull request #48620 from mgfritch/cephadm-gitignore

cephadm: add .gitignore for tox related files

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 years agoMerge pull request #48627 from zdover23/wip-doc-2022-10-26-ceph-volume-lvm-prepare-3
zdover23 [Wed, 26 Oct 2022 10:23:13 +0000 (20:23 +1000)]
Merge pull request #48627 from zdover23/wip-doc-2022-10-26-ceph-volume-lvm-prepare-3

doc/ceph-volume: refine "filestore" section

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #48625 from zdover23/wip-doc-2022-10-26-ceph-volume-lvm-prepare-2
zdover23 [Wed, 26 Oct 2022 10:16:08 +0000 (20:16 +1000)]
Merge pull request #48625 from zdover23/wip-doc-2022-10-26-ceph-volume-lvm-prepare-2

doc/ceph-volume: refine "bluestore" section

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agoMerge PR #43284 into main
Venky Shankar [Wed, 26 Oct 2022 05:58:25 +0000 (11:28 +0530)]
Merge PR #43284 into main

* refs/pull/43284/head:
doc: describe bal_rank_mask configuration
qa/cephfs: add bal_rank_mask test cases
mds: add bal_rank_mask option for ceph fs set

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agodoc/ceph-volume: refine "filestore" section 48627/head
Zac Dover [Wed, 26 Oct 2022 03:14:00 +0000 (13:14 +1000)]
doc/ceph-volume: refine "filestore" section

This commit refines the "filestore" section in the doc/ceph-volume/lvm/prepare.rst file.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agocephfs-top: Select Filesystem Screen fixes for no FS 48090/head
Jos Collin [Mon, 19 Sep 2022 12:35:43 +0000 (18:05 +0530)]
cephfs-top: Select Filesystem Screen fixes for no FS

* drop the blank FS Menu when there is no FS
* cleanup display_fs_menu() code

Signed-off-by: Jos Collin <jcollin@redhat.com>
3 years agodoc: Update cephfs-top.png
Jos Collin [Wed, 19 Oct 2022 11:07:53 +0000 (16:37 +0530)]
doc: Update cephfs-top.png

Fixes: https://tracker.ceph.com/issues/55197
Signed-off-by: Jos Collin <jcollin@redhat.com>
3 years agocephfs-top: make cephfs-top display scrollable
Jos Collin [Thu, 8 Sep 2022 09:51:24 +0000 (15:21 +0530)]
cephfs-top: make cephfs-top display scrollable

Fixes: https://tracker.ceph.com/issues/55197
Signed-off-by: Jos Collin <jcollin@redhat.com>
3 years agodoc/ceph-volume: refine "bluestore" section 48625/head
Zac Dover [Wed, 26 Oct 2022 01:24:25 +0000 (11:24 +1000)]
doc/ceph-volume: refine "bluestore" section

This commit refines the "bluestore" section in the
doc/ceph-volume/lvm/prepare.rst file.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agodoc/governance: add CLT member Vikhyat Umrao 48622/head
Vikhyat Umrao [Wed, 26 Oct 2022 00:02:11 +0000 (17:02 -0700)]
doc/governance: add CLT member Vikhyat Umrao

Signed-off-by: Vikhyat Umrao <vikhyat@redhat.com>
3 years agocephadm: add .gitignore for tox related files 48620/head
Michael Fritch [Tue, 25 Oct 2022 17:02:54 +0000 (11:02 -0600)]
cephadm: add .gitignore for tox related files

ignore files created by a run of `tox -e coverage`

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoqa/standalone/erasure-code: give osdmap 5 seconds to refresh 48619/head
Laura Flores [Tue, 25 Oct 2022 17:03:24 +0000 (17:03 +0000)]
qa/standalone/erasure-code: give osdmap 5 seconds to refresh

Fixes: https://tracker.ceph.com/issues/57883
Signed-off-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #40363 from orozery/rbd-clone-encryption
Ilya Dryomov [Tue, 25 Oct 2022 16:16:33 +0000 (18:16 +0200)]
Merge pull request #40363 from orozery/rbd-clone-encryption

librbd: add encryption format support for clones (part 1/2)

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agocephadm: fix running test suite on python3.6 48557/head
John Mulligan [Wed, 12 Oct 2022 18:06:40 +0000 (14:06 -0400)]
cephadm: fix running test suite on python3.6

While a new version of pyfakefs is available, version 5 is not available
for python 3.6. In order to run the test suite on centos 8 we will
continue to work with pyfakefs version 4.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agocephadm: fix base class behavior on python3.6
John Mulligan [Wed, 12 Oct 2022 18:15:59 +0000 (14:15 -0400)]
cephadm: fix base class behavior on python3.6

This fixes the cephadm test files when running tox/pytest on python3.6
(centos/rhel 8).
Long story short, combining classmethod and property on py3.6 behaves
differently from py3.7 and up. Since the classmethod is actually
unnecessary for the base class to behave as it does, we drop that
decorator.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agoMerge pull request #48547 from SUSE/wip-fix-57893
Tim Serong [Tue, 25 Oct 2022 02:57:44 +0000 (13:57 +1100)]
Merge pull request #48547 from SUSE/wip-fix-57893

make-dist: don't set Release tag in ceph.spec for SUSE distros

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #48610 from zdover23/wip-doc-2022-10-25-cephadm-ssh-capitalization
zdover23 [Tue, 25 Oct 2022 01:54:04 +0000 (11:54 +1000)]
Merge pull request #48610 from zdover23/wip-doc-2022-10-25-cephadm-ssh-capitalization

doc/cephadm: s/ssh/SSH/ in doc/cephadm (complete)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/cephadm: s/ssh/SSH/ in doc/cephadm (complete) 48610/head
Zac Dover [Mon, 24 Oct 2022 23:09:11 +0000 (09:09 +1000)]
doc/cephadm: s/ssh/SSH/ in doc/cephadm (complete)

This PR alters "ssh" to "SSH" in the text (that is, not in
commands) every location in the doc/cephadm/ directory where
"ssh" should be "SSH".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agomake-dist: don't set Release tag in ceph.spec for SUSE distros 48547/head
Nathan Cutler [Mon, 29 Jan 2018 12:38:08 +0000 (13:38 +0100)]
make-dist: don't set Release tag in ceph.spec for SUSE distros

SUSE's Open Build Service overwrites the Release tag with checkin
and build counters, so we can't use it to record the number of
commits since the last tag, and the last commit hash.  This commit
appends that extra information to the Version tag instead for
SUSE builds.

Fixes: https://tracker.ceph.com/issues/57893
Signed-off-by: Tim Serong <tserong@suse.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agoMerge pull request #46188 from Zhiwei-Dai/wip-rgw-crypto-stack-on-compress
Casey Bodley [Mon, 24 Oct 2022 15:52:26 +0000 (11:52 -0400)]
Merge pull request #46188 from Zhiwei-Dai/wip-rgw-crypto-stack-on-compress

rgw: support full object encryption stack on compression

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #48588 from tchaikov/wip-57834
Kefu Chai [Mon, 24 Oct 2022 13:36:57 +0000 (21:36 +0800)]
Merge pull request #48588 from tchaikov/wip-57834

qa/tasks/vstart_runner: do not fail if stop.sh fails

Reviewed-by: Tim Serong <tserong@suse.com>
3 years agoMerge pull request #48345 from Matan-B/wip-matanb-c-load-obc
Matan [Mon, 24 Oct 2022 10:22:05 +0000 (13:22 +0300)]
Merge pull request #48345 from Matan-B/wip-matanb-c-load-obc

crimson/osd: Generalize loading obc for head/clone

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agoMerge pull request #48605 from zdover23/wip-doc-2022-10-24-cephadm-front-matter-impro...
zdover23 [Mon, 24 Oct 2022 03:59:58 +0000 (13:59 +1000)]
Merge pull request #48605 from zdover23/wip-doc-2022-10-24-cephadm-front-matter-improvement

doc/cephadm: improve front matter

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/cephadm: improve front matter 48605/head
Zac Dover [Mon, 24 Oct 2022 03:48:47 +0000 (13:48 +1000)]
doc/cephadm: improve front matter

- I fixed a sentence that was missing a verb.
- I linked to the Ceph-specific Rook instructions.
- I removed the word "GitHub", because after adding the
  Rook instructions it made the sentence false.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48576 from cyx1231st/wip-crimson-msgr-cleanup-2
Yingxin [Mon, 24 Oct 2022 01:17:50 +0000 (09:17 +0800)]
Merge pull request #48576 from cyx1231st/wip-crimson-msgr-cleanup-2

crimson/net: fixes and cleanups

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48600 from zdover23/wip-doc-2022-10-24-cephadm-host-management...
zdover23 [Sun, 23 Oct 2022 22:41:19 +0000 (08:41 +1000)]
Merge pull request #48600 from zdover23/wip-doc-2022-10-24-cephadm-host-management-colon-cleaning

doc/cephadm: clean colons in host-management.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #48599 from zdover23/wip-doc-2022-10-24-cephadm-troubleshooting...
zdover23 [Sun, 23 Oct 2022 22:29:46 +0000 (08:29 +1000)]
Merge pull request #48599 from zdover23/wip-doc-2022-10-24-cephadm-troubleshooting-ssh-capitalization

doc/cephadm: s/ssh/SSH/ in troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/cephadm: clean colons in host-management.rst 48600/head
Zac Dover [Sun, 23 Oct 2022 21:14:32 +0000 (07:14 +1000)]
doc/cephadm: clean colons in host-management.rst

Two lines in host-management.rst ended with both colons and
full stops (periods), causing a kind of punctuational turf
war. This commit removes the full stops.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agodoc/cephadm: s/ssh/SSH/ in troubleshooting.rst 48599/head
Zac Dover [Sun, 23 Oct 2022 21:09:51 +0000 (07:09 +1000)]
doc/cephadm: s/ssh/SSH/ in troubleshooting.rst

Two places in the troubleshooting.rst file had "ssh" in
the text when it should have been "SSH".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48593 from zdover23/wip-doc-2022-10-23-cephadm-front-matter
zdover23 [Sun, 23 Oct 2022 02:18:00 +0000 (12:18 +1000)]
Merge pull request #48593 from zdover23/wip-doc-2022-10-23-cephadm-front-matter

doc/cephadm: update install.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/cephadm: update install.rst 48593/head
Zac Dover [Sun, 23 Oct 2022 01:09:18 +0000 (11:09 +1000)]
doc/cephadm: update install.rst

This commit addresses https://github.com/ceph/ceph/pull/43250,
which has remained unmerged for thirteen months. The issues
raised in that PR are addressed here.

This commit contributes to the simplification of the procedure
that explains how to install cephadm. More remains to be done
on this page, but the old PR had to be dealt with first.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48584 from tchaikov/crimson-net-formatter
Kefu Chai [Sat, 22 Oct 2022 00:27:00 +0000 (08:27 +0800)]
Merge pull request #48584 from tchaikov/crimson-net-formatter

crimson/net: define fmt::formatter for write_state_t

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #48587 from zdover23/wip-doc-2022-10-22-cephadm-host-management...
zdover23 [Fri, 21 Oct 2022 18:04:56 +0000 (04:04 +1000)]
Merge pull request #48587 from zdover23/wip-doc-2022-10-22-cephadm-host-management-prompts

doc/cephadm: add prompts to host-management.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agoqa/tasks/vstart_runner: do not fail if stop.sh fails 48588/head
Kefu Chai [Fri, 21 Oct 2022 17:20:16 +0000 (01:20 +0800)]
qa/tasks/vstart_runner: do not fail if stop.sh fails

stop.sh might fail, but let's keep moving on.

See-also: https://tracker.ceph.com/issues/57834
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agostop.sh: call cephadm rm-cluster only if FSID is not empty
Kefu Chai [Fri, 21 Oct 2022 17:11:31 +0000 (01:11 +0800)]
stop.sh: call cephadm rm-cluster only if FSID is not empty

there are chances that there is no cluster running at that moment,
so we could have failure messages like

[errno 2] RADOS object not found (error connecting to the cluster)
usage: cephadm rm-cluster [-h] --fsid FSID [--force] [--keep-logs]
                          [--zap-osds]
cephadm rm-cluster: error: argument --fsid: expected one argument

in that case, better off not failing this bash function, as this
is not a fatal failure.

See-also: https://tracker.ceph.com/issues/57834
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #48555 from phlogistonjohn/jjm-unify-test-alertmanager-config
Adam King [Fri, 21 Oct 2022 16:55:27 +0000 (12:55 -0400)]
Merge pull request #48555 from phlogistonjohn/jjm-unify-test-alertmanager-config

mgr/cephadm: consolidate test_alertmanager_config_* tests into one

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agodoc/cephadm: add prompts to host-management.rst 48587/head
Zac Dover [Fri, 21 Oct 2022 16:42:33 +0000 (02:42 +1000)]
doc/cephadm: add prompts to host-management.rst

This PR adds unselectable prompts to host-management.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agocrimson/net: define fmt::formatter for write_state_t 48584/head
Kefu Chai [Fri, 21 Oct 2022 16:12:19 +0000 (00:12 +0800)]
crimson/net: define fmt::formatter for write_state_t

for better readability

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agorgw: document convention used in ReadOp::read and ReadOp::iterate 48586/head
J. Eric Ivancich [Thu, 20 Oct 2022 19:08:53 +0000 (15:08 -0400)]
rgw: document convention used in ReadOp::read and ReadOp::iterate

Both of these functions defined at the SAL layer take an offset and an
end offset. It's important to note that the end offset is inclusive
since a common, modern convention is for the end offset to be
exclusive.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agoMerge pull request #48478 from myoungwon/wip-rbm-move-mkfs-cleanup
Yingxin [Fri, 21 Oct 2022 10:01:15 +0000 (18:01 +0800)]
Merge pull request #48478 from myoungwon/wip-rbm-move-mkfs-cleanup

crimson/os/seastore/rbm: move mkfs to RBMDevice and use device_config_t

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: convert Connection to an interface class 48576/head
Yingxin Cheng [Thu, 20 Oct 2022 09:04:35 +0000 (17:04 +0800)]
crimson/net: convert Connection to an interface class

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: convert Messenger to an interface class
Yingxin Cheng [Thu, 20 Oct 2022 07:51:42 +0000 (15:51 +0800)]
crimson/net: convert Messenger to an interface class

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: no futurized SocketMessenger::get_global_seq()
Yingxin Cheng [Thu, 20 Oct 2022 07:03:09 +0000 (15:03 +0800)]
crimson/net: no futurized SocketMessenger::get_global_seq()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: no futurized Messenger::set_myaddrs()
Yingxin Cheng [Thu, 20 Oct 2022 07:02:12 +0000 (15:02 +0800)]
crimson/net: no futurized Messenger::set_myaddrs()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: add warn log if server got mismatched lossy policy from client
Yingxin Cheng [Thu, 20 Oct 2022 02:57:10 +0000 (10:57 +0800)]
crimson/net: add warn log if server got mismatched lossy policy from client

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: set global_seq when get from Messenger
Yingxin Cheng [Thu, 20 Oct 2022 02:56:16 +0000 (10:56 +0800)]
crimson/net: set global_seq when get from Messenger

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: move features from Connection to SocketConnection
Yingxin Cheng [Thu, 20 Oct 2022 01:57:23 +0000 (09:57 +0800)]
crimson/net: move features from Connection to SocketConnection

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: drop the unnecessary connection_features member
Yingxin Cheng [Thu, 20 Oct 2022 01:53:44 +0000 (09:53 +0800)]
crimson/net: drop the unnecessary connection_features member

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: fix peer_supported_features usages
Yingxin Cheng [Thu, 20 Oct 2022 01:38:49 +0000 (09:38 +0800)]
crimson/net: fix peer_supported_features usages

Also see commit "msg/async/ProtocolV2: store supported features instead
of required"

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #48445 from rzarzynski/wip-crimson-fix-obcload-errs
Radoslaw Zarzynski [Fri, 21 Oct 2022 07:35:56 +0000 (09:35 +0200)]
Merge pull request #48445 from rzarzynski/wip-crimson-fix-obcload-errs

crimson/osd: send proper reply on obc load failure

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48577 from zdover23/wip-doc-2022-10-21-radosgw-notifications...
zdover23 [Fri, 21 Oct 2022 03:47:56 +0000 (13:47 +1000)]
Merge pull request #48577 from zdover23/wip-doc-2022-10-21-radosgw-notifications-and-event

doc/radosgw: refine "notifications" and "events"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/radosgw: refine "notifications" and "events" 48577/head
Zac Dover [Fri, 21 Oct 2022 03:07:16 +0000 (13:07 +1000)]
doc/radosgw: refine "notifications" and "events"

This commit refines the English in the "Notifications"
and "Events" sections of the notifications.rst page
(the "Bucket Notifications" page).

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agocrimson/os/seastore/cbj: handle remaing space (from written_to to the end of the... 48478/head
myoungwon oh [Fri, 21 Oct 2022 01:56:58 +0000 (10:56 +0900)]
crimson/os/seastore/cbj: handle remaing space (from written_to to the end of the journal) is less than the requested size

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agocrimson/os/seastore/rbm: move test interfaces to the end of the class
myoungwon oh [Thu, 20 Oct 2022 05:21:49 +0000 (14:21 +0900)]
crimson/os/seastore/rbm: move test interfaces to the end of the class

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agocrimson/os/seastore/cbj: rename size-related interfaces with grouping
myoungwon oh [Thu, 20 Oct 2022 05:16:51 +0000 (14:16 +0900)]
crimson/os/seastore/cbj: rename size-related interfaces with grouping

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoMerge pull request #48477 from rzarzynski/wip-crimson-rollback-delete-head
Samuel Just [Fri, 21 Oct 2022 01:27:55 +0000 (18:27 -0700)]
Merge pull request #48477 from rzarzynski/wip-crimson-rollback-delete-head

crimson/osd: add the delete-head special case of CEPH_OSD_OP_ROLLBACK

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48572 from zdover23/wip-doc-2022-10-21-cephadm-host-management...
zdover23 [Thu, 20 Oct 2022 19:22:53 +0000 (05:22 +1000)]
Merge pull request #48572 from zdover23/wip-doc-2022-10-21-cephadm-host-management-os-tuning-grammar

doc/cephadm: refine "os tuning" in h. management

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/cephadm: refine "os tuning" in h. management 48572/head
Zac Dover [Thu, 20 Oct 2022 18:43:24 +0000 (04:43 +1000)]
doc/cephadm: refine "os tuning" in h. management

This commit refines the English in the "OS Tuning Profiles" section of
the "Host Management" page of the cephadm documentation. This commit is
made separately from but in anticipation of a forthcoming commit that
corrects technical (non-grammatical) errors.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #46089 from myoungwon/wip-dedup-doc
zdover23 [Thu, 20 Oct 2022 15:54:56 +0000 (01:54 +1000)]
Merge pull request #46089 from myoungwon/wip-dedup-doc

doc/dev: add explanation of how to use deduplication

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/osd: add the delete-head special case of CEPH_OSD_OP_ROLLBACK 48477/head
Radoslaw Zarzynski [Thu, 13 Oct 2022 11:54:35 +0000 (11:54 +0000)]
crimson/osd: add the delete-head special case of CEPH_OSD_OP_ROLLBACK

This allows to pass `TestLibRBD.TestIOToSnapshot`:

```
[rzarzynski@o06 build]$ CRIMSON_COMPAT=true RBD_FEATURES=1 bin/ceph_test_librbd --gtest_filter=TestLibRBD.TestIOToSnapshot
seed 3954016
Note: Google Test filter = TestLibRBD.TestIOToSnapshot
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TestLibRBD
[ RUN      ] TestLibRBD.TestIOToSnapshot
using new format!
...
opening testimg@orig
read: 80
write to snapshot returned -30
Read-only file system
num snaps is: 2
expected: 2
snap: orig
snap: written
found orig with size 2097152
found written with size 2097152
num snaps is: 1
expected: 1
snap: orig
found orig with size 2097152
num snaps is: 0
expected: 0
[       OK ] TestLibRBD.TestIOToSnapshot (7510 ms)
[----------] 1 test from TestLibRBD (7510 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (8504 ms total)
[  PASSED  ] 1 test.
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #48246 from liangmingyuanneo/fix-throttle-test
Casey Bodley [Thu, 20 Oct 2022 13:42:35 +0000 (09:42 -0400)]
Merge pull request #48246 from liangmingyuanneo/fix-throttle-test

test/rgw: improve integrity of rgw throttle test

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agocrimson/osd: ClientRequest sends error to client when loading obc fails 48445/head
Radoslaw Zarzynski [Tue, 11 Oct 2022 13:38:30 +0000 (13:38 +0000)]
crimson/osd: ClientRequest sends error to client when loading obc fails

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #48456 from rhcs-dashboard/cypress-video-enable
Nizamudeen A [Thu, 20 Oct 2022 06:07:52 +0000 (11:37 +0530)]
Merge pull request #48456 from rhcs-dashboard/cypress-video-enable

mgr/dashboard: enable cypress video on test fails

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 years agoMerge pull request #48546 from rhcs-dashboard/update-node
Nizamudeen A [Thu, 20 Oct 2022 06:07:07 +0000 (11:37 +0530)]
Merge pull request #48546 from rhcs-dashboard/update-node

cmake: bump node version to 14

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #48505 from zhscn/fix-uaf
Kefu Chai [Thu, 20 Oct 2022 03:20:51 +0000 (11:20 +0800)]
Merge pull request #48505 from zhscn/fix-uaf

crimson/osd: fix use after free error in FuturizedStoreLogReader::read

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/net: drop Protocol::proto_type
Yingxin Cheng [Tue, 18 Oct 2022 08:23:01 +0000 (16:23 +0800)]
crimson/net: drop Protocol::proto_type

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: check SERVER_WAIT state won't send
Yingxin Cheng [Tue, 18 Oct 2022 08:14:01 +0000 (16:14 +0800)]
crimson/net: check SERVER_WAIT state won't send

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/net: check CONNECTING/WAIT/STANDBY states are not reentrant
Yingxin Cheng [Tue, 18 Oct 2022 07:58:33 +0000 (15:58 +0800)]
crimson/net: check CONNECTING/WAIT/STANDBY states are not reentrant

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #48556 from zdover23/wip-doc-2022-10-20-radosgw-notifications...
zdover23 [Wed, 19 Oct 2022 21:51:36 +0000 (07:51 +1000)]
Merge pull request #48556 from zdover23/wip-doc-2022-10-20-radosgw-notifications-bucket-notifications-rest-api

doc/radosgw: refine "bucket notifications"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>