Commit Graph

106190 Commits

Author SHA1 Message Date
Sage Weil
cab0d3156b mgr/cephadm: check-host on 'host add'
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-16 07:23:06 -06:00
Ronen Friedman
f996db6a14
Merge pull request #32604 from ronen-fr/clang_3
crimson: remove some attributes from lambda
2020-01-12 09:37:55 +02:00
Kefu Chai
6324cb2f02
Merge pull request #32577 from xenolinux/new
doc/releases/nautilus.rst: remove a redundant '*'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-11 19:43:59 +08:00
Ronen Friedman
968cd0060a crimson: fix aarch64 ctest failure by removing some lambda attributes
There seems to be no "universally accepted" way to declare a lambda as
[[always_inline]]. "Universally accepted" here meaning: accepted with
no error or warning by gcc8, gcc9 and clang.

See for example: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60503

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2020-01-11 09:50:33 +02:00
Servesha Dudhgaonkar
46bc603cd0 doc/releases/nautilus.rst: remove a redundant '*'
remove an extra asterisk '*'

Signed-off-by: Servesha Dudhgaonkar <sdudhgao@redhat.com>
2020-01-11 15:07:10 +08:00
Patrick Donnelly
1c7742d141
Merge PR #32521 into master
* refs/pull/32521/head:
	mds: clarify message about blocked scrub
	mds: throttle scrub start for multiple active MDS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 16:17:42 -08:00
Patrick Donnelly
cf5e0c9f4b
Merge PR #32213 into master
* refs/pull/32213/head:
	cephfs-shell: don't catch libcephfs.Error unnecessarily
	cephfs-shell: make every command set a return value on failure
	pybind/cephfs: move LibCephFSStateError closer to base class
	pybind/cephfs: add method to get error code in Error and OSError

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 16:16:00 -08:00
Patrick Donnelly
60ed88785d
mds: clarify message about blocked scrub
Also, non-recursive scrub still needs rejected: a given directory's
fragments may be on other ranks.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 14:28:00 -08:00
Patrick Donnelly
c4af0be168
Merge PR #32201 into master
* refs/pull/32201/head:
	mds: maintain client provided metric flags in client metadata
	mds: add feature_bitset_t::dump()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 14:23:03 -08:00
Patrick Donnelly
c1e26a98c0
Merge PR #32320 into master
* refs/pull/32320/head:
	mds: Reorganize class members in SessionMap header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 14:22:28 -08:00
Patrick Donnelly
15f8db42ad
Merge PR #32548 into master
* refs/pull/32548/head:
	libcephfs: fix documentation for ceph_seekdir offset
	client: propagate -ENOTCONN errors for ll_releasedir

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-01-10 14:21:11 -08:00
David Zafman
b2d7facf23
Merge pull request #32506 from dzafman/wip-deprecated-full
osd: Again remove deprecated full/nearfull from osdmap

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-10 13:56:25 -08:00
Alfredo Deza
e2e91920c5
Merge pull request #32591 from CypressXt/patch-1
Documentation: Centos ceph-deploy's python dependencies

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2020-01-10 13:44:12 -05:00
Kefu Chai
e230c400d3
Merge pull request #32514 from majianpeng/osd-remove-osmap_lock_name
osd/OSD: remove unused parameter osdmap_lock_name.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-10 23:09:33 +08:00
Kefu Chai
62a79c08bd
Merge pull request #32588 from tchaikov/wip-qa-mgr-setup-with-force
qa/tasks/mgr: set mgr module option with --force

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-10 22:58:42 +08:00
Kefu Chai
8bdf009c73
Merge pull request #32590 from tchaikov/wip-doc-ceph-bluestore-tools
doc/man: improve bluefs-bdev-expand option

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-01-10 21:40:19 +08:00
Kefu Chai
328ba300ce
Merge pull request #32538 from liuchang0812/kstore-bug-39665
os/kstore: do not cache in-fight stripes on read ops to avoid leaks

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-10 21:38:33 +08:00
Kefu Chai
9128924eda
Merge pull request #32563 from majianpeng/bluefs-remove-flush-log
os/bluestore/BlueFS: replace flush_log with sync_metadata.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-01-10 21:36:58 +08:00
Kefu Chai
5e9b552aae
Merge pull request #32547 from aclamk/admin-socket-doxygen
common/admin_socket: Add doxygen for call and call_async

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-10 21:36:12 +08:00
Kefu Chai
14a138e676
Merge pull request #32519 from tchaikov/wip-qa-skip-if-no-pool
qa/tasks/ceph_manager: do not pick a pool is there is no pools

Reviewed-By: Neha Ojha <nojha@redhat.com>
2020-01-10 21:33:32 +08:00
Kefu Chai
ba98e06c61
Merge pull request #32549 from tchaikov/wip-qa-rados-whitelist-health-warning
qa: whitelist FS_DEGRADED

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-10 21:28:33 +08:00
Kefu Chai
492b41bb2a
Merge pull request #32512 from tchaikov/wip-cbt-py3
Revert "qa/tasks/cbt: include py2 deps on ubuntu for now"

Reviewed-By: Neha Ojha <nojha@redhat.com>
2020-01-10 21:26:49 +08:00
Clément Hampaï
df88b072cb Added fresh Centos install's python dependencies
Fixes: https://tracker.ceph.com/issues/43545

Signed-off-by: Clément Hampaï <clement.hampai@cypressxt.net>
2020-01-10 14:26:21 +01:00
Kefu Chai
b3e3330c14
Merge pull request #32500 from sebastian-philipp/test_orchestrator-mypy
pybind/mgr: Add test_orchestrator to mypy

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2020-01-10 21:25:38 +08:00
Kefu Chai
c3a914a8c6 doc/man: improve bluefs-bdev-expand option
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-10 20:16:01 +08:00
Jan Fajerski
53fd6909f2
Merge pull request #32525 from BenoitKnecht/dereference-lvm-path-symlink
ceph-volume: Dereference symlink in lvm list
2020-01-10 11:46:04 +01:00
Adam Kupczyk
52639a3b2e common/admin_socket: Add doxygen for call and call_async
This is only doxygen, an attempt to solidify interface contract.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2020-01-10 11:30:21 +01:00
Jianpeng Ma
c56108b561 osd/OSD: remove unused parameter osdmap_lock_name.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2020-01-10 14:59:08 +08:00
Milind Changire
f50b87bcb4 mds: throttle scrub start for multiple active MDS
* add check to "scrub start" command handler to dishonor request if
  multiple MDS are "active" for a recursive scrub request
* add check to MDSRank::handle_mds_map() to see if scrubbing is in
  progress and max_mds is greater than 1, if so then scrubbing is
  aborted. This is supposed to take care of the condition when scrubbing
  has been started with max_mds == 1 and then bumped to a higher value

Fixes: https://tracker.ceph.com/issues/43483
Signed-off-by: Milind Changire <mchangir@redhat.com>
2020-01-10 12:01:34 +05:30
Kefu Chai
7210d7f951 qa/tasks/mgr: set mgr module option with --force
if mgr is not active, monitor will refuse to set any option consumed by
mgr modules.

the reason the tests pass somtimes is that, we have a racing here:

1. stop all mgr daemons
2. MgrMonitor gets updated and updates its mgr_module_options
accordingly.
3. in TestDashboard.setUp(), we reset the port number for dashboard
using "ceph config set mgr mgr/dashboard/y/ssl_server_port 7789"
4. restart all mgr daemons

but the 2nd step and 3rd step could race with each other, if the 2nd
step happens after 3rd step, the test passes. otherwise it fails.

in this change, "--force" is passed to the "ceph config set" command,
so ConfigMonitor can bypass the sanity test for the option, and just
set this option.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-10 13:28:34 +08:00
Kefu Chai
1bd1328ad7
Merge pull request #32571 from tchaikov/wip-qa-test-runner-run-testcase
qa/tasks/cephfs_test_runner: setattr to class not instance

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-10 11:28:52 +08:00
Patrick Donnelly
cf2d411251
Merge PR #32532 into master
* refs/pull/32532/head:
	qa: only restart MDS between tests

Reviewed-by: Jos Collin <jcollin@redhat.com>
2020-01-09 12:24:28 -08:00
Casey Bodley
f6bd569931
Merge pull request #31834 from yuvalif/wip-yuval-add-kafka-security2
rgw/kafka: add ssl+sasl security to kafka

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-01-09 15:06:13 -05:00
Casey Bodley
c0a1b533f9
Merge pull request #32462 from alimaredia/wip-s3-tests-branch-override-remove
qa: remove force-branch from overrides of s3-tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-01-09 14:48:44 -05:00
Patrick Donnelly
bae0c67395
Merge PR #32533 into master
* refs/pull/32533/head:
	qa: fix various py3 cephfs qa bugs x2

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2020-01-09 11:13:53 -08:00
Patrick Donnelly
148e99be09
Merge PR #32507 into master
* refs/pull/32507/head:
	qa: detect RHEL8 for yum package installation

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-01-09 11:12:32 -08:00
Casey Bodley
4a23fc109e
Merge pull request #30257 from ligangbin117/wip-ligangbin-rgw-data-error
rgw:[bug] fix data consistency error casued by rgw sent timeout

Reviewed-by: Yuli Yang <yuliyang@cmss.chinamobile.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-01-09 13:48:59 -05:00
Abhishek L
4392dab26d
Merge pull request #31346 from zhangsw/fix-rgw-orphan-error-handle
rgw: build_linked_oids_for_bucket and build_buckets_instance_index should return negative value if it fails

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2020-01-09 16:27:13 +01:00
Kefu Chai
2fe9771842
Merge pull request #32575 from tchaikov/wip-43227
qa/tasks/mgr/dashboard: set pg_num to 16

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-09 23:23:15 +08:00
Kefu Chai
84e63c612d
Merge pull request #32572 from varshar16/wip-admin-build-doxgen-typo
admin/build-doc: Fix doxygen typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-09 21:00:13 +08:00
Kefu Chai
15a5ebdce2 qa/tasks/mgr/dashboard: set pg_num to 16
as the default pg_num is now 16 since 78bf9244, and the minimum pg_num
is also 16 in autoscaler since 78bf9244.

Fixes: https://tracker.ceph.com/issues/43227
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-09 20:54:56 +08:00
Kefu Chai
204263b829 qa/tasks/cephfs_test_runner: setattr to class not instance
before this change, `setattr()` sets the instance specialized with a certain method
of test case, so in `MgrTestCase.setUpClass()`

assert cls.mgr_cluster is not None

fails,

after this change, instead of test case, the class of test suite is updated with the
specified params, even if we pass a certain test to test runner.
so we can

./run-backend-api-tests.sh tasks.mgr.test_dashboard.TestDashboard.test_standby

now. before this change, we can only:

./run-backend-api-tests.sh tasks.mgr.test_dashboard.TestDashboard

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-09 20:48:23 +08:00
Tatjana Dehler
1c18ca31fd
Merge pull request #32234 from votdev/better_orch_exception
mgr/dashboard: Throw a more meaningful exception

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-01-09 13:41:43 +01:00
Varsha Rao
62f9b4d65c admin/build-doc: Fix doxygen typo
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-09 17:14:47 +05:30
Rishabh Dave
477f49216e cephfs-shell: don't catch libcephfs.Error unnecessarily
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-01-09 16:33:32 +05:30
Rishabh Dave
93ae3b29a1 cephfs-shell: make every command set a return value on failure
Fixes: https://tracker.ceph.com/issues/43249
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-01-09 16:33:32 +05:30
Rishabh Dave
863b47b210 pybind/cephfs: move LibCephFSStateError closer to base class
At first look it appears that class OSError is the only class derived
from class Error which makes class Error look redundant. Therefore, it's
better to move class LibCephFSStateError from the bunch of exception
classes derived from OSError to closer to class Error.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-01-09 16:33:32 +05:30
Rishabh Dave
be37f499f8 pybind/cephfs: add method to get error code in Error and OSError
Add method to class Error and override it class OSError.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-01-09 16:33:32 +05:30
Abhishek L
1851354390
Merge pull request #32551 from theanalyst/doc/releases/14.2.6
doc: release notes for v14.2.6

Reviewed-By: Josh Durgin <jdurgin@redhat.com>
Reviewed-By: Neha Ojha <nojha@redhat.com>
2020-01-09 11:24:03 +01:00
Kefu Chai
05ebfbd162
Merge pull request #32564 from tchaikov/wip-cmake-radosgwd
cmake: let vstart depend on radosgwd

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-09 17:30:28 +08:00