]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
23 months agoqa/cephadm: add test case to verify custom container init_containers 52178/head
John Mulligan [Tue, 25 Jul 2023 17:16:13 +0000 (13:16 -0400)]
qa/cephadm: add test case to verify custom container init_containers

Add a 2nd custom container yaml to the test_extra_daemon_features.yaml
file that uses two init containers. Add verification that the init
containers (and primary) ran successfully.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agodoc/cephadm: document init_containers params for custom containers
John Mulligan [Tue, 11 Jul 2023 13:20:28 +0000 (09:20 -0400)]
doc/cephadm: document init_containers params for custom containers

Add documentation covering the new init_containers parameter and the
parameters within each init container's configuration.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agopybind/mgr/cephadm/tests: add test_deploy_custom_container_with_init_ctrs
John Mulligan [Thu, 22 Jun 2023 18:12:24 +0000 (14:12 -0400)]
pybind/mgr/cephadm/tests: add test_deploy_custom_container_with_init_ctrs

This adds a test case to explicitly check custom containers with init
containers.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agopybind/mgr/cephadm: add test_deploy_custom_container test case
John Mulligan [Wed, 21 Jun 2023 20:44:22 +0000 (16:44 -0400)]
pybind/mgr/cephadm: add test_deploy_custom_container test case

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agopybind/mgr/cephadm: reformat a long input line
John Mulligan [Wed, 21 Jun 2023 20:35:14 +0000 (16:35 -0400)]
pybind/mgr/cephadm: reformat a long input line

Use the parenthesized format with each import on a line for
readability.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agopybind/mgr/cephadm: add init_containers field to CephadmDaemonDeploySpec
John Mulligan [Thu, 15 Jun 2023 18:39:48 +0000 (14:39 -0400)]
pybind/mgr/cephadm: add init_containers field to CephadmDaemonDeploySpec

This will permit the transfer of init_containers from a spec to the
structure that actually generates the deploy JSON.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agopybind/mgr/cephadm: add support for init_containers in deploy
John Mulligan [Mon, 5 Jun 2023 22:49:02 +0000 (18:49 -0400)]
pybind/mgr/cephadm: add support for init_containers in deploy

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agopybind/mgr/cephadm: add init_containers field to exchange module
John Mulligan [Mon, 5 Jun 2023 22:48:42 +0000 (18:48 -0400)]
pybind/mgr/cephadm: add init_containers field to exchange module

This will permit serializing init_container information for sending
to cephadm binary.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agopython-common: add init_containers field to CustomContainerSpec
John Mulligan [Fri, 23 Jun 2023 18:07:06 +0000 (14:07 -0400)]
python-common: add init_containers field to CustomContainerSpec

This allows custom containers to run init containers before the
primary container starts.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agopython-common: reformat service_spec import line
John Mulligan [Mon, 26 Jun 2023 14:15:57 +0000 (10:15 -0400)]
python-common: reformat service_spec import line

Use the "black" style of multi-line import with parens.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agopython-common: add InitContainerSpec type
John Mulligan [Fri, 23 Jun 2023 18:06:45 +0000 (14:06 -0400)]
python-common: add InitContainerSpec type

The InitContainerSpec type will be used to define explicit "init
containers" - containers that are expected to run and then exit
and are executed prior to running a primary container.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: add a test case to cover generating init containers
John Mulligan [Wed, 14 Jun 2023 16:01:23 +0000 (12:01 -0400)]
cephadm: add a test case to cover generating init containers

Add a test case that covers the act of setting init_containers in
the deploy config on a custom container instance. This test executes
custom containers that both specify custom volume_mounts and not,
which are expected to "inherit" the volume_mounts of the primary
container's config.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: use an f-string for readability
John Mulligan [Wed, 21 Jun 2023 14:55:37 +0000 (10:55 -0400)]
cephadm: use an f-string for readability

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: support deploying with explicit init containers
John Mulligan [Wed, 14 Jun 2023 16:02:20 +0000 (12:02 -0400)]
cephadm: support deploying with explicit init containers

Complete the deployment functions so that any custom containers defined
with "init_containers" will add said init containers to the commands
to be executed.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: add get_deployment_init_containers
John Mulligan [Wed, 14 Jun 2023 16:02:10 +0000 (12:02 -0400)]
cephadm: add get_deployment_init_containers

Add get_deployment_init_containers to extract any init containers from
the deploy configuration context. Currently, all init containers are to
be explicitly defined, not inferred from the service type.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: add function to write init container commands
John Mulligan [Wed, 14 Jun 2023 16:02:00 +0000 (12:02 -0400)]
cephadm: add function to write init container commands

Add functions that write commands to clean up and execute init
containers. These init containers will be executed before the
main container as part of unit.run files (for now).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: add an InitContainer class
John Mulligan [Wed, 7 Jun 2023 13:46:07 +0000 (09:46 -0400)]
cephadm: add an InitContainer class

Add a new InitContainer class that is similar to CephContainer but
will not assume certain defaults and is expected to run for a "short"
period before exiting. These init containers will be used to preform
tasks before a long running container is started.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: add identity field to CephContainer
John Mulligan [Thu, 22 Jun 2023 20:18:03 +0000 (16:18 -0400)]
cephadm: add identity field to CephContainer

Add an optional identity field based on the new DaemonIdentity type
to help name/identify the CephContainers. I would have preferred to make
this field mandatory but there are so many places in the code that
call CephContainer now, I didn't want to have to touch them all at once.
CephContainer objects created using the for_daemon classmethod *will*
all have DaemonIdentity set.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: add an identity field to BasicContainer
John Mulligan [Fri, 23 Jun 2023 17:43:47 +0000 (13:43 -0400)]
cephadm: add an identity field to BasicContainer

Use the new DaemonIdentity class to help identify a container.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: add DaemonIdentity type
John Mulligan [Fri, 23 Jun 2023 15:49:57 +0000 (11:49 -0400)]
cephadm: add DaemonIdentity type

It's an extremely common pattern in cephadm to need a triple of
(fsid, daemon_type, daemon_id). These triples are used to generate
various names and paths etc. Add a new type, DaemonIdentity, that
can represent these values in a more convient package. It has an
additional optional field "subcomponent" that can represent a
part of a daemon/service.
It is expected to be used in an immutable manner like a namedtuple,
but I didn't end using a namedtuple because cephadm doesn't make
much use of them and the syntax to combine namedtuple and type hints
is awkward.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: move common parts of CephContainer into BasicContainer
John Mulligan [Wed, 21 Jun 2023 18:08:03 +0000 (14:08 -0400)]
cephadm: move common parts of CephContainer into BasicContainer

Move a bunch of logic out of CephContainer and into BasicContainer.
BasicContainer needs to be more general than CephContainer so it
adds a few parameters that don't exist in CephContainer and
CephContainer will provide defaults for those values.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: add BasicContainer stub class
John Mulligan [Wed, 21 Jun 2023 18:05:18 +0000 (14:05 -0400)]
cephadm: add BasicContainer stub class

Add a BasicContainer class that will act as a base class for
CephContainer and any future XyzContainer classes. The class
is currently a stub that provides no functionality.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: break up deploy_daemon_units into more functions
John Mulligan [Tue, 6 Jun 2023 21:16:08 +0000 (17:16 -0400)]
cephadm: break up deploy_daemon_units into more functions

Break up deploy_daemon_units which had a lot of various "sub-tasks"
implemented within the main body of the function. Splitting up
the function makes each function's scope smaller, more readily testable
and more readable.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: refactor _write_container_cmd_to_bash function
John Mulligan [Tue, 6 Jun 2023 20:48:00 +0000 (16:48 -0400)]
cephadm: refactor _write_container_cmd_to_bash function

Refactor the _write_container_cmd_to_bash such that it now uses a
new _bash_cmd helper function and tries to avoid non-DRY repetition
of the same pattern of shell command expression.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: rename argument to container from c
John Mulligan [Tue, 6 Jun 2023 20:17:57 +0000 (16:17 -0400)]
cephadm: rename argument to container from c

Rename argument to "container" from "c" because a one character
variable at a large function's scope (or anywhere outside of a
comprehension) is a understanding/readability issue (IMO).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: reformat deploy_daemon arguments to make it readable
John Mulligan [Tue, 6 Jun 2023 20:00:08 +0000 (16:00 -0400)]
cephadm: reformat deploy_daemon arguments to make it readable

Reformat the deploy_daemon function's arguments to use the "black"
one-line-per-argument style, which is significantly more readable IMO.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: add a test case for custom container type
John Mulligan [Wed, 14 Jun 2023 15:01:27 +0000 (11:01 -0400)]
cephadm: add a test case for custom container type

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agocephadm: move custom container tests to a dedicated file
John Mulligan [Wed, 14 Jun 2023 14:22:07 +0000 (10:22 -0400)]
cephadm: move custom container tests to a dedicated file

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agoMerge pull request #52273 from yuvalif/wip-yuval-lua-mem-limit
Yuval Lifshitz [Wed, 9 Aug 2023 13:35:22 +0000 (16:35 +0300)]
Merge pull request #52273 from yuvalif/wip-yuval-lua-mem-limit

rgw/lua: add configurable memory limit for the lua state

23 months agoMerge pull request #52154 from rhcs-dashboard/hosts-pagination
Nizamudeen A [Wed, 9 Aug 2023 09:21:37 +0000 (14:51 +0530)]
Merge pull request #52154 from rhcs-dashboard/hosts-pagination

mgr/dashboard: host pagination

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
23 months agoMerge pull request #52745 from zdover23/wip-doc-2023-08-02-rados-operations-add-or...
zdover23 [Wed, 9 Aug 2023 01:24:47 +0000 (11:24 +1000)]
Merge pull request #52745 from zdover23/wip-doc-2023-08-02-rados-operations-add-or-rm-mons-1-of-x

doc/rados: edit operations/add-or-rm-mons (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
23 months agoMerge pull request #52884 from phlogistonjohn/jjm-doc-typo-fix
zdover23 [Wed, 9 Aug 2023 00:39:17 +0000 (10:39 +1000)]
Merge pull request #52884 from phlogistonjohn/jjm-doc-typo-fix

doc/cephadm: fix typo in cephadm initial crush location section

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
23 months agodoc/cephadm: fix typo in cephadm initial crush location section 52884/head
John Mulligan [Tue, 8 Aug 2023 20:35:49 +0000 (16:35 -0400)]
doc/cephadm: fix typo in cephadm initial crush location section

A minor typo fix found while skimming through the cephadm docs:
"will no remove" -> "will not remove".

Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 months agodoc/rados: edit operations/add-or-rm-mons (1 of x) 52745/head
Zac Dover [Wed, 2 Aug 2023 02:47:50 +0000 (12:47 +1000)]
doc/rados: edit operations/add-or-rm-mons (1 of x)

Edit the first part of doc/rados/operations/add-or-rm-mons.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
23 months agoMerge pull request #52543 from aclamk/wip-aclamk-fix-valgrind-bluefs-test
Adam Kupczyk [Tue, 8 Aug 2023 11:37:17 +0000 (13:37 +0200)]
Merge pull request #52543 from aclamk/wip-aclamk-fix-valgrind-bluefs-test

os/bluestore: Fix unittest_bluefs

23 months agomgr/dashboard: paginate hosts 52154/head
Pere Diaz Bou [Thu, 22 Jun 2023 09:22:05 +0000 (11:22 +0200)]
mgr/dashboard: paginate hosts

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
Fixes: https://tracker.ceph.com/issues/56513
23 months agoMerge pull request #52792 from leonid-s-usov/bulk-data-pool
Leonid S. Usov [Tue, 8 Aug 2023 08:24:59 +0000 (11:24 +0300)]
Merge pull request #52792 from leonid-s-usov/bulk-data-pool

mgr/volumes: create bulk data pool for new volumes

23 months agoMerge pull request #50427 from ifed01/wip-ifed-encrypted-ceph-volume
Guillaume Abrioux [Tue, 8 Aug 2023 07:57:33 +0000 (09:57 +0200)]
Merge pull request #50427 from ifed01/wip-ifed-encrypted-ceph-volume

ceph_volume: support encrypted volumes for lvm new-db/new-wal/migrate  commands

23 months agoMerge pull request #52870 from rhcs-dashboard/gh-add-to-project-link-broken
Nizamudeen A [Tue, 8 Aug 2023 06:55:40 +0000 (12:25 +0530)]
Merge pull request #52870 from rhcs-dashboard/gh-add-to-project-link-broken

.github: pr-triage broken link fix

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
23 months ago.github: pr-triage broken link fix 52870/head
Nizamudeen A [Tue, 8 Aug 2023 05:04:59 +0000 (10:34 +0530)]
.github: pr-triage broken link fix

The link I put was broken so replacing it with the correct one:

Fixes: https://github.com/ceph/ceph/pull/52455
Signed-off-by: Nizamudeen A <nia@redhat.com>
23 months agoMerge pull request #52786 from rhcs-dashboard/fs-subvolumes-create
Nizamudeen A [Tue, 8 Aug 2023 04:46:03 +0000 (10:16 +0530)]
Merge pull request #52786 from rhcs-dashboard/fs-subvolumes-create

mgr/dashboard: cephfs subvolume creation form

Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
23 months agoMerge pull request #52455 from ceph/gh-add-to-project-fix
Nizamudeen A [Tue, 8 Aug 2023 04:39:54 +0000 (10:09 +0530)]
Merge pull request #52455 from ceph/gh-add-to-project-fix

.github: pr-triage fix

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
23 months agoMerge PR #52788 into main
Venky Shankar [Tue, 8 Aug 2023 04:14:49 +0000 (09:44 +0530)]
Merge PR #52788 into main

* refs/pull/52788/head:
mds: remove unused C_MDC_OpenSnapRealms

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
23 months agoMerge pull request #52838 from zztaki/fix-backport-resolve-issue
Laura Flores [Mon, 7 Aug 2023 23:18:17 +0000 (18:18 -0500)]
Merge pull request #52838 from zztaki/fix-backport-resolve-issue

script/backport-resolve-issue: fix script to handle RC versions

23 months agoMerge pull request #52490 from zdover23/wip-doc-2023-07-18-add-reef-18-2-0-release...
Laura Flores [Mon, 7 Aug 2023 18:57:17 +0000 (13:57 -0500)]
Merge pull request #52490 from zdover23/wip-doc-2023-07-18-add-reef-18-2-0-release-notes

doc: Add Reef 18.2.0 release notes

23 months agodoc: Add Reef 18.2.0 release notes 52490/head
Zac Dover [Mon, 17 Jul 2023 16:08:02 +0000 (02:08 +1000)]
doc: Add Reef 18.2.0 release notes

Add release notes for the first stable release of Ceph Reef (18.2.0).

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
Co-authored-by: Laura Flores <lflores@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
23 months agoMerge pull request #52736 from ljflores/wip-update-stale
Laura Flores [Mon, 7 Aug 2023 16:24:22 +0000 (11:24 -0500)]
Merge pull request #52736 from ljflores/wip-update-stale

.github/workflows: pin the stale bot to the latest version

23 months agoMerge pull request #52494 from alimaredia/wip-rgw-crypt-keystone-fix
Ali Maredia [Mon, 7 Aug 2023 16:24:09 +0000 (12:24 -0400)]
Merge pull request #52494 from alimaredia/wip-rgw-crypt-keystone-fix

qa: fix keystone in rgw/crypt/barbican.yaml

Reviewed-by: Ali Maredia <amaredia@redhat.com>
23 months ago.github: pr-triage fix 52455/head
Nizamudeen A [Fri, 14 Jul 2023 11:08:03 +0000 (16:38 +0530)]
.github: pr-triage fix

Signed-off-by: Nizamudeen A <nia@redhat.com>
23 months agoMerge pull request #52860 from Matan-B/wip-matanb-monstore-osd_snap-docs
Anthony D'Atri [Mon, 7 Aug 2023 15:03:45 +0000 (11:03 -0400)]
Merge pull request #52860 from Matan-B/wip-matanb-monstore-osd_snap-docs

tools/ceph_monstore_tool: add docs

23 months agodoc/man/8/ceph-monstore-tool: add documentation 52860/head
Matan Breizman [Mon, 7 Aug 2023 06:57:45 +0000 (06:57 +0000)]
doc/man/8/ceph-monstore-tool: add documentation

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
23 months agoMerge pull request #52720 from debjyoti-pandit/api-docs-routes
Nizamudeen A [Mon, 7 Aug 2023 13:51:52 +0000 (19:21 +0530)]
Merge pull request #52720 from debjyoti-pandit/api-docs-routes

mgr/dashboard: exposed the open api documentations to details card

Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
23 months agomgr/dashboard: cephfs subvolume creation form 52786/head
Nizamudeen A [Thu, 3 Aug 2023 12:00:40 +0000 (17:30 +0530)]
mgr/dashboard: cephfs subvolume creation form

Fixes: https://tracker.ceph.com/issues/62345
Signed-off-by: Nizamudeen A <nia@redhat.com>
23 months agoceph-volume: make raw prepare use encryption_units.prepare_dmcrypt 50427/head
Igor Fedotov [Mon, 7 Aug 2023 09:04:10 +0000 (12:04 +0300)]
ceph-volume: make raw prepare use encryption_units.prepare_dmcrypt

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
23 months agomgr/dashboard: create/generalize checked table scope_permission table
Nizamudeen A [Fri, 4 Aug 2023 12:48:50 +0000 (18:18 +0530)]
mgr/dashboard: create/generalize checked table scope_permission table

Fixes: https://tracker.ceph.com/issues/62345
Signed-off-by: Nizamudeen A <nia@redhat.com>
23 months agomgr/dashboard: exposed the open api documentations to details card 52720/head
dpandit [Mon, 7 Aug 2023 07:55:34 +0000 (13:25 +0530)]
mgr/dashboard: exposed the open api documentations to details card

Fixes: https://tracker.ceph.com/issues/62296
Signed-off-by: dpandit <dpandit@li-6f946d4c-287f-11b2-a85c-b0cb07ed936d.ibm.com>
23 months agoMerge pull request #52395 from rhcs-dashboard/upgrade-ui-enhancements
Nizamudeen A [Mon, 7 Aug 2023 05:00:41 +0000 (10:30 +0530)]
Merge pull request #52395 from rhcs-dashboard/upgrade-ui-enhancements

mgr/dashboard: add logs and daemon version to upgrade UI

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
23 months agoMerge pull request #52647 from rhcs-dashboard/rbd-typing
Nizamudeen A [Mon, 7 Aug 2023 04:04:48 +0000 (09:34 +0530)]
Merge pull request #52647 from rhcs-dashboard/rbd-typing

mgr/dashboard: rbd type status

Reviewed-by: Nizamudeen A <nia@redhat.com>
23 months agoMerge pull request #52703 from zdover23/wip-doc-2023-07-31-documenting-ceph-linking...
zdover23 [Sun, 6 Aug 2023 23:27:22 +0000 (09:27 +1000)]
Merge pull request #52703 from zdover23/wip-doc-2023-07-31-documenting-ceph-linking-customs-2

doc/start: update linking conventions

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
23 months agoMerge pull request #52827 from zdover23/wip-doc-2023-08-05-troubleshooting-troublesho...
zdover23 [Sun, 6 Aug 2023 22:17:15 +0000 (08:17 +1000)]
Merge pull request #52827 from zdover23/wip-doc-2023-08-05-troubleshooting-troubleshooting-mon-2-of-x

doc/rados: edit troubleshooting-mon.rst (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
23 months agorgw/lua: add configurable memory limit for the lua state 52273/head
Yuval Lifshitz [Fri, 30 Jun 2023 13:27:08 +0000 (13:27 +0000)]
rgw/lua: add configurable memory limit for the lua state

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
23 months agoscript/backport-resolve-issue: fix script to handle RC versions 52838/head
Zhelong Zhao [Sun, 6 Aug 2023 14:29:34 +0000 (22:29 +0800)]
script/backport-resolve-issue: fix script to handle RC versions

Fixes: https://tracker.ceph.com/issues/61746
Signed-off-by: Zhelong Zhao <zztaki@outlook.com>
Signed-off-by: Zhelong Zhao <50295684+zztaki@users.noreply.github.com>
23 months agoMerge pull request #52785 from Matan-B/wip-matanb-crimson-add-asan-req
Matan Breizman [Sun, 6 Aug 2023 11:49:01 +0000 (14:49 +0300)]
Merge pull request #52785 from Matan-B/wip-matanb-crimson-add-asan-req

ceph.spec.in: add libasan to seastar requires

Reviewed-by: Samuel Just <sjust@redhat.com>
23 months agodoc/rados: edit troubleshooting-mon.rst (2 of x) 52827/head
Zac Dover [Sat, 5 Aug 2023 12:06:13 +0000 (22:06 +1000)]
doc/rados: edit troubleshooting-mon.rst (2 of x)

Edit the second part of
doc/rados/troubleshooting/troubleshooting-mon.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
23 months agoMerge pull request #52824 from bluikko/bluikko-doc-radosgw-config-language
zdover23 [Sun, 6 Aug 2023 11:29:03 +0000 (21:29 +1000)]
Merge pull request #52824 from bluikko/bluikko-doc-radosgw-config-language

doc/radosgw: Improve language and formatting in config-ref.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
23 months agodoc/radosgw: Improve language and formatting in config-ref.rst 52824/head
Ville Ojamo [Sat, 5 Aug 2023 05:18:58 +0000 (12:18 +0700)]
doc/radosgw: Improve language and formatting in config-ref.rst

The "Topic persistency settings" section includes convoluted
and incomplete sentences so attempt to improve the
language. The section lacks context so add a link to the
relevant documentation about Notifications.

The "Garbage Collection settings" note includes a sentence
that looks incomplete so try to improve the language.

Don't capitalize "Ops" in "RGW Ops" especially when the
same sentence talks about "op queue" with lower case "o".

Also improve formatting: indentation of a note and wrap
several very long lines.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
23 months agoceph.spec.in: add sanitizers to seastar requires 52785/head
Matan Breizman [Thu, 3 Aug 2023 08:14:49 +0000 (08:14 +0000)]
ceph.spec.in: add sanitizers to seastar requires

```
CMake Error at src/seastar/CMakeLists.txt:782 (message):
  Sanitizers not found!
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
23 months agoMerge pull request #52784 from Matan-B/wip-matanb-crimson-only-centos-9
Matan Breizman [Sun, 6 Aug 2023 07:40:07 +0000 (10:40 +0300)]
Merge pull request #52784 from Matan-B/wip-matanb-crimson-only-centos-9

qa/suites/crimson-rados: add centos9 to supported distros

Reviewed-by: Samuel Just <sjust@redhat.com>
23 months agoMerge pull request #52778 from zdover23/wip-doc-2023-08-03-rados-operations-add-or...
zdover23 [Sat, 5 Aug 2023 11:46:34 +0000 (21:46 +1000)]
Merge pull request #52778 from zdover23/wip-doc-2023-08-03-rados-operations-add-or-rm-mons-2-of-x

doc/rados: edit operations/add-or-rm-mons (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
23 months agodoc/rados: edit operations/add-or-rm-mons (2 of x) 52778/head
Zac Dover [Wed, 2 Aug 2023 23:24:05 +0000 (09:24 +1000)]
doc/rados: edit operations/add-or-rm-mons (2 of x)

Edit the second part of doc/rados/operations/add-or-rm-mons.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
23 months agoMerge pull request #52802 from dvanders/support_the_foundation
Anthony D'Atri [Fri, 4 Aug 2023 20:59:41 +0000 (16:59 -0400)]
Merge pull request #52802 from dvanders/support_the_foundation

doc: Add a Ceph Foundation footer to docs.ceph.com

23 months agoMerge pull request #52814 from cbodley/wip-doc-rgw-zonegroup-feature-default
Anthony D'Atri [Fri, 4 Aug 2023 20:52:39 +0000 (16:52 -0400)]
Merge pull request #52814 from cbodley/wip-doc-rgw-zonegroup-feature-default

doc/rgw: correct statement about default zone features

23 months agoMerge pull request #52787 from rhcs-dashboard/fix-rgw-average-object-size
Nizamudeen A [Fri, 4 Aug 2023 17:51:17 +0000 (23:21 +0530)]
Merge pull request #52787 from rhcs-dashboard/fix-rgw-average-object-size

mgr/dashboard: fix average object size calculation in rgw overview dashboard

Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
23 months agomgr/dashboard: update the upgrade layout by introducing new items 52395/head
Nizamudeen A [Sun, 9 Jul 2023 13:36:02 +0000 (19:06 +0530)]
mgr/dashboard: update the upgrade layout by introducing new items

Shows Cluster Health
Shows the count of mgr daemons
Shows a table with all the daemon versions
Display the cluster logs

Fixes: https://tracker.ceph.com/issues/62016
Signed-off-by: Nizamudeen A <nia@redhat.com>
23 months agodoc/rgw: correct statement about default zone features 52814/head
Casey Bodley [Fri, 4 Aug 2023 17:00:57 +0000 (13:00 -0400)]
doc/rgw: correct statement about default zone features

this sentence wasn't updated when we added the Default column to the
table below

Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agoqa: pin rgw/crypt suite temporarily to ubuntu_latest 52494/head
Ali Maredia [Thu, 3 Aug 2023 16:45:01 +0000 (12:45 -0400)]
qa: pin rgw/crypt suite temporarily to ubuntu_latest

barbican tests are only passing on ubunutu latest,
this commit allows us to have a green crypt suite.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
23 months agoqa: change admin_host to admin_url in barbican.py
Ali Maredia [Thu, 3 Aug 2023 16:39:12 +0000 (12:39 -0400)]
qa: change admin_host to admin_url in barbican.py

Signed-off-by: Ali Maredia <amaredia@redhat.com>
23 months agoqa: bump keystone version in barbican.yaml
Ali Maredia [Mon, 17 Jul 2023 20:34:14 +0000 (16:34 -0400)]
qa: bump keystone version in barbican.yaml

Signed-off-by: Ali Maredia <amaredia@redhat.com>
23 months agoMerge pull request #52248 from cbodley/wip-46062
Casey Bodley [Fri, 4 Aug 2023 12:55:52 +0000 (08:55 -0400)]
Merge pull request #52248 from cbodley/wip-46062

rgw: fetch_remote_obj() preserves original part lengths for BlockDecrypt

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
23 months agomgr/dashboard: fix average object size calculation in rgw overview 52787/head
Aashish Sharma [Thu, 3 Aug 2023 12:14:55 +0000 (17:44 +0530)]
mgr/dashboard: fix average object size calculation in rgw overview
dashboard

Fixes: https://tracker.ceph.com/issues/62318
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
23 months agoMerge pull request #52274 from cbodley/wip-61862
Casey Bodley [Fri, 4 Aug 2023 01:00:46 +0000 (21:00 -0400)]
Merge pull request #52274 from cbodley/wip-61862

qa/rgw: specify cluster name in 'radosgw-admin gc process'

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
23 months agoMerge pull request #52800 from cbodley/wip-62312
zdover23 [Thu, 3 Aug 2023 23:38:37 +0000 (09:38 +1000)]
Merge pull request #52800 from cbodley/wip-62312

doc/rgw: several response headers are supported

Reviewed-by: Zac Dover <zac.dover@proton.me>
23 months agodoc: Add a Ceph Foundation footer to docs.ceph.com 52802/head
Dan van der Ster [Thu, 3 Aug 2023 23:10:38 +0000 (16:10 -0700)]
doc: Add a Ceph Foundation footer to docs.ceph.com

Add an info box to the footer of every docs page inviting visitors
to support the Ceph Foundation.

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
23 months agodoc/rgw: several response headers are supported 52800/head
Casey Bodley [Thu, 3 Aug 2023 21:31:31 +0000 (17:31 -0400)]
doc/rgw: several response headers are supported

Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agoReleaseNotes: document recovery of encrypted multipart objects 52248/head
Casey Bodley [Thu, 3 Aug 2023 21:18:05 +0000 (17:18 -0400)]
ReleaseNotes: document recovery of encrypted multipart objects

Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agoradosgw-admin: add command to resync encrypted multipart objects
Casey Bodley [Tue, 30 May 2023 17:56:25 +0000 (13:56 -0400)]
radosgw-admin: add command to resync encrypted multipart objects

Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agorgw: RGWRados::set_attrs() takes optional mtime
Casey Bodley [Tue, 30 May 2023 21:23:36 +0000 (17:23 -0400)]
rgw: RGWRados::set_attrs() takes optional mtime

Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agorgw: expose part id in RGWObjManifest iterator
Casey Bodley [Tue, 30 May 2023 17:53:02 +0000 (13:53 -0400)]
rgw: expose part id in RGWObjManifest iterator

Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agoMerge pull request #51786 from cbodley/wip-61473
Casey Bodley [Thu, 3 Aug 2023 20:24:45 +0000 (16:24 -0400)]
Merge pull request #51786 from cbodley/wip-61473

rgw/crypt: apply rgw_crypt_default_encryption_key by default

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
23 months agomon/MDSMonitor: print a note when adding data pool to a file system that doesn't... 52792/head
Leonid Usov [Thu, 3 Aug 2023 16:47:31 +0000 (19:47 +0300)]
mon/MDSMonitor: print a note when adding data pool to a file system that doesn't have 'bulk' flag set

The note will only be printed if the pool has pg_autoscale_mode set to ON and the bulk flag is missing

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
23 months agomgr/volumes: set the 'bulk' flag for data pools created automatically for a new volume
Leonid Usov [Thu, 3 Aug 2023 16:41:12 +0000 (19:41 +0300)]
mgr/volumes: set the 'bulk' flag for data pools created automatically for a new volume

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/61595
23 months agomgr/dashboard: make the logs component configurable and reusable
Nizamudeen A [Sun, 9 Jul 2023 13:30:32 +0000 (19:00 +0530)]
mgr/dashboard: make the logs component configurable and reusable

This will make the logs component easier to reuse for now in upgrade
component and later, wherever we want

Fixes: https://tracker.ceph.com/issues/62016
Signed-off-by: Nizamudeen A <nia@redhat.com>
23 months agoMerge pull request #52447 from liumiaomiaoIntel/qatzip_update
Casey Bodley [Thu, 3 Aug 2023 15:11:02 +0000 (11:11 -0400)]
Merge pull request #52447 from liumiaomiaoIntel/qatzip_update

common/compressor: update the interfaces and data structures

Reviewed-by: Casey Bodley <cbodley@redhat.com>
23 months agoMerge pull request #52634 from AliMasarweh/wip-alimasa-persistant-q-enhance
Ali Masarwa [Thu, 3 Aug 2023 14:28:18 +0000 (17:28 +0300)]
Merge pull request #52634 from AliMasarweh/wip-alimasa-persistant-q-enhance

RGW: control the persistency of the notification

23 months agoMerge pull request #52405 from rhcs-dashboard/rgw-overview-dashboard-graphs
Nizamudeen A [Thu, 3 Aug 2023 13:47:30 +0000 (19:17 +0530)]
Merge pull request #52405 from rhcs-dashboard/rgw-overview-dashboard-graphs

mgr/dashboard: add graphs to rgw overview dashboard

Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
23 months agomds: remove unused C_MDC_OpenSnapRealms 52788/head
Xiubo Li [Thu, 3 Aug 2023 03:18:27 +0000 (11:18 +0800)]
mds: remove unused C_MDC_OpenSnapRealms

This was just left and forgot to be removed.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
23 months agoMerge pull request #52711 from cbodley/wip-62250
Casey Bodley [Thu, 3 Aug 2023 13:04:05 +0000 (09:04 -0400)]
Merge pull request #52711 from cbodley/wip-62250

rgw: retry metadata cache notifications with INVALIDATE_OBJ

Reviewed-by: Adam Emerson <aemerson@redhat.com>
23 months agorgw: preserve RGW_ATTR_CRYPT_PARTS of already-replicated objects
Casey Bodley [Wed, 12 Jul 2023 20:13:34 +0000 (16:13 -0400)]
rgw: preserve RGW_ATTR_CRYPT_PARTS of already-replicated objects

Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agorgw: fetch_remote_obj() preserves original part lengths for BlockDecrypt
Casey Bodley [Wed, 28 Jun 2023 21:14:16 +0000 (17:14 -0400)]
rgw: fetch_remote_obj() preserves original part lengths for BlockDecrypt

because multisite replicates multipart objects as a single part, we lose
information about the part sizes from the original manifest that is
necessary to correctly decrypt across those part boundaries

on replication, parse the part lengths out of the source object's
manifest, and store them in a separate RGW_ATTR_CRYPT_PARTS for use on
decryption

Fixes: https://tracker.ceph.com/issues/46062
Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agorgw: BlockDecrypt filter parses manifest parts before construction
Casey Bodley [Wed, 28 Jun 2023 20:49:33 +0000 (16:49 -0400)]
rgw: BlockDecrypt filter parses manifest parts before construction

users now call a static read_manifest_parts() function, and pass the
resulting vector into the BlockDecrypt constructor

Signed-off-by: Casey Bodley <cbodley@redhat.com>