Commit Graph

134588 Commits

Author SHA1 Message Date
Christian Kugler
4aecdad350
ceph-mixin: Add Prometheus Alert for Degraded Bond
Currently there is no alert for a network interface card to be misconfigured or
failed which is part of a network bond.

This could lead to redundancies and performance being degraded unnoticed.

To solve this, I use node exporter metrics to look at the number of total peers
of the bond and the ones that are active. If the numbers differ, something is up
and should be looked at.

Fixes: https://tracker.ceph.com/issues/57962
Signed-off-by: Christian Kugler <syphdias+git@gmail.com>
2022-11-02 14:48:57 +01:00
zdover23
8892cc0ace
Merge pull request #48587 from zdover23/wip-doc-2022-10-22-cephadm-host-management-prompts
doc/cephadm: add prompts to host-management.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-22 04:04:56 +10:00
Adam King
39f9b94557
Merge pull request #48555 from phlogistonjohn/jjm-unify-test-alertmanager-config
mgr/cephadm: consolidate test_alertmanager_config_* tests into one

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-10-21 12:55:27 -04:00
Zac Dover
0ff9e4b904 doc/cephadm: add prompts to host-management.rst
This PR adds unselectable prompts to host-management.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-22 02:42:33 +10:00
Yingxin
e428c0d546
Merge pull request #48478 from myoungwon/wip-rbm-move-mkfs-cleanup
crimson/os/seastore/rbm: move mkfs to RBMDevice and use device_config_t

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-21 18:01:15 +08:00
Radoslaw Zarzynski
3a07ad5f52
Merge pull request #48445 from rzarzynski/wip-crimson-fix-obcload-errs
crimson/osd: send proper reply on obc load failure

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-10-21 09:35:56 +02:00
zdover23
d3dd5f629d
Merge pull request #48577 from zdover23/wip-doc-2022-10-21-radosgw-notifications-and-event
doc/radosgw: refine "notifications" and "events"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-21 13:47:56 +10:00
Zac Dover
b1e589343d doc/radosgw: refine "notifications" and "events"
This commit refines the English in the "Notifications"
and "Events" sections of the notifications.rst page
(the "Bucket Notifications" page).

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-21 13:34:34 +10:00
myoungwon oh
683234358c crimson/os/seastore/cbj: handle remaing space (from written_to to the end of the journal) is less than the requested size
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-10-21 11:45:23 +09:00
myoungwon oh
4ca1995fd5 crimson/os/seastore/rbm: move test interfaces to the end of the class
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-10-21 11:45:09 +09:00
myoungwon oh
d0e216668e crimson/os/seastore/cbj: rename size-related interfaces with grouping
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-10-21 11:44:51 +09:00
Samuel Just
67d89f28e8
Merge pull request #48477 from rzarzynski/wip-crimson-rollback-delete-head
crimson/osd: add the delete-head special case of CEPH_OSD_OP_ROLLBACK

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-10-20 18:27:55 -07:00
zdover23
734e1f22f3
Merge pull request #48572 from zdover23/wip-doc-2022-10-21-cephadm-host-management-os-tuning-grammar
doc/cephadm: refine "os tuning" in h. management

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-10-21 05:22:53 +10:00
Zac Dover
17b50dc1bf doc/cephadm: refine "os tuning" in h. management
This commit refines the English in the "OS Tuning Profiles" section of
the "Host Management" page of the cephadm documentation. This commit is
made separately from but in anticipation of a forthcoming commit that
corrects technical (non-grammatical) errors.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-21 05:06:28 +10:00
zdover23
301776b0ab
Merge pull request #46089 from myoungwon/wip-dedup-doc
doc/dev: add explanation of how to use deduplication

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-10-21 01:54:56 +10:00
Radoslaw Zarzynski
c105b4bea3 crimson/osd: add the delete-head special case of CEPH_OSD_OP_ROLLBACK
This allows to pass `TestLibRBD.TestIOToSnapshot`:

```
[rzarzynski@o06 build]$ CRIMSON_COMPAT=true RBD_FEATURES=1 bin/ceph_test_librbd --gtest_filter=TestLibRBD.TestIOToSnapshot
seed 3954016
Note: Google Test filter = TestLibRBD.TestIOToSnapshot
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TestLibRBD
[ RUN      ] TestLibRBD.TestIOToSnapshot
using new format!
...
opening testimg@orig
read: 80
write to snapshot returned -30
Read-only file system
num snaps is: 2
expected: 2
snap: orig
snap: written
found orig with size 2097152
found written with size 2097152
num snaps is: 1
expected: 1
snap: orig
found orig with size 2097152
num snaps is: 0
expected: 0
[       OK ] TestLibRBD.TestIOToSnapshot (7510 ms)
[----------] 1 test from TestLibRBD (7510 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (8504 ms total)
[  PASSED  ] 1 test.
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-10-20 14:48:54 +00:00
Casey Bodley
421a510fb4
Merge pull request #48246 from liangmingyuanneo/fix-throttle-test
test/rgw: improve integrity of rgw throttle test

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-10-20 09:42:35 -04:00
Radoslaw Zarzynski
8465dbd8c2 crimson/osd: ClientRequest sends error to client when loading obc fails
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-10-20 13:31:43 +00:00
Nizamudeen A
d8decaa886
Merge pull request #48456 from rhcs-dashboard/cypress-video-enable
mgr/dashboard: enable cypress video on test fails

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2022-10-20 11:37:52 +05:30
Nizamudeen A
8f15d2e0db
Merge pull request #48546 from rhcs-dashboard/update-node
cmake: bump node version to 14

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-10-20 11:37:07 +05:30
Kefu Chai
4dc357923f
Merge pull request #48505 from zhscn/fix-uaf
crimson/osd: fix use after free error in FuturizedStoreLogReader::read

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-10-20 11:20:51 +08:00
zdover23
cda654d150
Merge pull request #48556 from zdover23/wip-doc-2022-10-20-radosgw-notifications-bucket-notifications-rest-api
doc/radosgw: refine "bucket notifications"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-20 07:51:36 +10:00
Zac Dover
a69dd10ddb doc/radosgw: refine "bucket notifications"
This commit refines the English in the "Bucket Notifications REST API"
section of the notifications.rst page (the "Bucket Notifications" page).

Co-author: Cole Mitchell <cole.mitchell@gmail.com>

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-20 06:24:43 +10:00
Casey Bodley
b4d1a1999f
Merge pull request #47848 from galsalomon66/s3select_next_version
moving to next version of s3select.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-10-19 15:44:27 -04:00
John Mulligan
3414a84eec mgr/cephadm: consolidate test_alertmanager_config_* tests into one
Consolidate all the test_alertmanager_config_* tests into one pytest
parameterized test function. While doing this make all test instances
use a mock socket.getfqdn so that all hostname resolution is controlled
by the test and shouldn't fail on systems set up differently from the
test runners.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2022-10-19 14:18:59 -04:00
Laura Flores
58bc0f0155
Merge pull request #48532 from ceph/wip-yuriw-release-17.2.5-main
doc: 17.2.5 Release Notes
2022-10-19 13:06:50 -05:00
Yuri Weinstein
d2f564b010 doc: 17.2.5 Release Notes
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Signed-off-by: Laura Flores <lflores@redhat.com>
2022-10-19 11:08:45 -05:00
myoungwon oh
a75cee2833 crimson/os/seastore/rbm: rename TestMemory to EphemeralRBMDevice and adjust default paramter location
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-10-19 17:18:58 +09:00
myoungwon oh
c70e53910b crimson/os/seastore/cbj: add get_journal_start() and adjust it to default block size
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-10-19 17:18:47 +09:00
myoungwon oh
b87adb1049 crimson/os/seastore/cbj: merge mkfs() in cbj into open_for_mkfs()
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-10-19 17:13:59 +09:00
Nizamudeen A
5f95db33e9 cmake: bump node version to 14
to update the angular to 13, we need a node version of either 12.20.x or
14.15.x or 16.10.x. But inorder to not break the angular 12 run for now
   we  need to choose the node which works for both 12 and 13. which is
14.15.x. So I went with that node version here.

Signed-off-by: Nizamudeen A <nia@redhat.com>
2022-10-19 13:34:58 +05:30
Ronen Friedman
c56282ce15
Merge pull request #48347 from ronen-fr/wip-rf-acting
osd/scrub: use the actual active set when requesting replicas to scrub

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-10-19 08:13:25 +03:00
Nizamudeen A
d79677e6fe
Merge pull request #48510 from ceph/update-mailmap
mailmap: add Pedro Gonzalez Gomez

Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-10-19 10:36:14 +05:30
Nizamudeen A
81bfe790e1
Merge pull request #48528 from ceph/fix-gh_pr_triage_node_version-main
.github/pr-triage: update node.js to v16

Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-10-19 10:33:52 +05:30
Samuel Just
5a6199b7d7
Merge pull request #48515 from athanatos/sjust/wip-crimson-suites
qa/suites/crimson-rados: move seastore to crimson-rados-experimental, remove cache/dedup workloads

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2022-10-18 15:45:28 -07:00
galsalomon66
b2c2daedfb moving to next version of s3select
s3select submodule

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2022-10-18 22:10:35 +03:00
zdover23
97261838eb
Merge pull request #48533 from zdover23/wip-doc-2022-10-19-radosgw-notification-topic-management-and-notification-performance
doc/radosgw: refine top. man. and not. perf. stats

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-10-19 03:14:46 +10:00
Zac Dover
015c82402d doc/radosgw: refine top. man. and not. perf. stats
This commit refines the English in the "Topic Management via CLI" and
"Notification Performance Statistics" sections of the notifications.rst
file.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-19 03:01:43 +10:00
Yuval Lifshitz
8bfe099bd7
Merge pull request #48444 from yuvalif/wip-yuval-fix-57850
rgw/amqp: store CA location string in connection object
2022-10-18 19:07:42 +03:00
Samuel Just
224891fe47 qa/suites/crimson-rados: remove cache and dedup related tests
It's an accident that some of these pass -- the tests provide some
coverage for inconsistencies that can arise, but don't really validate
that the objects actually get moved between tiers.

It's going to be some time before we implement cache or dedup in
crimson, and we'll probably want to disable the related commands for
pools that can map to crimson osds to prevent accidents.

Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-18 07:59:50 -07:00
Samuel Just
f9c58c0416 qa/suites: move seastore to crimson-rados-experimental suite
Let's use crimson-rados-experimental for tests that don't yet
pass reliably.  We can move these to crimson-rados as they
become reliable.

Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-18 07:59:47 -07:00
zdover23
e837888532
Merge pull request #48511 from zdover23/wip-doc-2022-10-18-radosgw-notification-reliability
doc/radosgw: refine "notification reliability"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-10-19 00:56:50 +10:00
Zac Dover
8f7b57f5ce doc/radosgw: refine "notification reliability"
This commit refines the English in the "Notification Reliability"
section of the notifications.rst page (the "Bucket Notifications"
page). I have also added signposting structure.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Yuval Lifshitz <ylifshit@redhat.com>

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-18 23:58:24 +10:00
Ernesto Puerta
d6a2266fbb
.github/pr-triage: update node.js to v16
[Warning](https://github.com/ceph/ceph/actions/runs/3273201887):
```
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Please update the following actions to use Node.js 16: actions/labeler, iyu/actions-milestone
```

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2022-10-18 14:50:39 +02:00
Kefu Chai
4ca8a6eed7
Merge pull request #48484 from cyx1231st/wip-crimson-msgr-cleanup
crimson/net: simplify msgr interfaces with AuthClient/Server

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-10-18 20:36:20 +08:00
Ernesto Puerta
da86dc8cb4
Merge pull request #48514 from ceph/wip-dashboard_gh_project-main
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-10-18 14:13:10 +02:00
Venky Shankar
30874f8cc3
Merge pull request #48485 from vshankar/wip-upgrade-x-o-q
qa: fs:upgrade featureful_client test upgrades to quincy

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2022-10-18 14:35:59 +05:30
Avan
0d2ce7eae3
Merge pull request #48398 from rhcs-dashboard/fix-get-rbd-stats
mgr/prometheus: avoid duplicates and deleted entries for rbd_stats_pools

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-10-18 14:30:15 +05:30
Ilya Dryomov
861f504a88
Merge pull request #48471 from SUSE/wip-fix-57860
ceph.spec.in: disable system_pmdk on s390x for SUSE distros

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-10-18 10:41:01 +02:00
myoungwon oh
72c695780c doc/dev: add explanation of how to use deduplication
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-10-18 15:46:14 +09:00