Commit Graph

134664 Commits

Author SHA1 Message Date
chunmei-liu
543b7d3334 crimson/os: make cyanstore not use proxy
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2023-01-10 21:40:00 -08:00
chunmei-liu
bc5876e3b9 crimson/os: make load_pgs() load pg on proper core
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2023-01-10 21:39:16 -08:00
chunmei-liu
7a58e875a5 crimson/os: support multicores for cyanstore
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-01-10 21:30:51 -08:00
Adam C. Emerson
43121cf488
Merge pull request #48633 from adamemerson/wip-scopeguard-nodiscard
include: Add [[nodiscard]] to make_scope_guard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-10-26 15:40:38 -04:00
J. Eric Ivancich
46e89a9ee0
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>
2022-10-26 13:45:19 -04:00
Adam C. Emerson
f8c14ed8f0 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>
2022-10-26 13:33:44 -04:00
Laura Flores
d1dbfae3b2
Merge pull request #48619 from ceph/wip-tracker-57883
qa/standalone/erasure-code: give osdmap 5 seconds to refresh
2022-10-26 09:43:09 -05:00
Adam King
61bf0cb69a
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>
2022-10-26 09:47:00 -04:00
Adam King
e86bc70f1f
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>
2022-10-26 08:40:57 -04:00
zdover23
533532d2b3
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>
2022-10-26 20:23:13 +10:00
zdover23
0fdaec1bc9
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>
2022-10-26 20:16:08 +10:00
Venky Shankar
82f46b1fdc 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>
2022-10-26 11:28:25 +05:30
Zac Dover
447967ea0d 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>
2022-10-26 15:23:32 +10:00
Zac Dover
31db0c227d 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>
2022-10-26 12:18:11 +10:00
Michael Fritch
22cda67c6e
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>
2022-10-25 11:07:18 -06:00
Laura Flores
c1e6f7c470 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>
2022-10-25 17:03:24 +00:00
Ilya Dryomov
0f93f745c6
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>
2022-10-25 18:16:33 +02:00
John Mulligan
b5218528d6 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>
2022-10-25 10:02:57 -04:00
John Mulligan
7440d7a3c0 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>
2022-10-25 09:51:39 -04:00
Tim Serong
85454b3262
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>
2022-10-25 13:57:44 +11:00
zdover23
b559b1937a
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>
2022-10-25 11:54:04 +10:00
Zac Dover
5c217c1de5 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>
2022-10-25 09:09:11 +10:00
Nathan Cutler
dfc9ef6886 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>
2022-10-25 09:49:50 +11:00
Casey Bodley
5dc16bef2e
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>
2022-10-24 11:52:26 -04:00
Kefu Chai
c58715d74b
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>
2022-10-24 21:36:57 +08:00
Matan
83b15e4b4e
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>
2022-10-24 13:22:05 +03:00
zdover23
386553c804
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>
2022-10-24 13:59:58 +10:00
Zac Dover
608b1bdd42 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>
2022-10-24 13:48:47 +10:00
Yingxin
91374cee5c
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>
2022-10-24 09:17:50 +08:00
zdover23
9b5e25eba7
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>
2022-10-24 08:41:19 +10:00
zdover23
de6a6cc00f
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>
2022-10-24 08:29:46 +10:00
Zac Dover
495182b84e 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>
2022-10-24 07:14:32 +10:00
Zac Dover
384e7093c9 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>
2022-10-24 07:09:51 +10:00
zdover23
98d4185568
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>
2022-10-23 12:18:00 +10:00
Zac Dover
c8f01d3a32 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>
2022-10-23 12:03:59 +10:00
Kefu Chai
ddc8ccb155
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>
2022-10-22 08:27:00 +08:00
zdover23
8892cc0ace
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>
2022-10-22 04:04:56 +10:00
Kefu Chai
9bdf050b92 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>
2022-10-22 01:24:32 +08:00
Kefu Chai
180e4b5322 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>
2022-10-22 01:24:32 +08:00
Adam King
39f9b94557
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>
2022-10-21 12:55:27 -04:00
Zac Dover
0ff9e4b904 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>
2022-10-22 02:42:33 +10:00
Kefu Chai
b2c61113ff crimson/net: define fmt::formatter for write_state_t
for better readability

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-10-22 00:12:20 +08:00
J. Eric Ivancich
a7398e3c95 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>
2022-10-21 11:54:55 -04:00
Yingxin
e428c0d546
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>
2022-10-21 18:01:15 +08:00
Yingxin Cheng
5d38cdf9c1 crimson/net: convert Connection to an interface class
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-21 17:51:29 +08:00
Yingxin Cheng
fc0996546b crimson/net: convert Messenger to an interface class
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-21 17:51:29 +08:00
Yingxin Cheng
d3292a3af5 crimson/net: no futurized SocketMessenger::get_global_seq()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-21 17:51:29 +08:00
Yingxin Cheng
7f953d1737 crimson/net: no futurized Messenger::set_myaddrs()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-21 17:51:29 +08:00
Yingxin Cheng
0aea6d4681 crimson/net: add warn log if server got mismatched lossy policy from client
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-21 17:51:29 +08:00
Yingxin Cheng
207b010400 crimson/net: set global_seq when get from Messenger
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-21 17:51:29 +08:00