Commit Graph

109919 Commits

Author SHA1 Message Date
Goutham Pacha Ravi
e3d7916ba2 doc: fix broken link for cephfs kernel recommendations
Content was moved around in commit c74a261e5b, this
commit updates the name of the file that contains the
kernel recommendations for cephfs users.

Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-01 17:16:58 -07:00
Sebastian Wagner
f9c76200d4
Merge pull request #34290 from sebastian-philipp/doc-cephadm-service-spec
doc/mgr/orchestrator: Add "Service Specification"

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-04-02 00:31:14 +02:00
Casey Bodley
3f2023ec77
Merge pull request #34322 from cbodley/wip-44857
rgw: pubsub sync module ignores ERR_USER_EXIST

Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
2020-04-01 14:25:00 -04:00
Mykola Golub
3cd90d751b
Merge pull request #34134 from zhangdaolong/fix_incorrect_log_info
pybind/rbd: fix no lockers are obtained, ImageNotFound exception will be output
2020-04-01 21:01:23 +03:00
Sage Weil
94e5fc5e5f Merge PR #34320 into master
* refs/pull/34320/head:
	cephadm: ceph-volume: disallow concurrent execution

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-04-01 10:58:57 -05:00
Casey Bodley
ba104805fc
Merge pull request #34096 from smanjara/wip-dynamic-resharding
rgw: groundwork for supporting dynamic resharding in multisite environment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-04-01 11:55:06 -04:00
Kefu Chai
a01b4df3f2
Merge pull request #34345 from tchaikov/wip-crimson-less-chatty
crimson: do not warn() under expected circumstances

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-04-01 20:31:52 +08:00
Kefu Chai
36448b5628 crimson/osd: do not use "warn()" when handling non-error
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-01 20:01:16 +08:00
Kefu Chai
a84be33461 crimson/mon: do not print error log at seeing unknown connection
it happens if a client or an peer osd drops the connection, so it's not
an error and hence we should not print this error message using
"error()".

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-01 20:01:15 +08:00
Jan Fajerski
748d3d444f
Merge pull request #34341 from guits/update_cv_deploy
ceph-volume: update functional testing deploy.yml playbook
2020-04-01 13:26:59 +02:00
Kefu Chai
b144ef3d1f
Merge pull request #34331 from zealoussnow/wip-fix-clone-error
test/common/unittest_blkdev: delete unused test file

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-01 19:23:54 +08:00
Leo Zhang
f2de1dc442 unittest_blkdev: delete unused test file
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2020-04-01 18:57:52 +08:00
Sebastian Wagner
b740ae12e5 doc/mgr/orchestrator: Update Placement by pattern matching
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-01 11:34:18 +02:00
Sebastian Wagner
8d4487527e doc/cephadm/drivegroup: Don't introduce DriveGroups
We already have a name for it: a Service Specification of
type `osd`. We don't need to introduce a new name for it.

Well, they are "DriveGroups", but users don't need to know it.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-01 11:34:18 +02:00
Sebastian Wagner
f5e3e60e0e doc/cephadm/drivegroups: Update to new yaml
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-01 11:34:18 +02:00
Sebastian Wagner
bc162005a9 doc/mgr/orchestrator: use yaml syntax highlighting
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-01 11:34:18 +02:00
Sebastian Wagner
0c6759750a doc/mgr/orchestrator: Add "Service Specification"
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-01 11:34:18 +02:00
Guillaume Abrioux
5bf7cc87ec ceph-volume: update functional testing deploy.yml playbook
This commit adds a call to `ceph-facts` role in the first play of this
playbook. This is needed so `ceph-validate` won't fail because of
following error:

```
fatal: [osd0]: FAILED! => {}

MSG:

'osd_pool_default_size' is undefined
```

`osd_pool_default_size` is set in ceph-facts.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-04-01 11:32:40 +02:00
zhangdaolong
a183aac978 pybind/rbd: fix no lockers are obtained, ImageNotFound exception will be output
No lockers are obtained, ImageNotFound exception will be output,
but tht image is always exist.when lockers number is zero,
Should not output any exceptions。

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

Signed-off-by: zhangdaolong <zhangdaolong@fiberhome.com>
2020-04-01 16:48:51 +08:00
Laura Paduano
4d5fa9317d
Merge pull request #34232 from bk201/wip-44743
qa/tasks/mgr/dashboard/test_rbd: wait longer when purging

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-04-01 10:15:41 +02:00
Shilpa Jagannath
d6b1e6b768 modified get_target_shard_id() to take bucket_index_normal_layout directly
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2020-04-01 11:18:09 +05:30
Casey Bodley
768c9f3839 rgw: pubsub sync module ignores ERR_USER_EXIST
otherwise, this error gets returned by RGWPSDataSyncModule::start_sync()
and data sync fails to start

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-03-31 16:49:43 -04:00
Yuri Weinstein
fb99112ba3
Merge pull request #34291 from dillaman/wip-44814
librbd: fix client backwards compatibility issues
2020-03-31 07:44:31 -07:00
Sebastian Wagner
7ff5d89dcb
Merge pull request #34295 from sebastian-philipp/raise-for-invalid-dg
python-common: raise on empty drive selections

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-03-31 15:25:25 +02:00
Sage Weil
eae20a7073 cephadm: ceph-volume: disallow concurrent execution
Fixes: https://tracker.ceph.com/issues/44820
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-31 08:16:25 -05:00
Lenz Grimmer
d72de4b7df
Merge pull request #34026 from votdev/issue_44539_shorten_container_id
mgr/dashboard: shorten `Container ID` and `Container image ID` in Services page

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-03-31 15:01:37 +02:00
Kiefer Chang
1c3d6539d9
qa/tasks/mgr/dashboard/test_rbd: wait longer when purging
Fixes: https://tracker.ceph.com/issues/44743
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Co-authored-by: Kefu Chai <kefu@redhat.com>
Co-authored-by: Volker Theile <vtheile@suse.com>
2020-03-31 19:48:58 +08:00
Shilpa Jagannath
197a141d05 Removed redundant encoding of layout.* and adjusted the corresponding decoding
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2020-03-31 16:48:19 +05:30
Shilpa Jagannath
c7157a655f Moved ostream operator overloading to BucketIndexType() to rgw_bucket_layout header file
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2020-03-31 16:43:12 +05:30
Volker Theile
ed51f8039a mgr/dashboard: shorten Container ID and Container image ID in Services page
Fixes: https://tracker.ceph.com/issues/44539

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-03-31 11:13:41 +02:00
Kefu Chai
558853be66
Merge pull request #34259 from rzarzynski/wip-crimson-fix-bad-methods
crimson/osd: fix method's flag handling on CEPH_OSD_OP_CALL.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-31 17:04:49 +08:00
Kefu Chai
481248edb4
Merge pull request #34305 from tchaikov/wip-crimson-stddev
test/crimson: increase variance of stdev to 0.20

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-03-31 15:49:57 +08:00
Gregory Farnum
2d62a20112
Merge pull request #34167 from javacruft/32bit-fixes-march
mds: resolve type mismatches on 32 bit archs

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2020-03-30 23:54:30 -07:00
Kefu Chai
f2d162d54b test/crimson: increase variance of stdev to 0.20
per Mark Nelson,

> yeah, 5% variation is way too low
> Sometimes we can stay within 5%, but especially if we are pushing the
> system hard we can see closer to 10-20% sometimes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-31 12:24:06 +08:00
Jason Dillaman
42e60584d4
Merge pull request #34112 from trociny/wip-44610
pybind/rbd: ensure image is open before permitting operations

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-03-30 20:50:44 -04:00
Jason Dillaman
d45de978d1
Merge pull request #34019 from changchengx/blockguard
librbd: refine BlockGuard debug output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-03-30 20:49:48 -04:00
Sage Weil
5a516db38f Merge PR #34150 into master
* refs/pull/34150/head:
	cephadm: rm-cluster clean up /etc/ceph

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-30 15:22:32 -05:00
Sebastian Wagner
874ba5049a python-common: raise on emtpy drive groups
adds a test for https://tracker.ceph.com/issues/44758

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-30 19:51:31 +02:00
Jason Dillaman
d1a67c3bda librbd: re-add support for nautilus clients talking to jewel clusters
We want to support N - 3 client backward compatibility (special case
to support Jewel since it was a LTS release). The "get_snapshot_timestamp"
cls method does not exist in Jewel clusters so librbd should fallback
to excluding the op if it fails.

Note that this N - 3 also needs to apply for downstream releases as well,
which implies we still need Jewel for the time being.

Fixes: http://tracker.ceph.com/issues/39450
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c644121820)

Conflicts:
	src/test/librbd/image/test_mock_RefreshRequest.cc: tweaked to support pool configs
2020-03-30 11:37:12 -04:00
Jason Dillaman
ab720d4c00 librbd: ignore -EOPNOTSUPP errors when retrieving image group membership
The Luminous release did not support adding images to a group (it only
included the bare-minimum support for creating groups). Commit f76df32666
incorrectly dropped support for ignoring this possible failure. This
prevents Nautilus-release clients from opening images contained within
a Luminous-release cluster.

Fixes: http://tracker.ceph.com/issues/38834
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6f29dc69a0)
2020-03-30 11:20:21 -04:00
Casey Bodley
c52cbe212f
Merge pull request #34253 from cbodley/wip-qa-rgw-too-many-shards
qa/rgw: remove 1999-shard tests from rgw/verify

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2020-03-30 10:06:11 -04:00
Casey Bodley
308b6c2c0f
Merge pull request #33557 from yuvalif/add_2pc_cls_queue
cls/queue: add 2-phase-commit queue implementation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-03-30 09:49:19 -04:00
Casey Bodley
804dc5d064
Merge pull request #33933 from cbodley/wip-rgw-doc-reshard-v2
doc/rgw: update multisite reshard design for cross-datalog-shard coordination

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-03-30 09:38:40 -04:00
Sage Weil
07d9231ffb Merge PR #34260 into master
* refs/pull/34260/head:
	Revert "Merge PR #34091 into master"

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-30 08:36:44 -05:00
Sage Weil
803f05f254 Merge PR #34248 into master
* refs/pull/34248/head:
	qa/tasks/cephadm: no need to explicitly reconfig
	qa/tasks/cephadm: fetch final ceph.conf
	qa/tasks/cephadm: distribute ceph.conf and admin keyring to all nodes

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-30 08:24:59 -05:00
Sage Weil
4f4efde17a Merge PR #34266 into master
* refs/pull/34266/head:
	mgr/DaemonServer: fetch metadata for new daemons (e.g., mons)

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-03-30 08:24:47 -05:00
Shilpa Jagannath
0a15f54803 rgw: replace RGWBucketInfo's sharding-related fields with BucketLayout
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2020-03-30 16:31:24 +05:30
Casey Bodley
60af77262a rgw: add BucketLayout to RGWBucketInfo
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-03-30 16:31:24 +05:30
Casey Bodley
d6686816b7 rgw: use qualified encode/decode in putobj processor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-03-30 16:31:24 +05:30
Laura Paduano
8e64da5334
Merge pull request #34279 from votdev/issue_44805
mgr/dashboard: 'Prometheus / All Alerts' page shows progress bar

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-03-30 11:58:26 +02:00