Commit Graph

121327 Commits

Author SHA1 Message Date
Neha Ojha
347da505ee
Merge pull request #40323 from aclamk/wip-onode-resiliant-to-split-cache
os/bluestore: Make Onode::put/get resiliant to split_cache

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2021-03-25 18:05:28 -07:00
Mark Kogan
0772593632
Merge pull request #39776 from alimaredia/wip-rgw-log-req-latency
rgw: add latency to the request summary of an op
2021-03-25 18:16:39 +02:00
Sage Weil
dba20d0e07 Merge PR #40366 into master
* refs/pull/40366/head:
	mgr/cephadm: Fix dashboard gateway configuration when using IPV6

Reviewed-by: Sage Weil <sage@redhat.com>
2021-03-25 08:39:34 -04:00
Kefu Chai
ce28172dfe
Merge pull request #40395 from rhcs-dashboard/fix-49952-master
mgr/dashboard:Simplify some complex calculations in test_alerts.yml

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2021-03-25 19:28:59 +08:00
Kefu Chai
8d30d8a67f
Merge pull request #40400 from tchaikov/wip-ctest-jenkins
run-make-check.sh: let ctest generate XML output

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2021-03-25 18:24:22 +08:00
Venky Shankar
972d045d94
Merge pull request #40327 from racpatel/wip-cephfs-top-refresh-interval
cephfs-top: allow configurable stats refresh interval
2021-03-25 15:16:39 +05:30
Venky Shankar
93dd8821aa
Merge pull request #40210 from joscollin/wip-B49736-missing-client-metadata
cephfs-top: be resilient to missing client metadata keys
2021-03-25 15:15:01 +05:30
Kefu Chai
48ba39987d run-make-check.sh: let ctest generate XML output
to enable XUnit plugin of jenkins to consume the ctest output and
publish it in the dashboard, we need to

* let ctest generate XML output instead of plain text output
* do not fail the test if any test case fails. this allows the publisher
  to do its job by checking the XML output.
* prevent ctest from compressing the output. see
  https://issues.jenkins.io/browse/JENKINS-21737

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-25 17:14:09 +08:00
Aashish Sharma
8d2f39e6c5 mgr/dashboard:Simplify some complex calculations in test_alerts.yml
run-promtool-unittests is failing with difference in floating point values in some complex calculations. This PR intends to simplify those calculations and fix this issue.

Fixes: https://tracker.ceph.com/issues/49952
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2021-03-25 12:05:07 +05:30
Kefu Chai
c420dedae4
Merge pull request #40377 from tchaikov/wip-doc-fixes
doc/man: fix formatting

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-03-25 10:39:14 +08:00
Neha Ojha
7bc9206457
Merge pull request #38044 from dvanders/dvanders_buffered
common/options: bluefs_buffered_io=true by default

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-03-24 17:45:17 -07:00
Ali Maredia
c2eeb1d9cd
Merge pull request #40380 from adamemerson/wip-num-rados-handles-die-die-die
Die, `num_rados_handles`, die.

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2021-03-24 18:39:35 -04:00
Adam C. Emerson
4bc2a30c24 rgw: Remove spurious num_rados_handles option
While any code that used the option is gone, it appears the option
itself was accidentally resurrected in various options.cc refactors
and transitions.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2021-03-24 15:49:32 -04:00
Kefu Chai
bd0a87fb5c doc/install/windows-troubleshooting: fix typo
and tweak the format a little bit

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-25 01:03:34 +08:00
Kefu Chai
792c2f878f doc/man/8/ceph-volume: fix formatting
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-25 01:03:34 +08:00
Kefu Chai
35413b8ae2 admin/build-doc: build man page in proper directory
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-25 01:03:34 +08:00
Sage Weil
e6e265f309 Merge PR #40350 into master
* refs/pull/40350/head:
	doc/cephadm: explicitly show host requirments in adding host section

Reviewed-by: Sage Weil <sage@redhat.com>
2021-03-24 11:39:53 -04:00
Kefu Chai
c5e4141591
Merge pull request #40235 from tchaikov/wip-cmake-test-fixture
cmake: use fixture for preparing venv

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2021-03-24 23:20:26 +08:00
Juan Miguel Olmo Martínez
1b18f4f9cb
mgr/cephadm: Fix dashboard gateway configuration when using IPV6
Fixes: https://tracker.ceph.com/issues/49957

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-03-24 15:30:38 +01:00
Kefu Chai
47cec18613 cmake: use fixture for preparing venv
this change should allow us to decouple "ninja tests" from "ctest".
in other words, we can just run

ctest -R run-tox-python-common -V

without running "ninja tests" first. before this change

${name}-venv is added as a dependency of "tests" target.

after this change,

setup-venv-for-${name} is added as a test, which is in turn a test of
run-tox-${name}, so we can just

ctest -R run-tox-${name}

now for preparing the venv and then testing the tox test of ${name}.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-24 22:19:31 +08:00
zdover23
5a35a3f5b7
Merge pull request #40344 from zdover23/wip-doc-cephadm-index-rewrite-2021-Mar-23
doc/cephadm: rewrite "index.rst"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-03-25 00:09:01 +10:00
Patrick Donnelly
7c65b1a7e1
Merge PR #40353 into master
* refs/pull/40353/head:
	cephsqlite: add julian day offset in milliseconds

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-03-24 07:07:31 -07:00
Kefu Chai
8b9e626c2e
Merge pull request #40291 from tchaikov/wip-debian-cleanups
debian: cleanups and exclude ceph_crypto from dh_shlibdep

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2021-03-24 21:31:34 +08:00
Jos Collin
3fd63e97b4
tools/cephfs: fix missing keys in cephfs-top client_metadata
Fixes: https://tracker.ceph.com/issues/49736
Signed-off-by: Jos Collin <jcollin@redhat.com>
2021-03-24 17:53:38 +05:30
Kefu Chai
7e3f726086
Merge pull request #39683 from maydaycc/wip-49487
osd: fix scrub reschedule bug

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2021-03-24 20:21:11 +08:00
Kefu Chai
9438c23acd debian/rules: add with_system_libs option
so the maintainer can choose to use the packages shipped by distro.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-24 18:52:42 +08:00
Kefu Chai
bcd7f3ac0f debian/control: remove cython from Build-Depends
as cython3 is enough. and we've dropped the python2 support.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-24 18:52:42 +08:00
Kefu Chai
561a34a685 debian/rules: exclude ceph_crypto from dh_shlibdep
as libceph_crypto* are plugins, and they are not self-contained. they
reference symbols offered by the executable loading them. dh_shlibdep
should not complain when checking them, so add them to the exclude list.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-24 18:52:42 +08:00
zdover23
068cf09703
Merge pull request #40346 from zdover23/wip-doc-cephadm-osd-service-2021-Mar-23-first
doc/cephadm: rewrite osd.rst - list devices

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-03-24 20:19:44 +10:00
Zac Dover
dfd205dca7 doc/cephadm: rewrite "index.rst"
This PR rewrites the three paragraphs at the
front of the cephadm guide, increasing their
elegance and removing ambiguities.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-03-24 20:18:48 +10:00
Kefu Chai
05b7167ac3
Merge pull request #40357 from ybwang0211/quota_doc
doc: remove duplicated 'quota' parameter in URL

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-24 17:33:28 +08:00
wangyingbin
7f60e97b9f doc: remove duplicated 'quota' parameter in URL
Only one "quota" parameter is needed in the URL to indicate that it is a quota request.

Signed-off-by: wangyingbin <ybwang0211@163.com>
2021-03-24 15:35:28 +08:00
Rachana Patel
6ea5cb5ff3 cephfs-top: signal main thread to exit on SIGINT/SIGTERM
Fixes: http://tracker.ceph.com/issues/49953
Signed-off-by: Rachana Patel <racpatel@redhat.com>
2021-03-24 06:33:47 +00:00
Rachana Patel
abd4ae9f9b cephfs-top: allow configurable stats refresh interval
Signed-off-by: Rachana Patel <racpatel@redhat.com>
2021-03-24 06:33:47 +00:00
Sage Weil
fe9454722a Merge PR #40314 into master
* refs/pull/40314/head:
	qa/tasks/cephadm: use 'orch apply mon' to deploy mons

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2021-03-23 22:58:14 -04:00
Sage Weil
f10c752966 Merge PR #40324 into master
* refs/pull/40324/head:
	mgr/cephadm/upgrade: do not crash if error races with user cancellation

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Adam King <adking@redhat.com>
2021-03-23 22:58:05 -04:00
Patrick Donnelly
5b4a7668f1
Merge PR #40305 into master
* refs/pull/40305/head:
	doc/cephfs/nfs: Add note about cephadm NFS-Ganesha daemon port

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2021-03-23 18:45:48 -07:00
Patrick Donnelly
9107e1a347
cephsqlite: add julian day offset in milliseconds
This magic number was copied from another VFS but was not adjusted for
the xCurrentTimeInt64 interface.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-23 18:21:08 -07:00
Sage Weil
e4d7d89557 Merge PR #40320 into master
* refs/pull/40320/head:
	mgr/orchestrator: move PORTS column in 'orch ps' output

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-03-23 20:15:24 -04:00
Sage Weil
76ae7532c3 Merge PR #40322 into master
* refs/pull/40322/head:
	cephadm: only bootstrap using image that matches cephadm version

Reviewed-by: Adam King <adking@redhat.com>
2021-03-23 20:15:11 -04:00
Ernesto Puerta
c553763ec9
Merge pull request #40216 from rhcs-dashboard/fix-role-cloning
mgr/dashboard: Fix for broken User management role cloning

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2021-03-23 20:10:18 +01:00
Ernesto Puerta
f1557e8f62
Merge pull request #36402 from rhcs-dashboard/wip-45965-users-quota-usage
mgr/dashboard: Display users current quota usage

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2021-03-23 20:07:45 +01:00
Daniel Pivonka
b28fd9838e doc/cephadm: explicitly show host requirments in adding host section
Signed-off-by: Daniel Pivonka <dpivonka@redhat.com>
2021-03-23 14:56:33 -04:00
Zac Dover
49352a3150 doc/cephadm: rewrite osd.rst - list devices
This PR rewrites the "List Devices" section of
the OSD chapter of the Cephadm guide. This PR
is a simple grammar-and-elegance improvement.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-03-24 02:23:46 +10:00
Jason Dillaman
8bb7779643
Merge pull request #40208 from CongMinYin/fix-flush-block-bug
librbd/cache/pwl: fix bug of flush request blocked by defered IO

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-03-23 09:54:35 -04:00
Ernesto Puerta
bbe8803d6f
Merge pull request #40005 from rhcs-dashboard/49655-handle-no-rgw-daemons-running
mgr/dashboard: fix error shown when no rgw daemons are running.

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-03-23 12:51:47 +01:00
Alfonso Martínez
58253a0002 mgr/dashboard: fix error notification shown when no rgw daemons are running.
- Adapted code to changes introduced in: https://github.com/ceph/ceph/pull/40220
- Improved error handling.
- Increased test coverage.
- Some refactoring.
- Simplified documentation about setting default daemon host and port.

Fixes: https://tracker.ceph.com/issues/49655
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-03-23 11:14:11 +01:00
Igor Fedotov
35a3f7be8f os/bluestore: acquire proper lock in split_cache()
Fixes: https://tracker.ceph.com/issues/49900
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2021-03-23 10:37:05 +01:00
Kefu Chai
f3ad86069e
Merge pull request #40300 from tchaikov/test-promtool
ceph.spec,install-deps: use golang-github-prometheus for promtools

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2021-03-23 17:30:58 +08:00
Kefu Chai
a0d333c272
Merge pull request #40318 from batrick/libcephsqite-label
.github/labeler: add libcephsqlite label

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-23 12:03:01 +08:00