Commit Graph

143646 Commits

Author SHA1 Message Date
Kamoltat (Junior) Sirivadhna
9d0d363dad
Merge pull request #55794 from kamoltat/wip-ksirivad-ceph-backport-script
src/scripts/ceph-backport.sh: Add PR checklist
Reviewed by: Laura Flores <lfores@ibm.com>
2024-02-28 09:57:05 -05:00
Pedro Gonzalez Gomez
8708a18d88
Merge pull request #55809 from ivoalmeida/fix-snap-schedule-month
mgr/dashboard: fix snap schedule date format


Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-02-28 15:37:14 +01:00
Ivo Almeida
be3bb09cca mgr/dashboard: add snap schedule M, Y frequencies
Added M and Y (month and year) repeat frequencies to snap schedule
create form.

Fixes: https://tracker.ceph.com/issues/64614

Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
2024-02-28 10:14:33 +00:00
Ivo Almeida
11fdcf800b mgr/dashboard: fix snap schedule date format
Fixes: https://tracker.ceph.com/issues/64613

Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
2024-02-28 09:59:44 +00:00
Xuehan Xu
eff9755f80 crimson/os/seastore: copy attrs and omaps when cloning objects
At present, we just copy attrs and omaps one by one, which is not
efficient but very important in terms of functionality especially for
the teuthology tests

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-02-28 16:59:26 +08:00
Nizamudeen A
226117a5ac mgr/dashboard: listener addr is always none
Even if the traddr is passed from the API, it gets overriden by the None
hard-coded in the code.

Signed-off-by: Nizamudeen A <nia@redhat.com>
2024-02-28 11:51:22 +05:30
Xuehan Xu
c884db34e0 crimson/os/alienstore: use homebrew counting_semaphore
std::counting_semaphore has the bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104928,
go back to our homebrew version

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2024-02-28 14:19:49 +08:00
Nizamudeen A
5f3f31921c mgr/dashboard: fix roles page for roles without policies
If there is no permission policies attached to a role, it fails the
UI with an exception.

Fixes: https://tracker.ceph.com/issues/64588
Signed-off-by: Nizamudeen A <nia@redhat.com>
2024-02-28 11:23:43 +05:30
Nizamudeen A
0debdf60df
Merge pull request #55757 from rhcs-dashboard/replace-piechart-panel-plugin-grafana
mgr/dashboard: replace piechart plugin charts with native pie chart panel

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-02-28 11:12:33 +05:30
Venky Shankar
5dbd3bfdea Merge PR #52258 into main
* refs/pull/52258/head:
	client: check mds down status bofore getting mds_gid_t from mdsmap
	mgr/dashboard: allow sending back error status code fetching clients fails

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2024-02-28 09:32:42 +05:30
Yingxin
29d5e8dc12
Merge pull request #55772 from xxhdx1985126/wip-seastore-attr-related-bug-fixes
crimson/os/seastore: two attrs related bug fixes

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-02-28 11:38:16 +08:00
zdover23
8aba1b13cc
Merge pull request #55782 from zdover23/wip-doc-2024-02-27-rados-operations-add-or-rm-mons
doc/rados: add "change public network" procedure

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-02-28 09:42:10 +10:00
Kamoltat (Junior) Sirivadhna
8b6a9ed8c4
Merge pull request #53222 from myoungwon/wip-62167
osd: check if adjacent clones are unreadable when rollback is called.
Reviewed-by: athanatos
2024-02-27 15:55:12 -05:00
Kamoltat (Junior) Sirivadhna
313b88631c
Merge pull request #55147 from Matan-B/wip-matanb-skip-past-interval-cheeck
osd/PeeringState: introduce osd_skip_check_past_interval_bounds
Reviewed-by athanatos
2024-02-27 15:54:45 -05:00
Kamoltat (Junior) Sirivadhna
06bcebffc7
Merge pull request #55227 from Svelar/wip-ci-clang
ARM CI: clang should >= 12 for supporting C++20
Reviewed by: Laura Flores <lajefl@gmail.com>
2024-02-27 15:54:01 -05:00
Kamoltat
4aba45e237 src/scripts/ceph-backport.sh: Add PR checklist
Signed-off-by: Kamoltat <ksirivad@redhat.com>
2024-02-27 20:15:56 +00:00
Yuri Weinstein
4a1c26b521
Merge pull request #54872 from amathuria/wip-amat-mclock-adjust-deletion-cost
osd: Change PG Deletion cost for mClock

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
2024-02-27 08:38:21 -08:00
Yuri Weinstein
80feaec5a1
Merge pull request #52891 from kamoltat/wip-ksirivad-fix-59172
qa/tasks/ceph_manager.py: Rewrite test_pool_min_size

Reviewed-by: Samuel Just <sjust@redhat.com>
2024-02-27 08:37:34 -08:00
Casey Bodley
9e91f5305c
Merge pull request #55760 from cbodley/wip-64568
test/rgw: increase timeouts in unittest_rgw_dmclock_scheduler

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2024-02-27 16:05:51 +00:00
Yantao xue
e913e5c6ce mds: check file layout in mknod
Fixes: https://tracker.ceph.com/issues/64061
Signed-off-by: Xue Yantao <xueyantao2114@163.com>
2024-02-27 20:33:53 +08:00
Pedro Gonzalez Gomez
f336a5d55f
Merge pull request #55752 from rhcs-dashboard/fix-vol-create
mgr/dashboard: fix volume creation with multiple hosts



Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-02-27 13:27:23 +01:00
Zac Dover
0b6739a4aa doc/rados: add "change public network" procedure
Add a procedure to /doc/rados/operations/add-or-rm-mons.rst that
explains how to change the public_network in a Ceph cluster deployed
with cephadm. This procedure was developed by Eugen Block, and can be
seen in its original form here:
https://heiterbiswolkig.blogs.nde.ag/2024/02/22/cephadm-change-public-network/

Co-authored-by: Eugen Block <eblock@nde.ag>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-02-27 20:42:21 +10:00
Xuehan Xu
8cc25049a8 crimson/os/seastore: also remove xattrs when removing onodes
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-02-27 16:59:47 +08:00
Aashish Sharma
6e5efb626f mgr/dashboard: replace piechart plugin charts with native pie chart
panel

Fixes: https://tracker.ceph.com/issues/64579

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-02-27 14:20:31 +05:30
Xuehan Xu
abdae14dd0 crimson/os/seastore: get_attrs should return all attrs
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-02-27 16:18:57 +08:00
Xuehan Xu
c841876cb1 crimson/os/seastore: attr related debug outputs
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-02-27 16:06:02 +08:00
Venky Shankar
b11e6e21f7 Merge PR #52859 into main
* refs/pull/52859/head:
	qa: test cases to make sure invalid paths don't get updated
	mgr/nfs: use helper to validate cephfs path
	mgr/nfs: validate path before updating a cephfs export
	mgr/nfs: add a helper to validate cephfs path

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-02-27 11:23:13 +05:30
Venky Shankar
40936ffd5e Merge PR #54687 into main
* refs/pull/54687/head:
	mds: allow lock state to be LOCK_MIX_SYNC in replica for filelock

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-02-27 11:20:54 +05:30
Venky Shankar
a302e3b67e Merge PR #55435 into main
* refs/pull/55435/head:
	qa: Fix fs/full suite

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-02-27 11:17:13 +05:30
Samuel Just
66b21ca59e
Merge pull request #55751 from cyx1231st/wip-fix-test-socket
test/crimson/test_socket: complete write-side errors in test_unexpected_down()

Reviewed-by: Samuel Just <sjust@redhat.com>
2024-02-26 15:26:00 -08:00
Paul Cuzner
19ce7abd11 ceph-mixins: Update MIB to include nvmeof notification
Signed-off-by: Paul Cuzner <pcuzner@ibm.com>
2024-02-27 09:51:11 +13:00
Paul Cuzner
c2534a6dba ceph-mixins: Add test cases for nvmeof alerts
Signed-off-by: Paul Cuzner <pcuzner@ibm.com>
2024-02-27 09:51:11 +13:00
Paul Cuzner
e7d25482d1 ceph-mixins: nvmeof alerts added
Signed-off-by: Paul Cuzner <pcuzner@ibm.com>
2024-02-27 09:51:11 +13:00
Paul Cuzner
f1573b76f3 ceph-mixins: Add nvmeof alerts
Signed-off-by: Paul Cuzner <pcuzner@ibm.com>
2024-02-27 09:51:04 +13:00
Adam King
9c34973932 mgr/cephadm: catch CancelledError in asyncio timeout handler
Specifically, concurrent.futures.CancelledError. At least on
python 3.9, this error can be raised when certain commands
being run asynchronously fail. Not catching this results in
the whole cephadm module crashing with something like

Traceback (most recent call last):
  File "/usr/share/ceph/mgr/cephadm/utils.py", line 94, in do_work
    return f(*arg)
  File "/usr/share/ceph/mgr/cephadm/serve.py", line 267, in refresh
    r = self._refresh_facts(host)
  File "/usr/share/ceph/mgr/cephadm/serve.py", line 370, in _refresh_facts
    val = self.mgr.wait_async(self._run_cephadm_json(
  File "/usr/share/ceph/mgr/cephadm/module.py", line 671, in wait_async
    return self.event_loop.get_result(coro, timeout)
  File "/usr/share/ceph/mgr/cephadm/ssh.py", line 64, in get_result
    return future.result(timeout)
  File "/lib64/python3.9/concurrent/futures/_base.py", line 444, in result
    raise CancelledError()
concurrent.futures._base.CancelledError

Fixes: https://tracker.ceph.com/issues/64473

Signed-off-by: Adam King <adking@redhat.com>
2024-02-26 13:13:48 -05:00
Yuri Weinstein
3cb404b367
Merge pull request #54999 from Matan-B/wip-matanb-mon-osd-epochs
mon/OSDMonitor: fix get_min_last_epoch_clean()

Reviewed-by: Samuel Just <sjust@redhat.com>
2024-02-26 07:47:57 -08:00
Casey Bodley
b4f3ddfe43 test/rgw: increase timeouts in unittest_rgw_dmclock_scheduler
1ms sleeps are generally below the timer's resolution. increase run_for()
durations to 50ms to make the tests far less sensitive to timing. in
practice, none of the sleeps actually wait the full 50ms

Fixes: https://tracker.ceph.com/issues/64568

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-02-26 09:42:20 -05:00
yite.gu
878463ef3a client: check mds down status bofore getting mds_gid_t from mdsmap
Get mds_gid_t from up of MDSMap, will cause to core dump if target
mds_rank_t does not exist up map:

from: src/mds/MDSMap.h
  const auto& get_info(mds_rank_t m) const {
    return mds_info.at(up.at(m));
  }

reproduct:
1. ceph fs fail <fs_name>
2. curl -X GET "example.com:8080/api/cephfs/1/clients" ...
up.at(m) will cause to core dump.

Fixes: https://tracker.ceph.com/issues/61844
Signed-off-by: Yite Gu <yitegu0@gmail.com>
2024-02-26 19:54:10 +08:00
Ilya Dryomov
e7ecafcd8e
Merge pull request #55683 from lxbsz/wip-62837-new
doc/man/8/mount.ceph.rst: add more mount options

Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2024-02-26 10:17:25 +01:00
Yingxin
6c49b32fc5
Merge pull request #55705 from xxhdx1985126/wip-64535
crimson/os/seastore: fix wrong-positioned asserts

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-02-26 15:39:49 +08:00
Pedro Gonzalez Gomez
4313f9a59c mgr/dashboard: fix volume creation with multiple hosts
Fixes: https://tracker.ceph.com/issues/64559
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2024-02-26 08:12:53 +01:00
Yingxin Cheng
5b03e4d3d7 test/crimson/test_socket: complete write-side errors in test_unexpected_down()
Related: https://tracker.ceph.com/issues/64457
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-02-26 14:17:48 +08:00
zdover23
9dd5232c2e
Merge pull request #55739 from zdover23/wip-doc-2024-02-26-glossary-omap
doc/glossary: Add "OMAP" to glossary

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-02-26 15:20:40 +10:00
Xiubo Li
d5639cc670 doc/man/8/mount.ceph.rst: add more mount options
Fixes: https://tracker.ceph.com/issues/62837
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2024-02-26 09:28:32 +08:00
Paul Cuzner
feb1e69034 ceph-mixins: Add vars to support nvmeof alerts
Signed-off-by: Paul Cuzner <pcuzner@ibm.com>
2024-02-26 11:15:15 +13:00
Zac Dover
1d8baa1d4c doc/glossary: Add "OMAP" to glossary
Add an entry for "OMAP" to the glossary. This commit represents only the
first improvement to the documentation of OMAP in the Ceph docs suite.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-02-26 07:27:52 +10:00
Avan Thakkar
93ec6284fb cephadm/nvmeof: scrape nvmeof prometheus endpoint
Fixes: https://tracker.ceph.com/issues/64536
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2024-02-24 22:26:25 +05:30
Ilya Dryomov
fa5ef874ac
Merge pull request #54802 from ajarr/wip-61617
qa: Add tests to validate synced images on rbd-mirror

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2024-02-23 23:47:42 +01:00
Casey Bodley
c72704b1d5
Merge pull request #55722 from cbodley/wip-64543
rgw/aio: avoid infinite recursion in aio_abstract()

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2024-02-23 18:11:03 +00:00
zdover23
65ca1a8b41
Merge pull request #55729 from zdover23/wip-doc-2024-02-24-rbd-nvmof-target-configure-list-repair
doc/rbd: repair ordered list

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-02-24 03:04:53 +10:00