]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
20 months agodoc/rados: edit t-mon "common issues" (1 of x) 54413/head
Zac Dover [Wed, 8 Nov 2023 09:07:40 +0000 (19:07 +1000)]
doc/rados: edit t-mon "common issues" (1 of x)

Edit the first part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troublehsooting-mon.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
20 months agoMerge pull request #54402 from athanatos/sjust/wip-fix-tmdriver
Samuel Just [Wed, 8 Nov 2023 02:22:36 +0000 (18:22 -0800)]
Merge pull request #54402 from athanatos/sjust/wip-fix-tmdriver

crimson/tools/store_nbd/tm_driver: use TransactionManager::remove

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
20 months agocrimson/tools/store_nbd/tm_driver: use TransactionManager::remove 54402/head
Samuel Just [Tue, 7 Nov 2023 19:32:12 +0000 (11:32 -0800)]
crimson/tools/store_nbd/tm_driver: use TransactionManager::remove

231c7ac removed TransactionManager::dec_ref, adjust store_nbd/tm_driver
to use TransactionManager::remove instead.

Signed-off-by: Samuel Just <sjust@redhat.com>
20 months agoMerge pull request #54158 from michaelalang/master
Adam King [Tue, 7 Nov 2023 21:28:27 +0000 (16:28 -0500)]
Merge pull request #54158 from michaelalang/master

[cephadm](BUG): honor --skip-firewalld in section Open ports explicitly required for the daemon

Reviewed-by: Adam King <adking@redhat.com>
20 months agoMerge pull request #54178 from leonid-s-usov/balance-after-stop
Rishabh Dave [Tue, 7 Nov 2023 18:02:10 +0000 (23:32 +0530)]
Merge pull request #54178 from leonid-s-usov/balance-after-stop

mds/MDBalancer: ignore queued callbacks if MDS is not active

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
20 months agoMerge pull request #54149 from mihalicyn/ceph_mds_request_head_legacy_fallback_fix
Rishabh Dave [Tue, 7 Nov 2023 17:59:43 +0000 (23:29 +0530)]
Merge pull request #54149 from mihalicyn/ceph_mds_request_head_legacy_fallback_fix

MClientRequest: properly handle ceph_mds_request_head_legacy for ext_num_retry, ext_num_fwd, owner_uid, owner_gid

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
20 months agoMerge pull request #53912 from joscollin/wip-B63099-fix-prev-snapshot-none
Rishabh Dave [Tue, 7 Nov 2023 17:58:23 +0000 (23:28 +0530)]
Merge pull request #53912 from joscollin/wip-B63099-fix-prev-snapshot-none

client: avoid getvxattr op for ceph.mirror* attrs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
20 months agoMerge pull request #53887 from lxbsz/wip-fix-check-access
Rishabh Dave [Tue, 7 Nov 2023 17:55:44 +0000 (23:25 +0530)]
Merge pull request #53887 from lxbsz/wip-fix-check-access

client: two fix for checking mds auth access in client side

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
20 months agoMerge pull request #53899 from rishabh-d-dave/before-fs-rename-fail-fs
Rishabh Dave [Tue, 7 Nov 2023 17:52:42 +0000 (23:22 +0530)]
Merge pull request #53899 from rishabh-d-dave/before-fs-rename-fail-fs

 cephfs,mon: fs rename must require FS to be offline and refuse_client_session to be set

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
20 months agoMerge pull request #54364 from rkachach/fix_issue_github_template
Adam King [Tue, 7 Nov 2023 16:54:17 +0000 (11:54 -0500)]
Merge pull request #54364 from rkachach/fix_issue_github_template

github: adding command for rook e2e jenkins job

Reviewed-by: Adam King <adking@redhat.com>
20 months agoMerge pull request #54391 from rhcs-dashboard/fix-63469-main
Aashish Sharma [Tue, 7 Nov 2023 16:06:20 +0000 (21:36 +0530)]
Merge pull request #54391 from rhcs-dashboard/fix-63469-main

mgr/dashboard: fix rgw multi-site import form helper

Reviewed-by: Nizamudeen A <nia@redhat.com>
20 months agoMerge pull request #54101 from rhcs-dashboard/dashboard-v3-unit-test
Pedro Gonzalez Gomez [Tue, 7 Nov 2023 14:19:05 +0000 (15:19 +0100)]
Merge pull request #54101 from rhcs-dashboard/dashboard-v3-unit-test

mgr/dashboard: dashboard area chart unit test

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
20 months agomgr/dashboard: fix rgw multi-site import form helper 54391/head
Aashish Sharma [Tue, 7 Nov 2023 13:27:24 +0000 (18:57 +0530)]
mgr/dashboard: fix rgw multi-site import form helper

Before : To obtain the token, generate it from your primary Ceph cluster. This token includes encoded information about the secondary cluster's endpoint, access key, and secret key.
Fix: To obtain the token, generate it from your primary Ceph cluster. This token includes encoded information about the primary cluster's endpoint, access key, and secret key.

Fixes: https://tracker.ceph.com/issues/63469
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
20 months agoMerge pull request #54372 from linuxbox2/wip-fix-deletemakers
Matt Benjamin [Tue, 7 Nov 2023 13:12:37 +0000 (08:12 -0500)]
Merge pull request #54372 from linuxbox2/wip-fix-deletemakers

rgwlc: fix delete marker regression in currentversion lc expiration

20 months agoMerge pull request #54384 from cityofships/main
zdover23 [Tue, 7 Nov 2023 13:11:02 +0000 (23:11 +1000)]
Merge pull request #54384 from cityofships/main

doc/cephadm: fix typo in set ssh key command

Reviewed-by: Zac Dover <zac.dover@proton.me>
20 months agodoc/cephadm: fix typo in set ssh key command 54384/head
Piotr Parczewski [Tue, 7 Nov 2023 11:48:01 +0000 (12:48 +0100)]
doc/cephadm: fix typo in set ssh key command

Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
20 months agoMerge pull request #54196 from ivancich/wip-log-bi-list-errors
J. Eric Ivancich [Tue, 7 Nov 2023 03:30:20 +0000 (22:30 -0500)]
Merge pull request #54196 from ivancich/wip-log-bi-list-errors

rgw: log errors during "bi list"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
20 months agoMerge pull request #54257 from ivancich/wip-fix-restore-bucket-index
J. Eric Ivancich [Tue, 7 Nov 2023 03:27:58 +0000 (22:27 -0500)]
Merge pull request #54257 from ivancich/wip-fix-restore-bucket-index

rgw: handle instances w/ leading hyphens correctly

Reviewed-by: Michael Kidd <linuxkidd@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #53537 from cyx1231st/wip-crimson-osd-fix-complete-exit
Yingxin [Tue, 7 Nov 2023 01:20:24 +0000 (09:20 +0800)]
Merge pull request #53537 from cyx1231st/wip-crimson-osd-fix-complete-exit

crimson/osd: decouple cross-core pg submission out of the OrderedExclusivePhase

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
20 months agoMerge pull request #54197 from ivancich/wip-bucket-stats-add-gen
J. Eric Ivancich [Mon, 6 Nov 2023 21:21:53 +0000 (16:21 -0500)]
Merge pull request #54197 from ivancich/wip-bucket-stats-add-gen

rgw: add layout generation info to "bucket stats"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #54365 from cbodley/wip-63455
Casey Bodley [Mon, 6 Nov 2023 21:01:17 +0000 (21:01 +0000)]
Merge pull request #54365 from cbodley/wip-63455

common: admin socket catches exception by reference

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
20 months agorgwlc: fix delete marker regression in currentversion lc expiration 54372/head
Matt Benjamin [Mon, 6 Nov 2023 20:11:58 +0000 (15:11 -0500)]
rgwlc: fix delete marker regression in currentversion lc expiration

Fixes a regression introduced in https://github.com/ceph/ceph/pull/50680,
which attempted to re-use an already created sal object handle as
an optimiztion.  This change suppressed creation of delete markers in
current version expiration when buckets are versioned.

Fixes: https://tracker.ceph.com/issues/63458
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
20 months agoMerge PR #53568 into main
Patrick Donnelly [Mon, 6 Nov 2023 19:57:17 +0000 (14:57 -0500)]
Merge PR #53568 into main

* refs/pull/53568/head:
common: resolve config proxy deadlock using refcounted pointers
common: add missing locks in config_proxy methods
common/ceph_mutex: note whether mutex debug methods are usable
qa: add reproducer for obs removal deadlock
qa: narrow search to debug_asok

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
20 months agoMerge pull request #54134 from phlogistonjohn/jjm-cephadm-podman-props-2
Adam King [Mon, 6 Nov 2023 19:56:30 +0000 (14:56 -0500)]
Merge pull request #54134 from phlogistonjohn/jjm-cephadm-podman-props-2

cephadm: move more container engine specific logic

Reviewed-by: Adam King <adking@redhat.com>
20 months agoMerge pull request #54264 from thotz/remove_realm_name_period_config
Casey Bodley [Mon, 6 Nov 2023 19:30:25 +0000 (19:30 +0000)]
Merge pull request #54264 from thotz/remove_realm_name_period_config

rgw/rgw_period : remove realm name from period config

Reviewed-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #54342 from anthonyeleven/anthonyeleven/improvements
zdover23 [Mon, 6 Nov 2023 18:28:47 +0000 (04:28 +1000)]
Merge pull request #54342 from anthonyeleven/anthonyeleven/improvements

doc/radosgw: Improve dynamicresharding.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
20 months agoMerge pull request #54147 from AliMasarweh/wip-alimasa-perf-counters
Ali Masarwa [Mon, 6 Nov 2023 16:37:24 +0000 (18:37 +0200)]
Merge pull request #54147 from AliMasarweh/wip-alimasa-perf-counters

RGW: perf counters for persistent topic stats

reviewed-by: yuvalif, alimaredia, cbodley

20 months agocommon: admin socket catches exception by reference 54365/head
Casey Bodley [Mon, 6 Nov 2023 16:19:44 +0000 (11:19 -0500)]
common: admin socket catches exception by reference

probably not a real bug, but resolves a compiler warning:

src/common/admin_socket.cc: In member function ‘int RaiseHook::parse_signal(std::string&&, ceph::Formatter*, std::ostream&)’:
src/common/admin_socket.cc:869:21: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]
  869 |       } catch (std::invalid_argument) {
      |                     ^~~~~~~~~~~~~~~~

Fixes: https://tracker.ceph.com/issues/63455
Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agocephadm: move logic to build pull command to container engines 54134/head
John Mulligan [Sat, 21 Oct 2023 16:05:43 +0000 (12:05 -0400)]
cephadm: move logic to build pull command to container engines

Move the logic needed to build a pull command to a function in the
container_engines.py file. This continues the effort to improve the
locality of items with regards to specific options for container
engines. I had thought to move the whole pull function but the logging
and retry code made me change my mind. We can always move it later if it
makes sense.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move option for setting unlimited pids into engine classes
John Mulligan [Sat, 21 Oct 2023 15:41:15 +0000 (11:41 -0400)]
cephadm: move option for setting unlimited pids into engine classes

Move the option for setting unlimited pids for the container engine
into the container engine classes. This continues the attempts to
improve the locality of items specific to certain classes to be
by making them part of the classes.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move some podman specific mount logic to podman class
John Mulligan [Sat, 21 Oct 2023 15:28:30 +0000 (11:28 -0400)]
cephadm: move some podman specific mount logic to podman class

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agoMerge pull request #54285 from thmour/main
Adam King [Mon, 6 Nov 2023 15:59:47 +0000 (10:59 -0500)]
Merge pull request #54285 from thmour/main

mgr/cephadm: discovery service (port 8765) fails on ipv6 only clusters

Reviewed-by: Adam King <adking@redhat.com>
20 months agoMerge pull request #54126 from phlogistonjohn/jjm-cephadm-remove-get_daemon_args
Adam King [Mon, 6 Nov 2023 15:57:50 +0000 (10:57 -0500)]
Merge pull request #54126 from phlogistonjohn/jjm-cephadm-remove-get_daemon_args

cephadm: remove get_daemon_args function

Reviewed-by: Adam King <adking@redhat.com>
20 months agoMerge pull request #53928 from adk3798/rm-cleanup-on-failure
Adam King [Mon, 6 Nov 2023 15:57:06 +0000 (10:57 -0500)]
Merge pull request #53928 from adk3798/rm-cleanup-on-failure

cephadm: remove --cleanup-on-failure flag

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
20 months agoMerge pull request #53737 from adk3798/rm-host-crushmap
Adam King [Mon, 6 Nov 2023 15:55:27 +0000 (10:55 -0500)]
Merge pull request #53737 from adk3798/rm-host-crushmap

mgr/cephadm: support for removing host entry from crush map during host removal

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
20 months agoMerge pull request #52492 from phlogistonjohn/jjm-cephadm-jinja
Adam King [Mon, 6 Nov 2023 15:53:02 +0000 (10:53 -0500)]
Merge pull request #52492 from phlogistonjohn/jjm-cephadm-jinja

Add templating, via jinja2, to cephadm

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
20 months agoMerge pull request #53842 from BBoozmen/oozmen_sts_max_duration
Casey Bodley [Mon, 6 Nov 2023 15:48:59 +0000 (15:48 +0000)]
Merge pull request #53842 from BBoozmen/oozmen_sts_max_duration

RGW/STS: honor configured limits when updating max session duration

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
20 months agoMerge pull request #53997 from Inode1/rgw-subuser-user-policy-check
Casey Bodley [Mon, 6 Nov 2023 15:48:35 +0000 (15:48 +0000)]
Merge pull request #53997 from Inode1/rgw-subuser-user-policy-check

rgw: add subuser to user policy condition check

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
20 months agoMerge pull request #54050 from shreyanshjain7174/fix_62646
Casey Bodley [Mon, 6 Nov 2023 15:48:14 +0000 (15:48 +0000)]
Merge pull request #54050 from shreyanshjain7174/fix_62646

RadosGW: RGW Swift info not providing max_deletes_per_request in bulk_delete

Reviewed-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #54174 from cbodley/wip-63306
Casey Bodley [Mon, 6 Nov 2023 15:47:49 +0000 (15:47 +0000)]
Merge pull request #54174 from cbodley/wip-63306

rgw: fetch_remote_obj() uses uncompressed size for encrypted objects

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
20 months agoMerge pull request #54213 from cbodley/wip-63333
Casey Bodley [Mon, 6 Nov 2023 15:47:23 +0000 (15:47 +0000)]
Merge pull request #54213 from cbodley/wip-63333

rgw-check-policy: remove check for nonempty tenant

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
20 months agoMerge pull request #50680 from linuxbox2/wip-notify-lctrans
Casey Bodley [Mon, 6 Nov 2023 15:37:16 +0000 (15:37 +0000)]
Merge pull request #50680 from linuxbox2/wip-notify-lctrans

rgwlc: dispatch S3 notifications on transition and mpu abort

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
20 months agoMerge pull request #54307 from rkachach/fix_issue_63326
Nizamudeen A [Mon, 6 Nov 2023 15:19:58 +0000 (20:49 +0530)]
Merge pull request #54307 from rkachach/fix_issue_63326

mgr/dashboard: fix secure_monitoring_stack check

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
20 months agogithub: adding command for rook e2e jenkins job 54364/head
Redouane Kachach [Mon, 6 Nov 2023 14:43:43 +0000 (15:43 +0100)]
github: adding command for rook e2e jenkins job

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
20 months agoMerge pull request #54352 from zdover23/wip-doc-2023-11-06-rados-troubleshooting...
Anthony D'Atri [Mon, 6 Nov 2023 14:05:00 +0000 (09:05 -0500)]
Merge pull request #54352 from zdover23/wip-doc-2023-11-06-rados-troubleshooting-mon-common-issues-formatting

doc/rados: format Q&A list in tshooting-mon.rst

20 months agoMerge pull request #54222 from nbalacha/deep_copy_logs
Ilya Dryomov [Mon, 6 Nov 2023 13:51:27 +0000 (14:51 +0100)]
Merge pull request #54222 from nbalacha/deep_copy_logs

librbd: additional logs for deep-copy debugging

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
20 months agolibrbd: additional logs for debugging 54222/head
N Balachandran [Mon, 6 Nov 2023 08:57:59 +0000 (14:27 +0530)]
librbd: additional logs for debugging

Added image and object information to the deep_copy class constructors
debugging easier.

Signed-off-by: N Balachandran <nibalach@redhat.com>
20 months agoMerge pull request #54351 from cyx1231st/wip-seastore-cleanup-is-stable-cleanup-only
Yingxin [Mon, 6 Nov 2023 08:36:10 +0000 (16:36 +0800)]
Merge pull request #54351 from cyx1231st/wip-seastore-cleanup-is-stable-cleanup-only

crimson/os/seastore: cleanup, be explicit about stable and stable_written

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
20 months agoRGW: perf counters for topic stats 54147/head
Ali Masarwa [Thu, 12 Oct 2023 11:58:49 +0000 (14:58 +0300)]
RGW: perf counters for topic stats

Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
20 months agoMerge pull request #54347 from yuvalif/wip-yuval-coverity-y2k38
Yuval Lifshitz [Mon, 6 Nov 2023 07:26:27 +0000 (09:26 +0200)]
Merge pull request #54347 from yuvalif/wip-yuval-coverity-y2k38

rgw: adding y2k38 annotations to supress coverity issues

reviewed-by: vedanshbhartia, idryomov

20 months agoMerge pull request #54286 from jnsaff/patch-1
zdover23 [Mon, 6 Nov 2023 05:09:27 +0000 (15:09 +1000)]
Merge pull request #54286 from jnsaff/patch-1

doc: Update mount-using-fuse.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
20 months agoMerge pull request #54336 from adk3798/cephadm-dashboard-e2e-fedora-link
Nizamudeen A [Mon, 6 Nov 2023 05:00:35 +0000 (10:30 +0530)]
Merge pull request #54336 from adk3798/cephadm-dashboard-e2e-fedora-link

mgr/dashboard: update fedora link for dashboard-cephadm-e2e test

Reviewed-by: Nizamudeen A <nia@redhat.com>
20 months agodoc/rados: format Q&A list in tshooting-mon.rst 54352/head
Zac Dover [Mon, 6 Nov 2023 04:31:20 +0000 (14:31 +1000)]
doc/rados: format Q&A list in tshooting-mon.rst

Bold the questions in a Q&A list in the "Most Common Monitor Issues"
section of doc/rados/troubleshooting/troubleshooting-mon.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
20 months agocrimson/os/seastore: cleanup, be explicit about stable and stable_written 54351/head
Yingxin Cheng [Fri, 3 Nov 2023 09:00:07 +0000 (17:00 +0800)]
crimson/os/seastore: cleanup, be explicit about stable and stable_written

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
20 months agoMerge pull request #54325 from cyx1231st/wip-seastore-fix-seastore-pr-54036
Yingxin [Mon, 6 Nov 2023 01:54:23 +0000 (09:54 +0800)]
Merge pull request #54325 from cyx1231st/wip-seastore-fix-seastore-pr-54036

crimson/os/seastore/transaction_manager: add the missing UNIT_TESTS_BUILT guard

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
20 months agoMerge pull request #54344 from zdover23/wip-doc-2023-11-05-rados-troubleshooting...
zdover23 [Sun, 5 Nov 2023 16:05:47 +0000 (02:05 +1000)]
Merge pull request #54344 from zdover23/wip-doc-2023-11-05-rados-troubleshooting-mon-clock-skews-edit

doc/rados: edit t-mon.rst text

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
20 months agorgw: adding y2k38 annotations to supress coverity issues 54347/head
Yuval Lifshitz [Sun, 5 Nov 2023 14:52:30 +0000 (16:52 +0200)]
rgw: adding y2k38 annotations to supress coverity issues

the supression comments must be directly above the line
where the issue is.

this is a followup on these commits:
edfb5b9049ee897779863d780bfbaa130a7fbc40
aca2668c88a048ab556c53411dcf2ccd43099d50

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
20 months agodoc/rados: edit t-mon.rst text 54344/head
Zac Dover [Sun, 5 Nov 2023 12:28:39 +0000 (22:28 +1000)]
doc/rados: edit t-mon.rst text

Clarify the text in the "Clock Skew" section of
doc/rados/troubleshooting/troubleshooting-mon.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
20 months agoMerge pull request #54343 from zdover23/wip-doc-2023-11-05-rados-troubleshooting...
Anthony D'Atri [Sun, 5 Nov 2023 13:11:22 +0000 (08:11 -0500)]
Merge pull request #54343 from zdover23/wip-doc-2023-11-05-rados-troubleshooting-troubleshooting-mon-clock-skews-formatting

doc/rados: format Q&A list in t-mon.rst

20 months agodoc/rados: format Q&A list in t-mon.rst 54343/head
Zac Dover [Sun, 5 Nov 2023 06:24:16 +0000 (16:24 +1000)]
doc/rados: format Q&A list in t-mon.rst

Format a Q&A list in doc/rados/troubleshooting/troubleshooting.rst, in
the "Clock Skews" section.

Signed-off-by: Zac Dover <zac.dover@proton.me>
20 months agocephadm: eliminate the _get_daemon_args function 54126/head
John Mulligan [Fri, 20 Oct 2023 15:20:36 +0000 (11:20 -0400)]
cephadm: eliminate the _get_daemon_args function

Move the last remaining bit of daemon args logic (ceph) out of
the _get_daemon_args function and remove the function.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move monitoring daemon args out of _get_daemon_args
John Mulligan [Fri, 20 Oct 2023 15:13:52 +0000 (11:13 -0400)]
cephadm: move monitoring daemon args out of _get_daemon_args

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move jaeger tracing daemon args out of _get_daemon_args
John Mulligan [Fri, 20 Oct 2023 15:11:27 +0000 (11:11 -0400)]
cephadm: move jaeger tracing daemon args out of _get_daemon_args

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move nfs daemon args out of _get_daemon_args
John Mulligan [Fri, 20 Oct 2023 15:09:52 +0000 (11:09 -0400)]
cephadm: move nfs daemon args out of _get_daemon_args

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move ceph exporter daemon args out of _get_daemon_args
John Mulligan [Fri, 20 Oct 2023 15:08:09 +0000 (11:08 -0400)]
cephadm: move ceph exporter daemon args out of _get_daemon_args

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move haproxy daemon args out of _get_daemon_args
John Mulligan [Fri, 20 Oct 2023 15:04:32 +0000 (11:04 -0400)]
cephadm: move haproxy daemon args out of _get_daemon_args

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move custom container daemon args out of _get_daemon_args
John Mulligan [Fri, 20 Oct 2023 15:03:52 +0000 (11:03 -0400)]
cephadm: move custom container daemon args out of _get_daemon_args

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move snmp daemon args out of _get_daemon_args
John Mulligan [Fri, 20 Oct 2023 14:59:55 +0000 (10:59 -0400)]
cephadm: move snmp daemon args out of _get_daemon_args

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move daemon args assignment to a variable
John Mulligan [Fri, 20 Oct 2023 14:52:56 +0000 (10:52 -0400)]
cephadm: move daemon args assignment to a variable

Move the call to _get_daemon_args out of the function call.
This will aid with the next refactoring steps, were the content
of _get_daemon_args will be lifted into get_container.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: ensure entrypoint is assigned a string
John Mulligan [Fri, 20 Oct 2023 14:30:16 +0000 (10:30 -0400)]
cephadm: ensure entrypoint is assigned a string

Ensure that the entrypoint variable is assigned a string. The
custom container class can have None and that can confuse future
refactoring.
The mypy command we're using does not notice this.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: make get_daemon_args private
John Mulligan [Thu, 19 Oct 2023 20:25:17 +0000 (16:25 -0400)]
cephadm: make get_daemon_args private

The get_daemon_args function now only has one caller. To double check
that and to prepare for this function's eventual removal we prefix the
name with an underscore to take it private.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: use ceph specific get_daemon_args calls
John Mulligan [Thu, 19 Oct 2023 20:22:37 +0000 (16:22 -0400)]
cephadm: use ceph specific get_daemon_args calls

Use the new Ceph class specific get_daemon_args method instead of the
generic get_daemon_args calls that check all sorts of daemon types when
we're running specialized mon containers, which we know for certain are
ceph based.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move tracing get_daemon_args logic to class
John Mulligan [Thu, 19 Oct 2023 20:19:21 +0000 (16:19 -0400)]
cephadm: move tracing get_daemon_args logic to class

Move the logic used to get deamon args into a method of the
Tracing class.
This requires an update to save a reference to ctx.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move monitoring get_daemon_args logic to class
John Mulligan [Thu, 19 Oct 2023 20:11:26 +0000 (16:11 -0400)]
cephadm: move monitoring get_daemon_args logic to class

Move the logic used to get deamon args into a method of the Monitoring
class.
This requires an update to save a reference to ctx.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move ceph get_daemon_args logic to a method on the class
John Mulligan [Thu, 19 Oct 2023 20:03:22 +0000 (16:03 -0400)]
cephadm: move ceph get_daemon_args logic to a method on the class

Move the logic used to get deamon args into a method of the Ceph class.
This requires an update to save a reference to ctx.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: consolidate if-blocks in get_container function
John Mulligan [Thu, 19 Oct 2023 18:48:17 +0000 (14:48 -0400)]
cephadm: consolidate if-blocks in get_container function

Instead of having a number of separate if-statement blocks try to
reduce the number of sections so that you can look at one block
and see what the function is doing for that daemon type.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move all pids-limit logic to renamed function
John Mulligan [Thu, 19 Oct 2023 18:28:46 +0000 (14:28 -0400)]
cephadm: move all pids-limit logic to renamed function

Repurpose set_pids_limit_unlimited as _update_pids_limit, moving the
logic to decide if the daemon should have unlimited pids into the
function. This was the only caller of set_pids_limit_unlimited.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: remove get_deployment_container
John Mulligan [Thu, 19 Oct 2023 18:22:49 +0000 (14:22 -0400)]
cephadm: remove get_deployment_container

Remove get_deployment_container replacing all calls to it with calls to
to_deployment_container. Now, callers can inject modifications to the
container object between calls or even have to_deployment_container
update container objects that were constructed in some other way.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: split get_deployment_container function
John Mulligan [Thu, 19 Oct 2023 18:12:40 +0000 (14:12 -0400)]
cephadm: split get_deployment_container function

Split get_deployment_container into to_depoyment_container and
a call to get_container. A future change will remove
get_deployment_container entirely.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: enhance test case with env vars
John Mulligan [Fri, 20 Oct 2023 14:43:04 +0000 (10:43 -0400)]
cephadm: enhance test case with env vars

Add some env vars to the custom container test to help assure
future changes don't overlook the ability to set them.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: fix mistaken call to get_container_mounts_for_type
John Mulligan [Thu, 19 Oct 2023 20:33:57 +0000 (16:33 -0400)]
cephadm: fix mistaken call to get_container_mounts_for_type

When this function was refactored two variants were created:
get_container_mounts_for_type and _get_container_mounts_for_type.  The
latter doesn't append podman specific mounts so that it can be called
from other functions that do append podman specific mounts.
Unfortunately, I didn't call the correct function from
get_container_mounts and therefore it was redundantly doing the podman
mounts update. This corrects that error.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agoMerge pull request #54104 from phlogistonjohn/jjm-cephadm-move-extract
Adam King [Sat, 4 Nov 2023 16:01:10 +0000 (12:01 -0400)]
Merge pull request #54104 from phlogistonjohn/jjm-cephadm-move-extract

cephadm: move extract_uid_gid function

Reviewed-by: Adam King <adking@redhat.com>
20 months agodoc/radosgw: Improve dynamicresharding.rst 54342/head
Anthony D'Atri [Sat, 4 Nov 2023 15:06:25 +0000 (11:06 -0400)]
doc/radosgw: Improve dynamicresharding.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
20 months agoMerge pull request #54056 from rkachach/fix_issue_ci_for_rook
Adam King [Fri, 3 Nov 2023 23:56:34 +0000 (19:56 -0400)]
Merge pull request #54056 from rkachach/fix_issue_ci_for_rook

mgr/rook: adding e2e testing for rook orchestrator

reviewed-by: Nizamudeen A <nia@redhat.com>

20 months agoMerge pull request #54339 from aclamk/fix-aclamk-bs-reshard-doc-v2
Anthony D'Atri [Fri, 3 Nov 2023 23:28:26 +0000 (19:28 -0400)]
Merge pull request #54339 from aclamk/fix-aclamk-bs-reshard-doc-v2

doc/rados/configuration/bluestore-config-ref: Fix lowcase typo

20 months agoMerge pull request #51784 from muahdib69/rsachere_cache_ratios
Yuri Weinstein [Fri, 3 Nov 2023 22:57:09 +0000 (15:57 -0700)]
Merge pull request #51784 from muahdib69/rsachere_cache_ratios

osd: make _set_cache_sizes ratio aware of cache_kv_onode_ratio

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
20 months agocephadm: switch to using template files 52492/head
John Mulligan [Wed, 1 Nov 2023 21:58:19 +0000 (17:58 -0400)]
cephadm: switch to using template files

Switch off of the embedded template strings to using the recently
added template files.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: copy template strings into template files
John Mulligan [Thu, 5 Oct 2023 20:41:12 +0000 (16:41 -0400)]
cephadm: copy template strings into template files

Copy the current template strings into files under the `templates` dir.
Add a enum for holding the names of known template files.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: expand the templating module
John Mulligan [Thu, 5 Oct 2023 20:02:06 +0000 (16:02 -0400)]
cephadm: expand the templating module

Expand the templating module so that templates can be source from the
python package. Add (more) convenient to use methods.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: workaround jinja2 package loader issue
John Mulligan [Thu, 5 Oct 2023 19:58:22 +0000 (15:58 -0400)]
cephadm: workaround jinja2 package loader issue

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: update agent unit file func to use jinja template
John Mulligan [Mon, 17 Jul 2023 13:28:35 +0000 (09:28 -0400)]
cephadm: update agent unit file func to use jinja template

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: update get_unit_file to use jinja template
John Mulligan [Sun, 16 Jul 2023 20:15:49 +0000 (16:15 -0400)]
cephadm: update get_unit_file to use jinja template

The somewhat complex string assembly of the main systemd unit file
for cephadm services can benefit from using a standard templating
approach.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: add wrapper func for jinja templating
John Mulligan [Fri, 14 Jul 2023 19:44:50 +0000 (15:44 -0400)]
cephadm: add wrapper func for jinja templating

Add a simple wrapper function for templating from a string to a string.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: add new requirements file to tox.ini envs
John Mulligan [Sun, 16 Jul 2023 20:14:53 +0000 (16:14 -0400)]
cephadm: add new requirements file to tox.ini envs

Add `-rzipapp-reqs.txt` to the unit tests and mypy environments in
tox.ini, enabling the use of dependencies outside the stdlib.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: add zipapp-reqs.txt, mirroring cephadm's zipapp dependencies
John Mulligan [Fri, 14 Jul 2023 19:44:09 +0000 (15:44 -0400)]
cephadm: add zipapp-reqs.txt, mirroring cephadm's zipapp dependencies

Add Jinja2 and MarkupSafe dependencies to a requirements.txt style file.
This file tracks the dependencies needed to run the cephadm libs
in the unit test framework. The actual dependencies that get added
to the ziapp are managed by build.py but mirrored here.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: add more thorough test coverage to unit file generation
John Mulligan [Mon, 17 Jul 2023 13:24:14 +0000 (09:24 -0400)]
cephadm: add more thorough test coverage to unit file generation

Add tests that check the generation of the standard systemd unit
for cephadm services. This test ensures that non trivial changes
to the content of these files are noticed.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: add additional test cases for unit file contents
John Mulligan [Tue, 11 Jul 2023 19:51:19 +0000 (15:51 -0400)]
cephadm: add additional test cases for unit file contents

Asserts more about the unit files.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agorgw: log errors during "bi list" 54196/head
J. Eric Ivancich [Wed, 25 Oct 2023 21:02:12 +0000 (17:02 -0400)]
rgw: log errors during "bi list"

Currently errors are displayed on STDERR but do not get into the
appropriate log. This duplicates the STDERR messages to the log.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
20 months agocephadm: remove --cleanup-on-failure flag 53928/head
Adam King [Tue, 10 Oct 2023 18:00:27 +0000 (14:00 -0400)]
cephadm: remove --cleanup-on-failure flag

As discussed in the orch weekly, instead of having the
two flags, we'll just have the --no-cleanup-on-failure
flag on its own. This commit does not change the behavior
at all. It will still do the cleanup if --no-cleanup-on-failure
is not provided and not do the cleanup if it was. This just
removes the additional flag.

Signed-off-by: Adam King <adking@redhat.com>
20 months agodoc/rados/configuration/bluestore-config-ref: Fix lowcase typo 54339/head
Adam Kupczyk [Fri, 3 Nov 2023 19:32:28 +0000 (20:32 +0100)]
doc/rados/configuration/bluestore-config-ref: Fix lowcase typo

Letter "O" got lowcased to "o".
Reverted that.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>