Commit Graph

134652 Commits

Author SHA1 Message Date
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
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
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
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
Yingxin Cheng
77b4ba6fea crimson/net: move features from Connection to SocketConnection
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-21 17:51:29 +08:00
Yingxin Cheng
96290f6639 crimson/net: drop the unnecessary connection_features member
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-21 17:51:29 +08:00
Yingxin Cheng
764aa93448 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>
2022-10-21 17:51:02 +08:00
Radoslaw Zarzynski
3a07ad5f52
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>
2022-10-21 09:35:56 +02:00
zdover23
d3dd5f629d
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>
2022-10-21 13:47:56 +10:00
Zac Dover
b1e589343d 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>
2022-10-21 13:34:34 +10:00
myoungwon oh
683234358c 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>
2022-10-21 11:45:23 +09:00
myoungwon oh
4ca1995fd5 crimson/os/seastore/rbm: move test interfaces to the end of the class
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-10-21 11:45:09 +09:00
myoungwon oh
d0e216668e 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>
2022-10-21 11:44:51 +09:00
Samuel Just
67d89f28e8
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>
2022-10-20 18:27:55 -07:00
zdover23
734e1f22f3
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>
2022-10-21 05:22:53 +10:00
Zac Dover
17b50dc1bf 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>
2022-10-21 05:06:28 +10:00