Commit Graph

136130 Commits

Author SHA1 Message Date
Radoslaw Zarzynski
e9495737f9 examples/librbd: drop -std=c++11 from CXXFLAGS
In terms of `CXXFLAGS` this commit does for `examples/librbd`
exactly what be838652fa already
did to `examples/librados`. Together they cover the purpose
of the long-waiting PR #44738.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-21 20:43:18 +00:00
zdover23
fa8a9c73ae
Merge pull request #49968 from zdover23/wip-doc-2023-02-02-jaegertracing-refinement
doc/jaegertracing: refine index.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-02-03 04:20:48 +10:00
Laura Flores
8b5ab2bc03
Merge pull request #49848 from ljflores/wip-tracker-58545
qa/workunits: give telemetry opt-in check more time
2023-02-02 09:36:20 -06:00
Zac Dover
9d1fb1bc39 doc/jaegertracing: refine index.rst
Make English in jaegertracing/index.rst more elegant.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-02-02 17:15:44 +10:00
Samuel Just
8a095e903b
Merge pull request #49935 from athanatos/sjust/wip-58486
crimson: fix incorrect interval check in PG::submit_transaction

Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-02-01 20:28:49 -08:00
Ionut BALUTOIU
89bad98ff5
Merge pull request #49812 from petrutlucian94/poll_hup
msg: fix poll event driver, handling POLLHUP and POLLERR
2023-02-01 11:29:11 +02:00
Yuri Weinstein
e20b23fbc4
Merge pull request #48295 from NitzanMordhai/wip-nitzan-osd-start-osdmap-hang-adding-debug-msg
OSD: during test start, not all osds started due to consum map hang
2023-01-31 12:15:56 -08:00
Daniel Gryniewicz
0fd902dc75
Merge pull request #45247 from andriytk/update-ceph-mgw
rgw: update motr sal

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2023-01-31 09:40:19 -05:00
Venky Shankar
9ec4f7f6e1 Merge PR #49842 into main
* refs/pull/49842/head:
	Revert "cmake: do not link ceph-dencoder against global"

Reviewed-by: Tim Serong <tserong@suse.com>
2023-01-31 19:45:04 +05:30
zdover23
47cbae6738
Merge pull request #49946 from cityofships/pkg-docs 2023-01-31 18:48:50 +10:00
Piotr Parczewski
4cc3cb9cd0
doc/cephadm: grammar / syntax in install.rst
Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
2023-01-31 09:30:07 +01:00
Samuel Just
ab91b7c3d3 crimson/osd/pg: remove incorrect map epoch check in PG::submit_transasction
It's entirely fine for the map_epoch to change while the op is processed
as long as none of the intervening epochs caused an interval change.  In
general, the correct way to check for an interval change is with
has_reset_since.

We don't need to do this check here at all because IOInterruptCondition
will already have performed it against the captured epoch when the
continuation resumed.

Introduced: 31418020fd
Fixes: https://tracker.ceph.com/issues/58486
Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-30 20:34:43 -08:00
Venky Shankar
7fa088516f Revert "cmake: do not link ceph-dencoder against global"
Reverting since this is causing the following ceph-dencoder exception:

        [src/tcmalloc.cc:332] Attempt to free invalid pointer 0x558f14e3a000

NOTE: I didn't debug this any more further since there is sizable backlog
of PRs that need testing/merging, but reverting the change makes it work.

Fixes: http://tracker.ceph.com/issues/58219
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-01-31 09:46:00 +05:30
zdover23
c1bcd14be2
Merge pull request #49913 from neesingh-rh/wip-51459
doc: add the damage types that scrub can repair

Reviewed-by: Zac Dover <zac.dover@proton.me>
2023-01-31 10:38:33 +10:00
Venky Shankar
221ee00aa2 Merge PR #49048 into main
* refs/pull/49048/head:
	mds: fix and skip submitting invalid osd request

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2023-01-30 22:01:15 +05:30
Neeraj Pratap Singh
87215ab3e4 doc: add the damage types that scrub can repair
Fixes: https://tracker.ceph.com/issues/51459
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
2023-01-30 21:55:49 +05:30
Andriy Tkachuk
e1659f846a Rollback submodules changes made by accident
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
2023-01-30 15:16:46 +00:00
Rishabh Dave
d33a2a9181
Merge pull request #48541 from lxbsz/wip-qa-upgrade-fix
qa/cephfs: fix confusing config when upgrading mds nodes

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2023-01-30 17:25:14 +05:30
Rishabh Dave
3be15b73df
Merge pull request #48049 from dparmar18/wip-dparmar-qa-mixed-clients-57280
qa/fs/mixed-clients: specify distros for tests

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
2023-01-30 17:05:31 +05:30
Rishabh Dave
98a1e6ccbf
Merge pull request #48251 from dparmar18/wip-dparmar-MDS-57359
mds/Server: do not allow -ve reclaim flags to cause client eviction

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
2023-01-30 16:44:02 +05:30
Rishabh Dave
44d7ab943e
Merge pull request #47753 from mchangir/mon-disable-snap-id-allocation-for-fsmap-pools
mon: disable snap id allocation for fsmap pools

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2023-01-30 16:35:04 +05:30
Rishabh Dave
0b768096be
Merge pull request #47114 from lxbsz/wip-56532
ceph_fuse: retry the test_dentry_handling if fails

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-01-30 16:31:48 +05:30
Xiubo Li
b9b25a5441 client: switch to old method to invalidate dcache if euid != 0
Force to use the old and slow method to invalidate the dcache
if the euid is non-root, or the remount may fail with return
code 1 or 32.

https://tracker.ceph.com/issues/56532
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2023-01-30 15:34:57 +08:00
Xiubo Li
f9c78fe72f ceph_fuse: make it to force invalidating dentries when kernel >=3.18
The remount will fail randomly for unknown reasons. And in certain
circumstance we can reprodce this very easy, which will block our
testing. Make it posible to force to old method to invalidate the
dcache when the "client_try_dentry_invalidate" option is enabled
even kernel version >= 3.18.0

Fixes: https://tracker.ceph.com/issues/56532
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2023-01-30 15:34:57 +08:00
Xiubo Li
f6a9bd6a69 ceph_fuse: retry the test_dentry_handling if fails
For some unknown reason the remount will fail, we need to retry it
for the test_dentry_handling.

Fixes: https://tracker.ceph.com/issues/56532
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2023-01-30 15:34:57 +08:00
Xiubo Li
b9edab80f0 client: move a client's option to mds-client.yaml
mds_max_retries_on_remount_failure option is used by Client.cc only.

Fixes: https://tracker.ceph.com/issues/56532
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2023-01-30 15:34:57 +08:00
Samuel Just
a389c319e0 crimson/osd/osd_operations/client_request: clarify get_obc stage message
Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-29 22:16:25 -08:00
Anthony D'Atri
2d15020f30
Merge pull request #49906 from evershalik/main
Update README.md
2023-01-29 13:06:44 -05:00
Anthony D'Atri
aad96a338f
Merge pull request #49905 from zdover23/wip-doc-2023-01-29-rados-config-osd-config-ref-osd-op-thread-suicide-timeout
doc/rados: document osd_op_thread_suicide_timeout
2023-01-29 11:55:54 -05:00
zdover23
0d343aafaf
Merge pull request #49908 from Matan-B/wip-matanb-upgrade-doc
doc/dev/developer_guide: Add Upgrade Testing Documentation

Reviewed-by: Zac Dover <zac.dover@proton.me>
2023-01-29 20:52:06 +10:00
Matan Breizman
c2642a97f3 doc/dev/developer_guide/testing_integration_tests: Add Upgrade Testing Documentation
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-01-29 10:25:30 +00:00
Zac Dover
983ea9cc73 doc/rados: document osd_op_thread_suicide_timeout
Add default value for osd_op_thread_suicide_timeout configuration value
to the OSD Configuraton Reference.

https://tracker.ceph.com/issues/58590

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-29 20:24:58 +10:00
SHANKAR
c110659728
Update README.md
Signed-off-by: SHANKAR <98207888+evershalik@users.noreply.github.com>
2023-01-29 12:42:01 +05:30
Andriy Tkachuk
4cd24a9c9b Merge branch 'master' into update-ceph-mgw 2023-01-28 22:10:48 +00:00
Samuel Just
0355c52041 crimson/osd/object_context_loader: add logging for notify_on_change
Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-28 01:20:47 +00:00
Samuel Just
4abbbc50b7 crimson/osd/object_context_loader: convert to log macros
Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-28 01:20:47 +00:00
Samuel Just
edf4f3eec9 crimson/osd/object_context_loader: take backend by reference
It's required and we don't check for null.

Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-28 01:20:47 +00:00
Samuel Just
110ecaf060 crimson/osd/pg_backend: remove stopping and peering
These two state variables duplicate checks that *should* already
be handled by the IOInterruptCondition.  None of the stopping
checks should ever trigger because the caller would be in an
interruptible future context which already performed that check.

Moreover, peering doesn't really work -- it relies on the callback
firing prior the call to on_activate_complete(), and there isn't any
guarantee that will happen.  Storing the epoch from when the
callback was created as we do in IOInterruptCondition
would be required.

Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-28 01:20:47 +00:00
Samuel Just
6b99bb037f crimson/osd/pg_interval_interrupt_condition: use new logging macros
Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-28 01:20:47 +00:00
Samuel Just
10ea3fecb9 crimson/osd/replicated_backend: use new logging macros
Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-28 01:20:47 +00:00
Samuel Just
3ae7e4d42e crimson/common: move log macros to log.h from os/seastore/logging.h
These have been handy in imposing uniformity on seastore logging,
let's start using them in PG/OSD code.

Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-28 01:20:44 +00:00
Adam King
dba4451996
Merge pull request #49891 from bluikko/bluikko-doc-host-management-prompts
doc/cephadm: Fix prompts in host-management.rst

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2023-01-27 09:02:46 -05:00
zdover23
5c2f15edd7
Merge pull request #49897 from bluikko/bluikko-doc-rados-operations-prompt
doc/rados/operations: Fix double prompt

Reviewed-by: Zac Dover <zac.dover@proton.me>
2023-01-27 23:58:09 +10:00
Ville Ojamo
3eb28aec3b doc/cephadm: Fix example commands
Separate command output block from the command to avoid printing prompt on it.
Also remove double prompt.

Fix indentation of two example commands after prompt.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-01-27 17:56:44 +07:00
Ville Ojamo
7d7282c7bd doc/rados/operations: Fix double prompt
In monitoring.rst a double prompt was rendered, one non-selectable and one selectable. Remove the selectable prompt.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-01-27 17:27:51 +07:00
zdover23
c8bad4d76d
Merge pull request #49894 from bluikko/bluikko-doc-rados-operations-control-indentation
doc/rados/operations: Fix indentation

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2023-01-27 20:13:25 +10:00
Ville Ojamo
f2e19d39ed doc/rados/operations: Fix indentation
Fix invalid indentation that caused indentation to be rendered wrong in control.rst.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-01-27 16:38:25 +07:00
zdover23
bad6dec7b0
Merge pull request #49890 from bluikko/bluikko-doc-ceph-krb-auth
doc/dev: use underscores in config vars

Reviewed-by: Zac Dover <zac.dover@proton.me>
2023-01-27 19:29:56 +10:00
Ville Ojamo
ed88f7f378 doc/dev: use underscores in config vars
Use underscores instead of spaces in config vars in ceph_krb_auth.rst.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-01-27 15:41:04 +07:00
Brad Hubbard
d371237c57
Merge pull request #49109 from NitzanMordhai/wip-nitzan-fixing-few-rados/test.sh
Wip nitzan fixing few rados/test.sh

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2023-01-27 09:46:53 +10:00