Commit Graph

135752 Commits

Author SHA1 Message Date
John Mulligan
656376d90a mgr/nfs: convert _cmd_nfs_export_ls to use Responder decorator
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-01-12 13:44:10 -05:00
Aashish Sharma
cb17f28627
Merge pull request #49713 from rhcs-dashboard/fix-sse-daemon-name
mgr/dashboard: rgw server side encryption daemon name fix

Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-01-12 10:30:40 +05:30
Yingxin
3c63fafa9c
Merge pull request #49540 from xxhdx1985126/wip-rebuild-missing-set
crimson/osd/pg: rebuild missing set when a new interval is created

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-01-12 11:50:09 +08:00
Liu-Chunmei
9c97a7afa0
Merge pull request #48575 from liu-chunmei/multicore-cyanstore
crimson/os: cyanstore support multicore

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2023-01-11 16:40:33 -08:00
Laura Flores
e03067541c
Merge pull request #49712 from tchaikov/wip-packaging-in-setuptools
mgr/prometheus: use vendored "packaging" instead
2023-01-11 17:50:47 -06:00
colemitchell
cf27b3038c
Merge pull request #49719 from zdover23/wip-doc-2023-01-12-dev-developer-guide-basic-workflow-miscellaneous-reorganization
doc/dev: add push.autoSetupRemote instructions

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2023-01-11 16:33:02 -05:00
Zac Dover
049e5aaade doc/dev: add push.autoSetupRemote instructions
Explain how to set up push.autoSetupRemote so that the origin branch is
properly set up when running "get push" without the need for the
"--set-upstream" option.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-12 06:24:55 +10:00
Matan
ed409237e3
Merge pull request #48756 from Matan-B/wip-matanb-rollback-snap
crimson/osd: Support snapshot rollbacks 

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-01-11 18:18:43 +02:00
Matan
660f7bb15b
Merge pull request #49568 from Matan-B/wip-matanb-crimson-modified-ranges
crimson/osd/*recovery_backend: Rename Push/Pull Info/Op

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
2023-01-11 18:16:51 +02:00
Anthony D'Atri
c0db0bfdfa
Merge pull request #49715 from zdover23/wip-doc-2023-01-12-cephadm-host-management-osd-capitalization
doc/cephadm: s/osd/OSD/ where appropriate
2023-01-11 10:57:07 -05:00
Venky Shankar
317f672465 Merge PR #49711 into main
* refs/pull/49711/head:
	ceph.spec.in: remove the bcond_without cephfs_java option

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2023-01-11 21:01:51 +05:30
Zac Dover
559fea8b42 doc/cephadm: s/osd/OSD/ where appropriate
Capitalize the initialization "OSD" where it occurs in natural language
in cephadm/host-management.rst. This PR answers a request made by
Anthony D'Atri and seconded by Cole Mitchell in https://github.com/ceph/ceph/pull/49699#discussion_r1066171002.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-12 01:12:24 +10:00
Kefu Chai
cf6089200d mgr/prometheus: use vendored "packaging" instead
instead of using the top-level "packaging" module, use the one
vendored by setuptools.

packaging python module provides versioning defined by PEP-440.
but python3-packaging is provided by CentOS8 powertools repo,
which is not enabled by default. and in CentOS9, this package
is provided by AppStream instead of BaseOS.

as prometheus mgr module is included by ceph-mgr-module-core,
it would be desirable if our user can install ceph-mgr-module-core
without enabling powertools or AppStream repo on a CentOS or
its derivative distros.

fortunately, setuptools vendors packaging module. and both
CentOS8 and CentOS9 provide python3-setuptools in their BaseOS
repos.

in this change, instead of using "packging" module, we use the
venderored one, which is in turn embedded in pkg_resources.
this python module is provided by python3-setuptools on CentOS
distros, and python3-pkg-resources on Debian and its derivatives.

the packaging recipes are updated accordingly to reflect the
new runtime dependency.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2023-01-11 20:31:03 +08:00
Aashish Sharma
f1727f028d mgr/dashboard: rgw server side encryption daemon name fix
The config values for the server side encryption currently are wrongly set to the mon daemon by default. This PR intends to fix this issue

Fixes: https://tracker.ceph.com/issues/58419
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2023-01-11 18:00:09 +05:30
Yingxin
9ef2b8d2dd
Merge pull request #49686 from xxhdx1985126/wip-crimson-dump-metrics
crimson/admin: correct metrics dumping methods

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-01-11 13:44:23 +08:00
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
Samuel Just
68149e9c99 ceph.spec.in: remove the bcond_without cephfs_java option
This effectively disable cephfs_java for rpm builds for now.
The only user appears to be cephfs jni bindings.

Fixes: https://tracker.ceph.com/issues/58382
Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-10 20:06:06 -08:00
Xuehan Xu
702fe1ccc3 crimson/admin: correct metrics dumping methods
First level object has no key, so we have to inclose metric objects with
an outer one

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-01-11 02:30:06 +00:00
colemitchell
58f33d83bc
Merge pull request #49699 from zdover23/wip-doc-2023-01-11-cephadm-host-management-removing-hosts
doc/cephadm: refine "Removing Hosts"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-10 14:31:23 -05:00
colemitchell
1eb04cbc5e
Merge pull request #49703 from zdover23/wip-doc-2023-01-11-rados-operations-move-colon
doc/rados: move colon

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2023-01-10 14:24:11 -05:00
colemitchell
7fe7819c71
Merge pull request #49700 from zdover23/wip-doc-2023-01-11-css-h3-padding
doc/css: add top-bar padding for h3 html element

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2023-01-10 14:20:16 -05:00
Zac Dover
b1a53d7621 doc/rados: move colon
Move colon in add-or-rm-osds.rst so that the sentence reads properly.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-11 05:08:35 +10:00
Zac Dover
c28cb53390 doc/css: add top-bar padding for h3 html element
Add "scroll-margin-top: 4em;" property to h3 html element.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-11 04:48:32 +10:00
Zac Dover
2e1fd63087 doc/cephadm: refine "Removing Hosts"
An intended edit to remove a redundant indefinite article became a
longer (but still brief) full editorial pass.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-11 04:29:02 +10:00
zdover23
7c9cfc9013
Merge pull request #49692 from zdover23/wip-doc-2023-01-11-header-fix
doc/css: add "span" padding to custom.css

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-11 04:10:22 +10:00
Ilya Dryomov
e55a6f618e
Merge pull request #49690 from idryomov/wip-58398
doc/man/ceph-rbdnamer: remove obsolete udev rule

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2023-01-10 18:44:28 +01:00
Zac Dover
dd9555b0ae doc/css: add "span" padding to custom.css
Add "scroll-top-bar: 2em;" for the "span" html element in custom.css so
that the top bar doesn't get in the way of headings bounded by the "span
element".

See also https://github.com/ceph/ceph/pull/49644.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-11 01:55:55 +10:00
Ilya Dryomov
8ca3bd5042 doc/man/ceph-rbdnamer: remove obsolete udev rule
Fixes: https://tracker.ceph.com/issues/58398
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-01-10 13:43:03 +01:00
Venky Shankar
9939dcc401 Merge PR #49630 into main
* refs/pull/49630/head:
	doc: document the relevance of mds_namespace mount option

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-01-10 16:41:10 +05:30
Jos Collin
86f8fa19e5
doc: document the relevance of mds_namespace mount option
Fixes: https://tracker.ceph.com/issues/57673
Signed-off-by: Jos Collin <jcollin@redhat.com>
2023-01-10 14:48:20 +05:30
Venky Shankar
6243f33d0b
Merge pull request #49664 from batrick/first-damage-repair-nosnap
tools/cephfs/first-damage: repair specific first=CEPH_NOSNAP damage

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-01-10 09:59:51 +05:30
zdover23
6c1dfe9e72
Merge pull request #49677 from zdover23/wip-doc-2023-01-10-rados-replacing-an-osd
doc/rados: link to cephadm replacing osd section

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-10 10:45:39 +10:00
Zac Dover
7b8f75ebd7 doc/rados: link to cephadm replacing osd section
Direct readers to the "Replacing an OSD" section in the cephadm
documentation, for cases in which the instructions in "Replacing an OSD"
in the RADOS documentation don't work.

https://tracker.ceph.com/issues/58401

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-10 05:11:00 +10:00
Adam King
c86fc2b859
Merge pull request #48696 from adk3798/agent-testing-binary
cephadm: unit tests for CephadmAgent, MgrListener, AgentGatherer

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-01-09 10:07:59 -05:00
Casey Bodley
066e6745f5
Merge pull request #49495 from BryceCao/wip-fix-result-when-users-topics-is-null
rgw: fix result when user's topics is null

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2023-01-09 09:45:18 -05:00
Guillaume Abrioux
71c3f8e31b
Merge pull request #49629 from guits/cv-fix-tox-allowlist_externals
ceph-volume/tests: add allowlist_externals to tox.ini
2023-01-09 09:59:25 +01:00
colemitchell
fe4cb1a645
Merge pull request #49665 from zdover23/wip-doc-2023-01-08-glossary-ceph-object-storage
doc/glossary: Clean up "Ceph Object Storage"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-08 14:33:46 -05:00
Zac Dover
6bede3505f doc/glossary: Clean up "Ceph Object Storage"
Remove redundant material under the "Ceph Object Storage" headword and
add a "See 'Ceph Object Store'" link. A future PR will provide a couple
of sentences that explain how object storage is what's really supporting
both CephFS and RBD.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-09 03:43:35 +10:00
Patrick Donnelly
2ade9390c6
tools/cephfs/first-damage: repair specific first=CEPH_NOSNAP damage
first==CEPH_NOSNAP is never valid. Apparently somehow the MDS may set
this in some code path yet to be discovered, even without snapshots.

Note, we probably should not necessarily automate this fix via the MDS
because we do not know if this dentry (visible in HEAD) should also be
visible before NEXT_SNAP.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-01-07 15:49:46 -05:00
Patrick Donnelly
916241fd53
tools/cephfs/first-damage.py: load CEPH_CONF
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-01-07 15:48:35 -05:00
Anthony D'Atri
c76e8e5538
Merge pull request #49663 from bradfitz/patch-1
doc: fix a typo
2023-01-06 23:44:12 -05:00
Brad Fitzpatrick
c670906b49
doc: fix a typo
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2023-01-06 19:54:45 -08:00
zdover23
f87801e195
Merge pull request #49658 from zdover23/wip-doc-2023-01-15-h2-scroll-margin-top
doc/css: Add scroll-margin-top to h2 html element

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-07 04:02:00 +10:00
zdover23
89768e6738
Merge pull request #49653 from zdover23/wip-doc-2023-01-06-crushtool-options
doc/man: define --num-rep, --min-rep and --max-rep

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2023-01-07 03:57:32 +10:00
Daniel Gryniewicz
8df799f985
Merge pull request #49657 from dang/wip-dang-motr-build
Fix MOTRStore build

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-01-06 11:47:47 -05:00
Zac Dover
af048ca911 doc/css: Add scroll-margin-top to h2 html element
Add "scroll-margin-top: 4em;" to the h2 html element's definition in
custom.css. This moves the text under all h2 html elements out of the
way of the sticky-header-style top bar, which previously obscured the
text.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-07 02:24:39 +10:00
zdover23
c439a11c70
Merge pull request #49643 from zdover23/wip-doc-2023-01-05-add-padding-to-sections
doc/_static: add scroll-margin-top to custom.css

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-07 02:13:26 +10:00
Zac Dover
10fa01d075 doc/man: define --num-rep, --min-rep and --max-rep
Explain the "--num-rep", "--min-rep", and "--max-rep" options, which are
required when running "crushtool" commands with the "--show-mappings"
flag. Originally reported by Brad Fitzpatrick.

https://tracker.ceph.com/issues/58374

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-07 02:12:26 +10:00