Commit Graph

131973 Commits

Author SHA1 Message Date
Redouane Kachach
443f93e95d
doc/cephadm: document the new per-fsid cephadm conf location
Fixes: https://tracker.ceph.com/issues/55357

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2022-06-22 08:25:23 +02:00
Ernesto Puerta
42a0ef838d
Merge pull request #45926 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard-frontend-moment-2.29.3
mgr/dashboard: bump moment from 2.29.1 to 2.29.3 in /src/pybind/mgr/dashboard/frontend

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-06-16 13:19:08 +02:00
zdover23
87e27c89f5
Merge pull request #46705 from zdover23/wip-doc-2022-06-15--master-to-main-dev-guide-merging
doc/dev_guide: s/master/main in merging.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-06-16 11:50:31 +10:00
zdover23
5122cf02a2
Merge pull request #46678 from zdover23/wip-doc-2022-06-14-dev-guide-basic-workflow-master-to-main
doc/dev: s/master/main/ in basic workflow

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-06-16 11:13:05 +10:00
Anthony D'Atri
3770618384
Merge pull request #46632 from anthonyeleven/anthonyeleven/osd-activate-typos
src/ceph-volume/ceph_volume/activate: Improve usage message text
2022-06-15 15:58:13 -07:00
Zac Dover
52da71f0ab doc/dev_guide: s/master/main in merging.rst
This changes the branch name "master" to the branch name
"main" in merging.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-06-16 07:54:31 +10:00
Laura Flores
f108f7de74
Merge pull request #44861 from Matan-B/wip-matanb-doc-gdb
doc/dev: Debuggging with gdb
2022-06-15 16:14:30 -05:00
Zack Cerza
d9e7c1b797
Merge pull request #46582 from ceph/rhel86
qa: Default to RHEL8.6 instead of 8.5
2022-06-15 15:05:55 -06:00
Yuri Weinstein
3c0ff7fb68
Merge pull request #46029 from kamoltat/wip-ksirivad-fix-notify-rank-removed
mon/Elector: notify_rank_removed erase rank from both live_pinging and dead_pinging sets for highest ranked MON

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2022-06-15 13:27:13 -07:00
Yuri Weinstein
1ced6813ab
Merge pull request #45858 from ganeshmaharaj/ganeshma/gcc-12-libcephsqlite
libcephsqlite: ceph-mgr crashes when compiled with gcc12

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2022-06-15 13:26:45 -07:00
Yuri Weinstein
cac4b1256d
Merge pull request #45750 from m-ildefons/boost-b2-jobs
cmake: configure boost build with concurrent jobs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2022-06-15 13:25:56 -07:00
David Galloway
b8c4488c55 qa: Default to RHEL8.6 instead of 8.5
Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-06-15 14:13:35 -04:00
Adam King
beabb1fa11
Merge pull request #46364 from rkachach/fix_issue_54581
mgr/nfs: validate virtual_ip parameter

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2022-06-15 13:47:28 -04:00
Matan Breizman
682b806efa doc/dev: Debuggging with gdb
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-06-15 17:46:37 +00:00
Zack Cerza
33a73e6f2d
Merge pull request #46648 from zmc/cephadm-sysctl-noop 2022-06-15 10:55:14 -06:00
Kefu Chai
8d3ec1f14e
Merge pull request #46664 from tchaikov/wip-doc-gantt
doc: render release with mermaid gantt

Reviewed-by: Laura Flores <lflores@redhat.com>
2022-06-15 22:25:16 +08:00
Kefu Chai
4c90ad9804
Merge pull request #46669 from tchaikov/wip-crimson-deferred
crimson/osd: use seastar::deferred_stop()

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-06-15 22:24:36 +08:00
Venky Shankar
228f0f48e7
Merge pull request #45614 from lxbsz/wip-54653
ceph-fuse: add dedicated snap stag map for each directory

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
2022-06-15 12:33:06 +05:30
Kefu Chai
f481f86aa3 doc: render release with mermaid gantt
for better readability

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-06-15 00:38:22 -04:00
Kefu Chai
d61bd5af65 admin/doc-requirements: bump sphinx to 4.5.0
also pin sphinx-autodoc-typehints to 1.18.3

to address following error:

ERROR: sphinx-autodoc-typehints 1.18.3 has requirement Sphinx>=4.5, but you'll have sphinx 4.4.0 which is incompatible.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-06-15 00:38:22 -04:00
Xiubo Li
7e4424a821 ceph-fuse: add dedicated snap stag map for each directory
This will fix the fino colliding bug, which is caused when the
snapid is later than 0xffff.

From mds 'mds_max_snaps_per_dir' option, we can see that the max
snapshots for each directory is 4_K, and in ceph-fuse we have
around 64_K, which is from 0xffff - 2, stags could be used to make
the fake fuse inode numbers for each directory.

Fixes: https://tracker.ceph.com/issues/54653
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2022-06-15 10:29:38 +08:00
Xiubo Li
a6e83d8dec ceph-fuse: return EINVAL if get invalid fino instead of assert
All the snap ids of the finos returned to libfuse from libcephfs
will be recorded in the map of 'stag_snap_map', and will never be
erased before unmounting. So if libfuse passes invalid fino the
ceph-fuse should return EINVAL errno instead of crash itself.

Fixes: https://tracker.ceph.com/issues/54653
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2022-06-15 10:29:38 +08:00
Xiubo Li
2349083a9d ceph-fuse: reserve stag number 1 for snapdirs
There have two stags will be reserved, 0 for CEPH_NOSNAP and 1 for
CPEH_SNAPDIR.

This will always make sure that for the nonsnap and snapdir inode
numbers to be consistent for all the ceph-fuse mounts.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2022-06-15 10:29:38 +08:00
Xiubo Li
28d17ff81a mds-client: make the fake inos option unchangeable in runtime
If the flags is empty then in option.h in can_update_at_runtime()
it will return true. That means this opetion could be changed in
runtime, which is buggy. Because if this is false, ceph-fuse will
use its own fake inos instead of libcephfs'. If this is changed
during runtime, we will hit inos dosn't exist assert bugs.

Fixes: https://tracker.ceph.com/issues/54653
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2022-06-15 10:29:38 +08:00
Anthony D'Atri
bcc078c8bf
Merge pull request #46629 from anthonyeleven/anthonyeleven/46195_formatting
doc/man/8: Tweak formatting and wording in ceph.rst
2022-06-14 18:03:05 -07:00
Zac Dover
f5cfc22445 doc/dev: s/master/main/ in basic workflow
This PR changes "master" to "main" in the
basic_workflow.rst file. I have even changed
"master" to "main" in some terminal output from
several years ago. This isn't historically ac-
curate, of course, but my hope is that this change
will prevent someone in the future from being con-
fused about why an antiquated branch name is ref-
erred to.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-06-15 08:15:33 +10:00
Yuri Weinstein
35bf1ebb7a
Merge pull request #46362 from pdvian/wip-logm-mgrstat
mon/LogMonitor, MgrStat: Report logm and mgrstat committed version

Reviewed-by: Laura Flores <lflores@redhat.com>
2022-06-14 13:43:42 -07:00
Yuri Weinstein
f16e311bcc
Merge pull request #46279 from jianwei1216/osd-peering-complete-log-patch
osd: add log for pg peering and activiting complete

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-06-14 13:43:10 -07:00
Kefu Chai
88efdbe268 crimson/osd: use seastar::deferred_stop()
trade `seastar::defer()` for `seastar::deferred_stop()` to
simplify the code a little bit.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-06-15 00:32:22 +08:00
Zack Cerza
77b3080808 cephadm: Make sysctl conf writing idempotent
By checking the system's actual settings against our desired settings
before writing out the config file.

Fixes: https://tracker.ceph.com/issues/56026

Signed-off-by: Zack Cerza <zack@redhat.com>
2022-06-14 10:28:08 -06:00
Yuri Weinstein
69089202d8
Merge pull request #46509 from aclamk/wip-pglog-test-leak
test/pglog: Fix memory leak

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-06-14 08:27:57 -07:00
Yuri Weinstein
789e61cd5f
Merge pull request #46438 from pdvian/wip-scrub-starts
osd/scrub: Reintroduce scrub starts message

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2022-06-14 08:27:05 -07:00
Yuri Weinstein
8c9bf42521
Merge pull request #46428 from sseshasa/wip-fix-55773-have-pending
mon/OSDMonitor: Ensure kvmon() is writeable before handling "osd new" cmd

Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-06-14 08:26:23 -07:00
Yuri Weinstein
6d95d4383b
Merge pull request #45984 from trociny/wip-51835
mgr: relax "pending_service_map.epoch > service_map.epoch" assert

Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-06-14 08:25:25 -07:00
Adam King
390e2a0856
Merge pull request #46285 from s0nea/config-fqdn-active
mgr/cephadm: try to get FQDN for active instance

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
2022-06-14 10:01:08 -04:00
Adam King
06f265d057
Merge pull request #46506 from asm0deuz/mod_iscsi_systemd
Modify how Iscsi tcmu-runner container is started within systemd

Reviewed-by: Adam King <adking@redhat.com>
2022-06-14 09:56:49 -04:00
Adam King
35aebc97d0
Merge pull request #44894 from guits/add_dockerfile_keepalived
cephadm: change default keepalived/haproxy container images

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2022-06-14 09:52:53 -04:00
Adam King
50a4355d72
Merge pull request #46588 from guits/cluster-fsid-common
ceph-volume: make is_valid() optional

Reviewed-by: Teoman ONAY <tonay@redhat.com>
2022-06-14 09:48:53 -04:00
Deepika Upadhyay
a151b5065b
Merge pull request #46586 from SUSE/wip-suse-default-jaeger-off
ceph.spec.in: turn jaeger off by default for SUSE distros

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2022-06-14 18:16:27 +05:30
Ernesto Puerta
9a527b3f98
Merge pull request #46370 from rhcs-dashboard/stop-poll-page-inactive
mgr/dashboard: stop polling when page is not visible

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-06-14 13:23:59 +02:00
Ernesto Puerta
a84541439c
Merge pull request #46475 from rhcs-dashboard/01-hosts-failure
mgr/dashboard: fix drain e2e failure 

Reviewed-by: Sarthak Gupta <sarthak.dev.0702@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-06-14 13:21:26 +02:00
Venky Shankar
80b2776c62
Merge pull request #44567 from lxbsz/client_reply
client: do nothing when get a stale reply

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-06-14 15:16:27 +05:30
Yuval Lifshitz
e2aa88eddb
Merge pull request #46313 from zenomri/wip-omri-tracing-lua
rgw: add SetAttribute and AddEvent functions for TraceMetaTable in Lua

Reviewed-by: yuvalif
2022-06-14 12:22:21 +03:00
Ernesto Puerta
8bba174615
Merge pull request #46407 from melissa-kun-li/disable-create-image
mgr/dashboard: add rbd status endpoint and error page

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
2022-06-14 11:00:21 +02:00
zdover23
6944600e6a
Merge pull request #46651 from zdover23/wip-doc-2022-06-13-dev-guide-essentials-master-to-main
doc/dev: s/master/main/ essentials.rst dev guide

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-06-14 16:27:14 +10:00
Anthony D'Atri
bb5f95a15a
Merge pull request #46659 from anthonyeleven/anthonyeleven-46637-followup
doc/start: Polish network section of hardware-recommendations.rst
2022-06-13 16:58:08 -07:00
Anthony D'Atri
2eb173fef9 doc/start: Polish network section of hardware-recommendations.rst
Harmonize network throughput notation, minor tweaks to wording.
Followup to #46637

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-06-13 16:13:53 -07:00
Zac Dover
728b8f2674 doc/dev: s/master/main/ essentials.rst dev guide
This PR changes all reference to the "master" branch
to references to the "main" branch (because we renamed
"master" to main", and the docs now need to reflect that).

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-06-14 07:48:46 +10:00
zdover23
0eca78faef
Merge pull request #46637 from zdover23/wip-doc-2022-06-12-start-intro-networks-rewrite
doc/start: rewrite hardware-recs networks section

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-06-14 07:11:12 +10:00
Casey Bodley
6f765e25ab
Merge pull request #43597 from pritha-srivastava/wip-rgw-sts-role-multisite
rgw multisite: replicate metadata for iam roles

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-06-13 12:04:12 -04:00