Commit Graph

114331 Commits

Author SHA1 Message Date
Patrick Donnelly
d399d4c05b
pybind/mgr/volumes: add global lock debug
Fixes: https://tracker.ceph.com/issues/47149
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-26 07:10:58 -07:00
Neha Ojha
fb44c2f500
Merge pull request #36527 from neha-ojha/wip-whitelist-blacklist
Replace 'whitelist' and 'blacklist' language

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2020-08-25 12:24:36 -07:00
Sebastian Wagner
f144e5e76a
Merge pull request #36509 from pcuzner/cephadm-add-host-facts
cephadm: add gather_facts command

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-08-25 20:29:18 +02:00
Sebastian Wagner
712326c1ae
Merge pull request #36793 from sebastian-philipp/cephadm-pep8-schedule.py
mgr/cephadm: PEP8tify schedule.py

Reviewed-by: Adam King <adking@redhat.com>
2020-08-25 20:27:27 +02:00
Sebastian Wagner
7c49e4266a
Merge pull request #36757 from mgfritch/cephadm-raw-str-warn
mgr/cephadm: use raw string during `re.search`

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-25 18:31:33 +02:00
Kefu Chai
cdf5f29384
Merge pull request #36787 from tchaikov/wip-47031
crimson/osd: drop misdirected ops

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-08-25 22:14:42 +08:00
Sebastian Wagner
83e4559fce mgr/cephadm: PEP8tify schedule.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-25 15:30:51 +02:00
Sebastian Wagner
f82058f06b
Merge pull request #36738 from ShraddhaAg/cephadm-archive-logs
qa/tasks/cephadm.py: add ceph logs directory in job's info.yaml

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-25 15:18:58 +02:00
Kefu Chai
e307b9aefb crimson/osd: drop misdirected ops
see also `PrimaryLogPG::do_op()`, we should ignore the ops hitting us if
we are not supposed to serve them. this happens when the client is using
a stale osdmap.

Fixes: https://tracker.ceph.com/issues/47031
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-25 18:40:07 +08:00
Kefu Chai
1afc907d8c
Merge pull request #36778 from tchaikov/wip-cmake-fio
cmake: silence "detached HEAD" warning

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-08-25 17:16:22 +08:00
Kefu Chai
47b76ce24e cmake: silence "detached HEAD" warning
git complains when checking out a tag in "detached HEAD", like:

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them
...

but this does not help, as, in general, we don't hack fio in Ceph,
so disable this warning. and also clone the repo in shallow mode
for the same reason -- we don't care about the whole history of
fio repo. we just use it for testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-25 12:38:03 +08:00
pcuzner
5fbfeaadba
Merge pull request #36336 from pcuzner/ceph-volume-lsm
ceph-volume: add libstoragemgmt support
2020-08-25 11:23:28 +12:00
Paul Cuzner
225cbd8d79 cephadm: remove py2 from test_adoption
Since cephadm is py3 based, and py2 is EOL this patch
removes the py2 test iteration from test_adoption.sh

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2020-08-25 10:51:26 +12:00
Patrick Donnelly
d83dc481dc
Merge PR #36684 into master
* refs/pull/36684/head:
	qa/tasks/nfs: Test mounting of export created with nfs command
	qa/tasks/nfs: Add helper method to check nfs cluster status
	qa/tasks/nfs: Cleanup created filesystem
	qa/tasks/nfs: Remove unused port status function and 'stdin' keyword argument

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-24 13:18:13 -07:00
Jason Dillaman
d7dfb8e37c librbd: support reverting to legacy blacklist op via neorados API
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-08-24 19:53:08 +00:00
Ernesto Puerta
6f8c30b1bc mgr/dashboard: remove racially insensitive terms
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-08-24 19:53:08 +00:00
Neha Ojha
2227121391 librbd: RESTORE_SOURCE_WHITELIST -> ALLOWED_RESTORE_SOURCES
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Neha Ojha
be32269fd3 journal, librbd: whitelisted_laggy_clients -> ignored_laggy_clients
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Patrick Donnelly
b5bff49a58 *: convert more blacklist to blocklist
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-24 19:53:08 +00:00
Patrick Donnelly
1690d3814e librbd: convert WHITELIST to ALLOWLIST
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-24 19:53:08 +00:00
Patrick Donnelly
c4f5de0058 *: convert EBLACKLISTED to EBLOCKLISTED
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-24 19:53:08 +00:00
Neha Ojha
f466294d94 test/librados_test_stub/TestMemIoCtxImpl.cc: blacklist -> blocklist
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Neha Ojha
c0a358670a qa/suites/rados/thrash: log-whitelist -> log-ignorelist
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Neha Ojha
01fb7e7f7b qa/suites/krbd/thrash: log-whitelist -> log-ignorelist
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Neha Ojha
a8c7efab2d qa/suites/multimds: log-whitelist -> log-ignorelist
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Neha Ojha
240280aed9 test/librbd/managed_lock/test_mock_BreakRequest.cc: blacklist -> blocklist
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Neha Ojha
0d5770526f test/librados_test_stub/TestRadosClient.cc: blacklist -> blocklist
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Sage Weil
2e27a54c80 mon/ConfigMonitor: handle renamed config options
Signed-off-by: Sage Weil <sage@newdream.net>
2020-08-24 19:53:08 +00:00
Sage Weil
269b949ab4 librados: fall back to legacy blacklist command if blocklist gets EINVAL
I would have expected ENOSYS or EOPNOTSUPP or similar, but the mon returns
EINVAL on an unrecognized command

Signed-off-by: Sage Weil <sage@newdream.net>
2020-08-24 19:53:08 +00:00
Sage Weil
c7244e7aad misc language changes: whitelist -> ignore etc
Signed-off-by: Sage Weil <sage@newdream.net>
2020-08-24 19:53:08 +00:00
Sage Weil
5465c77d5f librbd: whitelisted_laggy_clients -> allowlisted_laggy_clients
Signed-off-by: Sage Weil <sage@newdream.net>
2020-08-24 19:53:08 +00:00
Sage Weil
ea404dc049 osd/OSDCap: whitelisted -> allowed
Signed-off-by: Sage Weil <sage@newdream.net>
2020-08-24 19:53:08 +00:00
Sage Weil
2ee9365d0b qa: log-whitelist -> log-ignorelist
Signed-off-by: Sage Weil <sage@newdream.net>
2020-08-24 19:53:08 +00:00
Sage Weil
dfd01d7653 blacklist -> blocklist
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Patrick Donnelly
02813988a6
Merge PR #36394 into master
* refs/pull/36394/head:
	qa: add method run ceph cluster command with better interface
	cephfs: allow only "good" characters

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-24 11:33:03 -07:00
Yuri Weinstein
08a601e054
Merge pull request #36772 from neha-ojha/wip-47119
qa/suites/perf-basic/objectstore: remove filestore

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2020-08-24 11:28:21 -07:00
Neha Ojha
d8c1dfcd4b qa/suites/perf-basic/objectstore: remove filestore
There is no point testing performance on filestore anymore.
It has already been removed from objectstore backends in rados/perf.

Fixes: https://tracker.ceph.com/issues/47119
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 09:45:49 -07:00
Kefu Chai
103fd4af21
Merge pull request #36760 from tchaikov/wip-qa-optional-args
qa/tasks/workunit: allow passing optional args to workunit

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-08-24 20:03:04 +08:00
Lenz Grimmer
2d29c1434c
Merge pull request #36677 from bk201/wip-46986
mgr/dashboard: adjust cross button color in table filter chips

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-08-24 13:34:50 +02:00
Varsha Rao
f56a83f806 qa/tasks/nfs: Test mounting of export created with nfs command
Fixes: https://tracker.ceph.com/issues/46989
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-08-24 17:04:45 +05:30
Varsha Rao
5d6742b6b4 qa/tasks/nfs: Add helper method to check nfs cluster status
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-08-24 17:04:40 +05:30
Varsha Rao
e94a250cb0 qa/tasks/nfs: Cleanup created filesystem
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-08-24 17:00:42 +05:30
Varsha Rao
91e89a4df5 qa/tasks/nfs: Remove unused port status function and 'stdin' keyword argument
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-08-24 17:00:42 +05:30
Kefu Chai
34f739cd37
Merge pull request #36737 from tchaikov/wip-crimson-more-ops
crimson/osd: implement append and omap-clear ops

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-08-24 19:28:35 +08:00
Lenz Grimmer
976930174a
Merge pull request #36347 from rhcs-dashboard/wip-40767-master
mgr/dashboard: Placeholders for Documenting REST API

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-08-24 13:22:08 +02:00
Sebastian Wagner
1a8135453e
Merge pull request #36765 from sebastian-philipp/man-cephadm-list-no-detail
doc/man/cephadm: Add missing parameters for `ls`

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
2020-08-24 12:25:39 +02:00
Kefu Chai
76576536da crimson/os/cyanstore: handle OP_RMATTR
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-24 17:51:32 +08:00
Kefu Chai
c7f92d9a8c crimson/osd: avoid creating a throw-away object
for better readabilty and performnce

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-24 17:51:32 +08:00
Kefu Chai
735a880152 crimson/osd: implement rm-xattr op
it is tested by test_rados.py:TestIoctx.test_xattrs_op, so let's
support this op in crimson as well.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-24 17:51:32 +08:00
Kefu Chai
e824d484bb crimson/osd: check for DNE object and return ENOENT in read ops
* omap_get_keys()
  this change addresses the failure of
  test_rados.py:TestIoctx.test_get_omap_keys
* omap_get_vals_by_keys()
  this change addresses the failure of
  test_rados.py:TestIoctx.test_get_omap_vals_by_keys
* read()
  this change addresses the failure of
  test_rados.py:TestIoctx.test_write_ops

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-24 17:51:32 +08:00