]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Aashish Sharma [Tue, 16 Jul 2024 06:02:58 +0000 (11:32 +0530)]
Merge pull request #57715 from rhcs-dashboard/add-rgw-multisite-wizard
mgr/dashboard: add a wizard to setup rgw multisite replication
Reviewed-by: Nizamudeen A <nia@redhat.com>
Zac Dover [Tue, 16 Jul 2024 04:49:28 +0000 (14:49 +1000)]
Merge pull request #58596 from batrick/superuser-doc
doc: clarify superuser note for ceph-fuse
Reviewed-by: Zac Dover <zac.dover@proton.me>
Venky Shankar [Tue, 16 Jul 2024 04:14:54 +0000 (09:44 +0530)]
Merge pull request #55265 from vshankar/wip-58878
osdc/Journaler: derr log when header update get (possibly) overwritten out-of-order
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Adam King [Mon, 15 Jul 2024 22:13:49 +0000 (18:13 -0400)]
Merge pull request #58517 from phlogistonjohn/jjm-cephadm-ranked-by-spec
mgr/cephadm: allow services to be conditionally ranked
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Mon, 15 Jul 2024 22:12:31 +0000 (18:12 -0400)]
Merge pull request #58514 from phlogistonjohn/jjm-smb-fix-show-no-shares
mgr/smb: fix ceph smb show when a cluster has not associated shares
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Adam King [Mon, 15 Jul 2024 22:10:06 +0000 (18:10 -0400)]
Merge pull request #58379 from adk3798/no-cgroups-split-bootstrap
cephadm: turn off cgroups_split setting when bootstrapping with --no-cgroups-split
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Mon, 15 Jul 2024 22:08:43 +0000 (18:08 -0400)]
Merge pull request #57853 from rhcs-dashboard/cache-subvol-smb
mgr/smb: cache subvolume (& subvolume group) path lookups
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Laura Flores [Mon, 15 Jul 2024 14:59:23 +0000 (09:59 -0500)]
Merge pull request #58566 from ljflores/wip-tracker-66881
qa/workunits/cephtool: add extra privileges to cephtool script
Kamoltat (Junior) Sirivadhna [Mon, 15 Jul 2024 14:18:23 +0000 (10:18 -0400)]
Merge pull request #58374 from kamoltat/wip-ksirivad-fix-65824
qa/suites/rados/thrash-old-clients: Add noscrub, nodeep-scrub to ignorelist
Reviewed by: Laura Flores <lflores@ibm.com>
Patrick Donnelly [Mon, 15 Jul 2024 14:18:15 +0000 (10:18 -0400)]
doc: elide superuser discussion from mount prereq
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 15 Jul 2024 14:12:24 +0000 (10:12 -0400)]
doc: clarify superuser note for ceph-fuse
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Ankush Behl [Mon, 15 Jul 2024 14:02:18 +0000 (19:32 +0530)]
Merge pull request #57775 from rhcs-dashboard/add-urls
mgr/dashboard: adds links to the services
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Pedro Gonzalez Gomez [Mon, 15 Jul 2024 13:44:50 +0000 (15:44 +0200)]
Merge pull request #58143 from rhcs-dashboard/add-ec-profile-fields
mgr/dashboard: add fields to EC profile form
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Casey Bodley [Mon, 15 Jul 2024 12:55:54 +0000 (13:55 +0100)]
Merge pull request #58581 from rkhudov/src-test-rgw-test_multi-update-documentation
src/test/rgw/test_multlti.md:update documentation for multi tests run
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Venky Shankar [Mon, 15 Jul 2024 10:25:20 +0000 (15:55 +0530)]
Merge pull request #49974 from neesingh-rh/wip-58619
mds: fix session/client evict command.
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 15 Jul 2024 09:55:19 +0000 (15:25 +0530)]
Merge pull request #56193 from joscollin/wip-B64927-test_cephfs_mirror_blocklist-fail
cephfs_mirror, qa: fix mirror daemon doesn't restart when blocklisted or failed
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 15 Jul 2024 09:54:09 +0000 (15:24 +0530)]
Merge pull request #57859 from vshankar/wip-debug-reclaim-noaddrs
mds: derr log and dump sessionmap when reclaim session uuid isn't found
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Venky Shankar [Mon, 15 Jul 2024 09:41:44 +0000 (15:11 +0530)]
Merge pull request #58216 from hit1943/56288_fix
client: retry readdir if dir is invalidated
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Pedro Gonzalez Gomez [Wed, 19 Jun 2024 20:23:11 +0000 (22:23 +0200)]
mgr/dashboard: add fields to EC profile form
Fixes: https://tracker.ceph.com/issues/66571
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Pedro Gonzalez Gomez [Wed, 29 May 2024 18:35:15 +0000 (20:35 +0200)]
mgr/dashboard: add url links to services
Fixes: https://tracker.ceph.com/issues/66736
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Nizamudeen A [Mon, 15 Jul 2024 05:45:01 +0000 (11:15 +0530)]
Merge pull request #58167 from rhcs-dashboard/multi-cluster-cleanup
mgr/dashboard: Multi-cluster cleanup
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Mon, 15 Jul 2024 05:44:42 +0000 (11:14 +0530)]
Merge pull request #58241 from afreen23/wip-nvmeof-subsystems
mgr/dashboard: Configure subsystems from dashboard
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Aashish Sharma [Tue, 7 May 2024 03:47:24 +0000 (09:17 +0530)]
mgr/dashboard: add a wizard to setup rgw multisite replication
Fixes: https://tracker.ceph.com/issues/66227
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Yingxin [Mon, 15 Jul 2024 01:57:10 +0000 (09:57 +0800)]
Merge pull request #58357 from xxhdx1985126/wip-seastore-btree-interruptible-bug-fix
crimson/os/seastore/btree: interrupt transactions immediately when getting children
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin [Mon, 15 Jul 2024 01:54:30 +0000 (09:54 +0800)]
Merge pull request #58467 from cyx1231st/wip-seastore-track-outstanding
crimson/os/seastore: track transactions/conflicts/outstanding periodically
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Yingxin [Mon, 15 Jul 2024 01:53:16 +0000 (09:53 +0800)]
Merge pull request #58250 from cyx1231st/wip-seastore-optimize-ool-padding
crimson/os/seastore: write ool extents without padding
Reviewed-by: Samuel Just <sjust@redhat.com>
rkhudov [Sun, 14 Jul 2024 16:46:27 +0000 (17:46 +0100)]
src/test/rgw/test_multlti.md:update documentation for multi tests run
Signed-off-by: rkhudov <rhudov@gmail.com>
Zac Dover [Sun, 14 Jul 2024 14:03:06 +0000 (00:03 +1000)]
Merge pull request #58574 from zdover23/wip-doc-2024-07-13-cephfs-mount-using-kernel-driver
doc/cephfs: edit "is mount helper present"
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sun, 14 Jul 2024 07:45:25 +0000 (17:45 +1000)]
Merge pull request #58451 from zdover23/wip-doc-2024-07-07-dev-encoding
doc/dev: edit "Principles for format change"
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sun, 7 Jul 2024 03:59:15 +0000 (13:59 +1000)]
doc/dev: edit "Principles for format change"
Improve "Principles for format change" in doc/dev/encoding.rst. This
commit started as a response to Anthony D'Atri's suggestion here: https://github.com/ceph/ceph/pull/58299/files#r1656985564
Review of this section suggested to me that certain minor English usage
improvements would be of benefit. The numbered lists in this section
could still be made a bit clearer.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Zac Dover [Sun, 14 Jul 2024 06:40:14 +0000 (16:40 +1000)]
doc/cephfs: edit "is mount helper present"
Edit the section called "Is mount helper present?", the title of which
prior to this commit was "Is mount helper is present?". Other small
disambiguating improvements have been made to the text in the section.
An unselectable prompt has been added before a command.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Laura Flores [Fri, 12 Jul 2024 18:43:12 +0000 (13:43 -0500)]
Merge pull request #58324 from kamoltat/wip-ksirivad-fix-63784
qa/standalone/mon: Fix mkfs test & TEST_LOG failures
Laura Flores [Thu, 11 Jul 2024 22:20:50 +0000 (17:20 -0500)]
qa/workunits/cephtool: add extra privileges to cephtool script
This is more of a workaround to an issue in the infrastructure
where files are made with root privileges, causing permission
issues when operations are used on them without sudo.
Fixes: https://tracker.ceph.com/issues/66881
Signed-off-by: Laura Flores <lflores@ibm.com>
Yuri Weinstein [Fri, 12 Jul 2024 15:12:49 +0000 (08:12 -0700)]
Merge pull request #58554 from ceph/wip-yuriw-release-process-main
docs: removed centos 8 and added squid to the build matrix
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Fri, 12 Jul 2024 13:42:02 +0000 (06:42 -0700)]
docs: removed centos 8 and added squid to the build matrix
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Casey Bodley [Fri, 12 Jul 2024 12:44:45 +0000 (13:44 +0100)]
Merge pull request #58416 from cbodley/wip-cmake-zfs
cmake/os: remove WITH_ZFS option
Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Rishabh Dave [Fri, 12 Jul 2024 10:53:47 +0000 (16:23 +0530)]
Merge pull request #58311 from rishabh-d-dave/fs-auth-nonalpha-test
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Nizamudeen A [Fri, 12 Jul 2024 07:24:47 +0000 (12:54 +0530)]
Merge pull request #58386 from YiteGu/dashboard-rename-api
mgr/dashboard: add cephfs rename REST API
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Fri, 12 Jul 2024 07:23:39 +0000 (12:53 +0530)]
Merge pull request #58531 from rhcs-dashboard/fix-66901-main
mgr/dashboard: fix rgw configuration e2e test
Reviewed-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Fri, 12 Jul 2024 07:19:29 +0000 (12:49 +0530)]
Merge pull request #57989 from rhcs-dashboard/multicluster-e2e
mgr/dashboard: multicluster management e2e tests
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Nizamudeen A [Fri, 12 Jul 2024 05:10:02 +0000 (10:40 +0530)]
Merge pull request #57712 from rhcs-dashboard/dashboard-nvmf-mtls-conf
mgr/dashboard: use secure_channel for grpc requests
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: baum <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Rishabh Dave [Fri, 12 Jul 2024 03:55:26 +0000 (09:25 +0530)]
Merge pull request #58101 from rishabh-d-dave/async-clone-race
mgr/vol: handle case where clone index entry goes missing
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Yingxin Cheng [Tue, 9 Jul 2024 03:01:44 +0000 (11:01 +0800)]
crimson/os/seastore: report outstanding ios for each shard
Detailed outstanding ios might reflect some issues, remove if it is no
longer a problem.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 8 Jul 2024 08:53:26 +0000 (16:53 +0800)]
crimson/os/seastar: report transaction iops/conflicts/outstanding
Also report details in shard 0.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 5 Jul 2024 09:03:38 +0000 (17:03 +0800)]
crimson/os/seastore: track shard io stats below transaction manager
Including background transactions.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Rishabh Dave [Wed, 26 Jun 2024 13:35:35 +0000 (19:05 +0530)]
qa/cephfs: fix test_single_path_authorize_on_nonalphanumeric_fsname
This test deletes the CephFS already present on the cluster at the very
beginning and unmounts the first client beforehand. But it leaves the
second client mounted on this deleted CephFS that doesn't exist for the
rest of the test. And then at the very end of this test it attempts to
remount the second client (during tearDown()) which hangs and causes
test runner to crash.
Unmount the second client beforehand to prevent the bug and delete
mount_b object to avoid confusion for the readers in future about
whether or not 2nd mountpoint exists.
Fixes: https://tracker.ceph.com/issues/66077
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Mon, 17 Jun 2024 19:03:28 +0000 (00:33 +0530)]
mgr/vol: handle case where clone index entry goes missing
In `async_cloner.py`, clone index entry is fetched to get next clone job
that needs to be executed. It might happen that the clone job was
cancelled just when it was going to be picked for execution (IOW, when
it was about to move from pending state to in-progress state).
Currently, MGR hangs in such a case because exception `ObjectNotFound`
from CephFS Python bindings is raised and is left uncaught. To prevent
this issue catch the exception, log it and return None to tell
`get_job()` of `async_job.py` to look for next job in the queue.
Increase the scope of try-except in method `get_oldest_clone_entry()` of
`async_cloner.py` so that when exception `cephfs.Error` or any exception
under it is thrown by `self.fs.lstat()` is not left uncaught.
FS object is also passed to the method `list_one_entry_at_a_time()`, so
increasing scope of try-except is useful as it will not allow exceptions
raised in other calls to CephFS Python binding methods to be left
uncaught.
Fixes: https://tracker.ceph.com/issues/66560
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Casey Bodley [Thu, 11 Jul 2024 14:33:21 +0000 (15:33 +0100)]
Merge pull request #58491 from cbodley/wip-66880
rgw/datalog: fix LazyFIFO race fix
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Anthony D'Atri [Thu, 11 Jul 2024 12:06:29 +0000 (08:06 -0400)]
Merge pull request #58530 from zdover23/wip-doc-2024-07-11-radosgw-s3-authentication
doc/radosgw: s/http/HTTP/
Ilya Dryomov [Thu, 11 Jul 2024 12:03:16 +0000 (14:03 +0200)]
Merge pull request #58507 from idryomov/wip-66886
qa: account for rbd_trash object in krbd_data_pool.sh + related ceph{,adm} task fixes
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: N Balachandran <nibalach@redhat.com>
Afreen Misbah [Sat, 22 Jun 2024 12:00:49 +0000 (17:30 +0530)]
mgr/dashboard: Configure subsystems from dashboard
Fixes https://tracker.ceph.com/issues/66659
- adds subsytems tab
- adds subsystem listing view
- adds create subsystem modal
- adds delete subsystem
- adds unit tests
Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
Rishabh Dave [Thu, 11 Jul 2024 11:07:16 +0000 (16:37 +0530)]
Merge pull request #57492 from rishabh-d-dave/qa-fs-mds-fail-improve
qa/cephfs: improvements for "mds fail" and "fs fail"
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Matan Breizman [Thu, 11 Jul 2024 09:13:58 +0000 (12:13 +0300)]
Merge pull request #58225 from guojidan/fix-mem-leak
crimson/osd/osd_operation: fix dump_historic_slow_ops command works
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Thu, 11 Jul 2024 08:47:29 +0000 (11:47 +0300)]
Merge pull request #58396 from NitzanMordhai/wip-nitzan-crimson-stat-pybind-test
suite/crimson: enable stats tests
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Aashish Sharma [Thu, 11 Jul 2024 07:05:59 +0000 (12:35 +0530)]
mgr/dashboard: fix rgw configuration e2e test
Fixes: https://tracker.ceph.com/issues/66901
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Nizamudeen A [Wed, 12 Jun 2024 08:28:17 +0000 (13:58 +0530)]
mgr/dashboard: multicluster management e2e tests
auth, edit, reconnect and disconnect another cluster
Signed-off-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Thu, 11 Jul 2024 06:19:30 +0000 (11:49 +0530)]
Merge pull request #58224 from Serrini/fix-66490-main
mgr/dashboard: add restful api for creating crush rule with type of 'erasure'
Reviewed-by: Nizamudeen A <nia@redhat.com>
Zac Dover [Thu, 11 Jul 2024 03:48:39 +0000 (13:48 +1000)]
doc/radosgw: s/http/HTTP/
s/http/HTTP/ in doc/radosgw/s3/authentication.rst, as suggested by
Anthony D'Atri in the location linked in the "Fixes:" line below.
Fixes: https://github.com/ceph/ceph/pull/58436#discussion_r1667088045
Signed-off-by: Zac Dover <zac.dover@proton.me>
Yingxin Cheng [Fri, 5 Jul 2024 06:30:04 +0000 (14:30 +0800)]
crimson/os/seastore: track transactional read/write/flush
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 4 Jul 2024 06:35:10 +0000 (14:35 +0800)]
crimson/os/seastore: improve store stats
Calculate average values and remove verbose per-shard data.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
John Mulligan [Mon, 8 Jul 2024 19:14:30 +0000 (15:14 -0400)]
mgr/cephadm: allow services to be conditionally ranked
Add a spec argument to the `ranked` function. If this function returns
true the service will use ranks. In some cases we want 'rankedness'
to be conditional on parameters of the given service spec.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Adam King [Wed, 10 Jul 2024 17:09:33 +0000 (13:09 -0400)]
Merge pull request #58382 from adk3798/cephadm-upgrade-test-start-points
qa/cephadm: change upgrade test start point to reef/squid
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Mon, 1 Jul 2024 17:44:29 +0000 (13:44 -0400)]
cephadm: turn off cgroups_split setting when bootstrapping with --no-cgroups-split
If users provide the --no-cgroups-split tag when bootstrapping a
cluster, they probably want the cluster to continue to not use
cgroups split for daemon post bootstrap. Setting the
mgr/cephadm/cgroups_split setting to false accomplishes that.
Fixes: https://tracker.ceph.com/issues/66848
Signed-off-by: Adam King <adking@redhat.com>
Redouane Kachach [Wed, 10 Jul 2024 16:17:20 +0000 (18:17 +0200)]
Merge pull request #58440 from jmolmo/tls_4_exporter
exporter: Added https(TLSv13) support
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Adam King [Wed, 10 Jul 2024 15:15:45 +0000 (11:15 -0400)]
Merge pull request #58343 from skritik098/rgw-module-period-commit-retry-fix
mgr/rgw: Adding a retry config while calling zone_create()
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Wed, 10 Jul 2024 15:14:04 +0000 (11:14 -0400)]
Merge pull request #58326 from adk3798/mgr-rgw-realm-token
mgr/rgw: fix setting rgw realm token in secondary site rgw spec
Reviewed-by: Redouane Kachach <rkachach@ibm.com>
Adam King [Wed, 10 Jul 2024 15:08:02 +0000 (11:08 -0400)]
Merge pull request #58321 from adk3798/jinja2-cephadm-rhel9
cephadm: make cephadm compatible with jinja2 2.11.3
Reviewed-by: Adam King <adking@redhat.com>
Nizamudeen A [Mon, 27 May 2024 04:35:21 +0000 (10:05 +0530)]
mgr/dashboard: fall back to server_cert
if root_ca is not found
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
0a393ca9bde714524da369caaef1c097472f791c )
Adam King [Wed, 10 Jul 2024 14:39:23 +0000 (10:39 -0400)]
Merge pull request #58298 from thegreenbear/cephadm-ingress-fix-ipv6-binding
Ingress service: Fix HAProxy to listen on IPv4 and IPv6
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Wed, 10 Jul 2024 14:33:06 +0000 (10:33 -0400)]
Merge pull request #57535 from rkachach/fix_issue_66095
Adding support for ceph mgmt-gateway
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
John Mulligan [Wed, 10 Jul 2024 13:50:45 +0000 (09:50 -0400)]
mgr/smb: fix ceph smb show when a cluster has not associated shares
Fix an error condition in the `ceph smb show` command. When the ceph
smb show command was run after creating a usersgroups and cluster
resource but no shares resources the following traceback was seen:
```
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1910, in
_handle_command
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 507, in call
return self.func(mgr, **kwargs)
File "/usr/share/ceph/mgr/object_format.py", line 592, in
_format_response
robj = f(*args, **kwargs)
File "/usr/share/ceph/mgr/smb/module.py", line 258, in show
resources = self._handler.matching_resources(resource_names)
File "/usr/share/ceph/mgr/smb/handler.py", line 403, in
matching_resources
return self._search_resources(matcher)
File "/usr/share/ceph/mgr/smb/handler.py", line 414, in
_search_resources
for share_id in cluster_shares[cluster_id]:
KeyError: 'smbcluster'
```
Fixes: a5cde6ebe940
Reported-by: Anoop C S <anoopcs@cryptolab.net>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Yuri Weinstein [Wed, 10 Jul 2024 13:41:56 +0000 (06:41 -0700)]
Merge pull request #58048 from mohit84/issue_66268
mgr: the mojibake characters in the MGR OP tracker output
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Yuri Weinstein [Wed, 10 Jul 2024 13:41:32 +0000 (06:41 -0700)]
Merge pull request #57808 from rzarzynski/wip-bug-66297
mon: validate everybody understands MSR on set-require-min-compat-client
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Yuri Weinstein [Wed, 10 Jul 2024 13:40:50 +0000 (06:40 -0700)]
Merge pull request #57777 from rzarzynski/wip-bug-66285
osd: bump versions of decoders for upmap-primary
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Josh Salomon <josh.salomon@gmail.com>
Yuri Weinstein [Wed, 10 Jul 2024 13:39:33 +0000 (06:39 -0700)]
Merge pull request #57005 from cfsnyder/wip-cfsnyder-63195
mgr/Mgr.cc: clear daemon health metrics instead of removing down/out osd from daemon state
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Adam Kupczyk [Wed, 10 Jul 2024 13:17:27 +0000 (15:17 +0200)]
Merge pull request #58506 from aclamk/wip-aclamk-fix-deferred-tests
test/objectstore: Fix DeferredReplayTest
Ilya Dryomov [Wed, 10 Jul 2024 09:53:05 +0000 (11:53 +0200)]
qa/tasks/cephadm: drop --cluster and sudo in create_rbd_pool()
The cluster (name) is already specified in the arguments passed to
_shell() and this command doesn't need privileges.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Wed, 10 Jul 2024 09:02:47 +0000 (11:02 +0200)]
qa/tasks/cephadm: don't wait for OSDs in create_rbd_pool()
This fails because teuthology.wait_until_osds_up() wants to use
adjust-ulimits wrapper which isn't available in "cephadm shell"
environment. The whole thing is also redundant because cephadm task
is supposed to wait for OSDs to come up earlier, in ceph_osds().
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Wed, 10 Jul 2024 07:10:02 +0000 (09:10 +0200)]
qa/tasks: initialize rbd pool instead of just tagging it
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Wed, 10 Jul 2024 07:10:02 +0000 (09:10 +0200)]
qa: krbd_data_pool.sh: account for rbd_trash object
... created since commit
0bcb5cfce9a2 ("librbd/image: create rbd_trash
object during RBD pool initialization").
Fixes: https://tracker.ceph.com/issues/66886
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Adam Kupczyk [Wed, 10 Jul 2024 08:19:21 +0000 (08:19 +0000)]
test/objectstore: Fix DeferredReplayTest
Created ch = CollectionHandle was not reset, causing valgrind & other
problems.
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
Radoslaw Zarzynski [Wed, 10 Jul 2024 07:21:51 +0000 (09:21 +0200)]
Merge pull request #55196 from rzarzynski/wip-osd-ec-partial-reads
osd: EC Partial Stripe Reads (Retry of #23138 and #52746)
Reviewed-by: Samuel Just <sjust@redhat.com>
Juan Miguel Olmo Martínez [Fri, 5 Jul 2024 08:09:25 +0000 (10:09 +0200)]
exporter: Added https(TLSv13) support
Ceph exporter can run now as http or https server
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
sunlan [Mon, 24 Jun 2024 08:29:38 +0000 (16:29 +0800)]
mgr/dashboard: add restful api for creating crush rule with type of 'erasure'
Fixes: https://tracker.ceph.com/issues/66490
Signed-off-by: sunlan <sunlan@asiainfo.com>
Casey Bodley [Tue, 9 Jul 2024 21:40:03 +0000 (17:40 -0400)]
rgw/datalog: fix LazyFIFO race fix
initialize `fifo_tmp` to prevent the race on member variable `fifo` that
was identified in
8fa844383f9c22e758f39ecdda74f70de054ad68
Fixes: https://tracker.ceph.com/issues/66880
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Zac Dover [Tue, 9 Jul 2024 21:27:00 +0000 (07:27 +1000)]
Merge pull request #58484 from mcv21/patch-2
doc: Correct link to "Device management"
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Matthew Vernon [Tue, 9 Jul 2024 16:02:31 +0000 (17:02 +0100)]
doc: Correct link to "Device management"
The current link goes to `cephadm/services/rados/operations/devices` which is a 404, it instead needs to be `rados/operations/devices/`.
Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
Redouane Kachach [Thu, 27 Jun 2024 10:11:55 +0000 (12:11 +0200)]
mgr/cephadm: introducing nobody/nogroup constants
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
Redouane Kachach [Tue, 9 Jul 2024 12:17:59 +0000 (14:17 +0200)]
mgr/cephadm: adding documentation for cephadm mgmt-gateway service
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
Redouane Kachach [Fri, 17 May 2024 13:19:35 +0000 (15:19 +0200)]
mgr/cephadm: adding new cephadm service mgmt-gateway
adding mgmt-gateway, a new cephadm service based on nginx, to act as
the front-end and single entry point to the cluster. This gateway
offers unified access to all Ceph applications, including the
Ceph dashboard and monitoring tools (Prometheus, Grafana, ..),
while enhancing security and simplifying access management
through nginx.
Fixes: https://tracker.ceph.com/issues/66095
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
Ilya Dryomov [Tue, 9 Jul 2024 11:33:01 +0000 (13:33 +0200)]
Merge pull request #58466 from Svelar/test_cookie_cleanup
test/librbd: clean up unused TEST_COOKIE variable
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Adam Kupczyk [Tue, 9 Jul 2024 11:23:08 +0000 (13:23 +0200)]
Merge pull request #55906 from pereman2/synthetic-seed
os/bluestore: store_test reproducible tests with seeds
Adam Kupczyk [Tue, 9 Jul 2024 11:21:39 +0000 (13:21 +0200)]
Merge pull request #57890 from aclamk/fix-aclamk-66361
os/bluestore: Fix ExtentDecoderPartial::_consume_new_blob
Adam Kupczyk [Tue, 9 Jul 2024 11:20:19 +0000 (13:20 +0200)]
Merge pull request #57369 from YiteGu/bluestore-offline-trim
tools/bluestore: Add command 'trim' to ceph-bluestore-tool
Adam Kupczyk [Tue, 9 Jul 2024 11:14:54 +0000 (13:14 +0200)]
Merge pull request #54327 from pereman2/buffer-space-onode
os/bluestore: BufferSpace per Onode
Adam King [Mon, 8 Jul 2024 21:08:00 +0000 (17:08 -0400)]
mgr/cephadm: create OrchSecretNotFound exception type
This exception type is made to handle the formatting
of errors where we try to find a cert/key in the
cert/key store and can't
Signed-off-by: Adam King <adking@redhat.com>
Nizamudeen A [Mon, 27 May 2024 04:35:21 +0000 (10:05 +0530)]
mgr/dashboard: use secure_channel for grpc requests
Store the certificates to config-key stores and then later on used by
dashboard to set-up the secure_channel for grpc nvmeof requests
By storing the certificates we can ensure that the dashboard nvmeof apis
will be configurable even if the deployments are not cephadm based
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
0a393ca9bde714524da369caaef1c097472f791c )
Adam King [Wed, 3 Jul 2024 20:22:32 +0000 (16:22 -0400)]
mgr/cephadm: fix nvmeof conf unit test
This needed changes to reflect changes made
to the conf to not have the certs stored at a
relative path and the addition of the root ca
cert
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
91883b9efc396779dfb61494e9aa140251f22b54 )
Adam King [Wed, 3 Jul 2024 19:55:12 +0000 (15:55 -0400)]
mgr/cephadm: add get cert/key commands
In order to be able to grab certs/keys stored
in the new CertKeyStore class
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
2dd0ce91a53a898b8b3635f8943cc2d0e39b4ec1 )
Adam King [Wed, 3 Jul 2024 19:27:03 +0000 (15:27 -0400)]
mgr/cephadm: integrate nvmeof spec certs/keys into cert/key store
Now that we're taking actual certs/keys in the spec, they
should go into the cert/key store with the others
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
3b1ec5851902c6b672db2ea81ae7eebcb1002101 )