]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Ronen Friedman [Thu, 17 Feb 2022 09:29:22 +0000 (09:29 +0000)]
osd/scrub: stop sending bogus digest-update event messages
A minimal change extracted from PR#44050, to facilitate
backporting.
The multitudes of bogus events generated fill up the logs.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Kotresh HR [Sun, 13 Feb 2022 03:11:10 +0000 (08:41 +0530)]
Merge pull request #44308 from vshankar/wip-document-mds-locker
doc: document mds locking operation
Anthony D'Atri [Sat, 12 Feb 2022 10:52:16 +0000 (02:52 -0800)]
Merge pull request #44898 from taggelos/patch-1
doc/man/8: Fix spelling in user rename example
Yuri Weinstein [Fri, 11 Feb 2022 22:51:00 +0000 (14:51 -0800)]
Merge pull request #44780 from sosodev/dump-blocked-ops-count
mds, osd: add dump_blocked_ops_count command
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Fri, 11 Feb 2022 22:50:31 +0000 (14:50 -0800)]
Merge pull request #44752 from NitzanMordhai/wip-nitzan-osd-status
pybind/mgr: ceph osd status crash with ZeroDivisionError
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Yuri Weinstein [Fri, 11 Feb 2022 22:49:17 +0000 (14:49 -0800)]
Merge pull request #44588 from kamoltat/wip-ksirivad-disable-progress-by-default
pybind/mgr/progress: disable pg recovery event by default
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Fri, 11 Feb 2022 22:48:18 +0000 (14:48 -0800)]
Merge pull request #44289 from Vicente-Cheng/fix-outgoing-bl-overflow
msg/async: fix outgoing_bl overflow and reset state_offset
Reviewed-by: Kefu Chai <kchai@redhat.com>
Samuel Just [Fri, 11 Feb 2022 21:36:57 +0000 (13:36 -0800)]
Merge pull request #44809 from cyx1231st/wip-crimson-cleanup-epm
crimson/os/seastore: allow EPM to make decisions on the general allocation path
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Venky Shankar [Tue, 14 Dec 2021 12:47:02 +0000 (18:17 +0530)]
doc: document mds locking operation
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Sarthak0702 [Fri, 11 Feb 2022 09:59:20 +0000 (15:29 +0530)]
Merge pull request #44849 from rhcs-dashboard/bugfix-cephfs-invalid-dir-permission
mgr/dashboard: Directories Menu Can't Use on Ceph File System Dashboard
Venky Shankar [Fri, 11 Feb 2022 07:41:24 +0000 (13:11 +0530)]
Merge pull request #44970 from kotreshhr/fix-clone-uid-gid
mgr/volumes: Fix clone uid/gid mismatch
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yingxin Cheng [Sat, 29 Jan 2022 11:13:12 +0000 (19:13 +0800)]
crimson/os/seastore: misc log improvements
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 28 Jan 2022 12:12:10 +0000 (20:12 +0800)]
crimson/os/seastore: initialize segment_info_t correctly when open/empty
Previously, segment_info_t was not initialized for out-of-line segments
when open, including journal_segment_seq and the legacy out_of_line.
And the journal_segment_seq was not reset when empty.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 28 Jan 2022 12:08:04 +0000 (20:08 +0800)]
crimson/os/seastore: replace out_of_line by segment_type_t
Leverage segment_seq_t to identify the type of the segment.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 28 Jan 2022 07:12:57 +0000 (15:12 +0800)]
crimson/os/seastore: cleanup dependency between epm and journal
OOL segments won't contain deltas and don't need to replay. There is no
need to assign segment sequence from journal.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 27 Jan 2022 15:35:45 +0000 (23:35 +0800)]
crimson/os/seastore: cleanup dependency between epm and lba_manager
Move lba_manamger->update_mapping() from epm to transaction manager.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 27 Jan 2022 15:30:54 +0000 (23:30 +0800)]
crimson/os/seastore: update_mapping related cleanups
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 27 Jan 2022 07:00:44 +0000 (15:00 +0800)]
crimson/os/seastore: allow EPM to make decisions on the general extent allocation path
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 27 Jan 2022 06:33:46 +0000 (14:33 +0800)]
crimson/os/seastore: drop the unnecessary backend_type in every cached extent
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 27 Jan 2022 06:03:43 +0000 (14:03 +0800)]
crimson/os/seastore/epm: cleanup unnecessary cache dependency when mark extent ool
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 27 Jan 2022 05:53:08 +0000 (13:53 +0800)]
crimson/os/seastore: cleanup delayed paddr
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Samuel Just [Thu, 10 Feb 2022 22:45:59 +0000 (14:45 -0800)]
Merge pull request #44968 from cyx1231st/wip-crimson-cleanup-cleaner-1
crimson/os/seastore/segment_cleaner: minor cleanups
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Neha Ojha [Thu, 10 Feb 2022 22:40:38 +0000 (14:40 -0800)]
Merge pull request #44964 from yaarith/pending-release-notes-perf
PendingReleaseNotes: add a note about perf channel
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 10 Feb 2022 22:07:31 +0000 (14:07 -0800)]
Merge pull request #44963 from ljflores/wip-peering-state-docs
doc/dev: add section on using the gen_state_diagram.py script
Reviewed-by: Neha Ojha <nojha@redhat.com>
Laura Flores [Wed, 9 Feb 2022 20:53:33 +0000 (20:53 +0000)]
doc/dev: add section on using the gen_state_diagram.py script
Commands sourced from Jianshen Liu's blog post on the Ceph peering state machine: https://jianshenliu.com/blog/development/ceph-peering-state-machine/
Also fixed the formatting of "PG info".
Signed-off-by: Laura Flores <lflores@redhat.com>
Guillaume Abrioux [Thu, 10 Feb 2022 12:38:13 +0000 (13:38 +0100)]
Merge pull request #44765 from guits/guits-fix-cve-cv
ceph-volume: honour osd_dmcrypt_key_size option
Ernesto Puerta [Thu, 10 Feb 2022 11:54:00 +0000 (12:54 +0100)]
Merge pull request #44808 from rhcs-dashboard/support-snmp-service-creation
mgr/dashboard: support snmp-gateway service creation from UI
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
Kotresh HR [Thu, 10 Feb 2022 05:34:41 +0000 (11:04 +0530)]
mgr/volumes: Fix clone uid/gid mismatch
This is the regression caused by commit
18b85c53a .
The 'set_attrs' function sets the uid/gid of the
group to the subvolume if uid/gid is not passed.
The attrs of the clone should match the source
snapshot. Hence, don't use the 'set_attrs'
function to set only the quota attrs for the
clone.
Fixes: https://tracker.ceph.com/issues/54066
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Venky Shankar [Thu, 10 Feb 2022 06:51:47 +0000 (12:21 +0530)]
Merge pull request #44953 from aejv/spellingerror
purge_queue.py: fixed typo
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yingxin Cheng [Thu, 10 Feb 2022 05:03:21 +0000 (13:03 +0800)]
crimson/os/seastore/segment_cleaner: mark get_next_gc_target() private
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 10 Feb 2022 04:59:02 +0000 (12:59 +0800)]
crimson/os/seastore/segment_cleaner: make init_mark_segment_closed() private
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 10 Feb 2022 04:57:36 +0000 (12:57 +0800)]
crimson/os/seastore/segment_cleaner: drop unused code
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 10 Feb 2022 04:52:12 +0000 (12:52 +0800)]
crimson/net/socket: add a missing header
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Guillaume Abrioux [Thu, 10 Feb 2022 01:23:51 +0000 (02:23 +0100)]
ceph-volume/activate: load the config from lv tag
When `ceph-volume lvm trigger` is called with an OSD where the tag
`ceph.cluster_name` is not 'ceph', it fails.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Wed, 9 Feb 2022 17:33:27 +0000 (18:33 +0100)]
ceph-volume/tests: use centos/stream8 images
Since recent move from CentOS 8 to CentOS Stream 8, let's do the same here.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Wed, 9 Feb 2022 16:04:19 +0000 (17:04 +0100)]
ceph-volume/tests: add tests in util/encryption.py
this adds some unit tests in order to cover `luks_format()` and `luks_open()`
in `util/encryption.py`.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Tue, 25 Jan 2022 09:25:53 +0000 (10:25 +0100)]
ceph-volume: honour osd_dmcrypt_key_size option
ceph-volume doesn't honour osd_dmcrypt_key_size.
It means the default size is always applied.
It also changes the default value in `get_key_size_from_conf()`
From cryptsetup manpage:
> For XTS mode you can optionally set a key size of 512 bits with the -s option.
Using more than 512bits will end up with the following error message:
```
Key size in XTS mode must be 256 or 512 bits.
```
Fixes: https://tracker.ceph.com/issues/54006
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Yaarit Hatuka [Wed, 9 Feb 2022 21:48:51 +0000 (21:48 +0000)]
PendingReleaseNotes: add a note about perf channel
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
Ernesto Puerta [Wed, 9 Feb 2022 19:44:55 +0000 (20:44 +0100)]
Merge pull request #44956 from rhcs-dashboard/appli-fix
mgr/dashboard: change the readFile to readFileSync
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Casey Bodley [Wed, 9 Feb 2022 18:01:22 +0000 (13:01 -0500)]
Merge pull request #44939 from soumyakoduri/wip-skoduri-dbstore-tests
rgw/dbstore: Add dbstore-tests to `make check`
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Nizamudeen A [Wed, 9 Feb 2022 15:36:16 +0000 (21:06 +0530)]
mgr/dashboard: change the readFile to readFileSync
Apparently the readFile i added in #44934 is async and that's not what
we want. so changing it to the synchronous call that is readFileSync
Fixes: https://tracker.ceph.com/issues/54190
Signed-off-by: Nizamudeen A <nia@redhat.com>
Patrick Donnelly [Wed, 9 Feb 2022 14:34:49 +0000 (09:34 -0500)]
Merge PR #42000 into master
* refs/pull/42000/head:
qa: update rhel kclient to setup container tools
qa: stop overriding distro for k-testing
qa: only use RHEL for workload testing
qa: convert fs:workload to use cephadm
qa: split fs begin task
qa/tasks/cephadm: setup CephManager when OSDs are provisioned
qa/tasks/cephadm: setup file system if MDS are provisioned
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Judah van der Ster [Wed, 9 Feb 2022 14:25:58 +0000 (15:25 +0100)]
purge_queue.py: fixed typo
Signed-off-by: Judah van der Ster <jevanderster@gmail.com>
Ilya Dryomov [Wed, 9 Feb 2022 14:08:58 +0000 (15:08 +0100)]
Merge pull request #44937 from idryomov/wip-rbd-help-positional-optional
rbd: mark optional positional arguments as such in help output
Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Casey Bodley [Wed, 9 Feb 2022 13:37:35 +0000 (08:37 -0500)]
Merge pull request #44492 from xijiacun/master
rgw: Erase old storage class attr when the object is rewrited using r…
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sarthak0702 [Thu, 3 Feb 2022 17:59:17 +0000 (23:29 +0530)]
mgr/dashboard:Directories Menu Can't Use on Ceph File System Dashboard
Added exception handling to opendir() in cephfs.py for directories with no execute permission.
Fixes: https://tracker.ceph.com/issues/51611
Signed-off-by: Sarthak0702 <sarthak.0702@gmail.com>
Avan Thakkar [Tue, 1 Feb 2022 13:02:42 +0000 (18:32 +0530)]
mgr/dashboard: add snmp-gateway service e2e tests
Fixes: https://tracker.ceph.com/issues/54034
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Ernesto Puerta [Wed, 9 Feb 2022 11:05:21 +0000 (12:05 +0100)]
Merge pull request #44934 from rhcs-dashboard/applitools-baseline-branch
mgr/dashboard: set appropriate baseline branch for applitools
Reviewed-by: aaryanporwal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Soumya Koduri [Tue, 8 Feb 2022 10:02:16 +0000 (15:32 +0530)]
rgw/dbstore: Add dbstore-tests to `make check`
Include and run dbstore-tests as part of `make check` target
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Nizamudeen A [Tue, 8 Feb 2022 06:20:29 +0000 (11:50 +0530)]
mgr/dashboard: set appropriate baseline branch for applitools
All the dashboard PRs are checked against a baseline branch called
'default' in the visual regresstion testing. This will cause issues when
testing PRs in different branches. For eg: currently our master and
pacific has to save two different screenshots since the two of them
differ slightly.
Disabling the applitools logs as well because its too 'noisy'
Fixes: https://tracker.ceph.com/issues/54190
Signed-off-by: Nizamudeen A <nia@redhat.com>
Venky Shankar [Wed, 9 Feb 2022 06:08:58 +0000 (11:38 +0530)]
Merge pull request #44477 from SMIL-Infra/fix-expire_recursive-segfault
mds: fix seg fault in expire_recursive
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Wed, 9 Feb 2022 06:07:20 +0000 (11:37 +0530)]
Merge pull request #44638 from yunfeiguan/wip-53911
mds: kill session state are open when mds do ms_handle_remote_reset
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Wed, 9 Feb 2022 06:04:32 +0000 (11:34 +0530)]
Merge pull request #42549 from ajarr/wip-add-volume-rename
mgr/volumes: Add `fs volume rename` command
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Wed, 9 Feb 2022 06:00:27 +0000 (11:30 +0530)]
Merge pull request #44651 from nmshelke/fake-mount-53903
mount: add option to supports fake mounts in mount.ceph
Reviewed-by: Venky Shankar <vshankar@redhat.com>
zhangzhiming [Wed, 9 Feb 2022 00:45:52 +0000 (08:45 +0800)]
rgw: Erase old storage class attr when the object is rewrited using radosgw-admin.
Fixes: https://tracker.ceph.com/issues/53790
Signed-off-by: zhiming zhang <zhangzhm1@chinatelecom.cn>
Soumya Koduri [Tue, 8 Feb 2022 17:14:45 +0000 (22:44 +0530)]
Merge pull request #44813 from soumyakoduri/wip-skoduri-dbstore-obj-id
rgw/dbstore: Use Object ID to handle I/O concurrency
Casey Bodley [Tue, 8 Feb 2022 15:27:01 +0000 (10:27 -0500)]
Merge pull request #44678 from kipdoudou/master
rgw: CopyObject works with x-amz-copy-source-if-* headers
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Soumya Koduri [Thu, 3 Feb 2022 18:55:22 +0000 (00:25 +0530)]
rgw/dbstore: Handle read vs delete races
Now that tail objects are associated with objectID, they are not deleted
as part of this DeleteObj operation. Such tail objects (with no head object
in *.object.table are cleaned up later by GC thread.
To avoid races between writes/reads & GC delete, mtime is maintained for each
tail object. This mtime is updated when tail object is written and also when
its corresponding head object is deleted (like here in this case).
Also done some cleanup.
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Vicente Cheng [Fri, 10 Dec 2021 06:49:55 +0000 (06:49 +0000)]
msg/async: fix outgoing_bl overflow and reset state_offset
- we should reset state_offset when read done.
- check outgoing_bl before we try to write a message.
In some environments, network would temporily block and return EAGAIN.
For async msgr, we would callback the write event directly, but that still
increase the outgoing_bl.
Think about this case, the sender is in congestion or network driver
has some problems. The data appended to outgoing_bl and outgoing_bl
is not consumed up-to-date immediately.
That size of outgoing_bl will increase with time then overflow.
The wrong outgoing_bl would cause some problems so we need to wait
for outgoing_bl before we appended another message.
Signed-off-by: Vicente Cheng <vicente_cheng@bigtera.com>
Laura Flores [Tue, 8 Feb 2022 13:53:02 +0000 (07:53 -0600)]
Merge pull request #44930 from rishabh-d-dave/py-req-fix
Venky Shankar [Tue, 8 Feb 2022 13:06:56 +0000 (18:36 +0530)]
Merge pull request #44667 from dvanders/dvanders_oft
mds: mds_oft_prefetch_dirfrags default to false
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Ronen Friedman [Tue, 8 Feb 2022 12:59:10 +0000 (14:59 +0200)]
Merge pull request #44922 from ronen-fr/wip-rf-fix-bescrub-test
osd/scrub: fix unintended changes to scrub (cluster)logs
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Daniel Gryniewicz [Tue, 8 Feb 2022 12:29:25 +0000 (07:29 -0500)]
Merge pull request #44927 from dang/wip-dang-cloud-tier
RGW - Move early return
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Aggelos Toumasis [Fri, 4 Feb 2022 14:45:03 +0000 (15:45 +0100)]
doc/man/8: Fix spelling in user rename example
Signed-off-by: Aggelos Toumasis toumasis.aggelos@gmail.com
Ronen Friedman [Sun, 30 Jan 2022 15:23:39 +0000 (15:23 +0000)]
osd/scrub: fix unintended changes to scrub (cluster)logs
OSD logs and cluster logs are monitored by some scrub tests:
some specific strings are required to either appear or not appear in
the logs. The Scrubber backend PR has unintentionally modified some
of these logs, and here we restore the exact logs text.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Ilya Dryomov [Tue, 8 Feb 2022 09:11:49 +0000 (10:11 +0100)]
rbd: mark optional positional arguments as such in help output
Currently at least five commands have optional positional arguments.
Overloading po::value<std::string>()->default_value("") for this
is a bit sneaky but nothing better fits into the existing Shell.cc
framework.
Note that strictly speaking "[<interval>] [<start-time>]" should be
"[<interval> [<start-time>]]" but we aren't doing that here because
"ceph" command doesn't do it either.
Fixes: https://tracker.ceph.com/issues/54191
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Rishabh Dave [Mon, 7 Feb 2022 18:44:42 +0000 (00:14 +0530)]
monitoring: mention PyYAML only once in requirements
Following error occurs while running "sudo install-deps.sh" -
ERROR: Double requirement given: PyYAML==6.0 (from -r requirements-lint.txt (line 5)) (already in pyyaml (from -r requirements-alerts.txt (line 1)), name='PyYAML')
PyYAML is mentioned twice as a requirement. It is mentioned once in both
the following files -
monitoring/ceph-mixin/requirements-lint.txt
monitoring/ceph-mixin/requirements-alerts.txt
These requirements were added in commits
44d3e4c264506154373ffaeb13d6c924c580e6b5 and
4750ac0d7766a8a089adf073415af0ac0d3f81d9 .
Fixes: https://tracker.ceph.com/issues/54185
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Samuel Just [Tue, 8 Feb 2022 05:37:19 +0000 (21:37 -0800)]
Merge pull request #44921 from cyx1231st/wip-seastore-cleanup-lba
crimson/os/seastore/lba_manager: consolidate logs
Reviewed-by: Samuel Just <sjust@redhat.com>
Soumya Koduri [Tue, 8 Feb 2022 04:00:41 +0000 (09:30 +0530)]
Merge pull request #44916 from joke-lee/dbstore-test-init-env
rgw: fix dbstore test init env wrong
Yingxin Cheng [Mon, 7 Feb 2022 10:46:40 +0000 (18:46 +0800)]
crimson/os/seastore/lba_manager: introduce subsys seastore_lba_details
We will share the lba tree implementation, so classify the related logs
and rename to seastore_lba_details for now.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 7 Feb 2022 10:50:47 +0000 (18:50 +0800)]
crimson/os/seastore/lba_manager: consolidate logs
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yuri Weinstein [Mon, 7 Feb 2022 22:49:05 +0000 (14:49 -0800)]
Merge pull request #44713 from aclamk/fix-aclamk-vselector-53906
[BlueStore] Fix problem with volume selector
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Samuel Just [Mon, 7 Feb 2022 21:09:12 +0000 (13:09 -0800)]
Merge pull request #44261 from Matan-B/wip-matanb-c-msgr-network
test/crimson: Inject socket level random delays/failures msgr unit test
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Ali Maredia [Mon, 7 Feb 2022 21:02:40 +0000 (16:02 -0500)]
Merge pull request #44856 from cbodley/wip-54103
qa/rgw: install s3cmd with extra_system_packages
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Ilya Dryomov [Mon, 7 Feb 2022 20:41:06 +0000 (21:41 +0100)]
Merge pull request #44886 from holzman/bugfix-54128
krbd: return error when no initial monitor address found
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Burt Holzman [Wed, 2 Feb 2022 15:18:52 +0000 (09:18 -0600)]
krbd: return error when no initial monitor address found
Since we filter monitor addresses based on ms_mode, check that at
least one address was found.
Otherwise, we mismatch arguments when calling sysfs/add_single_major
which emits a misleading error message to dmesg:
libceph: resolve 'name=user1' (ret=-3): failed
libceph: parse_ips bad ip 'name=user1,key=client.user1'
Fixes: https://tracker.ceph.com/issues/54128
Signed-off-by: Burt Holzman <burt@fnal.gov>
Daniel Gryniewicz [Mon, 7 Feb 2022 15:08:02 +0000 (10:08 -0500)]
RGW - Move early return
When transitioning an object to cloud, there was an early return,
skipping the removal of the cloud target. Fix this to be in the right
place.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Ernesto Puerta [Mon, 7 Feb 2022 13:07:43 +0000 (14:07 +0100)]
Merge pull request #44825 from rhcs-dashboard/rgw-dashboard-test-hanging
mgr/dashboard: fix for cephadm e2e failing because of rgw commands getting stuck
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Ernesto Puerta [Mon, 7 Feb 2022 13:02:20 +0000 (14:02 +0100)]
Merge pull request #44920 from rhcs-dashboard/cephadm-bootstrap-fix
cephadm: change shared_folder directory for prometheus and grafana
Reviewed-by: MrFreezeex <NOT@FOUND>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Yingxin Cheng [Mon, 7 Feb 2022 02:32:52 +0000 (10:32 +0800)]
crimson/os/seastore/lba_manager: convert to seastore logging
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Nizamudeen A [Mon, 7 Feb 2022 10:53:29 +0000 (16:23 +0530)]
cephadm: change shared_folder directory for prometheus and grafana
After https://github.com/ceph/ceph/pull/44059 the monitoring/prometheus
and monitoring/grafana/dashboards directories are changed to
monitoring/ceph-mixins. That broke the shared_folders in the cephadm
bootstrap script.
Changed all the instances of monitoring/prometheus and
monitoring/grafana/dashboards to monitoring/ceph-mixins
Also, renaming all the instances of prometheus_alerts.yaml to
prometheus_alerts.yml.
Fixes: https://tracker.ceph.com/issues/54176
Signed-off-by: Nizamudeen A <nia@redhat.com>
Yingxin Cheng [Mon, 7 Feb 2022 10:34:40 +0000 (18:34 +0800)]
crimson/os/seastore/lba_manager: move lba_tree_inner_stats into LBAManager
Cleanup, change stats from LBATree static member to BtreeLBAManager
class member.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
yuliyang_yewu [Mon, 7 Feb 2022 06:23:19 +0000 (14:23 +0800)]
rgw: fix dbstore test init env wrong
fix https://tracker.ceph.com/issues/54174
Signed-off-by: yuliyang_yewu <yuliyang_yewu@cmss.chinamobile.com>
Venky Shankar [Mon, 7 Feb 2022 04:33:31 +0000 (10:03 +0530)]
Merge pull request #44503 from lxbsz/typo1
mds: fix a typo of inode version related comment
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Soumya Koduri [Wed, 26 Jan 2022 19:42:44 +0000 (01:12 +0530)]
rgw/dbstore: Create GC Thread to delete stale objects
Create a gc thread to cleanup the stale tail objects data
XXX: handle read + delete usecase, simple approach could be
to use locks or sqlite transactions in GC
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Soumya Koduri [Thu, 13 Jan 2022 20:44:19 +0000 (02:14 +0530)]
rgw/dbstore: Use Object ID to handle racing writes
Create unique ID for each object upload which will be
atomically updated in the head object at the end. This will
prevent data corruption during concurrent writes.
Incase of Multipart Uploads, upload_id is used as ObjectID.
XXX: The stale or obsolete tail data needs to be deleted
Also addressed invalid usage of CephContext in dbstore tests.
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Vicente Cheng [Thu, 16 Dec 2021 03:20:05 +0000 (03:20 +0000)]
test/msgr: add unittest to simulate network block temporarily
Add new test case to verify the network block temporarily,
that case would make outgoing_bl overflow so add the assert
checking mechanism to claim_append
Just use 2 connections because that we could not generate the
large data set to verify it
Simulate the EAGAIN situation looks like by skip calling
cs.send() because EAGAIN would return size 0 and keep the
outgoing_bl
Signed-off-by: Vicente Cheng <vicente_cheng@bigtera.com>
Ilya Dryomov [Sun, 6 Feb 2022 19:37:31 +0000 (20:37 +0100)]
Merge pull request #44842 from idryomov/wip-krbd-rxbounce-option
rbd: recognize rxbounce map option
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Ilya Dryomov [Sun, 6 Feb 2022 19:32:09 +0000 (20:32 +0100)]
Merge pull request #43910 from sunnyku/wip-rbd-snap-sched
mgr/rbd_support: fix schedule remove
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Matan Breizman [Mon, 29 Nov 2021 14:21:40 +0000 (14:21 +0000)]
test/crimson: inject Socket layer delays/failures msgr utest
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Casey Bodley [Sat, 5 Feb 2022 13:54:57 +0000 (08:54 -0500)]
Merge pull request #44893 from cfsnyder/wip-54130-oplog-segfault
rgw: fix segfault in OpsLogRados::log when realm is reloaded
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Venky Shankar [Sat, 5 Feb 2022 12:34:29 +0000 (18:04 +0530)]
Merge pull request #44851 from batrick/i54081
mds: add inline flag to MDS bootstrap compat in MDSMap
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Samuel Just [Sat, 5 Feb 2022 05:26:11 +0000 (21:26 -0800)]
Merge pull request #44887 from josephsawaya/vstart-dev
src/vstart.sh: Add --no-restart to vstart & add mkfs logs to osd.stdout
Reviewed-by: Samuel Just <sjust@redhat.com>
wanghao72 [Thu, 20 Jan 2022 07:57:29 +0000 (15:57 +0800)]
rgw: CopyObject works with x-amz-copy-source-if-* headers
CopyObject api support condition headers, eg x-amz-copy-source-if-match, while radosgw miss out the 'source' keyword
Fixes: https://tracker.ceph.com/issues/53945
Signed-off-by: Wang Hao <wanghao72@baidu.com>
Joseph Sawaya [Thu, 3 Feb 2022 16:46:44 +0000 (11:46 -0500)]
src/vstart.sh: Add --no-restart to vstart & add mkfs logs to osd.stdout
The output of mkfs wasn't also being included in the OSD's log before this which
can make it more difficult to debug issues with mkfs.
ceph-run restarting every 5 seconds can make it difficult to read the osd's stdout.
Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
Neha Ojha [Fri, 4 Feb 2022 19:56:08 +0000 (11:56 -0800)]
Merge pull request #44868 from neha-ojha/wip-move-to-stream
qa/distros: remove centos8
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Fri, 4 Feb 2022 19:55:07 +0000 (14:55 -0500)]
Merge pull request #44866 from yuvalif/wip-yuval-fix-datalog-list
rgw/admin: fix radosgw-admin datalog list max-entries issue
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Casey Bodley [Fri, 4 Feb 2022 19:54:36 +0000 (14:54 -0500)]
Merge pull request #44386 from ivancich/wip-reshard-tentative-goal
rgw: in bucket reshard list, clarify new num shards is tentative
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Casey Bodley [Fri, 4 Feb 2022 19:50:45 +0000 (14:50 -0500)]
Merge pull request #42330 from SWJTU-ZhangLei/wip-rgw-postobj
rgw: RGWPostObj::execute() may lost data.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 4 Feb 2022 19:50:27 +0000 (14:50 -0500)]
Merge pull request #44743 from linuxbox2/wip-rgwlc-lcgetv
rgwlc: fix compat-decoding of cls_rgw_lc_get_entry_ret
Reviewed-by: Casey Bodley <cbodley@redhat.com>