Commit Graph

127335 Commits

Author SHA1 Message Date
Samuel Just
157ad2aab6 crimson/os/seastore/.../lba_btree: fix logging for LBABtree::handle_split
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-10-25 01:05:09 -07:00
Mykola Golub
ed9d0b4417
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>
2021-10-24 10:44:00 +03:00
Ilya Dryomov
6278a04ac2 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>
2021-10-23 22:04:58 +05:30
Ilya Dryomov
641f782ac7 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>
2021-10-23 22:04:58 +05:30
Ilya Dryomov
7f5e1ce326 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>
2021-10-23 22:04:58 +05:30
Samuel Just
e7d152fce8
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>
2021-10-22 21:42:44 -07:00
Mykola Golub
82c16d39c3
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>
2021-10-22 09:49:12 +03:00
Mykola Golub
b905c50877
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>
2021-10-22 09:48:47 +03:00
Samuel Just
2e5aeb8651 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>
2021-10-21 23:48:38 -07:00
J. Eric Ivancich
0deb744900
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>
2021-10-21 22:43:24 -04:00
Mark Kogan
2d0b120983
Merge pull request #43503 from mkogan1/wip-fips-md5
rgw: under fips, set flag to allow md5 in select rgw ops
2021-10-21 17:35:53 +03:00
Patrick Donnelly
94b712bdab
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>
2021-10-21 10:26:43 -04:00
Daniel Gryniewicz
7ddbd004b7
Merge pull request #43600 from smithfarm/wip-52979
rgw/tracing: unify SO version numbers within librgw2 package

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-10-21 10:21:12 -04:00
zdover23
3fb19d9bb9
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>
2021-10-21 21:14:01 +10:00
Sebastian Wagner
7b1d5372cb
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>
2021-10-21 13:08:38 +02:00
Sebastian Wagner
4709ff951a
Merge pull request #43616 from krafZLorG/fix-cephadm-chooseleaf
cephadm: Fix option name osd_crush_chooseleaf_type

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-21 12:53:39 +02:00
krafZLorG
0e7c16ce2c
Fix option name osd_crush_chooseleaf_type
Signed-off-by: Dmitry Kvashnin <dm.kvashnin@gmail.com>
2021-10-21 11:41:39 +03:00
Patrick Donnelly
5dd4274b1a
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>
2021-10-20 22:27:40 -04:00
Patrick Donnelly
655507ed4e
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>
2021-10-20 22:26:41 -04:00
Patrick Donnelly
c455b10a08
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>
2021-10-20 22:25:58 -04:00
Patrick Donnelly
04aabf8bee
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>
2021-10-20 22:24:32 -04:00
Sage Weil
78f8f78bf2 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>
2021-10-20 17:50:21 -04:00
J. Eric Ivancich
0de8e4ae91
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>
2021-10-20 14:38:26 -04:00
J. Eric Ivancich
08b94b52db
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>
2021-10-20 13:49:20 -04:00
J. Eric Ivancich
7f6677df55 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>
2021-10-20 13:00:42 -04:00
J. Eric Ivancich
4c2ac79621 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>
2021-10-20 13:00:40 -04:00
J. Eric Ivancich
c0a93a771e
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>
2021-10-20 12:58:39 -04:00
Mykola Golub
93760fadf4
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>
2021-10-20 19:05:46 +03:00
Ronen Friedman
352399d6a4
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>
2021-10-20 18:03:22 +03:00
Zac Dover
d5f6d8ef33 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>
2021-10-21 00:42:02 +10:00
Neha Ojha
9fda06aa6a
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>
2021-10-20 06:57:06 -07:00
J. Eric Ivancich
9171d3626b 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>
2021-10-20 09:51:06 -04:00
Sebastian Wagner
a6254beff6
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>
2021-10-20 14:18:20 +02:00
Sebastian Wagner
260ed919fc
doc/start: documenting-ceph: Improve template of commits
by properly linking the corresponding tracker issue.

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-20 14:18:20 +02:00
Sebastian Wagner
7e264227b1
doc/governanace: Fix my email address
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-20 14:18:20 +02:00
Nathan Cutler
172d6e01d5 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>
2021-10-20 13:39:15 +02:00
Sebastian Wagner
a1ac0ec720
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>
2021-10-20 11:49:33 +02:00
Sebastian Wagner
2ac749e7e0
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>
2021-10-20 11:48:42 +02:00
Sebastian Wagner
f2da4ec9b4
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>
2021-10-20 11:48:09 +02:00
Sebastian Wagner
8435ff07e0
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>
2021-10-20 11:47:41 +02:00
Sebastian Wagner
99985b970d
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>
2021-10-20 11:46:17 +02:00
Sebastian Wagner
5397d15bb8
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>
2021-10-20 11:45:29 +02:00
Ronen Friedman
52e9fa16ef 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>
2021-10-20 06:42:51 +00:00
Samuel Just
92d0a7ca3d
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>
2021-10-19 21:55:23 -07:00
Neha Ojha
e70c7de4b5
Merge pull request #42839 from giladmaya/wip-on-wire-compression-documentation
doc: Added msgr on-wire-compression

 Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-10-19 14:55:16 -07:00
Neha Ojha
1a2403afc1
Merge pull request #43577 from ThomasLamprecht/docs-glossary-typo
docs: fix case and spelling of Proxmox VE

Reviewed-by: Laura Flores <lflores@redhat.com>
2021-10-19 14:54:10 -07:00
Radoslaw Zarzynski
677bce0e97 crimson: errorate the FuturizedStore::mount() paths.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-10-19 20:11:55 +00:00
Sage Weil
9e70065a73 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>
2021-10-19 16:04:36 -04:00
Radoslaw Zarzynski
f94cab0c53 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>
2021-10-19 19:25:00 +00:00
Sage Weil
a4fef1dabd Merge PR #43569 into master
* refs/pull/43569/head:
	mgr/orchestrator: clean up 'orch device ls' output

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-19 10:58:31 -04:00