Commit Graph

124680 Commits

Author SHA1 Message Date
Jonas Zeiger
d83d4f3586 ceph-volume: lvm batch: fast_allocations(): avoid ZeroDivisionError
* Fixes Bug #51526 ( https://tracker.ceph.com/issues/51526 )

Signed-off-by: Jonas Zeiger <jonas.zeiger@talpidae.net>
2021-07-22 11:19:37 +02:00
Kefu Chai
91afa17c73
Merge pull request #42171 from sharuzzaman/patch-1
doc/rados/configuration: fixing small typo for word "implemebnt"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-05 13:17:47 +08:00
Sharuzzaman Ahmat Raslan
780aa4ea48 doc/rados/configuration: fixing small typo for word "implemebnt"
Signed-off-by: Sharuzzaman Ahmat Raslan <sharuzzaman@gmail.com>
2021-07-05 08:14:31 +08:00
Kefu Chai
b0ccd9e2ea
Merge pull request #42147 from xxhdx1985126/wip-interruptible-errorator
crimson/common: allow interruptible parallel_for_each to handle error…

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-04 13:02:17 +08:00
Xuehan Xu
f7d3c14f2d crimson/common: allow interruptible parallel_for_each to handle errorated future
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-07-04 11:41:07 +08:00
Sage Weil
45be641769 Merge PR #41938 into master
* refs/pull/41938/head:
	mgr/cephadm: include addr in HOST_CHECK_FAILED alert detail

Reviewed-by: Adam King <adking@redhat.com>
2021-07-03 14:19:03 -04:00
Patrick Donnelly
f987914e65
Merge PR #42081 into master
* refs/pull/42081/head:
	qa: use kclient xattr to lookup client id
	qa: refactor reading debug file code
	qa: get mount id before failing fs

Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-07-02 13:17:05 -07:00
Patrick Donnelly
de3f4a0727
Merge PR #42075 into master
* refs/pull/42075/head:
	qa: avoid using sudo for regular test artifacts
	qa: convert mount calls to mount_wait
	qa: use run_shell_payload to avoid sudo

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2021-07-02 13:14:42 -07:00
Patrick Donnelly
f92a4f4330
qa: use kclient xattr to lookup client id
Added relatively recently but in RHEL 8.4.

Fixes: https://tracker.ceph.com/issues/51183
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-07-02 12:07:42 -07:00
Ali Maredia
d3f6df3ba6
Merge pull request #41926 from TRYTOBE8TME/wip-rgw-dpp-2
src/rgw: DPP addition 3

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2021-07-02 14:02:54 -04:00
Kefu Chai
620e86d289
Merge pull request #42105 from dvanders/dvanders_pgp_num_actual
mgr/DaemonServer: skip redundant update of pgp_num_actual

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-03 00:58:56 +08:00
Kefu Chai
01d3a10e22
Merge pull request #41829 from SMIL-Infra/clean-cg
cephadm: workaround unit replace failure

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-07-02 23:15:38 +08:00
Kefu Chai
9d1ca7aab8
Merge pull request #41928 from sebastian-philipp/rm-qa-qa
qa: remove `qa/.qa` symlink

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2021-07-02 23:14:56 +08:00
Kefu Chai
ff9f5def3c
Merge pull request #41943 from liewegas/qa-8-stream
qa/distro/supported: add centos 8.stream

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-02 23:14:27 +08:00
Kefu Chai
4c3d745532
Merge pull request #42146 from tchaikov/wip-crimson-cleanup
crimson/os/seastore: do not capture unused variable

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-07-02 22:59:24 +08:00
Sebastian Wagner
e16247d84b
Merge pull request #42032 from sebastian-philipp/cephadm_shared_folder_bin_cephadm
cephadm: shared folder: Mount the cephadm

Reviewed-by: Adam King <adking@redhat.com>
2021-07-02 15:17:06 +02:00
Sebastian Wagner
c301a13485
Merge pull request #41906 from mgfritch/cephadm-test-monaddrv
cephadm: add `bootstrap --mon-addrv` test

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-07-02 15:16:42 +02:00
Sebastian Wagner
6becf57aef
Merge pull request #42017 from Daniel-Pivonka/cephadm-orch-host-drain
mgr/cephadm: add ceph orch host drain and limit host removal to empty hosts

Reviewed-by: Adam King <adking@redhat.com>
2021-07-02 15:16:11 +02:00
Ernesto Puerta
21fb4b59c7
Merge pull request #41883 from rhcs-dashboard/run-dashboard-cephadm-e2e-tests
mgr/dashboard: run cephadm-backend e2e tests with KCLI

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-07-02 12:51:19 +02:00
Kefu Chai
9abfca0e59
Merge pull request #42144 from cyx1231st/wip-fix-seastore-cache2
crimson/os/seastore/cache: fix retiring mutation-pending extents

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@360.cn>
2021-07-02 16:56:24 +08:00
Alfonso Martínez
5c03b49c4d mgr/dashboard: run cephadm-backend e2e tests with KCLI
Fixes: https://tracker.ceph.com/issues/51300
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-07-02 10:08:49 +02:00
Yingxin Cheng
f0c0040274 crimson/os/seastore/cache: fix retiring mutation-pending extents
Mark the retiring mutation-pending extent as INVALID, and add it's
prior-instance to retired-set in order to populate transaction
invalidation correctly.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-07-02 13:09:38 +08:00
Kefu Chai
82553af9ce crimson/os/seastore: use map::emplace(key, val) instead of map::emplace(pair<>)
simpler this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-02 11:57:09 +08:00
Kefu Chai
f829bb82fe crimson/os/seastore: do not capture unused variable
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-02 11:54:20 +08:00
Kefu Chai
0c741cd0bd crimson/os/seastore: read_set_t<> should be an alias of set<>
we don't extend it by inheriting from this class. what we need is to
have a convenient template alias here.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-02 11:37:07 +08:00
Samuel Just
d82a565f0e
Merge pull request #42143 from athanatos/sjust/wip-cm-omap-int-future
crimson/os/seastore: convert omap and collection_manager to interruptible future

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-01 20:34:04 -07:00
Kalpesh Pandya
3a9b43a935 rgw: DPP addition 3
Following files have been covered in this PR:

1. rgw_period_puller.cc
2. rgw_reshard.cc
3. rgw_sal_rados.cc
4. services/svc_sync_modules.cc
5. services/svc_bucket_sobj.cc
6. services/svc_notify.cc
7. rgw_acl_swift.cc
8. rgw_acl.cc
9. rgw_sync_module_aws.cc
10. rgw_tools.cc
11. services/svc_sys_obj_cache.cc
12. rgw_bucket_sync.cc

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
2021-07-02 07:41:20 +05:30
Kefu Chai
b992221342
Merge pull request #42138 from rzarzynski/wip-crimson-alienstore-indent
crimson/os: fix indentation in alien_store.cc.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-02 08:16:23 +08:00
Kefu Chai
26a0b38dc4
Merge pull request #42128 from tchaikov/wip-crimson-asock-cleanup
crimson/asock: cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-07-02 08:11:12 +08:00
Samuel Just
f61eed8579 crimson/os/seastore/omap_manager: convert to use interruptible future
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-07-01 23:59:41 +00:00
Samuel Just
43eb9902e2 crimson/os/seastore/collection_manager: convert to use interruptible_future
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-07-01 23:59:41 +00:00
Samuel Just
cd78b9770a test/crimson/seastore: clean up transaction_manager based tests
Permits using either vanilla TransactionManager and
InterruptedTransactionManager, updates users to use submit_transaction
helpers.

Signed-off-by: Samuel Just <sjust@redhat.com>
2021-07-01 23:59:38 +00:00
Yuval Lifshitz
6c0c924e5a
Merge pull request #41980 from yuvalif/wip-yuval-fix-51320
rgw/notification: support version-id for all event types
2021-07-01 23:43:10 +03:00
Ali Maredia
1ca7682159
Merge pull request #42127 from ivancich/wip-little-rgw-cleanup
rgw: a small set of clean-ups

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2021-07-01 14:59:29 -04:00
Patrick Donnelly
e2b39f6c8c
qa: avoid using sudo for regular test artifacts
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-07-01 10:56:10 -07:00
Patrick Donnelly
4fc4ccb7a1
qa: convert mount calls to mount_wait
These tests want to immediately use the mount anyway. But the main
problem is, without waiting for the mount to complete, the command:

    chmod 1777 /path/to/mount

is not run so the mount cannot be written to by normal users without
sudo.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-07-01 10:56:10 -07:00
Patrick Donnelly
8a1ee83b1a
qa: use run_shell_payload to avoid sudo
"run_shell" adds 'sudo' which runs afoul of new security protections on
Ubuntu 20.04.

Fixes: https://tracker.ceph.com/issues/51417
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-07-01 10:56:10 -07:00
Yuval Lifshitz
092d8fa756
Merge pull request #42012 from yuvalif/wip-yuval-fix-50039
rgw/notifications: support v4 auth for topics and notifications
2021-07-01 20:15:58 +03:00
Yuval Lifshitz
a2b8ba13f6 rgw/notification: support version-id for all event types
including: object copy, multipart upload, delete marker on versioned bucket

Fixes: https://tracker.ceph.com/issues/51320

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2021-07-01 20:13:25 +03:00
zdover23
f4154b1c7b
Merge pull request #42134 from zdover23/wip-doc-cephadm-operations-2021-07-01
doc/cephadm: improve "Ceph Daemon Logs" (1 of x)

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-07-02 03:12:22 +10:00
Ali Maredia
0bc9b868e2
Merge pull request #42023 from TRYTOBE8TME/wip-rgw-notification-tests
rgw: Modification in the usage of force-branch

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2021-07-01 12:44:20 -04:00
Yuval Lifshitz
1c13283f9b
Merge pull request #41945 from yuvalif/wip-yuval-fix-51261
rgw/notifications: support metadata filter in CompleteMultipartUpload and Copy events
2021-07-01 19:19:03 +03:00
Ernesto Puerta
1be0cc0da9
Merge pull request #41953 from SMIL-Infra/fix-dashboard-osd-count
mgr/dashboard: fix OSD out count

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-07-01 17:26:32 +02:00
Ernesto Puerta
4e03486235
Merge pull request #42116 from votdev/issue_51443_migrate_userdb
mgr/dashboard: User database migration has been cut out

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2021-07-01 17:23:03 +02:00
Radoslaw Zarzynski
5e1463d499 crimson/os: fix indentation in alien_store.cc.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-07-01 14:47:01 +00:00
Sage Weil
5c9a3962b7 Merge PR #42107 into master
* refs/pull/42107/head:
	mgr/ActivePyModules: streamline mgr_ips a bit
	mgr/ActivePyModules: don't take unnecessary lock
	pybind/mgr/mgr_module: use get("mgr_ips") for standby get_mgr_ip()
	mgr: add get() for standby modules

Reviewed-by: Daniel Pivonka <dpivonka@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
2021-07-01 09:11:09 -04:00
Zac Dover
09b1dd0bb5 doc/cephadm: improve "Ceph Daemon Logs" (1 of x)
This PR turned out to be a 3-in-1:

(1) improves syntax and formatting of "Logging to stdout"
(2) improves syntax and formatting of "Logging to files"
(3) replaces all carets with tildes in 3rd-level section
    headers in operations.rst (./build-doc was crying
    about inconsistency when I fed it tildes, but tildes
    and not carets are the RST standard according to
    https://docutils.sourceforge.io/ \
    docs/user/rst/quickstart.html#sections
    so the carets had to go.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-07-01 22:43:10 +10:00
Kefu Chai
e2cc12ea0f
Merge pull request #42130 from tchaikov/wip-doc-install
doc/install/get-packages: s/el7/el8/ and cleanups

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-07-01 17:59:38 +08:00
Kefu Chai
166d961360
Merge pull request #42108 from zdover23/wip-doc-upgrading-ceph-cancelling-the-upgrade-2021-06-30
doc/cephadm: improve "Canceling an Upgrade"

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-07-01 17:50:34 +08:00
Kefu Chai
3a41134592 doc/install/get-packages: do not mention additional 3rd party packages
since we are able to build and run on ubuntu focal without extra
dependencies of 3rd party packages, there is no need to mention them.
actually all of the removed packages are available in ubuntu focal.
some of them have different package names though.

the same applies to el8.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-01 16:38:56 +08:00