Commit Graph

127504 Commits

Author SHA1 Message Date
Sage Weil
e24171f818
pybind/mgr/mgr_module: add tool_exec() command
Run a (ceph) tool with the appropriate keyring and entity name.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-10-29 14:03:21 -06:00
Ernesto Puerta
f739fc93aa
Merge pull request #43738 from rishabh-d-dave/mgr-dash-pyfakefs
mgr/dashboard: all pyfakefs must be pinned on same version

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: ljflores <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: rishabh-d-dave <NOT@FOUND>
2021-10-29 18:52:44 +02:00
Yuri Weinstein
0f9321552c
Merge pull request #43733 from neha-ojha/wip-fix-octopusx
qa/suites/upgrade/octopus-x: exclude ceph-volume

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2021-10-29 09:45:37 -07:00
Matt Benjamin
852e9e7d7e
Merge pull request #43329 from cfsnyder/wip-48752-generalize-ops-log-socket
rgw: add abstraction for ops log destination and add file logger
2021-10-29 12:19:59 -04:00
Rishabh Dave
24d3a01a30 mgr/dashboard: all pyfakefs must be pinned on same version
Without this patch execution of install-deps.sh fails with an error.

Fixes: https://tracker.ceph.com/issues/53088
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2021-10-29 20:34:12 +05:30
Neha Ojha
e297db28a3
Merge pull request #43706 from neha-ojha/wip-doc-corr
doc/releases/pacific.rst: add note about data corruption bug

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Reviewed-by: Laura Flores <lflores@redhat.com>
2021-10-29 07:34:41 -07:00
Yuri Weinstein
1dc90ce69a
Merge pull request #43714 from ceph/wip-yuriw-crontab-master
qa/tests: added back octopus-x run on master

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-10-29 07:15:31 -07:00
Sage Weil
b82ab4675c Merge PR #43709 into master
* refs/pull/43709/head:
	qa/tasks/cephfs/test_nfs: wait for fs to come up before exporting

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-29 09:54:01 -04:00
Sebastian Wagner
0b9e7c9567
Merge pull request #43602 from sebastian-philipp/cephadm-rgw-ipv6
mgr/cephadm: Fix RGW ipv6 frontend configuration

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Sage Weil <sage@newdream.net>
2021-10-29 12:23:19 +02:00
Sebastian Wagner
34502b1b22
Merge pull request #43260 from cfsnyder/wip-43692-repave-osds
mgr/orchestrator: add --zap flag to 'orch osd rm'

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-29 10:02:11 +02:00
Samuel Just
f94abe64f3
Merge pull request #43539 from orozery/ms-nocrc
msg/async: support disabling data crc for protocol v2

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-28 18:37:26 -07:00
Yuri Weinstein
69567f16f3 qa/tests: added pacific-x suite to run on master
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-10-28 16:11:50 -07:00
Kefu Chai
c2c7297360
Merge pull request #31877 from rosinL/wip-fix-dpdk-link
cmake: link against DPDK shared libraries to avoid DPDK EAL double initialization

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2021-10-29 06:58:20 +08:00
Neha Ojha
0ec8380990 qa/suites/upgrade/octopus-x: exclude ceph-volume
To fix failure like

Failure Reason:
Command failed on smithi085 with status 1: 'sudo yum -y install ceph-volume'

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-10-28 22:26:34 +00:00
Sebastian Wagner
e13aa78289
Merge pull request #43693 from batrick/i53074
pybind/mgr/cephadm: upgrade MDS if no MDS is "up"

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-29 00:25:59 +02:00
Sebastian Wagner
aae2ea3897
Merge pull request #43293 from pcuzner/granular-alerts
mgr/prometheus: expose ceph healthchecks as metrics

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-29 00:23:24 +02:00
Yuri Weinstein
e7cea80450 qa/tests: added back octopus-x run on master
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-10-28 15:13:04 -07:00
Sage Weil
3298e496ca Merge PR #43583 into master
* refs/pull/43583/head:
	changes to logging code requested by Adam
	remove allocation file after rollback to real-fm
	bug-fix close db when umount failed to store allocation file
	Bug-Fix: When restoring allocation from file use a temp allocator and only copy the allocation to the shared-allocator after the file was verified and all extents were cleared

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2021-10-28 16:13:32 -04:00
Sage Weil
c9e647ab86 Merge PR #43645 into master
* refs/pull/43645/head:
	os/bluestore: Disable compaction then no-column-b is storing allocations to bluefs file

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Gabriel Benhanokh <gbenhano@redhat.com>
2021-10-28 16:12:36 -04:00
Sage Weil
d7acc16860 qa/tasks/cephfs/test_nfs: wait for fs to come up before exporting
Signed-off-by: Sage Weil <sage@newdream.net>
2021-10-28 13:28:35 -04:00
Neha Ojha
bdca57e08e doc/releases/pacific.rst: add note about data corruption bug
Warn users upgrading their clusters from nautilus/octopus to pacific about
https://tracker.ceph.com/issues/53062

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-10-28 16:56:13 +00:00
Ernesto Puerta
78d6ac0d35
Merge pull request #41325 from rhcs-dashboard/wip-cephadm_box-master
cephadm: add cephadm sandbox (Docker in Docker)

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: sebastian-philipp <NOT@FOUND>
2021-10-28 16:59:47 +02:00
Sebastian Wagner
9a8de97f7a
Merge pull request #43692 from liewegas/misc-rook-1
mgr/orchestrator: log exception from wrapper

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-28 16:56:23 +02:00
Sebastian Wagner
558a2ec618
Merge pull request #43330 from sebastian-philipp/CEPHADM_STRAY_DAEMON
doc/cephadm/operations: extend CEPHADM_STRAY_DAEMON

Reviewed-by: Adam King <adking@redhat.com>
2021-10-28 15:05:58 +02:00
Sebastian Wagner
baea97f4fa
Merge pull request #43601 from sebastian-philipp/doc-cephadm-osd-similar-disk-layout
doc/cephadm: improve "Deploying OSDs on multiple similar hosts"

Reviewed-by: Joao Eduardo Luis <joao@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-10-28 12:14:57 +02:00
Sebastian Wagner
e7fdd7d065
Merge pull request #43622 from Daniel-Pivonka/cephadm-doc-osd-replace-host
doc/cephadm: note that replacment osd needs to be on same host as removed osd

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-10-28 12:13:23 +02:00
Samuel Just
856b793519
Merge pull request #43681 from cyx1231st/wip-seastore-fix-test-setup-teardown
crimson/os/seastore: initialize tests in seastar reactor

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2021-10-28 03:11:05 -07:00
Pere Diaz Bou
59dd41027d cephadm/box: add no-tmpfs flag prepare osd bluestore
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-28 09:25:28 +02:00
Patrick Donnelly
d771725664
pybind/mgr/cephadm: upgrade MDS if no MDS is "up"
The upgrade process can get stuck if an MDS crashes. This should be rare
when straddling v16.2.5 where the compatset of the file system inherits
the FSMap "default". The MDS from pre-v16.2.5 do not yet share a
compatset with the mons so the mons will do no promotions, causing
upgrade task to get stuck.

Fixes: https://tracker.ceph.com/issues/53074
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-10-27 20:36:42 -04:00
Kefu Chai
f1b4231d48
Merge pull request #43689 from rzarzynski/wip-auth-drop-get_supported_con_modes
auth: drop unused get_supported_con_modes() from AuthServer.

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2021-10-28 08:25:06 +08:00
Sage Weil
9502953d4d mgr/orchestrator: log exception from wrapper
This lets us see a proper traceback when we are calling across
modules.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-10-27 16:31:06 -05:00
Radoslaw Zarzynski
a578cedea3 auth: drop unused get_supported_con_modes() from AuthServer.
In 2d53093875 its last user has
been removed.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-10-27 16:08:08 +00:00
zdover23
6d0e87ccaf
Merge pull request #43684 from ybwang0211/doc-host
doc: The description of "Host" on the page is inconsistent

Signed-off-by: wangyingbin ybwang0211@163.com
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-10-28 00:26:17 +10:00
J. Eric Ivancich
d3170c11ed
Merge pull request #43581 from cbodley/wip-52800
rgw: fix lock scope in ObjectCache::get()

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2021-10-27 09:33:08 -04:00
J. Eric Ivancich
71d68c7d31
Merge pull request #43170 from thotz/removeusercaps-in-modifyuser
rgw: remove dead code for user-caps from RGWOp_User_Modify

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-10-27 09:31:12 -04:00
J. Eric Ivancich
2692132690
Merge pull request #43153 from ivancich/wip-add-bucket-listing-log
rgw: add logging to bucket listing so calls are better understood

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2021-10-27 09:30:22 -04:00
J. Eric Ivancich
d72d74a7ed
Merge pull request #42704 from wzbxqt327/patch-1
rgw,doc: fix command problem

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-10-27 09:28:47 -04:00
Mykola Golub
137238307d
Merge pull request #41323 from pkalever/cookie
rbd-nbd: generate and send device cookie with netlink connect request

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-10-27 15:44:16 +03:00
Ernesto Puerta
006b78e3b0
Merge pull request #43584 from rhcs-dashboard/add-multiple-hosts-at-once
mgr/dashboard: Cluster Creation Add multiple hosts at once

Reviewed-by: Alfonso Martínez <almartin@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: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-27 14:41:35 +02:00
Ernesto Puerta
cf09779a16
Merge pull request #43605 from rhcs-dashboard/bonding-metrics
monitoring: ethernet bonding filter in Network Load.

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>
2021-10-27 14:00:29 +02:00
Ernesto Puerta
6c58893a64
Merge pull request #43603 from rhcs-dashboard/fix-gather-facts-fetch-UI
mgr/dashboard: fetch host facts only if get_facts orch feature available

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-27 13:18:52 +02:00
Ernesto Puerta
b03183b021
Merge pull request #43661 from rhcs-dashboard/review-page-fix
mgr/dashboard: Cluster expansion review page minor bug fixes 

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-27 12:23:04 +02:00
Yingxin Cheng
f73bc6a375 crimson/os/seastore: initialize tests in seastar reactor
testing::Test from gtest is constructed and destructed outside seastar
application. It is unexpected for most seastore components, and causing
undefined behaviors.

For example, when registering metrics during construction, the logic
needs to be called inside seastar reactor thread because metrics are
maintained in reactor thread-local variables.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:46:45 +08:00
Yingxin Cheng
fa4d1316c9 crimson/os/seastore: cleanup transaction_manager_test_state
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:46:45 +08:00
Yingxin Cheng
f160986ebe crimson/os/seastore/randomblock-manager: cleanup unit test
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:46:45 +08:00
Yingxin Cheng
6bb3df896f crimson/os/seastore/cache: get block-size from reader
Cache cannot get the correct block size before SegmentManager is
mounted.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:46:45 +08:00
Yingxin Cheng
d5d2a34025 crimson/os/seastore/store-nbd: cleanup headers
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:45:06 +08:00
Yingxin Cheng
1f304ad6da crimson/os/seastore/journal: proper close journal when test finishes
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:44:56 +08:00
wangyingbin
0cd5f2b292 doc: The description of "Host" on the page is inconsistent
In the "https://docs.ceph.com/en/latest/radosgw/adminops/#radosgw-admin-ops" page, the description of "Host" is not uniform, so I changed it.

Signed-off-by: wangyingbin <ybwang0211@163.com>
2021-10-27 15:44:19 +08:00
Pere Diaz Bou
e1bc6f24ff monitoring: ethernet bonding filter in Network Load
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-27 09:08:20 +02:00