]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agocephadm: compile cephadm
Michael Fritch [Mon, 6 Dec 2021 20:42:56 +0000 (13:42 -0700)]
cephadm: compile cephadm

use cephadm.py when mounting via the `--dev_share_folder` option

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoqa/workunits/cephadm/test_cephadm: add `--no-pager`
Michael Fritch [Mon, 22 Nov 2021 19:15:18 +0000 (12:15 -0700)]
qa/workunits/cephadm/test_cephadm: add `--no-pager`

avoid user interaction with the systemd pager

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoqa/workunits/cephadm/test_repos: add zypper
Michael Fritch [Fri, 19 Nov 2021 20:03:15 +0000 (13:03 -0700)]
qa/workunits/cephadm/test_repos: add zypper

cephadm adds partial enablement for zypper repos

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoqa/workunits/cephadm/test_repos: compile cephadm
Michael Fritch [Fri, 19 Nov 2021 19:56:37 +0000 (12:56 -0700)]
qa/workunits/cephadm/test_repos: compile cephadm

build the compiled cephadm binary during the workunit test

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoqa/workunits/cephadm/test_adoption: compile cephadm
Michael Fritch [Fri, 19 Nov 2021 19:43:22 +0000 (12:43 -0700)]
qa/workunits/cephadm/test_adoption: compile cephadm

build the compiled cephadm binary during the workunit test

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoqa/workunits/cephadm/test_adoption: remove python kludge
Michael Fritch [Fri, 19 Nov 2021 17:54:16 +0000 (10:54 -0700)]
qa/workunits/cephadm/test_adoption: remove python kludge

we are no longer testing against py2 as of 225cbd8d790602b30050e0e32ecffd400ec17731

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoqa/workunits/cephadm/test_cephadm: compile cephadm
Michael Fritch [Fri, 19 Nov 2021 18:31:15 +0000 (11:31 -0700)]
qa/workunits/cephadm/test_cephadm: compile cephadm

build the compiled cephadm binary during the workunit test

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agocpatch: compile the cephadm binary
Michael Fritch [Thu, 18 Nov 2021 23:39:32 +0000 (16:39 -0700)]
cpatch: compile the cephadm binary

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agocstart.sh: compile cephadm
Michael Fritch [Thu, 18 Nov 2021 23:33:29 +0000 (16:33 -0700)]
cstart.sh: compile cephadm

update cstart/ckill scripts to use the compiled cephadm binary

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agostop.sh: compile cephadm
Michael Fritch [Thu, 18 Nov 2021 23:15:32 +0000 (16:15 -0700)]
stop.sh: compile cephadm

use the path to the compiled cephadm binary file

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agocephadm: allow execution from a relative path
Michael Fritch [Fri, 19 Nov 2021 18:26:11 +0000 (11:26 -0700)]
cephadm: allow execution from a relative path

let the build script run from a relative path (e.g. build or qa dir)

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agocephadm: zipapp module requires Python35 or later
Michael Fritch [Thu, 18 Nov 2021 22:08:45 +0000 (15:08 -0700)]
cephadm: zipapp module requires Python35 or later

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agocephadm: locate path to the python3 binary
Michael Fritch [Thu, 18 Nov 2021 21:54:56 +0000 (14:54 -0700)]
cephadm: locate path to the python3 binary

fixes incorrect shebang in the compiled zipfile (`#!python3`)

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agorpm, debian: use cmake to install the cephadm binary
Michael Fritch [Wed, 17 Nov 2021 23:19:40 +0000 (16:19 -0700)]
rpm, debian: use cmake to install the cephadm binary

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agocmake: add cephadm to vstart target
Michael Fritch [Mon, 4 Oct 2021 14:55:34 +0000 (08:55 -0600)]
cmake: add cephadm to vstart target

Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agocephadm: Only compress cephadm on Python >= 3.7
Patrick Seidensal [Thu, 9 Sep 2021 09:16:33 +0000 (11:16 +0200)]
cephadm: Only compress cephadm on Python >= 3.7

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
3 years agoqa/tasks: Drop downloading cephadm from the git source tree
Sebastian Wagner [Wed, 25 Aug 2021 13:49:39 +0000 (15:49 +0200)]
qa/tasks: Drop downloading cephadm from the git source tree

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
3 years agocephadm: compile cephadm
Patrick Seidensal [Tue, 15 Jun 2021 08:24:20 +0000 (10:24 +0200)]
cephadm: compile cephadm

Compiling cephadm into an single binary offers the ability to split the
code from cephadm up into several files/modules. A side effect of having
a `cephadm.py` file (which, by renaming to cephadm.py has already become
a module) is that it can properly be imported and static type checking
inside `src/cephadm/tests/test_cephadm.py` is not an issue anymore.

Next steps would to split up cephadm into several modules and adapting
the test_cephadm.py import mechanism, as well as fixing the typing
issues, which are revealed by using a proper important statement.

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agoMerge pull request #47521 from adk3798/iscsi-ip-list
Adam King [Tue, 13 Sep 2022 16:01:19 +0000 (12:01 -0400)]
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>
3 years agoMerge pull request #47640 from adk3798/no-cgroups
Adam King [Tue, 13 Sep 2022 15:59:13 +0000 (11:59 -0400)]
Merge pull request #47640 from adk3798/no-cgroups

mgr/cephadm: make setting --cgroups=split configurable

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #47936 from adk3798/tuned-profile-dashes
Adam King [Tue, 13 Sep 2022 15:58:00 +0000 (11:58 -0400)]
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>
3 years agoMerge pull request #47786 from rkachach/fix_issue_57192
Adam King [Tue, 13 Sep 2022 15:55:57 +0000 (11:55 -0400)]
Merge pull request #47786 from rkachach/fix_issue_57192

mgr/cephadm: validating tuned profile specification

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #48008 from adk3798/docs-extra-container-mounts
Adam King [Tue, 13 Sep 2022 14:38:32 +0000 (10:38 -0400)]
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>
3 years agomgr/cephadm: validating tuned profile specification 47786/head
Redouane Kachach [Wed, 24 Aug 2022 11:57:50 +0000 (13:57 +0200)]
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>
3 years agomgr/cephadm: reconfig iscsi daemons if trusted_ip_list changes 47521/head
Adam King [Tue, 9 Aug 2022 20:13:38 +0000 (16:13 -0400)]
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>
3 years agoMerge pull request #47898 from adk3798/no-sudo-true
Adam King [Tue, 13 Sep 2022 12:56:18 +0000 (08:56 -0400)]
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>
3 years agomgr/cephadm: fix tuned profiles getting removed if name has dashes 47936/head
Adam King [Thu, 1 Sep 2022 17:08:13 +0000 (13:08 -0400)]
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>
3 years agoMerge pull request #47469 from lxbsz/cleanup_C_MDC_EmptyImport
Venky Shankar [Tue, 13 Sep 2022 12:47:29 +0000 (18:17 +0530)]
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>
3 years agoMerge pull request #48033 from joscollin/wip-kill-cephfs-top
Venky Shankar [Tue, 13 Sep 2022 12:46:20 +0000 (18:16 +0530)]
Merge pull request #48033 from joscollin/wip-kill-cephfs-top

stop.sh: kill cephfs-top

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #48006 from rkachach/fix_issue_57422
Adam King [Tue, 13 Sep 2022 12:22:49 +0000 (08:22 -0400)]
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>
3 years agoMerge pull request #47574 from rhcs-dashboard/osd-form-hostname-filter
Nizamudeen A [Tue, 13 Sep 2022 06:08:01 +0000 (11:38 +0530)]
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>
3 years agoMerge pull request #48001 from aisakaki/wip-omap-inclusive-fix
Liu-Chunmei [Tue, 13 Sep 2022 05:54:46 +0000 (22:54 -0700)]
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>
3 years agoMerge pull request #47968 from rhcs-dashboard/add-alert-silence-button
Nizamudeen A [Tue, 13 Sep 2022 05:10:34 +0000 (10:40 +0530)]
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>
3 years agoMerge pull request #47305 from zdover23/wip-doc-2022-07-25-pr4600-cleanup
zdover23 [Tue, 13 Sep 2022 03:44:43 +0000 (13:44 +1000)]
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>
3 years agoMerge pull request #47575 from zdover23/wip-doc-2022-08-13-rados-operations-pools...
zdover23 [Tue, 13 Sep 2022 02:45:18 +0000 (12:45 +1000)]
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>
3 years agoMerge pull request #48042 from SUSE/wip-fix-57497
Tim Serong [Mon, 12 Sep 2022 22:55:40 +0000 (08:55 +1000)]
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>
3 years agoMerge pull request #47771 from linuxbox2/wip-librgw-frontends
Matt Benjamin [Mon, 12 Sep 2022 22:46:35 +0000 (18:46 -0400)]
Merge pull request #47771 from linuxbox2/wip-librgw-frontends

librgw: add ability to conditionally export HTTP frontends/apis

3 years agorgw/main: if !nfs, register service map as "rgw" 47771/head
Matt Benjamin [Mon, 12 Sep 2022 21:00:49 +0000 (17:00 -0400)]
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>
3 years agoMerge pull request #47854 from phlogistonjohn/jjm-fix-57268
Adam King [Mon, 12 Sep 2022 19:56:43 +0000 (15:56 -0400)]
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>
3 years agodoc/cephadm: document recommended syntax for mounting files with ECA 48008/head
Adam King [Wed, 7 Sep 2022 19:42:30 +0000 (15:42 -0400)]
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>
3 years agoMerge pull request #48007 from adk3798/fix-staggered-pacific-version
Adam King [Mon, 12 Sep 2022 19:06:33 +0000 (15:06 -0400)]
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>
3 years agoMerge pull request #46344 from mjenglish/ceph-volume-multiple-actuator
Guillaume Abrioux [Mon, 12 Sep 2022 18:58:41 +0000 (20:58 +0200)]
Merge pull request #46344 from mjenglish/ceph-volume-multiple-actuator

ceph-volume/ceph_volume/util: ceph-volume multi-actuator drive attribute

3 years agoMerge pull request #47970 from soumyakoduri/wip-skoduri-coverity
Soumya Koduri [Mon, 12 Sep 2022 17:21:54 +0000 (22:51 +0530)]
Merge pull request #47970 from soumyakoduri/wip-skoduri-coverity

rgw/dbstore: Fix coverity issues #1510412, #1511420

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
3 years agomgr/dashboard: Add a Silence button shortcut to alert notifications 47968/head
Aashish Sharma [Mon, 5 Sep 2022 05:51:40 +0000 (11:21 +0530)]
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>
3 years agoMerge pull request #47976 from rhcs-dashboard/fix-duplicate-snapshot
Nizamudeen A [Mon, 12 Sep 2022 05:52:40 +0000 (11:22 +0530)]
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>
3 years agorgw/dbstore: Fix coverity issues #1510412, #1511420 47970/head
Soumya Koduri [Mon, 5 Sep 2022 08:31:32 +0000 (14:01 +0530)]
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>
3 years agoceph.spec.in: Use gcc11-c++ on openSUSE Leap 15.x 48042/head
Tim Serong [Mon, 12 Sep 2022 01:10:14 +0000 (11:10 +1000)]
ceph.spec.in: Use gcc11-c++ on openSUSE Leap 15.x

Fixes: 80949babab4aac86647ce9973f6b44adb92fae95
Fixes: https://tracker.ceph.com/issues/57497
Signed-off-by: Tim Serong <tserong@suse.com>
3 years agoMerge pull request #48032 from rhcs-dashboard/openapi-check-fix
Nizamudeen A [Sat, 10 Sep 2022 07:19:28 +0000 (12:49 +0530)]
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>
3 years agomgr/dashboard: docs gen tags sort 48032/head
Pere Diaz Bou [Fri, 9 Sep 2022 09:18:42 +0000 (11:18 +0200)]
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>
3 years agoMerge pull request #47770 from rzarzynski/wip-doc-dups-trimming-relnotes
Neha Ojha [Fri, 9 Sep 2022 17:00:41 +0000 (10:00 -0700)]
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>
3 years agorgwlib: ensure AppMain is destructed before CephContext
Matt Benjamin [Fri, 9 Sep 2022 15:57:44 +0000 (11:57 -0400)]
rgwlib: ensure AppMain is destructed before CephContext

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw/main: cause ratelimiter to destruct in AppMain::shutdown()
Matt Benjamin [Thu, 8 Sep 2022 16:46:55 +0000 (12:46 -0400)]
rgw/main: cause ratelimiter to destruct in AppMain::shutdown()

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agolibrgw: fix mismatched register/unregister sigterm handler
Matt Benjamin [Wed, 7 Sep 2022 17:57:29 +0000 (13:57 -0400)]
librgw: fix mismatched register/unregister sigterm handler

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw/main: fix init order of rgw_main's init_storage()
Matt Benjamin [Wed, 7 Sep 2022 17:30:53 +0000 (13:30 -0400)]
rgw/main:  fix init order of rgw_main's init_storage()

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw/main: move service_map_meta into AppMain
Matt Benjamin [Wed, 7 Sep 2022 14:22:14 +0000 (10:22 -0400)]
rgw/main: move service_map_meta into AppMain

The RGWRealmReloader holds a reference on it.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw/main: move signal handler actions out of shutdown()
Matt Benjamin [Fri, 2 Sep 2022 21:54:45 +0000 (17:54 -0400)]
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>
3 years agorgwlib: robustify non-default initialization
Matt Benjamin [Thu, 1 Sep 2022 15:33:31 +0000 (11:33 -0400)]
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>
3 years agorgw_main: remove unused tracepoint decls
Matt Benjamin [Thu, 1 Sep 2022 12:57:38 +0000 (08:57 -0400)]
rgw_main: remove unused tracepoint decls

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgwlib: rework linkage
Matt Benjamin [Thu, 1 Sep 2022 12:53:50 +0000 (08:53 -0400)]
rgwlib: rework linkage

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw_a: build reorganization
Matt Benjamin [Tue, 30 Aug 2022 14:19:34 +0000 (10:19 -0400)]
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>
3 years agorgw/main: remove friends, see_also
Matt Benjamin [Tue, 30 Aug 2022 13:42:31 +0000 (09:42 -0400)]
rgw/main: remove friends, see_also

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw/main: various doc and comment corrections by doc writers
Matt Benjamin [Mon, 29 Aug 2022 15:33:53 +0000 (11:33 -0400)]
rgw/main: various doc and comment corrections by doc writers

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw/main: use AppMain in c++ main function
Matt Benjamin [Sat, 27 Aug 2022 17:11:30 +0000 (13:11 -0400)]
rgw/main: use AppMain in c++ main function

Consolidate standalone and library initialization into one
unit.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw/main: AppMain
Matt Benjamin [Sat, 27 Aug 2022 14:35:45 +0000 (10:35 -0400)]
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>
3 years agolibrgw: add ability to conditionally export HTTP frontends/apis
Matt Benjamin [Thu, 18 Aug 2022 21:25:09 +0000 (17:25 -0400)]
librgw: add ability to conditionally export HTTP frontends/apis

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agoMerge pull request #47700 from s0nea/wip-rgw-overview-labels
Nizamudeen A [Fri, 9 Sep 2022 12:06:40 +0000 (17:36 +0530)]
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>
3 years agostop.sh: kill cephfs-top 48033/head
Jos Collin [Fri, 9 Sep 2022 11:38:09 +0000 (17:08 +0530)]
stop.sh: kill cephfs-top

Signed-off-by: Jos Collin <jcollin@redhat.com>
3 years agomgr/dashboard: osd form preselect db/wal device filters 47574/head
Nizamudeen A [Fri, 12 Aug 2022 15:34:23 +0000 (21:04 +0530)]
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>
3 years agoMerge pull request #47784 from rhcs-dashboard/ingress-unmanaged
Nizamudeen A [Fri, 9 Sep 2022 05:14:35 +0000 (10:44 +0530)]
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>
3 years agoMerge pull request #47959 from rhcs-dashboard/service-id-filter-undefined
Nizamudeen A [Fri, 9 Sep 2022 03:57:14 +0000 (09:27 +0530)]
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>
3 years agoMerge pull request #48014 from idryomov/wip-57116-cont
Ilya Dryomov [Thu, 8 Sep 2022 18:52:28 +0000 (20:52 +0200)]
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>
3 years agoMerge pull request #48003 from dang/wip-dang-zipper-admin-api
Daniel Gryniewicz [Thu, 8 Sep 2022 18:36:46 +0000 (14:36 -0400)]
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>
3 years agoMerge pull request #48009 from ljflores/wip-install-deps-focal-bionic
Ilya Dryomov [Thu, 8 Sep 2022 18:05:15 +0000 (20:05 +0200)]
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>
3 years agoRGW - Zipper - Allow per-store admin APIs 48003/head
Daniel Gryniewicz [Thu, 1 Sep 2022 17:52:26 +0000 (13:52 -0400)]
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>
3 years agoPendingReleaseNotes: document online and offline trimming of PG Log's dups 47770/head
Radoslaw Zarzynski [Tue, 23 Aug 2022 19:50:48 +0000 (19:50 +0000)]
PendingReleaseNotes: document online and offline trimming of PG Log's dups

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agomgr/cephadm: Adding --storage.tsdb.retention.size prometheus option 48006/head
Redouane Kachach [Wed, 7 Sep 2022 12:51:10 +0000 (14:51 +0200)]
mgr/cephadm: Adding --storage.tsdb.retention.size prometheus option
fixes: https://tracker.ceph.com/issues/57422

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agotest/{librbd, rgw}: increase delay between and number of bind attempts 48014/head
Ilya Dryomov [Thu, 8 Sep 2022 09:36:34 +0000 (11:36 +0200)]
test/{librbd, rgw}: increase delay between and number of bind attempts

Commit aa7885f7cc41 ("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>
3 years agoMerge pull request #47274 from faithuniterh/Golang-Notification-creation
Yuval Lifshitz [Thu, 8 Sep 2022 09:31:24 +0000 (12:31 +0300)]
Merge pull request #47274 from faithuniterh/Golang-Notification-creation

examples/golang : Add put notification creation golang example code

reviewed-by: yuvalif

3 years agoMerge pull request #46757 from nSedrickm/navigation-component-accessibility-update
Nizamudeen A [Thu, 8 Sep 2022 04:11:29 +0000 (09:41 +0530)]
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>
3 years agoinstall-deps.sh: fix install-deps script for focal and bionic 48009/head
Laura Flores [Wed, 7 Sep 2022 19:45:57 +0000 (19:45 +0000)]
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>
3 years agodoc/cephadm: correct version staggered upgrade got in pacific 48007/head
Adam King [Wed, 7 Sep 2022 19:19:02 +0000 (15:19 -0400)]
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>
3 years agoMerge pull request #47091 from faithuniterh/Golang-Topic-creation
Yuval Lifshitz [Wed, 7 Sep 2022 18:15:52 +0000 (21:15 +0300)]
Merge pull request #47091 from faithuniterh/Golang-Topic-creation

Topic creation example and sorting Golang examples into different folders

reviewed-by: anthonyeleven, yuvalif

3 years agoMerge pull request #47864 from yuvalif/wip-yuval-fix-53186
Yuval Lifshitz [Wed, 7 Sep 2022 18:09:16 +0000 (21:09 +0300)]
Merge pull request #47864 from yuvalif/wip-yuval-fix-53186

rgw/notifications: add region to bucket ARN

reviewed-by: mattbenjamin, nthonyeleven

3 years agoMerge pull request #47924 from tchaikov/wip-57355
Casey Bodley [Wed, 7 Sep 2022 16:53:36 +0000 (12:53 -0400)]
Merge pull request #47924 from tchaikov/wip-57355

denc: support non-c++20 compliant C++ standard library

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #47935 from ivancich/wip-simplify-bucket-listing-logging
J. Eric Ivancich [Wed, 7 Sep 2022 15:30:21 +0000 (11:30 -0400)]
Merge pull request #47935 from ivancich/wip-simplify-bucket-listing-logging

rgw: simplify bucket listing logging

Reviewed-by: Ali Maredia <amaredia@redhat.com>
3 years agoMerge pull request #47741 from ljflores/wip-python3-fix
Laura Flores [Wed, 7 Sep 2022 15:11:08 +0000 (10:11 -0500)]
Merge pull request #47741 from ljflores/wip-python3-fix

do_cmake.sh: build with python3.10 on ubuntu version >= 22.0

3 years agoMerge pull request #47857 from nSedrickm/duplicate-id-accessibility-update
Pere Diaz Bou [Wed, 7 Sep 2022 14:56:08 +0000 (16:56 +0200)]
Merge pull request #47857 from nSedrickm/duplicate-id-accessibility-update

mgr/dashboard: remove duplicate ids from table column filters

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agomgr/dashboard: fix snapshot creation with duplicate name 47976/head
Aashish Sharma [Mon, 5 Sep 2022 11:59:11 +0000 (17:29 +0530)]
mgr/dashboard: fix snapshot creation with duplicate name

Snapshot creation with same name on UI throwing 500 Internal Error, This PR intends to fix this issue.

Fixes: https://tracker.ceph.com/issues/57456
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
3 years agoMerge pull request #47981 from myoungwon/wip-rbm-cleanup2
Yingxin [Wed, 7 Sep 2022 10:54:27 +0000 (18:54 +0800)]
Merge pull request #47981 from myoungwon/wip-rbm-cleanup2

crimson/os/seastore: RBM cleanups (mkfs, open, unittest)

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agotest/crimson/seastore: lack of config.inclusive==true situation in omap_manager list... 48001/head
Xinyu Huang [Wed, 7 Sep 2022 06:40:52 +0000 (06:40 +0000)]
test/crimson/seastore: lack of config.inclusive==true situation in omap_manager list test

Signed-off-by: Xinyu Huang <xinyu.huang@intel.com>
3 years agoMerge pull request #47054 from nSedrickm/grafana-component-accessibility-update
Pere Diaz Bou [Wed, 7 Sep 2022 08:30:00 +0000 (10:30 +0200)]
Merge pull request #47054 from nSedrickm/grafana-component-accessibility-update

mgr/dashboard: Improve level A accessibility for grafana component

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agocrimson/os/seastore/rbm: use RBMDevice::size instead of TestMemory::size in TestMemory 47981/head
myoungwon oh [Fri, 2 Sep 2022 05:06:28 +0000 (14:06 +0900)]
crimson/os/seastore/rbm: use RBMDevice::size instead of TestMemory::size in TestMemory

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agocrimson/os/seastore/rbm: force to make rbm superblock when mkfs is called
myoungwon oh [Tue, 6 Sep 2022 02:59:41 +0000 (11:59 +0900)]
crimson/os/seastore/rbm: force to make rbm superblock when mkfs is called

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agocrimson/os/seastore/rbm: call device.open() before rbm.open() or rbm.mkfs()
myoungwon oh [Tue, 6 Sep 2022 02:47:41 +0000 (11:47 +0900)]
crimson/os/seastore/rbm: call device.open() before rbm.open() or rbm.mkfs()

This commit also deletes open_device() in rbn.open()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agotest/crimson/seastore: fix randomblockmanager test
myoungwon oh [Fri, 2 Sep 2022 04:52:50 +0000 (13:52 +0900)]
test/crimson/seastore: fix randomblockmanager test

1. remove transaction manager initialization in rbm test
2. do not call check_bitmap_blocks directly and use close() and open()
because open() invokes it internally

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agocrimson/os/seastore/omap: fix assert bug
Xinyu Huang [Wed, 7 Sep 2022 00:01:33 +0000 (00:01 +0000)]
crimson/os/seastore/omap: fix assert bug

Signed-off-by: Xinyu Huang <xinyu.huang@intel.com>
3 years agoMerge pull request #47987 from idryomov/wip-52810
Ilya Dryomov [Tue, 6 Sep 2022 18:17:15 +0000 (20:17 +0200)]
Merge pull request #47987 from idryomov/wip-52810

librbd: retry ENOENT in V2_REFRESH_PARENT as well

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
3 years agoMerge pull request #47783 from soumyakoduri/wip-skoduri-sync-flow
Casey Bodley [Tue, 6 Sep 2022 16:29:53 +0000 (12:29 -0400)]
Merge pull request #47783 from soumyakoduri/wip-skoduri-sync-flow

radosgw-admin: fix crash with 'sync flow' cmd without 'flow-type'

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
3 years agoMerge pull request #45883 from ifed01/wip-ifed-fix-bluefs-truncate
Yuri Weinstein [Tue, 6 Sep 2022 16:12:29 +0000 (09:12 -0700)]
Merge pull request #45883 from ifed01/wip-ifed-fix-bluefs-truncate

os/bluestore: fix no metadata update on truncate+fsync

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #47630 from sseshasa/wip-add-mclk-cpu-util-rel-note
Sridhar Seshasayee [Tue, 6 Sep 2022 15:15:02 +0000 (20:45 +0530)]
Merge pull request #47630 from sseshasa/wip-add-mclk-cpu-util-rel-note

PendingReleaseNotes: Note the fix for high CPU utilization during recovery

Reviewed-by: Neha Ojha <nojha@redhat.com>