]>
git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
zdover23 [Thu, 27 Apr 2023 00:11:24 +0000 (10:11 +1000)]
Merge pull request #51154 from zdover23/wip-doc-2023-04-20-rados-operations-3-of-x
doc/rados/ops: edit user-management.rst (3 of x)
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
zdover23 [Wed, 26 Apr 2023 22:08:07 +0000 (08:08 +1000)]
Merge pull request #51204 from zdover23/wip-doc-2023-04-25-cephfs-nfs-ganesha-permissions
doc/cephfs: explain cephfs data and metadata set
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Tue, 25 Apr 2023 07:46:53 +0000 (17:46 +1000)]
doc/cephfs: explain cephfs data and metadata set
Explain how to set application metadata for the CephFS data pool and the
CephFS metadata pool.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Ilya Dryomov [Wed, 26 Apr 2023 21:07:47 +0000 (23:07 +0200)]
Merge pull request #51228 from jsoref/spelling-rbd
rbd: fix spelling errors
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Rishabh Dave [Wed, 26 Apr 2023 14:14:39 +0000 (19:44 +0530)]
Merge pull request #51030 from batrick/i59425
qa: check each fs for health
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Josh Soref [Thu, 23 Jun 2022 01:24:32 +0000 (21:24 -0400)]
rbd: fix spelling errors
* acquire
* are
* asynchronous
* attempt
* bootstrap
* concurrent
* consume
* couldn't
* cumulative
* disable
* disabling
* disaster
* disconnected
* endianness
* entries
* exclusive
* filesystem
* flag
* generic
* github
* image
* information
* initiating
* latency
* limitations
* metadata
* modify
* namespace
* noautoconsole
* ourselves
* prefetch
* propagate
* protection
* recorder
* recover
* release
* replicated
* reserved
* selection
* sentinel
* several
* snapshot
* source
* specifying
* suppress
* synchronize
* the
* transfer
* triggering
* unknown
* validation
* version
* visible
* write log entries
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Nizamudeen A [Wed, 26 Apr 2023 13:06:23 +0000 (18:36 +0530)]
Merge pull request #50927 from rhcs-dashboard/export-authx
mgr/dashboard: import/export ceph authx users
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Pere Diaz Bou [Thu, 6 Apr 2023 14:24:03 +0000 (16:24 +0200)]
mgr/dashboard: import/export authx users
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Fixes: https://tracker.ceph.com/issues/59486
Venky Shankar [Wed, 26 Apr 2023 04:28:15 +0000 (09:58 +0530)]
Merge PR #51223 into main
* refs/pull/51223/head:
Revert "tools/cephfs/top/CMakeList.txt: check the minimum compatible python version for cephfs-top"
Reviewed-by: Jos Collin <jcollin@redhat.com>
Venky Shankar [Wed, 26 Apr 2023 01:29:26 +0000 (06:59 +0530)]
Revert "tools/cephfs/top/CMakeList.txt: check the minimum compatible python version for cephfs-top"
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Anthony D'Atri [Tue, 25 Apr 2023 23:17:50 +0000 (19:17 -0400)]
Merge pull request #51193 from zdover23/wip-doc-2023-04-24-start-intro-first-para-rewrite
doc/start: rewrite intro paragraph
Zac Dover [Mon, 24 Apr 2023 11:02:16 +0000 (13:02 +0200)]
doc/start: rewrite intro paragraph
Rewrite the first paragraph in doc/start/intro.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Adam King [Tue, 25 Apr 2023 17:08:07 +0000 (13:08 -0400)]
Merge pull request #50722 from adk3798/asyncio-cephadm-timeout
mgr/cephadm: asyncio based universal timeout for ssh/cephadm commands
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Tue, 25 Apr 2023 15:25:29 +0000 (11:25 -0400)]
Merge pull request #49103 from adk3798/mon-crush-location
mgr/cephadm: allow setting mon crush locations through mon service spec
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Tue, 25 Apr 2023 15:21:28 +0000 (11:21 -0400)]
Merge pull request #51120 from mgfritch/cephadm-haproxy-offline-host
cephadm: reschedule haproxy from an offline host
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Mon, 20 Mar 2023 19:31:12 +0000 (15:31 -0400)]
mgr/cephadm: asyncio based universal timeout for ssh/cephadm commands
Since we already have make use of asyncio for our ssh commands,
we can use asyncio's timeout on waiting for concurrent futures to complete
as a way to have universal timeouts on our cephadm commands.
This change also creates a contextmanager that will catch any asyncio.TimeoutError.
Using the contextmanager along with calls to the wait_async function
will catch any timeout exception raised and convert it into an appropriate
OrchetratorError including information about what and where for the timeout
if it was provided (host where run, what command). This allows us to guarantee a
background ssh command eventually returns and inform users of any
timeouts by raising a health warning or logging the error instead
of sitting idle indefinitely
Fixes: https://tracker.ceph.com/issues/54024
Signed-off-by: Adam King <adking@redhat.com>
Adam King [Thu, 16 Mar 2023 18:20:48 +0000 (14:20 -0400)]
mgr/cephadm: pass --timeout to cephadm binary commands
Signed-off-by: Adam King <adking@redhat.com>
Adam King [Tue, 25 Apr 2023 14:04:36 +0000 (10:04 -0400)]
Merge pull request #50719 from guits/update-dockerfile-keepalived
contrib: update keepalived Dockerfile
Reviewed-by: Adam King <adking@redhat.com>
Yingxin [Tue, 25 Apr 2023 01:48:35 +0000 (09:48 +0800)]
Merge pull request #49980 from myoungwon/wip-generalize-recordsubmitter
crimson/os/seastore/journal: generalize recordsubmitter
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Guillaume Abrioux [Mon, 24 Apr 2023 08:36:42 +0000 (10:36 +0200)]
Merge pull request #51067 from guits/fix-backward-compatible-issue-cv
ceph-volume: fix batch refactor issue
Guillaume Abrioux [Mon, 24 Apr 2023 08:35:51 +0000 (10:35 +0200)]
Merge pull request #50838 from guits/osd-replacement-improvements
orchestrator: add `--no-destroy` arg to `ceph orch osd rm`
Guillaume Abrioux [Mon, 24 Apr 2023 08:35:31 +0000 (10:35 +0200)]
Merge pull request #50745 from guits/quick-fix-cv
ceph-volume: quick fix in zap.py
zdover23 [Sun, 23 Apr 2023 15:07:28 +0000 (17:07 +0200)]
Merge pull request #51178 from zdover23/wip-doc-2023-04-22-glossary-placement-groups
doc/glossary: add "Placement Groups" definition
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
zdover23 [Sun, 23 Apr 2023 14:53:46 +0000 (16:53 +0200)]
Merge pull request #51177 from zdover23/wip-doc-2023-04-22-start-documenting-ceph-first-150-lines
doc/start: edit first 150 lines of documenting-ceph
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sat, 22 Apr 2023 07:03:12 +0000 (09:03 +0200)]
doc/start: edit first 50 lines of documenting-ceph
Edit the first 150 lines of doc/start/documenting-ceph.rst. This is part
of an initiative to harvest the fruits of Cephalocon 2023, at which
documentation proved to be in demand to a surprising degree.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Zac Dover [Sat, 22 Apr 2023 08:55:38 +0000 (10:55 +0200)]
doc/glossary: add "Placement Groups" definition
Add a definition of "Placement Groups" to the Glossary.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Anthony D'Atri [Sat, 22 Apr 2023 11:24:38 +0000 (13:24 +0200)]
Merge pull request #51175 from zdover23/wip-doc-2023-04-21-main-page-docs-link
doc: add link to "documenting ceph" to index.rst
Zac Dover [Fri, 21 Apr 2023 20:59:04 +0000 (22:59 +0200)]
doc: add link to "documenting ceph" to index.rst
Add a link to the landing page of docs.ceph.com to direct documentation
contributors to documentation-related information.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Ilya Dryomov [Fri, 21 Apr 2023 16:00:55 +0000 (18:00 +0200)]
Merge pull request #50324 from pkalever/scrub_incomplete
librbd: remove previous incomplete primary snapshot after successfully creating a new one
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Samuel Just [Thu, 20 Apr 2023 22:55:11 +0000 (15:55 -0700)]
Merge pull request #48717 from liu-chunmei/multicore-seastore
crimson/os: support multicore seastore
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
chunmei-liu [Tue, 22 Nov 2022 16:59:56 +0000 (08:59 -0800)]
crimson/os: make ZNS support shard metadata
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
chunmei [Thu, 6 Apr 2023 07:19:40 +0000 (07:19 +0000)]
crimson/os: fix formatter build error
Signed-off-by: chunmei <chunmei.liu@intel.com>
chunmei [Fri, 17 Mar 2023 05:56:44 +0000 (05:56 +0000)]
crimson/os: fix unittest error for multicore seastore
Signed-off-by: chunmei <chunmei.liu@intel.com>
chunmei [Tue, 4 Apr 2023 07:37:16 +0000 (07:37 +0000)]
crimson/os: static assign segments to each shard
and make device sharded
Signed-off-by: chunmei <chunmei.liu@intel.com>
chunmei [Fri, 3 Mar 2023 04:19:21 +0000 (04:19 +0000)]
cirmson/os: seperate futurizedStore interface
into futurizedStore and futurizedShardStore
and modification the other parts in osd and objectstore
Signed-off-by: chunmei <chunmei.liu@intel.com>
chunmei [Tue, 18 Apr 2023 09:33:52 +0000 (09:33 +0000)]
crimson/seastore: fix heap-used-after-free bug
Signed-off-by: chunmei <chunmei.liu@intel.com>
Nizamudeen A [Thu, 20 Apr 2023 17:37:48 +0000 (23:07 +0530)]
Merge pull request #51153 from rhcs-dashboard/applitools-fix
mgr/dashboard: ignore Details card in applitools vrt
Reviewed-by: Pegonzal <NOT@FOUND>
Nizamudeen A [Thu, 20 Apr 2023 17:35:45 +0000 (23:05 +0530)]
Merge pull request #51163 from rhcs-dashboard/hide-rbd-force-promote-notification
mgr/dashboard: hide notification on force promote
Reviewed-by: Nizamudeen A <nia@redhat.com>
Samuel Just [Thu, 20 Apr 2023 16:09:39 +0000 (09:09 -0700)]
Merge pull request #50835 from cyx1231st/wip-seastar-adjust-conn-ref
crimson/net: change ConnectionRef to be a local_shared_foreign_ptr
Reviewed-by: Samuel Just <sjust@redhat.com>
Pedro Gonzalez Gomez [Thu, 20 Apr 2023 15:29:57 +0000 (17:29 +0200)]
mgr/dashboard: hide notification on force promote
Fixes: https://tracker.ceph.com/issues/59500
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
myoungwon oh [Thu, 20 Apr 2023 07:26:38 +0000 (07:26 +0000)]
crimson/os/seastore/cbjournal: reset start address for replay if committed_to exceeds cbjournal_end()
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
myoungwon oh [Fri, 7 Apr 2023 01:43:43 +0000 (01:43 +0000)]
test/crimson/seastore/cbjournal: call close after a unittest is done and relocate open and close related functions
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
myoungwon oh [Thu, 6 Apr 2023 01:56:10 +0000 (01:56 +0000)]
crimson/os/seastore/journal: add CircularJournalSpace
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Rishabh Dave [Thu, 20 Apr 2023 13:57:19 +0000 (19:27 +0530)]
Merge pull request #51127 from rishabh-d-dave/fs-qa-caps_helper-bug
qa/cephfs/caps_helper: fix a bug in methods that generate cap string
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Rishabh Dave [Thu, 20 Apr 2023 13:57:02 +0000 (19:27 +0530)]
Merge pull request #50882 from rishabh-d-dave/fs-qa-CapTester
qa/cephfs: improvements in caps_helper
Reviewed-by: Venky Shankar <vshankar@redhat.com>
myoungwon oh [Wed, 5 Apr 2023 04:37:29 +0000 (04:37 +0000)]
crimson/os/seastore/journal: introduce JournalAllocator to generalize SegmentAllocator
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
myoungwon oh [Mon, 27 Mar 2023 00:49:18 +0000 (00:49 +0000)]
crimson/os/seastore/journal: relocate RecordSubmitter related classes
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Ilya Dryomov [Thu, 20 Apr 2023 10:43:57 +0000 (12:43 +0200)]
Merge pull request #51159 from idryomov/wip-rbd-man-filestore
doc/man/rbd: resurrect filestore alloc_size note
Reviewed-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Ilya Dryomov [Thu, 20 Apr 2023 10:05:14 +0000 (12:05 +0200)]
doc/man/rbd: resurrect filestore alloc_size note
Mistakenly removed in commit
d79f2a81541c ("docs: warning and remove
few docs section for Filestore Update docs after filestore removal.").
The kernel client, however new, will continue to be able to talk to
FileStore OSDs for as long as they exist.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Nizamudeen A [Thu, 20 Apr 2023 10:07:28 +0000 (15:37 +0530)]
Merge pull request #50580 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard-frontend-webpack-and-angular-devkit-build-angular-5.76.1
mgr/dashboard: bump webpack and @angular-devkit/build-angular in /src/pybind/mgr/dashboard/frontend
Reviewed-by: Nizamudeen A <nia@redhat.com>
Zac Dover [Thu, 20 Apr 2023 08:25:00 +0000 (10:25 +0200)]
doc/rados/ops: edit user-management.rst (3 of x)
Line-edit doc/rados/user-management.rst (3 of x).
https://tracker.ceph.com/issues/58485
Follows https://github.com/ceph/ceph/pull/51140.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Nizamudeen A [Thu, 20 Apr 2023 07:35:46 +0000 (13:05 +0530)]
mgr/dashboard: ignore Details card in applitools vrt
because the details card includes the FSID and Ceph Version which can
change on different clusters.
also don't run the 800x600 resolution because for new dashboard it looks
really weird.
Signed-off-by: Nizamudeen A <nia@redhat.com>
zdover23 [Thu, 20 Apr 2023 06:18:04 +0000 (08:18 +0200)]
Merge pull request #51140 from zdover23/wip-doc-2023-04-18-rados-operations-2-of-x
doc/rados: edit user-management (2 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Tue, 18 Apr 2023 20:59:09 +0000 (22:59 +0200)]
doc/rados: edit user-management (2 of x)
Line-edit doc/rados/user-management.rst (2 of x). Some internal
references had to be removed, but these will be repaired when the next
part of this file is updated in a future PR.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
zdover23 [Thu, 20 Apr 2023 05:42:58 +0000 (07:42 +0200)]
Merge pull request #51143 from NitzanMordhai/wip-nitzan-filestore-removal-docs-update
docs: warning and remove few docs section for Filestore
Reviewed-by: Zac Dover <zac.dover@proton.me>
Nitzan Mordechai [Sun, 19 Feb 2023 11:33:51 +0000 (11:33 +0000)]
docs: warning and remove few docs section for Filestore
Update docs after filestore removal.
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
Casey Bodley [Wed, 19 Apr 2023 16:43:53 +0000 (12:43 -0400)]
Merge pull request #51068 from cbodley/wip-59269
cmake/rgw: librgw tests depend on ALLOC_LIBS
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Casey Bodley [Wed, 19 Apr 2023 15:36:15 +0000 (11:36 -0400)]
Merge pull request #51031 from cbodley/wip-59423
rgw/aio: fix recursion from tracing changes
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Yuval Lifshitz [Wed, 19 Apr 2023 13:30:29 +0000 (16:30 +0300)]
Merge pull request #50975 from yuvalif/wip-yuval-fix-59381
rgw/lua: fix CopyFrom crash
Yuval Lifshitz [Wed, 19 Apr 2023 13:29:50 +0000 (16:29 +0300)]
Merge pull request #50965 from yuvalif/wip-yuval-fix-59383
rgw/kafka: failed to reconnect to broker after idle timeout
Ilya Dryomov [Mon, 17 Apr 2023 21:31:37 +0000 (23:31 +0200)]
librbd: always refresh after creating snapshot in CreatePrimaryRequest
Up until now this was conditioned on whether the caller expressed
interest in the ID of the created snapshot and happened to work only
because CreatePrimaryRequest wasn't actually consulting any mirror
snapshot metadata. This has just changed with unlink_peer() needing to
see an up-to-date complete flag which is set in SetImageStateRequest
following the write out of image state object(s).
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Nizamudeen A [Wed, 19 Apr 2023 07:40:57 +0000 (13:10 +0530)]
Merge pull request #50918 from rhcs-dashboard/delete-ceph-authx
mgr/dashboard: delete-ceph-authx
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Prasanna Kumar Kalever [Mon, 6 Mar 2023 09:58:03 +0000 (15:28 +0530)]
librbd: remove previous incomplete primary snapshot after successfully creating a new one
Problem:
-------
At a high level, creating a primary snapshot consists of three steps:
1. actually creating a snapshot in the mirror namespace
2. generating a set of image state objects with additional metadata for
the snapshot
3. marking the snapshot as complete after the image state objects are
written out
Depending on the circumstances, a request to create a primary snapshot
can be forwarded to rbd-mirror daemon. If that happens and rbd-mirror
daemon gets axed for some practical reason after completing steps (1)
and/or (2) but before completing step (3), we are left with a
permanently incomplete primary snapshot because upon retrying that
primary snapshot creation request, librbd notices that such snapshot
already exists. It does not check whether this "pre-existing" snapshot
is complete.
Solution:
--------
As part of the next mirror snapshot create (say triggered by the
scheduler) the unlink_peer() is called, it checks if there exists any
incomplete snapshot and delete them accordingly.
Fixes: https://tracker.ceph.com/issues/58887
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Venky Shankar [Wed, 19 Apr 2023 06:00:54 +0000 (11:30 +0530)]
Merge PR #50089 into main
* refs/pull/50089/head:
doc: add a note for minimum compatible python version and supported distros
tools/cephfs/top/CMakeList.txt: check the minimum compatible python version for cephfs-top
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Rishabh Dave [Tue, 18 Apr 2023 14:55:01 +0000 (20:25 +0530)]
qa/cephfs/cap_tester: simplify CapTester and its instantiation
Class CapTester contains two distinct immiscible group of methods: one
that tests MON caps and other that tests MDS caps. When using CapTester
for the former reason the instantiation neither needs mount object and
the path where files for testing will be created nor it needs to run the
method that creates files for testing rw permissions. When using
this class for latter the case is the exact opposite.
Create 2 separate classes for each of these purpose and class that
inherits both of these classes so that instantiating the class becomes
as simple as it can be.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Tue, 18 Apr 2023 07:15:03 +0000 (12:45 +0530)]
qa/cephfs: update method caps_helper.CapTester.run_cap_tests()
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Thu, 6 Apr 2023 09:42:14 +0000 (15:12 +0530)]
qa/cephfs: move few methods such that they can be reused
Move get_mon_cap_from_keyring() and get_fsnmes_from_moncap() from class
CapTester to main namespace of caps_helper.py so that they can be
imported freely and reused by tests.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Thu, 6 Apr 2023 09:23:17 +0000 (14:53 +0530)]
qa/cephfs: improve caps_helper.CapTester.run_mon_cap_tests()
This method checks if the output of the command "ceph fs ls" for client
ID it receives is same as the output printed for client.admin. Don't do
so, limit the test to only checking if "ceph fs ls --id client.x -k
keyring_file" prints fs name for which client.x has permissions.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Fri, 31 Mar 2023 19:14:52 +0000 (00:44 +0530)]
qa/cephfs: improve caps_helper.CapTester
Improvement #1:
CapTester.write_test_files() not only creates the test file but also
does the following for every mount object it receives in parameters -
* carefully produces the path for the test file as per parameters
received
* generates the unique data for each test file on a CephFS mount
* creates a data structure -- list of lists -- that holds all this
information along with mount object itself for each mount object so
that tests can be conducted at a later point
Untangle this mess of code by splitting this method into 3 separate
methods -
1. To produce the path for test file (as per user's need).
2. To generate the data that will be written into the test file.
3. To actually create the test file on CephFS.
Improvement #2:
Remove the internal data structure used for testing -- self.test_set --
and use separate class attributes to store all the data required for
testing instead of a tuple. This serves two purpose -
One, it makes it easy to manipulate all this data from helper methods
and during debugging session, especially while using a PDB session.
And two, make it impossible to have multiple mounts/multiple "test sets"
within same CapTester instance for the sake of simplicity. Users can
instead create two instances of CapTester instances if needed.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Thu, 13 Apr 2023 19:08:33 +0000 (00:38 +0530)]
qa/cephfs: don't inherit CephFSTestCase in CapTester
Inheritting CephFSTestCase in CapTester just for methods assertEqual()
and assertIn() from class unittest.TestCase is odd and heavy-weight.
Don't inherit CephFSTestCase and use simple assert instead.
Reference: https://github.com/ceph/ceph/pull/50882#discussion_r1160611549.
To avoid code duplication, a couple of similar methods have been added
instead.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Ilya Dryomov [Tue, 18 Apr 2023 11:49:41 +0000 (13:49 +0200)]
Merge pull request #50916 from petrutlucian94/avoid_pip
win32_deps_build: avoid pip
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Jos Collin [Thu, 23 Feb 2023 10:03:59 +0000 (15:33 +0530)]
doc: add a note for minimum compatible python version and supported distros
Fixes: https://tracker.ceph.com/issues/58677
Signed-off-by: Jos Collin <jcollin@redhat.com>
Jos Collin [Wed, 22 Feb 2023 12:24:22 +0000 (17:54 +0530)]
tools/cephfs/top/CMakeList.txt: check the minimum compatible python version for cephfs-top
Fixes: https://tracker.ceph.com/issues/58677
Signed-off-by: Jos Collin <jcollin@redhat.com>
Rishabh Dave [Fri, 7 Apr 2023 15:13:46 +0000 (20:43 +0530)]
qa/cephfs/caps_helper: fix a bug in methods that generate cap string
The tuple was not meant to be passed as a whole but its individual
members are to be passed as a list of positional arguments.
Introduced-by: 87025d15858aa88b22afa9702511ccc7120f8b0b
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Lucian Petrut [Thu, 6 Apr 2023 11:05:47 +0000 (11:05 +0000)]
win32_deps_build: avoid pip
We're currently installing cython with pip when using Ubuntu
to cross compile Ceph for Windows. This can fail with recent
Python versions if attempting to use the global env:
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
Cython isn't really needed by the Windows build so we can go
ahead and drop it. We were hoping to use the Python bindings
on Windows, however Python extensions can't be cross compiled.
We're no longer using pip either, so we're dropping the dependency.
g++ was getting installed as a pip dependency, so we'll have to
include that instead. Note that g++ is used when building the boost
b2 tool.
While at it, we'll also ensure that git is installed.
Fixes: https://tracker.ceph.com/issues/59354
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Michael Fritch [Mon, 17 Apr 2023 14:14:07 +0000 (08:14 -0600)]
cephadm: reschedule haproxy from an offline host
The ingress service (haproxy+keepalived) should be redeployed from an
offline host to allow for client recovery during failover.
Fixes: https://tracker.ceph.com/issues/59472
Signed-off-by: Michael Fritch <mfritch@suse.com>
Anthony D'Atri [Mon, 17 Apr 2023 20:58:51 +0000 (22:58 +0200)]
Merge pull request #50639 from bitfehler/bitfehler/doc-pg-num
doc: account for PG autoscaling being the default
Ilya Dryomov [Mon, 17 Apr 2023 16:58:00 +0000 (18:58 +0200)]
Merge pull request #51043 from petrutlucian94/fix_jaeger_encoding
common/tracer: fix decoding when jaeger tracing is disabled
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
zdover23 [Mon, 17 Apr 2023 16:42:34 +0000 (18:42 +0200)]
Merge pull request #49762 from Svelar/vstart2
vstart: fix text format
Reviewed-by: Zac Dover <zac.dover@proton.me>
Nizamudeen A [Mon, 17 Apr 2023 13:37:44 +0000 (19:07 +0530)]
Merge pull request #50820 from rhcs-dashboard/update-landing-page-e2e-tests
mgr/dashboard: update landing page e2e tests
Reviewed-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Mon, 17 Apr 2023 13:35:59 +0000 (19:05 +0530)]
Merge pull request #51082 from rhcs-dashboard/skip-osds-conditionally-in-e2e
mgr/dashboard: skip Create OSDs step in Cluster expansion
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Nizamudeen A [Mon, 17 Apr 2023 13:35:16 +0000 (19:05 +0530)]
Merge pull request #51115 from rhcs-dashboard/remove-hyperlink-mgr
mgr/dashboard: remove unncessary hyperlink in landing page
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
zdover23 [Mon, 17 Apr 2023 10:07:57 +0000 (12:07 +0200)]
Merge pull request #51114 from colemitchell/wip-doc-2023-04-17-radosgw-s3select-formatting-1
doc/radosgw: format part of s3select
Reviewed-by: Zac Dover <zac.dover@proton.me>
Cole Mitchell [Mon, 17 Apr 2023 09:34:49 +0000 (05:34 -0400)]
doc/radosgw: format part of s3select
Partially format the 'Basic Workflow' section's introduction and 'Basic Functionalities' subsection in s3select. Nothing else is being fixed.
Signed-off-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Nizamudeen A [Mon, 17 Apr 2023 09:38:06 +0000 (15:08 +0530)]
mgr/dashboard: remove unncessary hyperlink in landing page
Fixes: https://tracker.ceph.com/issues/59462
Signed-off-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Mon, 17 Apr 2023 07:01:56 +0000 (12:31 +0530)]
Merge pull request #48869 from rhcs-dashboard/more-grafana-configs
mgr/dashboard: expose more grafana configs in service form
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Pedro Gonzalez Gomez [Fri, 31 Mar 2023 17:51:16 +0000 (19:51 +0200)]
mgr/dashboard: update landing page e2e tests
ignore the region that can vary on different clusters like charts
fixes: https://tracker.ceph.com/issues/59142
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Nizamudeen A [Fri, 14 Apr 2023 19:33:11 +0000 (01:03 +0530)]
mgr/dashboard: skip Create OSDs step in Cluster expansion
Its to ensure OSDs are not deployed on all hosts because that would make
the host draining impossible
Fixes: https://tracker.ceph.com/issues/59457
Signed-off-by: Nizamudeen A <nia@redhat.com>
Patrick Donnelly [Sun, 16 Apr 2023 15:34:35 +0000 (11:34 -0400)]
Merge PR #50941 into main
* refs/pull/50941/head:
doc/foundation: Update Foundation members for April 2023
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
zdover23 [Sun, 16 Apr 2023 13:48:32 +0000 (15:48 +0200)]
Merge pull request #51103 from colemitchell/wip-doc-2023-04-16-radosgw-s3select-formatting-1
doc/radosgw: format part of s3select
Reviewed-by: Zac Dover <zac.dover@proton.me>
Cole Mitchell [Sun, 16 Apr 2023 13:13:56 +0000 (09:13 -0400)]
doc/radosgw: format part of s3select
Format the first section of s3select. Nothing else is being fixed.
Signed-off-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Anthony D'Atri [Sun, 16 Apr 2023 12:39:53 +0000 (14:39 +0200)]
Merge pull request #51099 from zdover23/wip-doc-2023-04-16-dev-cephfs-mirroring-creating-users-command-formatting
doc/dev: format command in cephfs-mirroring
Zac Dover [Sun, 16 Apr 2023 09:11:27 +0000 (11:11 +0200)]
doc/dev: format command in cephfs-mirroring
Correctly format a command in doc/dev/cephfs-mirroring/#creating-users.
Reported by casanlin@init7.net at
https://pad.ceph.com/p/Report_Documentation_Bugs
Signed-off-by: Zac Dover <zac.dover@proton.me>
zdover23 [Sun, 16 Apr 2023 06:58:41 +0000 (08:58 +0200)]
Merge pull request #51062 from zdover23/wip-doc-2023-04-13-glossary-hybrid-storage
doc/glossary: add "Hybrid Storage"
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Thu, 13 Apr 2023 12:01:44 +0000 (14:01 +0200)]
doc/glossary: add "Hybrid Storage"
Add "Hybrid Storage" to the glossary.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Anthony D'Atri [Sat, 15 Apr 2023 22:03:37 +0000 (00:03 +0200)]
Merge pull request #51091 from cityofships/fix_confval
doc/mgr/prometheus: fix confval reference
Piotr Parczewski [Sat, 15 Apr 2023 21:16:35 +0000 (23:16 +0200)]
doc/mgr/prometheus: fix confval reference
Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
Anthony D'Atri [Sat, 15 Apr 2023 09:01:02 +0000 (05:01 -0400)]
Merge pull request #51086 from zdover23/wip-doc-2023-04-15-rados-ops-ceph-medic-removal
doc/rados/ops: remove ceph-medic from monitoring
Zac Dover [Sat, 15 Apr 2023 07:42:31 +0000 (09:42 +0200)]
doc/rados/ops: remove ceph-medic from monitoring
Remove mention of ceph-medic from doc/rados/operations/monitoring.rst,
because it is no longer supported.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Nizamudeen A [Mon, 14 Nov 2022 02:20:54 +0000 (07:50 +0530)]
mgr/dashboard: expose more grafana configs in service form
Show the grafana_port and initial_admin_password in the form but disable
the password field in the edit option
Fixes: https://tracker.ceph.com/issues/58016
Signed-off-by: Nizamudeen A <nia@redhat.com>