Commit Graph

130362 Commits

Author SHA1 Message Date
Moritz Röhrich
a02be6f22f
cephadm: avoid crashing on expected non-zero exit
- Avoid crashing when a call out to an external program expectedly does
  not return exit status zero.

There are programs that communicate other information than error/no
error through exit status. E.g. `systemctl status` will return different
exit codes depending on the actual status of the units in question.
In cases where this is expected crashing with a RuntimeError exception
is inappropriate and should be avoided.

Fixes: https://tracker.ceph.com/issues/55117
Signed-off-by: Moritz Röhrich <moritz.rohrich@suse.com>
2022-04-13 17:22:22 +02:00
zdover23
81bb0ec9a8
Merge pull request #45782 from zdover23/wip-doc-2022-04-05-os-recommendations
doc/start: add testing support information

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2022-04-07 00:49:29 +10:00
Ernesto Puerta
b6259eea05
Merge pull request #45187 from rhcs-dashboard/update-monitoring-stack-versions
mgr/cephadm: update monitoring stack versions 

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: p-se <NOT@FOUND>
2022-04-06 16:28:46 +02:00
Zac Dover
0364f3afcc doc/start: add testing support information
This PR adds information about support for testing,
and information about which distros the Ceph project
builds packages for.

This is one in a series of PRs including the following:

https://github.com/ceph/ceph/pull/45385
https://github.com/ceph/ceph/pull/45764

This PR specifically includes the information that Ernesto
Puerta collected here:
https://github.com/ceph/ceph/pull/45385#pullrequestreview-911766656

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-04-07 00:13:24 +10:00
Ernesto Puerta
b32f93c578
Merge pull request #45793 from rhcs-dashboard/update-piechart-vonage-versions
mgr/dashboard: upgrade grafana pie-chart and vonage-status-panel versions

Reviewed-by: MrFreezeex <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-04-06 16:12:02 +02:00
Aashish Sharma
2877920f58 mgr/dashboard: upgrade grafana pie-chart and vonage-status-panel versions
Fixes:https://tracker.ceph.com/issues/55195
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2022-04-06 15:24:41 +05:30
Samuel Just
57c2ae079b
Merge pull request #45774 from liu-chunmei/crimson-cmp-xattr
crimson: cmp xattr canceled operation

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-04-05 12:33:01 -07:00
Aashish Sharma
6a328ec30c
mgr/cephadm: update monitoring stack versions
Fixes: https://tracker.ceph.com/issues/54311
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2022-04-05 19:21:40 +02:00
Casey Bodley
90ae54ea4d
Merge pull request #45740 from cbodley/wip-doc-cmake-bundled-deps
README: document cmake options for system packages

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-04-05 10:19:57 -04:00
Kefu Chai
e1a7985ea6
Merge pull request #45743 from m-ildefons/docs-python3-librados
docs: update install steps for python librados

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-04-05 13:36:38 +08:00
chunmei-liu
11fcd72f49 crimson: store->get_attr return nodata, cancel following operations
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-04-04 21:42:43 -07:00
chunmei-liu
b9e71c2611 crimson: if do_cmp_xattr failed, cancel the following operations
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-04-04 21:42:35 -07:00
zdover23
a2627850d8
Merge pull request #45764 from zdover23/wip-doc-2022-04-04-os-recommendations
doc/start: remove old OS tables

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2022-04-05 06:54:41 +10:00
Samuel Just
05d4912683
Merge pull request #45720 from xxhdx1985126/wip-55143
crimson/os/seastore: use different segment seq allocator from journal and ool segments

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-04-04 13:02:10 -07:00
Adam King
e884c54cff
Merge pull request #45735 from chrigl/fix-54620
mgr/cephadm: support non-root ssh-user w permissions

Reviewed-by: Adam King <adking@redhat.com>
2022-04-04 15:17:26 -04:00
Adam King
52c35c4a78
Merge pull request #45710 from rkachach/fix_issue_55132
mgr/cephadm: fixing public network conf parsing

Reviewed-by: Adam King <adking@redhat.com>
2022-04-04 15:15:33 -04:00
Neha Ojha
ba0f9606af
Merge pull request #45733 from benhanokh/simple_bitmap_fix
os/BlueStore: NCB fix for SimpleBitmap boundary check

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2022-04-04 11:33:16 -07:00
Adam King
f298cceff5
Merge pull request #45349 from guits/check-check-device-is-available
ceph-volume: various fixes in arg_validators

Reviewed-by: Adam King <adking@redhat.com>
2022-04-04 12:03:29 -04:00
Yuval Lifshitz
93638b2a02
Merge pull request #45687 from yuvalif/wip-yuval-multisite-test-rgws
multisite/test: running the multisite test script with multiple RGWs per zone
2022-04-04 18:23:22 +03:00
Casey Bodley
35058f6794
Merge pull request #45696 from cbodley/wip-cmake-system-utf8proc
cmake: WITH_SYSTEM_UTF8PROC defaults to OFF

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2022-04-04 10:16:13 -04:00
Ernesto Puerta
40befabbe6
Merge pull request #45763 from rhcs-dashboard/fix-55172-master
monitoring/grafana: fix version

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-04-04 15:21:39 +02:00
Venky Shankar
18c4af3faf
Merge pull request #45514 from tchaikov/wip-cxx20-fixes-cephfs
cephfs: C++20 related fixes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-04 18:48:52 +05:30
Zac Dover
91695b2506 doc/start: remove old OS tables
This PR removes tables that contained outdated
information about Ceph's supported operating
systems. Ernesto Puerta had the idea to consolidate
the information that was in those tables into a single
table, and we're doing that.

Part of that process involves removing the old tables.
That's what this PR does.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-04-04 23:18:27 +10:00
Redouane Kachach
3ef6341e8e
mgr/cephadm: fixing public network conf parsing
Fixes: https://tracker.ceph.com/issues/55132

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2022-04-04 14:31:18 +02:00
Ernesto Puerta
8721bd6c5d
monitoring/grafana: fix version
Fixes: https://tracker.ceph.com/issues/55172
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2022-04-04 13:52:43 +02:00
Ernesto Puerta
a98c2475c6
Merge pull request #45254 from travisn/prometheus-rules-typos
prometheus: Spell check the alert descriptions

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-04 13:46:00 +02:00
Ilya Dryomov
86523c537c
Merge pull request #45746 from idryomov/wip-crush-rule-sizes-cleanup
doc,test: clean up crush rule min/max_size leftovers

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-04-04 13:31:05 +02:00
zdover23
7601206945
Merge pull request #45385 from zdover23/wip-doc-2022-03-14-os-recommendations
doc/start: update os-recommendations.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-04-04 14:20:12 +10:00
Tim Serong
e92720665f
Merge pull request #45705 from SUSE/wip-really-fix-55079
ceph.spec.in: remove build directory in %clean, not %install

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-04-04 13:49:32 +10:00
Radoslaw Zarzynski
bd85f2c1c5
Merge pull request #44612 from rzarzynski/wip-bs-lazy4freebsd
bdev: fix FTBFS on FreeBSD, keep the huge paged read buffers.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2022-04-02 11:44:37 +02:00
Liu-Chunmei
3cd054d117
Merge pull request #45719 from liu-chunmei/crimson-setopflag
Crimson handle CEPH_OSD_OP_FLAG_FAILOK

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-04-01 21:01:29 -07:00
Xuehan Xu
feaf582481 crimson/os/seastore: use different segment seq allocator from journal and ool segments
Fixes: https://tracker.ceph.com/issues/55143
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-04-02 11:09:45 +08:00
Xuehan Xu
252118fc25 crimson/os/seastore: rename segment_header_t::journal_segment_seq to segment_seq
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-04-02 11:09:45 +08:00
Xuehan Xu
ded9bb01d1 crimson/os/seastore/cache: clean up in Cache::get_next_dirty_extents()
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-04-02 11:09:42 +08:00
David Galloway
7e2ad53343
Merge pull request #45658 from ceph/wip-debug-install
build: Add some debugging messages
2022-04-01 15:25:41 -04:00
David Galloway
57edb76ea4 build: Add some debugging messages
Having a unique string like "CI_DEBUG" will help me know where we are in the build process in Jenkins logs.

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-04-01 13:33:36 -04:00
David Galloway
b4910a6627
Merge pull request #45739 from rhcs-dashboard/fix-55155-master
grafana/Makefile: don't push to docker
2022-04-01 13:30:05 -04:00
Zac Dover
9ba68fb1a0 doc/start: update os-recommendations.rst
This PR updates the extremely out-of-date
os-recommendations.rst file.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-04-02 01:50:45 +10:00
Ilya Dryomov
5bdf197431 src/crush: remove sample.txt
It is hopelessly outdated -- the weights were moved from crushmap to
osdmap in 2008, etc.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-04-01 14:00:13 +02:00
Ilya Dryomov
1ab943cabb doc,test: clean up crush rule min/max_size leftovers
These fields were removed in quincy in commit f95eb04411 ("crush:
eliminate min_size and max_size").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-04-01 14:00:13 +02:00
Ernesto Puerta
7e6309fac3
grafana/Makefile: don't push to docker
Fixes: https://tracker.ceph.com/issues/55155
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2022-04-01 11:44:43 +02:00
Ernesto Puerta
2d1c480f5a
Merge pull request #45583 from p-se/monitoring-alert-mtu-group-by-devices
mgr/dashboard: Compare values of MTU alert by device

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: p-se <NOT@FOUND>
2022-04-01 11:11:30 +02:00
Moritz Röhrich
dad15f2dfd
docs: update install steps for python librados
- Put the correct package names for python librados in the install
  instructions.
- librados-devel does not actually pull in python3-librados as
  dependency anymore, remove mention of this.
- Add instructions for openSUSE/SLE

Signed-off-by: Moritz Röhrich <moritz.rohrich@suse.com>
2022-04-01 10:49:20 +02:00
Kefu Chai
553d2bfef8
Merge pull request #45742 from tchaikov/wip-python-debian
debian: install from site-packages to dist-packages

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2022-04-01 14:57:41 +08:00
Kefu Chai
e6eee05222 debian: install from site-packages to dist-packages
this change addresses the regression introduced by
637dd7b404

dist-packages is a debian specific directory for holding 3rd party
python modules. so install the pure python packages into it.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-04-01 13:14:23 +08:00
Chunmei Liu
31b6340b87 crimson: set result = 0 when op.flags include CEPH_OSD_OP_FLAG_FAILOK
Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
2022-03-31 16:06:34 -07:00
chunmei-liu
9aa3defc1f crimson: handle osd_op.op.flags include CEPH_OSD_OP_FLAG_FAILOK
If the osd_op failed, still continue to next op when it include
CEPH_OSD_OP_FLAG_FAILOK.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-03-31 16:06:22 -07:00
Liu-Chunmei
4feeea0ebb
Merge pull request #45707 from rzarzynski/wip-crimson-errorator-2nd-arg-handle
crimson/common: let errorator's handlers to conditionally forward errors 

Reviewed-by: Sam Just <sjust@redhat.com>
                       liu-chunmei <chunmei.liu@intel.com>
2022-03-31 15:15:12 -07:00
Casey Bodley
42f3833dbd README: document cmake options for system packages
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-03-31 14:56:06 -04:00
Ernesto Puerta
87f494eda0
Merge pull request #45578 from rhcs-dashboard/fix-grafana-build
mgr/dashboard: remove transition-through-oci image workaround in grafana  build

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-03-31 19:58:29 +02:00