Commit Graph

133822 Commits

Author SHA1 Message Date
Adam King
2bdccfd5ea
Merge pull request #47521 from adk3798/iscsi-ip-list
mgr/cephadm: reconfig iscsi daemons if trusted_ip_list changes

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 12:01:19 -04:00
Adam King
821e90eb82
Merge pull request #47640 from adk3798/no-cgroups
mgr/cephadm: make setting --cgroups=split configurable

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 11:59:13 -04:00
Adam King
ce6a24d461
Merge pull request #47936 from adk3798/tuned-profile-dashes
mgr/cephadm: fix tuned profiles getting removed if name has dashes

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 11:58:00 -04:00
Adam King
581098e43e
Merge pull request #47786 from rkachach/fix_issue_57192
mgr/cephadm: validating tuned profile specification 

Reviewed-by: Adam King <adking@redhat.com>
2022-09-13 11:55:57 -04:00
Adam King
3c2cda3a0b
Merge pull request #48008 from adk3798/docs-extra-container-mounts
doc/cephadm: document recommended syntax for mounting files with ECA

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-09-13 10:38:32 -04:00
Redouane Kachach
d3e55f1521
mgr/cephadm: validating tuned profile specification
fixes: https://tracker.ceph.com/issues/57192
fixes: https://tracker.ceph.com/issues/57191

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 15:12:46 +02:00
Adam King
8a6e67c6a3 mgr/cephadm: reconfig iscsi daemons if trusted_ip_list changes
This is necessary as iscsi daemons expect the iscsi-gateway.cfg
which includes this list to match across the iscsi daemons

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

Signed-off-by: Adam King <adking@redhat.com>
2022-09-13 09:06:48 -04:00
Adam King
ecd2170bfd
Merge pull request #47898 from adk3798/no-sudo-true
mgr/cephadm: don't use "sudo" in commands if user is root

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 08:56:18 -04:00
Adam King
69abd358c4 mgr/cephadm: fix tuned profiles getting removed if name has dashes
Previously, due to the way it was just splitting the file name on
dashes to try and get the profile name, any profile name with dashes
was not getting properly matched and would therefore get marked
stray and removed. This new strategy instead tries to match the actual
expected file name.

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

Signed-off-by: Adam King <adking@redhat.com>
2022-09-13 08:52:10 -04:00
Venky Shankar
46200c2071
Merge pull request #47469 from lxbsz/cleanup_C_MDC_EmptyImport
mds: remove the stale class C_MDC_EmptyImport code

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
2022-09-13 18:17:29 +05:30
Venky Shankar
dad53620c7
Merge pull request #48033 from joscollin/wip-kill-cephfs-top
stop.sh: kill cephfs-top

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-09-13 18:16:20 +05:30
Adam King
f0b1617ee5
Merge pull request #48006 from rkachach/fix_issue_57422
mgr/cephadm: Adding --storage.tsdb.retention.size prometheus option

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-09-13 08:22:49 -04:00
Nizamudeen A
e168cd1bdd
Merge pull request #47574 from rhcs-dashboard/osd-form-hostname-filter
mgr/dashboard: osd form preselect db/wal device filters

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
2022-09-13 11:38:01 +05:30
Liu-Chunmei
58f607e577
Merge pull request #48001 from aisakaki/wip-omap-inclusive-fix
crimson/seastore: fixs on omap list open/closed range

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2022-09-12 22:54:46 -07:00
Nizamudeen A
edf3c0d285
Merge pull request #47968 from rhcs-dashboard/add-alert-silence-button
mgr/dashboard: Add a Silence button shortcut to alert notifications

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-09-13 10:40:34 +05:30
zdover23
23aa2be306
Merge pull request #47305 from zdover23/wip-doc-2022-07-25-pr4600-cleanup
doc/monitoring: add min vers of apps in mon stack

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-09-13 13:44:43 +10:00
zdover23
08ca416061
Merge pull request #47575 from zdover23/wip-doc-2022-08-13-rados-operations-pools-prompt-update
doc/rados: add prompts to pools.rst

Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-09-13 12:45:18 +10:00
Tim Serong
fb304cbb02
Merge pull request #48042 from SUSE/wip-fix-57497
ceph.spec.in: Use gcc11-c++ on openSUSE Leap 15.x

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-13 08:55:40 +10:00
Matt Benjamin
590750ea27
Merge pull request #47771 from linuxbox2/wip-librgw-frontends
librgw: add ability to conditionally export HTTP frontends/apis
2022-09-12 18:46:35 -04:00
Matt Benjamin
0a5debf821 rgw/main: if !nfs, register service map as "rgw"
This was accidentally changed to "nfs"--which breaks various
ceph orchestration assumptions.

Found by Ernesto Puerta <epuertat@redhat.com>

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-12 17:00:49 -04:00
Adam King
78574ddad6
Merge pull request #47854 from phlogistonjohn/jjm-fix-57268
qa/tasks/kubeadm: set up tigera resources via kubectl create

Reviewed-by: Adam King <adking@redhat.com>
2022-09-12 15:56:43 -04:00
Adam King
f577d1117d doc/cephadm: document recommended syntax for mounting files with ECA
Mounting files with extra container args seems to not
work with some of the more intuitive syntaxes.
See https://tracker.ceph.com/issues/57338

Signed-off-by: Adam King <adking@redhat.com>
2022-09-12 15:19:18 -04:00
Adam King
0320c67351
Merge pull request #48007 from adk3798/fix-staggered-pacific-version
doc/cephadm: correct version staggered upgrade got in pacific

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-09-12 15:06:33 -04:00
Guillaume Abrioux
a651a5152f
Merge pull request #46344 from mjenglish/ceph-volume-multiple-actuator
ceph-volume/ceph_volume/util: ceph-volume multi-actuator drive attribute
2022-09-12 20:58:41 +02:00
Soumya Koduri
e9b87fb943
Merge pull request #47970 from soumyakoduri/wip-skoduri-coverity
rgw/dbstore: Fix coverity issues #1510412, #1511420

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-09-12 22:51:54 +05:30
Aashish Sharma
94fe310615 mgr/dashboard: Add a Silence button shortcut to alert notifications
Fixes: https://tracker.ceph.com/issues/57457
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2022-09-12 14:46:16 +05:30
Nizamudeen A
6ef176b674
Merge pull request #47976 from rhcs-dashboard/fix-duplicate-snapshot
mgr/dashboard: fix snapshot creation with duplicate name

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-09-12 11:22:40 +05:30
Soumya Koduri
86cf43728d rgw/dbstore: Fix coverity issues #1510412, #1511420
Fixes: https://tracker.ceph.com/issues/57322
Fixes: https://tracker.ceph.com/issues/57325

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2022-09-12 10:41:21 +05:30
Tim Serong
b660b79bf5 ceph.spec.in: Use gcc11-c++ on openSUSE Leap 15.x
Fixes: 80949babab
Fixes: https://tracker.ceph.com/issues/57497
Signed-off-by: Tim Serong <tserong@suse.com>
2022-09-12 11:13:28 +10:00
Nizamudeen A
c49b81c7d6
Merge pull request #48032 from rhcs-dashboard/openapi-check-fix
mgr/dashboard: fix openapi-check

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-09-10 12:49:28 +05:30
Pere Diaz Bou
9673ed1869 mgr/dashboard: docs gen tags sort
When generating tags the order of endpoints wasn't taken into account.
Two endpoints with the same url prefix, for example `/api/cluster/` and
`/api/cluster/user`, have different docs and the tags is generated from
a doc of one of these two, and since the order of these endpoints might
vary it is imperative to sort them to have a deterministic output.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-09-09 22:43:01 +02:00
Neha Ojha
b81ece50ae
Merge pull request #47770 from rzarzynski/wip-doc-dups-trimming-relnotes
PendingReleaseNotes: document online and offline trimming of PG Log's…

Reviewed-By: Neha Ojha <nojha@redhat.com>
2022-09-09 10:00:41 -07:00
Matt Benjamin
28758235ba rgwlib: ensure AppMain is destructed before CephContext
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:57:44 -04:00
Matt Benjamin
c855a1a10e rgw/main: cause ratelimiter to destruct in AppMain::shutdown()
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:19:23 -04:00
Matt Benjamin
f83c3b13f4 librgw: fix mismatched register/unregister sigterm handler
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:19:15 -04:00
Matt Benjamin
86c4caef37 rgw/main: fix init order of rgw_main's init_storage()
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:19:09 -04:00
Matt Benjamin
c12ed2906a rgw/main: move service_map_meta into AppMain
The RGWRealmReloader holds a reference on it.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:19:03 -04:00
Matt Benjamin
3904adfbc2 rgw/main: move signal handler actions out of shutdown()
AppMain::shutdown() had borrowed the unregister_async_signal_handler()
text from librgw, but of course, that's wrong.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:18:41 -04:00
Matt Benjamin
2282a803b2 rgwlib: robustify non-default initialization
Don't rely on the conf-default value of rgw_nfs_frontends to
provide "rgw-nfs," as that's not optional when running under
librgw.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:17:32 -04:00
Matt Benjamin
54094b97f0 rgw_main: remove unused tracepoint decls
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:17:22 -04:00
Matt Benjamin
8e9dae8195 rgwlib: rework linkage
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:17:12 -04:00
Matt Benjamin
9dccf5e20b rgw_a: build reorganization
Reorganize some dependencies shared by the librgw.so and radosgw
main units.  The librgw.so build no longer builds a main(...)
unit.

Build time should be slightly reduced, as several shared dependencies
have been moved into rgw_a.

There are some other cleanups, e.g., rgw_signal.{h,cc}.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:16:36 -04:00
Matt Benjamin
8f5f70ba45 rgw/main: remove friends, see_also
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:11:48 -04:00
Matt Benjamin
482fd72029 rgw/main: various doc and comment corrections by doc writers
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:11:42 -04:00
Matt Benjamin
d0424e842d rgw/main: use AppMain in c++ main function
Consolidate standalone and library initialization into one
unit.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:11:34 -04:00
Matt Benjamin
08e687fc9e rgw/main: AppMain
s/rgw::InitHelper/rgw::AppMain/;

Move program state from RGWLib into AppMain, preparing it to
manage program state for all RGW instances (e.g., main()).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:11:27 -04:00
Matt Benjamin
67d30e5556 librgw: add ability to conditionally export HTTP frontends/apis
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:11:09 -04:00
Nizamudeen A
d84a03e989
Merge pull request #47700 from s0nea/wip-rgw-overview-labels
monitoring/ceph-mixin: add RGW host to label info

Reviewed-by: MrFreezeex <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-09-09 17:36:40 +05:30
Jos Collin
aa33e1ab50
stop.sh: kill cephfs-top
Signed-off-by: Jos Collin <jcollin@redhat.com>
2022-09-09 17:08:09 +05:30
Nizamudeen A
5f8eff3bef mgr/dashboard: osd form preselect db/wal device filters
If the hostname is selected for the primary devices, then we can
preselect the hostname filter for the db/wal devices because osds will
be deployed only on the hostname of the primary device. If preselected
it'll be clear that only this devices will be used to deploy.

Addition to this, usually ssd devices are used for db/wal devices. So I
am preselecting these too in the filters.

Fixes: https://tracker.ceph.com/issues/57118
Signed-off-by: Nizamudeen A <nia@redhat.com>
2022-09-09 10:48:28 +05:30