Commit Graph

117518 Commits

Author SHA1 Message Date
Ken Dreyer
a17c603eff mgr/prometheus: don't store exception as e
Python's logging module's exception() method will log the full exception
and stack trace for us, so we do not need to store the exception in the
"e" variable here.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2020-12-03 13:21:15 -07:00
Matt Benjamin
9ce1f20eb7
Merge pull request #37548 from ofriedma/wip-ofriedma-quota-hdrs
rgw: send headers of quota settings
2020-12-03 12:13:43 -05:00
Nizamudeen A
b2b42a1e6e mgr/dashboard: Fix for misleading "Orchestrator is not available" error
When switching between options, in the Services and Inventory page sometimes it shows "Orchestrator not available" error which appears for 2-3 second and then disappears and shows the normal page. This commit fixes that.

Fixes: https://tracker.ceph.com/issues/48448
Signed-off-by: Nizamudeen A <nia@redhat.com>
2020-12-03 21:13:53 +05:30
Kefu Chai
c276230557
Merge pull request #38433 from tchaikov/wip-rgw
rgw: pass null_yield to ctl->user->read_stats()

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2020-12-03 22:04:37 +08:00
Kefu Chai
b2a8ba8846 rgw: pass null_yield to ctl->user->read_stats()
this change fixes the FTBFS introduced by
4758e50c96

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-03 21:34:35 +08:00
Jason Dillaman
80fe5a8735 qa/suites/rbd: new basic migration CLI test case
Pending a larger suite of tests for instant-restore image migration,
this test provides a basic sanity check for both the native and
raw image formats -- including basic snapshot tests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-12-03 08:30:52 -05:00
Matt Benjamin
d81be06def
Merge pull request #38167 from CloudFerro/wip-disable-prefetch-in-rgw-file
rgw: disable prefetch in rgw_file to fix 3x read amplification
2020-12-03 07:55:05 -05:00
Matt Benjamin
f149aa2373
Merge pull request #37595 from pritha-srivastava/wip-rgw-sts-old-users
rgw/sts: adding code for creating oidc users in a backward
2020-12-03 07:36:42 -05:00
Brad Hubbard
6841dfae3c
Merge pull request #38412 from badone/wip-build-uring-alternate-git-repo
cmake: Alter GIT_REPOSITORY for liburing

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-03 14:53:19 +10:00
Brad Hubbard
6e20e5ed5a cmake: Alter GIT_REPOSITORY for liburing
https://git.kernel.dk/liburing appears, at least currently, to be
unavailable. This could be reverted once it comes back.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-12-03 11:56:43 +10:00
Kiefer Chang
84d50e7d63
Merge pull request #38409 from rhcs-dashboard/fix-48441-master
mgr/dashboard: fix wrong import in iscsi unit test

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2020-12-03 09:28:22 +08:00
Josh Durgin
f535d20949
Merge pull request #38289 from smithfarm/wip-rn-hotfix-octo
doc: add release notes for Octopus 15.2.7

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-12-02 16:51:53 -08:00
Brad Hubbard
98a6347d12 mon: Delete logger in destructor
In theory we could race on the 'logger' object in a similar fashion to
https://tracker.ceph.com/issues/48386 where the race is on the
Paxos::logger object.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-12-03 10:24:24 +10:00
Ernesto Puerta
b23ab57b69
mgr/dashboard: fix wrong import in iscsi unit test
This commit bdf866e436 happened after the
last run of https://github.com/ceph/ceph/pull/37198 make check. That's
why that latter PR passed the tests then but failed when merged in
master.

Fixes: https://tracker.ceph.com/issues/48441
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-12-02 22:19:00 +01:00
Jason Dillaman
871404a709
Merge pull request #38385 from rzarzynski/wip-rbd-memset_s
librbd: use the ceph_memzero_s() wrapper instead of explicit_bzero()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-12-02 15:38:15 -05:00
Jason Dillaman
8f53ed0f4a
Merge pull request #38395 from trociny/wip-rbd-test-migration-verbose
test/librbd: print difference if deep-copy or migration test fails

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-12-02 15:37:36 -05:00
Jason Dillaman
4675494d69
Merge pull request #38386 from petrutlucian94/duplicate_get_size
Revert "rbd: add missing FileStream::get_size"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-12-02 15:37:09 -05:00
Patrick Donnelly
18eda57d70
Merge PR #38364 into master
* refs/pull/38364/head:
	mds/CDir: make the data length as long as possible for each op
	mds/CDir: correct the write_size

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-12-02 12:14:16 -08:00
Patrick Donnelly
341913b220
Merge PR #38326 into master
* refs/pull/38326/head:
	client: cleanup the handle_mds_map() code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-12-02 12:13:39 -08:00
Patrick Donnelly
ad4f479609
Merge PR #38112 into master
* refs/pull/38112/head:
	Revert "client: optimize rename operation under different quota root"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-12-02 12:09:09 -08:00
Patrick Donnelly
81128ea35e
Merge PR #38033 into master
* refs/pull/38033/head:
	client: do not use g_conf().get_val<>() in libcephfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-02 12:08:17 -08:00
Patrick Donnelly
9b8fc10031
Merge PR #37708 into master
* refs/pull/37708/head:
	qa/suites/fs: enable thrashing in multifs environment
	qa/workunits/fs/snaps: allow tests to be run
	qa/tasks/{kclient,ceph_fuse}: allow mounting
	qa/tasks: allow per file system config setting

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-12-02 12:07:17 -08:00
Matt Benjamin
4172e29dce
Merge pull request #38369 from linuxbox2/wip-rgwfile-cporder
rgw_file: return common_prefixes in lexical order
2020-12-02 09:54:02 -05:00
Jason Dillaman
34c6ea7d4c
Merge pull request #38383 from shellwedance/doc_fix_typos
doc/rbd: fix doc typos

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-12-02 09:34:38 -05:00
Kefu Chai
a92a27a5b0
Merge pull request #38320 from tchaikov/wip-cmake-std-fs
cmake: do not always require extra link flags for std::filesystem

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-12-02 22:03:26 +08:00
Kefu Chai
ca42b2b011
Merge pull request #38390 from xxhdx1985126/wip-obc-related-issues
crimson/osd: fix several obc related issues

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-02 21:13:51 +08:00
Kefu Chai
cd1f9173a9
Merge pull request #38397 from tchaikov/wip-crimson-tests
test/crimson: adapt to the changes of messenger

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-02 21:10:19 +08:00
Nathan Cutler
8ee33f0ace doc/releases: add recent releases to timeline
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-12-02 13:45:39 +01:00
Matt Benjamin
f89d98320e
Merge pull request #38136 from yuvalif/wip-yuval-fix-47904
rgw/notification: trigger notifications on changes from any user
2020-12-02 07:43:12 -05:00
Matt Benjamin
146a8e5543
Merge pull request #38171 from yuvalif/wip-yuval-fix-46296
rgw/notification: support GetTopicAttributes API
2020-12-02 07:42:03 -05:00
Xuehan Xu
fa27b6eb85 crimson/osd: drop redundant locking operations in ObjectContext::wait_recovery_read()
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2020-12-02 20:14:38 +08:00
Kefu Chai
63fb93922e pybind/rados: use rados_set_pool_full_try instead of the deprecated one
this change silences the warning when compiling the cythonized python
binding:

build/src/pybind/rados/pyrex/rados.c:64435:9: warning: 'rados_set_osdmap_full_try' is deprecated [-Wdeprecated-declarations]
         rados_set_osdmap_full_try(__pyx_v_self->io);
         ^~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 20:09:23 +08:00
Kefu Chai
48b3ef5c70 cmake: pass REQUIRED to find_package(StdFilesystem)
otherwise there is chance that we could link to
StdFilesystem::filesystem which is not defined anywhere.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 19:42:34 +08:00
Kefu Chai
6cf7ebd0ca cmake: do not always require extra link flags for std::filesystem
since GCC-9

> Using the types and functions in <filesystem> does not require linking
> with -lstdc++fs now.

see https://gcc.gnu.org/gcc-9/changes.html#libstdcxx

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 19:42:34 +08:00
Ernesto Puerta
c82876e292
Merge pull request #38300 from rhcs-dashboard/fix-saml2-endpoint
mgr/dashboard: SSO not working after REST API versioning

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-12-02 12:26:20 +01:00
Ernesto Puerta
a5c685cb06
Merge pull request #38154 from votdev/issue_48181_pipe_function
mgr/dashboard: Use pipe instead of calling function within template wherever possible

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2020-12-02 12:25:39 +01:00
Ernesto Puerta
76ee317dad
Merge pull request #38019 from bk201/wip-48176
mgr/dashboard: allow selecting all daemons for Orchestrator NFS clusters

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-12-02 12:25:03 +01:00
Ernesto Puerta
ec419e6971
Merge pull request #37198 from tspmelo/wip-iscsi-fix-frontend
mgr/dashboard: Allow managing iSCSI Initiator after removing from group

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-12-02 12:24:13 +01:00
Kefu Chai
ec8f2cb633 pybind/mgr: unpin urllib3
now that requests is able to support urllib v1.26, there is no need to
pin it anymore.

see also
03957eb1c2/HISTORY.md (2250-2020-11-11)

Fixes: https://tracker.ceph.com/issues/48210
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 19:20:19 +08:00
Kefu Chai
2415168b99 test/crimson: adapt to the changes of messenger
the crimson::net::Messenger interface was changed in
44585adc78 and
ff2c3b597d, so need to change the tests
accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 19:06:38 +08:00
Mykola Golub
bb77f740df test/librbd: print difference if deep-copy or migration test fails
It may appear to be useful to track the sporadic test failures
observed on jenkins, not reproducible locally.

Previously it was disabled because the output could be too
large. But after the hexdump was improved to skip repeating bytes
the output will hopefully be much smaller.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-12-02 09:41:13 +00:00
Kefu Chai
22e63b72de
Merge pull request #38360 from cyx1231st/wip-seastar-msgr-fix-gate-exception
crimson/net: misc fixes and cleanups to messenger

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-02 17:31:08 +08:00
Xuehan Xu
40e4cad551 crimson/osd: call ObjectContext::with_promoted_lock() with the currently demanding lock type
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2020-12-02 16:47:10 +08:00
Kefu Chai
37d24ac4c8
Merge pull request #38327 from lnsyyj/wip-make-error
debian/control: add libffi-dev build dep for aarch64

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-02 16:04:10 +08:00
Hualong Feng
066484ec20 vstart.sh: add PATH in vstart_environment
Signed-off-by: Hualong Feng <hualong.feng@intel.com>
2020-12-02 15:51:08 +08:00
Kefu Chai
3429c2b586
Merge pull request #38380 from lixiaoy1/pkg_fix
cmake: fix unknown pkg_search_module

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-02 15:38:31 +08:00
lixiaoy1
e8fd8a31b2 cmake: fix unknown pkg_search_module
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-12-02 06:18:52 -05:00
Lucian Petrut
3bc385ae0e Revert "rbd: add missing FileStream::get_size"
This function was missing initially and was added by two separate
commits [1][2]. We have to remove one of the two definitions.

This reverts commit c17c53f460.

[1] c17c53f460
[2] 074dd33c4f

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2020-12-02 07:36:06 +00:00
Radoslaw Zarzynski
9d33fc7fa2 librbd: use the ceph_memzero_s() wrapper instead of explicit_bzero().
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-02 08:33:08 +01:00
Taeuk Kim
5b11688da1 doc/rbd: fix doc typos
fix typos in Ceph iSCSI manual

Signed-off-by: Taeuk Kim <taeuk_kim@tmax.co.kr>
2020-12-02 15:07:34 +09:00