Commit Graph

109942 Commits

Author SHA1 Message Date
Kefu Chai
8f7fae7a78 cmake: add find_make() function
it's a shorthand for finding "make" or "gmake" (for FreeBSD), and set
the path to the executable and the command to use in the generated
"Makefile" or whatever build script generated by cmake.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-03 13:07:51 +08:00
Sebastian Wagner
4c2ace69cd
Merge pull request #34330 from mgfritch/cephadm-nfs-extra-args
cephadm: add `extra_args` to nfs daemon

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
2020-04-02 20:02:46 +02:00
Sebastian Wagner
85ffae018e
Merge pull request #34361 from mgfritch/cephadm-revert-nfs-trivial
mgr/cephadm: revert trivial_completion for nfs_add

Reviewed-by: Matthew Oliver <moliver@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-02 18:05:19 +02:00
Sebastian Wagner
de4ca87f61
Merge pull request #34329 from liewegas/cephadm-bootstrap-typo
cephadm: fix typo

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-02 18:02:51 +02:00
Laura Paduano
9600b87aa6
Merge pull request #34283 from tspmelo/wip-reduce-scss
mgr/dashboard: Reduce size of component styles 

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-04-02 16:51:57 +02:00
Casey Bodley
e8811a0cfc
Merge pull request #33807 from ofriedma/wip-disable-range-prefetch
rgw: Disable prefetch of entire head object when GET request with ran…

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-04-02 10:46:27 -04:00
Lenz Grimmer
d001e6e94f
Merge pull request #34312 from tspmelo/wip-improve-unit-test
mgr/dashboard: Fix ServiceDetails and PoolDetails unit tests

Reviewed-by: Stephan Müller <smueller@suse.com>
2020-04-02 15:02:50 +02:00
Sebastian Wagner
c0e86510f6
Merge pull request #34206 from sebastian-philipp/cephadm-hostname-check-lowercase
cephadm: check hostnames case insensitive

Reviewed-by: Sage Weil <sage@redhat.com>
2020-04-02 14:27:30 +02:00
Sebastian Wagner
4e3889202c
Merge pull request #34250 from Daniel-Pivonka/cephadm_python3
mgr/cephadm: add useful error if python3 is not on remote host

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-02 14:26:43 +02:00
Sebastian Wagner
232900a61d
Merge pull request #33954 from jschmid1/parse_hostsspecs
python-common: fix /hosts/ parsing in servicespecs

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-02 14:25:54 +02:00
Lenz Grimmer
e0f3205683
Merge pull request #34033 from rhcs-dashboard/44666-fix-sso-certificate-file
mgr/dashboard: fix error when enabling SSO with cert. file

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-04-02 13:38:21 +02:00
Michael Fritch
ea263ad958
mgr/cephadm: revert trivial_completion for nfs_add
revert change that was missed in af8fa11

Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-04-01 21:14:54 -06:00
Kefu Chai
b2d160468f
Merge pull request #34324 from rzarzynski/wip-crimson-returnvec
crimson/osd: OP_CALL does support RETURNVEC now.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-02 08:29:35 +08: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
Radoslaw Zarzynski
3bea0ffec1 crimson/osd: OP_CALL does support RETURNVEC now.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-04-01 15:34:29 +02: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
Michael Fritch
246a80af7a
cephadm: add extra_args to nfs daemon
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-31 17:39:03 -06:00
Sage Weil
b225bd4a9e cephadm: fix typo
This has been bugging me

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-31 18:06:46 -05:00
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
Joshua Schmid
04f0d3395c python-common: add pyyaml to requirements file
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-03-31 15:28:30 +02:00
Joshua Schmid
494728c5dc python-common: python-common: fix /hosts/ parsing in servicespecs
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-03-31 15:28:05 +02: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
Tiago Melo
d7e7d2b09e mgr/dashboard: Fix ServiceDetails and PoolDetails unit tests
While testing the upgrade to Angular 9,
these 2 unit tests were consistently failling.

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-03-31 09:59:36 +00:00
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