Commit Graph

133802 Commits

Author SHA1 Message Date
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
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
Nizamudeen A
0a60e89992
Merge pull request #47784 from rhcs-dashboard/ingress-unmanaged
mgr/dashboard: fix unmanaged service creation

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-09-09 10:44:35 +05:30
Nizamudeen A
84f4e123be
Merge pull request #47959 from rhcs-dashboard/service-id-filter-undefined
mgr/dashboard: fix Cannot read properties of undefined (reading 'filter')

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-09-09 09:27:14 +05:30
Ilya Dryomov
f4bb197f3e
Merge pull request #48014 from idryomov/wip-57116-cont
test/{librbd, rgw}: increase delay between and number of bind attempts

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2022-09-08 20:52:28 +02:00
Daniel Gryniewicz
0cdd0c47bc
Merge pull request #48003 from dang/wip-dang-zipper-admin-api
RGW - Zipper - Allow per-store admin APIs

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-08 14:36:46 -04:00
Ilya Dryomov
5855c7890f
Merge pull request #48009 from ljflores/wip-install-deps-focal-bionic
install-deps.sh: fix install-deps script for focal and bionic

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-09-08 20:05:15 +02:00
Daniel Gryniewicz
70c6cac4e6 RGW - Zipper - Allow per-store admin APIs
Some of the existing admin APIs are rados-specific, and other stores
will want to add specific APIs.  Allow this by having a function to add
store-specific APIs.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2022-09-08 12:38:57 -04:00
Radoslaw Zarzynski
dbfb50453c PendingReleaseNotes: document online and offline trimming of PG Log's dups
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-09-08 15:35:38 +00:00
Ilya Dryomov
48016eaa15 test/{librbd, rgw}: increase delay between and number of bind attempts
Commit aa7885f7cc ("test/{librbd, rgw}: retry when bind fail with
port 0") reduced the frequency of sporadic unit test failures caused
by EADDRINUSE a lot, but not entirely.

Currently, it yields a cumulative sleep of ~9 seconds.  Let's increase
that to 1 minute.

Fixes: https://tracker.ceph.com/issues/57116
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-09-08 11:46:58 +02:00
Yuval Lifshitz
72f8cfadb3
Merge pull request #47274 from faithuniterh/Golang-Notification-creation
examples/golang : Add put notification creation golang example code

reviewed-by: yuvalif
2022-09-08 12:31:24 +03:00
Nizamudeen A
165de92cc1
Merge pull request #46757 from nSedrickm/navigation-component-accessibility-update
mgr/dashboard: Improve accessibility for navigation components

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-09-08 09:41:29 +05:30
Laura Flores
0d2a5f3466 install-deps.sh: fix install-deps script for focal and bionic
When run on focal and bionic, install-deps ends early
due to this extra debug message that was added to the
end of `ensure_decent_gcc_on_ubuntu`. The debug message
prints when the script is run in a jenkins environment.

When the script is not run in a jenkins environment, the
value returned there is "false" or "0", which acts as
an early return. This stops the script from completing.

We can remove this line, as `ensure_decent_gcc_on_ubuntu`
is only called for focal and bionic, and most of the jenkins
nodes are running jammy. Also, there is a debug message at the
beginning of the function that should suffice.

Fixes: https://tracker.ceph.com/issues/57466
Signed-off-by: Laura Flores <lflores@redhat.com>
2022-09-07 19:45:57 +00:00
Adam King
91befb14d5 doc/cephadm: correct version staggered upgrade got in pacific
This didn't end up making 16.2.10 so the first version
it will actually be available is 16.2.11

Signed-off-by: Adam King <adking@redhat.com>
2022-09-07 15:19:02 -04:00
Yuval Lifshitz
e85e121747
Merge pull request #47091 from faithuniterh/Golang-Topic-creation
Topic creation example and sorting Golang examples into different folders

reviewed-by: anthonyeleven, yuvalif
2022-09-07 21:15:52 +03:00
Yuval Lifshitz
10fd49e073
Merge pull request #47864 from yuvalif/wip-yuval-fix-53186
rgw/notifications: add region to bucket ARN

reviewed-by: mattbenjamin, nthonyeleven
2022-09-07 21:09:16 +03:00
Casey Bodley
e82d5994fb
Merge pull request #47924 from tchaikov/wip-57355
denc: support non-c++20 compliant C++ standard library

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-07 12:53:36 -04:00
J. Eric Ivancich
558df7c10b
Merge pull request #47935 from ivancich/wip-simplify-bucket-listing-logging
rgw: simplify bucket listing logging

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2022-09-07 11:30:21 -04:00