]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Samuel Just [Mon, 25 Oct 2021 07:47:16 +0000 (07:47 +0000)]
crimson/os/seastore/.../lba_btree: fix min_capacity condition
Reducing the size of split_merge_multi has an interesting side effect of
causing removes to happen on some leaf nodes immediately after split.
After split, child nodes would have size 72 or 73. At size 72, the node
would be at_min_size() and a remove would put it below causing the
at_min_size() condition to fail and hande_merge to misbehave.
Replace at_min_capacity() with below_min_capacity().
below_min_capacity() will not be true for any child of a split, and
asserts that the child is below capacity by no more than 1.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 25 Oct 2021 06:26:05 +0000 (06:26 +0000)]
crimson/os/seastore/.../lba_btree: fix lower_bound at_boundary()
Clarify that lookup_depth_range may return an iterator at_boundary() and
audity users.
Fix LBABtree::lookup to correctly handle at_boundary() after the call to
lookup_depth_range.
Fixes: https://tracker.ceph.com/issues/52805
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 25 Oct 2021 06:14:08 +0000 (06:14 +0000)]
crimson/os/seastore/lba_manager/lba_btree: factor out iterator::handle_boundary
Factor out helper to adjust iterators at_boundary().
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 25 Oct 2021 06:03:33 +0000 (23:03 -0700)]
crimson/os/seastore/lba_manager/lba_btree: add at_boundary helper distinct from is_end
From an external caller, the condition is identical. However, internally
iterators may be at a leaf boundary without being at end(). For those
checks, use at_boundary() instead.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 25 Oct 2021 05:39:49 +0000 (22:39 -0700)]
crimson/test/seastore/test_btree_lba_manager: shorten tests a bit
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 22 Oct 2021 06:15:33 +0000 (23:15 -0700)]
test/crimson/seastore/test_btree_lba_manager: add LBABtree level unit tests
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 22 Oct 2021 06:14:20 +0000 (23:14 -0700)]
crimson/os/seastore/.../lba_btree_node.h: add operator== for lba_map_val_t
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 20 Oct 2021 06:48:41 +0000 (23:48 -0700)]
crimson/os/seastore/lba_manager/btree: tolerate op_context_t without pins
Simpler to construct unit tests for the LBABTree itself without pins.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 20 Oct 2021 05:47:44 +0000 (05:47 +0000)]
test/crimson/seastore/test_btree_lba_manager: factor out btree_test_base
We're going to use this to create tests for LBABtree in isolation.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 25 Oct 2021 04:45:18 +0000 (21:45 -0700)]
crimson/os/seastore/object_data_handler.cc: misc logging improvements
Signed-off-by: Samuel Just <sjust@redhat.com>
Xuehan Xu [Tue, 19 Oct 2021 05:27:59 +0000 (13:27 +0800)]
crimson/os/seastore: debug outputs
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Samuel Just [Mon, 25 Oct 2021 06:51:32 +0000 (23:51 -0700)]
crimson/os/seastore/.../lba_btree: fix logging for LBABtree::handle_split
Signed-off-by: Samuel Just <sjust@redhat.com>
Mykola Golub [Sun, 24 Oct 2021 07:44:00 +0000 (10:44 +0300)]
Merge pull request #43633 from ideepika/wip-rbd-full-try-test-fixups
test/librbd: harden RemoveFullTry tests
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
Ilya Dryomov [Thu, 14 Oct 2021 19:40:49 +0000 (21:40 +0200)]
qa/suites/rbd: whitelist POOL_FULL due to quota for test_librbd.sh
RemoveFullTry tests fill up the pool and expect EDQUOT.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Thu, 14 Oct 2021 18:35:16 +0000 (20:35 +0200)]
test/librbd: don't run RemoveFullTry tests with persistent writeback cache
Persistent writeback cache messes with pool quota enforcement on the
OSD side and we don't always break out of the write zeroes loop:
src/test/librbd/test_librbd.cc:2165: Failure
Value of: off >= quota && off < size
Actual: false
Expected: true
Unfortunately persistent writeback cache doesn't honor FUA [1] so the
workaround for volatile caches from the previous patch doesn't apply.
[1] https://tracker.ceph.com/issues/49715
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Sat, 16 Oct 2021 21:12:34 +0000 (23:12 +0200)]
test/librbd: set FUA on writes in remove_full_try()
Work around write-back or write-around cache getting enabled (e.g. if
one runs the tests with rbd_cache_writethrough_until_flush disabled).
Fixes: https://tracker.ceph.com/issues/52883
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Samuel Just [Sat, 23 Oct 2021 04:42:44 +0000 (21:42 -0700)]
Merge pull request #43629 from athanatos/sjust/wip-fix-fsdriver
crimson/tools/store_nbd/fs_driver: fix mount and mkfs to handle new mkfs signature
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Mykola Golub [Fri, 22 Oct 2021 06:49:12 +0000 (09:49 +0300)]
Merge pull request #43573 from idryomov/wip-create-ioctx-preserve-full-try
librbd: preserve CEPH_OSD_FLAG_FULL_TRY in create_ioctx()
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
Mykola Golub [Fri, 22 Oct 2021 06:48:47 +0000 (09:48 +0300)]
Merge pull request #43568 from idryomov/wip-writesame-fua
librbd: honor FUA op flag for write_same() in write-around cache
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
Samuel Just [Fri, 22 Oct 2021 06:15:07 +0000 (23:15 -0700)]
crimson/tools/store_nbd/fs_driver: fix mount and mkfs to handle new mkfs signature
Introduced: e5f7ff
Fixes: https://tracker.ceph.com/issues/53012
Signed-off-by: Samuel Just <sjust@redhat.com>
J. Eric Ivancich [Fri, 22 Oct 2021 02:43:24 +0000 (22:43 -0400)]
Merge pull request #42151 from chapche/wip-tracker-51466
rgw: cls_bucket_list_unordered() might return one redundent entry every time is_truncated is true
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Mark Kogan [Thu, 21 Oct 2021 14:35:53 +0000 (17:35 +0300)]
Merge pull request #43503 from mkogan1/wip-fips-md5
rgw: under fips, set flag to allow md5 in select rgw ops
Patrick Donnelly [Thu, 21 Oct 2021 14:26:43 +0000 (10:26 -0400)]
Merge PR #43566 into master
* refs/pull/43566/head:
qa: reduce frag split confs for dir_split counter test
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Daniel Gryniewicz [Thu, 21 Oct 2021 14:21:12 +0000 (10:21 -0400)]
Merge pull request #43600 from smithfarm/wip-52979
rgw/tracing: unify SO version numbers within librgw2 package
Reviewed-by: Casey Bodley <cbodley@redhat.com>
zdover23 [Thu, 21 Oct 2021 11:14:01 +0000 (21:14 +1000)]
Merge pull request #43586 from sebastian-philipp/docs-email-contact
doc/start: documenting-ceph: Remove email to ceph-docs@redhat.com
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Sebastian Wagner [Thu, 21 Oct 2021 11:08:38 +0000 (13:08 +0200)]
Merge pull request #43604 from zdover23/wip-doc-2021-10-21-cephadm-install-typo
doc/cephadm: update typo in install.rst
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Sebastian Wagner [Thu, 21 Oct 2021 10:53:39 +0000 (12:53 +0200)]
Merge pull request #43616 from krafZLorG/fix-cephadm-chooseleaf
cephadm: Fix option name osd_crush_chooseleaf_type
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
krafZLorG [Thu, 21 Oct 2021 07:27:14 +0000 (10:27 +0300)]
Fix option name osd_crush_chooseleaf_type
Signed-off-by: Dmitry Kvashnin <dm.kvashnin@gmail.com>
Patrick Donnelly [Thu, 21 Oct 2021 02:27:40 +0000 (22:27 -0400)]
Merge PR #43508 into master
* refs/pull/43508/head:
mds/FSMap: do not assert allow_standby_replay on old FSMaps
Reviewed-by: Ramana Raja <rraja@redhat.com>
Patrick Donnelly [Thu, 21 Oct 2021 02:26:41 +0000 (22:26 -0400)]
Merge PR #43506 into master
* refs/pull/43506/head:
mon/MDSMonitor: avoid crash when decoding old FSMap epochs
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Patrick Donnelly [Thu, 21 Oct 2021 02:25:58 +0000 (22:25 -0400)]
Merge PR #40183 into master
* refs/pull/40183/head:
client: remove useless mds member in Fh class
client: adjust the Fh class members order
client: switch to use shared_ptr for mds_sessions
client: minor cleanup to Fh related code
client: minor cleanup to MetaRequest class
client: minor cleanup to Client related code
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Thu, 21 Oct 2021 02:24:32 +0000 (22:24 -0400)]
Merge PR #38752 into master
* refs/pull/38752/head:
qa: enable dynamic debug support to kclient
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Wed, 20 Oct 2021 21:50:21 +0000 (17:50 -0400)]
Merge PR #43138 into master
* refs/pull/43138/head:
mgr/rook: implement `orch device zap` in rook orchestrator
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
J. Eric Ivancich [Wed, 20 Oct 2021 18:38:26 +0000 (14:38 -0400)]
Merge pull request #43594 from ivancich/wip-bucket-fix-pool-actual
rgw: have "bucket check --fix" fix pool ids correctly
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
J. Eric Ivancich [Wed, 20 Oct 2021 17:49:20 +0000 (13:49 -0400)]
Merge pull request #43429 from ivancich/wip-document-rgw_lc_debug_interval
rgw: document rgw_lc_debug_interval configuration option
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
J. Eric Ivancich [Wed, 13 Oct 2021 13:43:59 +0000 (09:43 -0400)]
rgw: clean up a little LC logging
Some of the LC logging does not put whitespace between some values and
the thread identifier. This commit adds the whitespace.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Mon, 11 Oct 2021 20:17:46 +0000 (16:17 -0400)]
rgw: during "bucket check --fix" set index entry pool id correctly
The current code sets the pool id of bucket index entries to the
bucket index pool rather than the data pool. This fixes that.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Wed, 20 Oct 2021 16:58:39 +0000 (12:58 -0400)]
Merge pull request #43553 from ivancich/wip-bucket-fix-pool
rgw: pass "force check filter" through SAL in bucket listing
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Mykola Golub [Wed, 20 Oct 2021 16:05:46 +0000 (19:05 +0300)]
Merge pull request #43535 from Rethan/fix-image-spec
rbd: correct image_spec() output when rbd-nbd Detach/Unmap error
Reviewed-by: Mykola Golub <mgolub@suse.com>
Ronen Friedman [Wed, 20 Oct 2021 15:03:22 +0000 (18:03 +0300)]
Merge pull request #43596 from ronen-fr/wip-rf-test_info
tests: modify osd-scrub-repair to match PR #43239 changes
Reviewed-by: Mykola Golub <mgolub@suse.com>
Zac Dover [Wed, 20 Oct 2021 14:42:02 +0000 (00:42 +1000)]
doc/cephadm: update typo in install.rst
This PR changes the string
use "--log-to-file" option during bootstrap
to
use the "--log-to-file" option during bootstrap
The way that it was written makes it sound like it was
written by a native Russian speaker. But it was written
by me, a native English speaker, so this is on me.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Neha Ojha [Wed, 20 Oct 2021 13:57:06 +0000 (06:57 -0700)]
Merge pull request #43572 from trociny/wip-qa-backfill-toofull-compress
qa/tasks/backfill_toofull: make test work when compression on
Reviewed-by: Neha Ojha <nojha@redhat.com>
J. Eric Ivancich [Tue, 5 Oct 2021 23:27:27 +0000 (19:27 -0400)]
rgw: document rgw_lc_debug_interval configuration option
Updates the yaml describing this config option with a "desc" and a
"long_desc".
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Sebastian Wagner [Tue, 19 Oct 2021 09:08:35 +0000 (11:08 +0200)]
doc/start: documenting-ceph: Remove email to ceph-docs@redhat.com
Instead get in touch with the component lead.
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Tue, 19 Oct 2021 09:07:13 +0000 (11:07 +0200)]
doc/start: documenting-ceph: Improve template of commits
by properly linking the corresponding tracker issue.
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Tue, 19 Oct 2021 09:00:26 +0000 (11:00 +0200)]
doc/governanace: Fix my email address
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Nathan Cutler [Wed, 20 Oct 2021 10:51:02 +0000 (12:51 +0200)]
rgw/tracing: unify SO version numbers within librgw2 package
The librgw2 package contains several SO files. Two of those - librgw_op_tp.so
and librgw_rados_tp.so - had a different version number than the main librgw.
This was a violation of the openSUSE Shared Library Packaging Policy [1] but it
also seems like a "violation" of common sense.
[1] https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Package_naming
Fixes: https://tracker.ceph.com/issues/52979
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sebastian Wagner [Wed, 20 Oct 2021 09:49:33 +0000 (11:49 +0200)]
Merge pull request #42772 from Daniel-Pivonka/cephadm-add-existing-host
mgr/cephadm: update host when adding host that already exists
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Wed, 20 Oct 2021 09:48:42 +0000 (11:48 +0200)]
Merge pull request #43354 from adk3798/daemon-failed-agent
mgr/cephadm: update CEPHADM_FAILED_DAEMON after receiving agent metadata
Reviewed-by: Daniel Pivonka <dpivonka@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Wed, 20 Oct 2021 09:48:09 +0000 (11:48 +0200)]
Merge pull request #43366 from adk3798/log-list-servers
mgr/cephadm: put list_servers output in debug logs
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Wed, 20 Oct 2021 09:47:41 +0000 (11:47 +0200)]
Merge pull request #43367 from adk3798/handle-use-agent
mgr/cephadm: move handling of use_agent setting into agent.py
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Wed, 20 Oct 2021 09:46:17 +0000 (11:46 +0200)]
Merge pull request #43489 from adk3798/clear-agent-down
mgr/cephadm: update CEPHADM_AGENT_DOWN when agent reports in
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Wed, 20 Oct 2021 09:45:29 +0000 (11:45 +0200)]
Merge pull request #43552 from adk3798/dont-log-credentials
cephadm: do not log commands sent to "call" function
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Ronen Friedman [Wed, 20 Oct 2021 06:42:51 +0000 (06:42 +0000)]
tests: modify osd-scrub-repair to match PR #43239 changes
PR #43239 has modified ECBackend::get_hash_info() behavior.
Modified the standalone scrub test to match.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Samuel Just [Wed, 20 Oct 2021 04:55:23 +0000 (21:55 -0700)]
Merge pull request #43592 from rzarzynski/wip-crimson-mount_ertr
crimson: errorate the FuturizedStore::mount() paths.
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Neha Ojha [Tue, 19 Oct 2021 21:55:16 +0000 (14:55 -0700)]
Merge pull request #42839 from giladmaya/wip-on-wire-compression-documentation
doc: Added msgr on-wire-compression
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Neha Ojha [Tue, 19 Oct 2021 21:54:10 +0000 (14:54 -0700)]
Merge pull request #43577 from ThomasLamprecht/docs-glossary-typo
docs: fix case and spelling of Proxmox VE
Reviewed-by: Laura Flores <lflores@redhat.com>
Radoslaw Zarzynski [Tue, 19 Oct 2021 20:02:57 +0000 (20:02 +0000)]
crimson: errorate the FuturizedStore::mount() paths.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sage Weil [Tue, 19 Oct 2021 20:04:36 +0000 (16:04 -0400)]
Merge PR #43556 into master
* refs/pull/43556/head:
qa/suites/orch/cephadm/osds: add osd rm/zap/add test
Reviewed-by: Cory Snyder <csnyder@iland.com>
Radoslaw Zarzynski [Tue, 19 Oct 2021 19:24:47 +0000 (19:24 +0000)]
crimson/os: move singleton_ec up to let mount() reuse it.
No other changes in this commit.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sage Weil [Tue, 19 Oct 2021 14:58:31 +0000 (10:58 -0400)]
Merge PR #43569 into master
* refs/pull/43569/head:
mgr/orchestrator: clean up 'orch device ls' output
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Casey Bodley [Tue, 19 Oct 2021 12:53:01 +0000 (08:53 -0400)]
Merge pull request #43486 from cbodley/wip-rgw-maintainers
rgw: start on MAINTAINERS.md
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Sebastian Wagner [Tue, 19 Oct 2021 11:33:43 +0000 (13:33 +0200)]
Merge pull request #43514 from mgfritch/cephadm-agent-binary
cephadm: use the current cephadm binary for the agent
Reviewed-by: Adam King <adking@redhat.com>
Ernesto Puerta [Tue, 19 Oct 2021 11:30:06 +0000 (13:30 +0200)]
Merge pull request #43465 from rhcs-dashboard/radosgw-grafana-dashboards
mgr/dashboard: monitoring: grafonnet refactoring for radosgw dashboards
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Sebastian Wagner [Tue, 19 Oct 2021 09:34:46 +0000 (11:34 +0200)]
Merge pull request #43370 from liewegas/fix-rook-rgw-multisite
mgr/rook: describe_services: name rgw svc appropriately
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Tue, 19 Oct 2021 09:30:40 +0000 (11:30 +0200)]
Merge pull request #43550 from liewegas/rook-nvme
qa/suites/orch/rook/smoke: use nvme-loop
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Ernesto Puerta [Tue, 19 Oct 2021 09:17:17 +0000 (11:17 +0200)]
Merge pull request #42526 from liewegas/dashboard-nfs
mgr/dashboard: consume mgr/nfs
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Varsha Rao <rvarsha016@gmail.com>
Aashish Sharma [Fri, 8 Oct 2021 10:07:17 +0000 (15:37 +0530)]
mgr/dashboard: monitoring: grafonnet refactoring for cephfs dashboards
This PR intends to refactor cephfs dashboards using grafonnet
Fixes:https://tracker.ceph.com/issues/52777
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Aashish Sharma [Fri, 8 Oct 2021 09:58:13 +0000 (15:28 +0530)]
mgr/dashboard: monitoring: grafonnet refactoring for osds dashboards
This PR intends to refactor osds dashboards using grafonnet
Fixes:https://tracker.ceph.com/issues/52777
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Aashish Sharma [Fri, 8 Oct 2021 09:52:46 +0000 (15:22 +0530)]
mgr/dashboard: monitoring: grafonnet refactoring for pools dashboards
This PR intends to refactor pools dashboards using grafonnet
Fixes:https://tracker.ceph.com/issues/52777
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Aashish Sharma [Fri, 8 Oct 2021 09:42:41 +0000 (15:12 +0530)]
mgr/dashboard: monitoring: grafonnet refactoring for rbd dashboards
This PR intends to refactor rbd dashboards using grafonnet
Fixes:https://tracker.ceph.com/issues/52777
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Aashish Sharma [Fri, 8 Oct 2021 09:30:09 +0000 (15:00 +0530)]
mgr/dashboard: monitoring: grafonnet refactoring for radosgw dashboards
This PR intends to refactor radosgw dashboards using grafonnet
Fixes:https://tracker.ceph.com/issues/52777
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Joseph Sawaya [Thu, 9 Sep 2021 19:14:29 +0000 (15:14 -0400)]
mgr/rook: implement `orch device zap` in rook orchestrator
This commit implements orch device zap by creating a pod on the target
host that mounts the /dev directory and runs either overwrites the first
few blocks of the device with zeros if it's a raw device or if it's not
a raw device it will use `ceph-volume lvm zap`.
Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
Sage Weil [Thu, 14 Oct 2021 20:00:09 +0000 (15:00 -0500)]
qa/suites/orch/cephadm/osds: add osd rm/zap/add test
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 18 Oct 2021 19:03:33 +0000 (15:03 -0400)]
Merge PR #43504 into master
* refs/pull/43504/head:
mgr/nfs: add some test coverage for cluster info, cluster config
mgr/nfs: add 'nfs cluster config get'
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Reviewed-by: Varsha Rao <rvarsha016@gmail.com>
Sage Weil [Mon, 18 Oct 2021 19:03:24 +0000 (15:03 -0400)]
Merge PR #43510 into master
* refs/pull/43510/head:
qa/suites/orch/cephadm/upgrade: smoke test for 'orch upgrade ls'
mgr/cephadm: make upgrade ls output structured
mgr/cephadm: add 'orch upgrade ls' to list available versions
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Sage Weil [Mon, 18 Oct 2021 17:56:39 +0000 (13:56 -0400)]
Merge PR #43549 into master
* refs/pull/43549/head:
mgr/rook: fix mds service list
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Mon, 11 Oct 2021 14:42:34 +0000 (10:42 -0400)]
rgw: add src/rgw/MAINTAINERS.md
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ernesto Puerta [Mon, 18 Oct 2021 15:14:03 +0000 (17:14 +0200)]
Merge pull request #43469 from rhcs-dashboard/hosts-grafana-dashboards
mgr/dashboard: monitoring: grafonnet refactoring for hosts dashboards
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Sage Weil [Fri, 15 Oct 2021 15:58:41 +0000 (11:58 -0400)]
qa/suites/orch/cephadm/upgrade: smoke test for 'orch upgrade ls'
Signed-off-by: Sage Weil <sage@newdream.net>
Ilya Dryomov [Mon, 18 Oct 2021 12:25:36 +0000 (14:25 +0200)]
Merge pull request #42760 from ideepika/wip-iscsi-testing
qa/suites/rbd: switch iscsi tests to cephadm
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Sebastian Wagner [Mon, 18 Oct 2021 11:58:55 +0000 (13:58 +0200)]
Merge pull request #43564 from sebastian-philipp/doc-cephadm-host-location
doc/cephadm: Hosts: Add "initial CRUSH location"
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Alfonso Martínez [Thu, 26 Aug 2021 10:05:54 +0000 (12:05 +0200)]
mgr/dashboard: NFS exports: API + UI: integration with mgr/nfs; cleanups
mgr/dashboard: move NFS_GANESHA_SUPPORTED_FSALS to mgr_module.py
Importing from nfs module throws AttributeError because as a side effect the dashboard module is impersonating the nfs module.
https://gist.github.com/varshar16/
61ac26426bbe5f5f562ebb14bcd0f548
mgr/dashboard: 'Create NFS export' form: list clusters from nfs module
mgr/dashboard: frontend+backend cleanups for NFS export
Removed all code and references related to daemons. UI cleanup and adopted unit-testing for
nfs-epxort create form for CEPHFS backend. Cleanup for export list/get/create/set/delete endpoints.
mgr/dashboard: rm set-ganesha ref + update docs
Remove existing set-ganesha-clusters-rados-pool-namespace references as
they are no longer required. Moreover, nfs doc in dashboard doc is
updated accordingly to the current nfs status.
mgr/dashboard: add nfs-export e2e test coverage
mgr/dashboard: 'Create NFS export' form: remove RGW user id field.
- Improve bucket typeahead behavior.
- Increase version for bucket list endpoint.
- Some refactoring.
mgr/dashboard: 'Create NFS export' form: allow RGW backend only when default realm is selected.
When RGW multisite is configured, the NFS module can only handle buckets in the default realm.
mgr/dashboard: 'Create service' form: fix NFS service creation.
After https://github.com/ceph/ceph/pull/42073, NFS pool and namespace are not customizable.
mgr/dashboard: 'Create NFS export' form: add bucket validation.
- Allow only existing buckets.
- Refactoring:
- Moved bucket validator from bucket form to cd-validators.ts
- Split bucket validator into 2: bucket name validator and bucket existence (that checks either existence or non-existence).
mgr/dashboard: 'Create NFS export' form: path validation refactor: allow only existing paths.
Fixes: https://tracker.ceph.com/issues/46493
Fixes: https://tracker.ceph.com/issues/51479
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Thomas Lamprecht [Mon, 18 Oct 2021 10:10:24 +0000 (12:10 +0200)]
docs: fix case and spelling of Proxmox VE
There's no such thing as ProxMox, the hypervisor product with build
in ceph server management and RBD client access is named `Proxmox VE`
and the company behind it is named Proxmox Server Solutions GmbH
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Varsha Rao [Mon, 9 Aug 2021 19:00:16 +0000 (00:30 +0530)]
mgr/dashboard: directly use ExportMgr and NFSCluster objects
Using the objects directly provides access to other methods and helps in
avoiding repeatition.
mgr/dashboard/nfsganesha: remove tag
Since NFS v3 is no longer supported. We can remove tag.
mgr/nfs: define global constant to list supported FSALs
mgr/dashboard: directly list nfs clusters by directly importing available_cluster() method
The current dashboard api returns a list of following dictionary
{
'pool': 'nfs-ganesha',
'namespace': cluster_id,
'type': 'orchestrator',
'daemon_conf': None
}
None of these values are required for listing nfs cluster by mgr/nfs module.
Instead directly list available cluster names
mgr/dashboard: add comment to remove listing of daemons
As the configs are per cluster. There is no need to list daemons per cluster.
mgr/dashboard/controllers/nfsganesha: Add comments to update/remove status endpoint
This endpoint can be updated in suggested way or even removed. As it was
initially[1] introduced to check if dashboard pool and namespace configuration was
set.
[1] https://github.com/ceph/ceph/commit/
824726393b185b8e5a8f17e66487dfde9f3c8b5c
mgr/nfs: remove fetch_cluster_obj()
There is no need to fetch NFSCluster class object. Directly
available_clusters() can be imported to list nfs clusters.
mgr/dashboard/controllers/nfsganesha: list exports based on cluster id
As mgr/nfs module lists based on cluster id.
mgr/dashboard/nfs: get and delete export by export id
Fixes: https://tracker.ceph.com/issues/46493
Signed-off-by: Varsha Rao <varao@redhat.com>
Sage Weil [Wed, 28 Jul 2021 14:29:47 +0000 (10:29 -0400)]
mgr/dashboard: consume mgr/nfs via mgr.remote()
Stop using the dashboard version of the Ganesha config classes; consume
mgr/nfs instead via remote().
mgr/nfs/export: return Export from _apply_export
Future callers will want this.
mgr/nfs: new module methods for dashboard consumption
Add some new methods that are easy for the dashboard API to consume. These
are very similar to the CLI methods but do now have the @CLICommand and
related decorators, and have slightly different interfaces (e.g., returning
the created/modified Export dict).
mgr/dashboard: remove old ganesha code (and tests)
Fixes: https://tracker.ceph.com/issues/46493
Signed-off-by: Sage Weil <sage@newdream.net>
Deepika Upadhyay [Thu, 14 Oct 2021 07:10:14 +0000 (12:40 +0530)]
src/test/cli-integration: correct hostname for iscsi gateway
iscsi accepts first word of hostname as local hostname[0] instead of
smithi061.front.sepia.ceph.com we use: smithi061 otherwise gateway
creation will error out with:
```The first gateway defined must be the local machine```
[0] https://github.com/ceph/ceph-iscsi-cli/blob/
ff3e430b70a62257a560b8988bd54bf845c01fb7 /gwcli/utils.py#L36
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Deepika Upadhyay [Wed, 13 Oct 2021 06:30:38 +0000 (12:00 +0530)]
src/test/cli-integration/rbd: update gwcli_* to use podman exec
* since iscsi now resides inside the container, for testing we use the
hack:
- find the iscsi container/
- use found container and podman exec command to test gateway creation
deletion from host itself
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Deepika Upadhyay [Wed, 13 Oct 2021 06:19:02 +0000 (11:49 +0530)]
qa/tasks: adapt ceph_iscsi.py task to ceph_iscsi_client
* we use setup_iscsi_client.py to deploy iscsi client services,
configuring intiator and mulitpath this is done by qa task
ceph_iscsi_client
* qa/cephadm: adds remotes ip addresses to iscsi gateway,
* rename poolname: iscsi >> datapool, which we usually use for tests and
expresses type of pool more clearly.
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Deepika Upadhyay [Wed, 13 Oct 2021 06:17:11 +0000 (11:47 +0530)]
qa/suites/rbd: remove baremetal based setup needed for iscsi testing
* replace ceph baremetal deployment with cephadm based deployment
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Deepika Upadhyay [Wed, 13 Oct 2021 06:03:39 +0000 (11:33 +0530)]
doc: add iSCSI initiator client configuration section for cephadm
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Maya Gilad [Mon, 13 Sep 2021 17:11:39 +0000 (20:11 +0300)]
doc added msgr on-wire-compression
Signed-off-by: Maya Gilad <ms.maya.gilad@gmail.com>
Patrick Donnelly [Fri, 15 Oct 2021 15:08:28 +0000 (11:08 -0400)]
qa: reduce frag split confs for dir_split counter test
Fixes: https://tracker.ceph.com/issues/52949
Fixes: a5675535ba532cfe782238d995751f9bc91f5078
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Ilya Dryomov [Sun, 17 Oct 2021 12:38:22 +0000 (14:38 +0200)]
test: fix valgrind.supp path in run-rbd-valgrind-unit-tests.sh
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Sun, 17 Oct 2021 11:09:14 +0000 (13:09 +0200)]
test/librados_test_stub: add IoCtx::{set,get}_pool_full_try() stubs
Because unittest_librbd links not just with librados_test_stub.a but
also with librados.so (why?), these were sneakily picked up from the
latter. This resulted in get_pool_full_try() reading from invalid
memory and every once in a while returning true, prompting librbd to
write to invalid memory through set_pool_full_try() in create_ioctx()
and cause random crashes.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Sat, 16 Oct 2021 19:08:55 +0000 (21:08 +0200)]
librbd: preserve CEPH_OSD_FLAG_FULL_TRY in create_ioctx()
The obvious use case is an image with a separate data pool but it could
be useful in other places too.
While at it, set_namespace() call in handle_v2_get_data_pool() is
redundant since create_ioctx() already takes care of it.
Fixes: https://tracker.ceph.com/issues/52961
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Mykola Golub [Wed, 13 Oct 2021 15:22:09 +0000 (18:22 +0300)]
qa/tasks/backfill_toofull: make test work when compression on
The osd backfill reservation does not take compression into account so
we need to operate with "uncompressed" bytes when calculating nearfull
ratio.
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Sat, 16 Oct 2021 02:57:05 +0000 (10:57 +0800)]
Merge pull request #43571 from tchaikov/wip-bl-prepare-iovs
common/bl: bl::prepare_iovs() related cleanups
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Kefu Chai [Sat, 16 Oct 2021 00:31:08 +0000 (08:31 +0800)]
common/bl: mark bl::prepare_iovs() const
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Kefu Chai [Fri, 15 Oct 2021 23:58:50 +0000 (07:58 +0800)]
common/bl: simplify bl::prepare_iovs()
* consolidate the code to initialize a vector<iov>
* use an iterator to track the current vector<iovec>. less
repeating this way.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>