Kefu Chai
659b09a04d
Merge pull request #33435 from tchaikov/wip-viva-la-module
...
deb,rpm,doc: s/plugin/module/
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-02-21 19:38:33 +08:00
Kefu Chai
ed8d911031
Merge pull request #33422 from tchaikov/wip-ceph-mgr-essentials
...
rpm,deb: package always-enabled plugins in a separated package
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-21 19:34:31 +08:00
Sebastian Wagner
9a858cd2a8
Merge pull request #33088 from liewegas/wip-cephadm-doc
...
doc/bootstrap: add mds and rgw steps to bootstrap
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-21 11:37:48 +01:00
Kefu Chai
c2af2cbd82
Merge pull request #33453 from tchaikov/wip-seastar
...
seastar: pickup change to add pthread linkage
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-02-21 16:15:49 +08:00
Kefu Chai
5975841673
Merge pull request #33452 from tchaikov/wip-docker-centos8
...
test: remove Dockerfile for centos7 and add Dockerfile for centos8
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-02-21 14:23:04 +08:00
Kefu Chai
08b54b56e4
cmake: drop Threads::Threads linkage from libcrimson
...
since seastar is now linked against pthread by itself.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-21 14:10:20 +08:00
Kefu Chai
c3cbc2501f
seastar: pickup change to add pthread linkage
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-21 14:07:52 +08:00
Kefu Chai
425a00a156
test/centos-8: change to adapt to centos8
...
for more context, see
https://github.com/CentOS/sig-cloud-instance-images/issues/22
https://wiki.centos.org/AdditionalResources/Repositories/CR
https://fedoraproject.org/wiki/EPEL
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-21 12:52:21 +08:00
Kefu Chai
8c044f7552
test/centos-8: add centos8 Dockerfile
...
and drop centos-7 Dockerfile, as we've moved over centos8 for better
python3 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-21 12:46:37 +08:00
Sage Weil
155d1339b6
Merge PR #33441 into master
...
* refs/pull/33441/head:
mgr/orchestrator: add ability to parse placementspec from strings
mgr/volumes: add arg to fs volume create for mds daemons placement
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-20 21:40:45 -06:00
Sage Weil
3e5c1f8465
Merge PR #33443 into master
...
* refs/pull/33443/head:
cephadm: prepare-host: do not create Packager unless we need it
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-20 21:40:34 -06:00
Sage Weil
bb1b96d50d
Merge PR #33445 into master
...
* refs/pull/33445/head:
cephadm: fix adoption safety check
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-02-20 21:40:23 -06:00
Sage Weil
eb55a568d7
Merge PR #33446 into master
...
* refs/pull/33446/head:
cephadm: pull: strip newline from version string
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-02-20 21:40:13 -06:00
Jason Dillaman
4d464f7ae6
Merge pull request #32882 from trociny/wip-41559-2
...
rbd: add 'mirror snapshot schedule' commands
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-20 22:12:34 -05:00
Sage Weil
ab57d6f372
Merge PR #33450 into master
...
* refs/pull/33450/head:
doc: add CephFS Octopus release notes
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-20 21:10:46 -06:00
Jason Dillaman
dba40bb01d
Merge pull request #33368 from trociny/wip-44161
...
rbd-mirror: don't expect image map is always initialized
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-20 22:09:34 -05:00
Jason Dillaman
614d62cf5c
Merge pull request #33411 from trociny/wip-44159
...
rbd-mirror: improve detection of blacklisted state
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-20 22:08:33 -05:00
Sage Weil
24f4094b73
Merge PR #33426 into master
...
* refs/pull/33426/head:
mgr/dashboard: fix tasks.mgr.dashboard.test_rgw suite
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-20 20:01:55 -06:00
Patrick Donnelly
6342de27f7
doc: add CephFS Octopus release notes
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-20 17:47:14 -08:00
Sage Weil
19bbad7c33
cephadm: fix adoption safety check
...
The 'type' file is only required for *osds*.
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-20 17:24:57 -06:00
Sage Weil
e37792205c
cephadm: pull: strip newline from version string
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-20 17:18:14 -06:00
Sage Weil
4f13a52b75
Merge PR #33437 into master
...
* refs/pull/33437/head:
cephadm: allow multiple get_parm() calls
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-20 16:50:51 -06:00
Daniel-Pivonka
bf20436244
mgr/orchestrator: add ability to parse placementspec from strings
...
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
2020-02-20 14:46:24 -05:00
Daniel-Pivonka
2fe4f88ba0
mgr/volumes: add arg to fs volume create for mds daemons placement
...
add placement arg for mds daemons created by fs volume create
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
2020-02-20 14:46:17 -05:00
Sage Weil
e9fc46166d
cephadm: prepare-host: do not create Packager unless we need it
...
Otherwise, bootstrap may fail on an unrecognized/unsupported distro even
though all the dependencies are present.
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-20 13:20:44 -06:00
J. Eric Ivancich
46fd0a3646
Merge pull request #31338 from ivancich/wip-clean-up-ordered-list
...
rgw: clean up ordered list
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-02-20 14:06:23 -05:00
Nathan Cutler
60b6b7a64c
Merge pull request #33338 from smithfarm/wip-qa-cephadm-smoke-opensuse
...
qa/cephadm/smoke: run on opensuse_15.1
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-20 18:03:52 +01:00
Nathan Cutler
652243e71e
qa/cephadm: "ls -l" cephadm after downloading it
...
For better debugging when the download goes awry.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-02-20 17:26:07 +01:00
Mykola Golub
8fe22f22f3
rbd: add 'mirror snapshot schedule' commands
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-02-20 16:24:28 +00:00
Mykola Golub
a763c0eada
mgr/rbd_support: rename 'dump' command to 'list'
...
and remove the old 'list' command -- we can live with one command.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-02-20 16:24:28 +00:00
Nathan Cutler
a0dd01bc5e
qa/cephadm.py: better check for cephadm download success
...
When the URL passed to "curl --silent ..." does not exist, the
resulting file will be populated with the string:
404: Not Found
If that (or something similar) happens, the file size will be
suspiciously low, like < 1000 bytes. Fail the test immediately in this
case.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-02-20 17:22:20 +01:00
Nathan Cutler
dcbdb28317
qa/tasks/cephadm.py: lop off .git more robustly
...
The line
rest.replace('.git/', '/')
was added to accommodate weird folks who run teuthology-suite
with an option like this:
--suite-repo https://github.com/ceph/ceph.git/
but they might just as well give the option like this:
--suite-repo https://github.com/ceph/ceph.git
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-02-20 17:22:17 +01:00
Sage Weil
493515e196
cephadm: allow multiple get_parm() calls
...
This fixes deployment of monitoring components when the config-json is
passed via stdin.
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-20 10:03:24 -06:00
Matt Benjamin
69d2aa1960
Merge pull request #31994 from pritha-srivastava/wip-rgw-assume-role-web-id-doc
...
rgw: adding documentation for AssumeRoleWithWebIdentity.
2020-02-20 10:58:07 -05:00
Mykola Golub
84ec26d0e4
mgr/rbd_support: return 'rbd mirror snapshot schedule status' as json
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-02-20 15:41:21 +00:00
Kefu Chai
27550242d4
doc/mgr/dashboard.rst: s/plugin/module/
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-20 22:15:54 +08:00
Kefu Chai
44df72357c
rpm,deb: s/plugin/module/
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-20 22:15:54 +08:00
Kefu Chai
589626464d
rpm,deb: package always-enabled plugins in a separated package
...
ceph-mgr depends on it in the sense that these plugins are
a hard dependency of ceph-mgr. like cmake depends on cmake-data,
even if the later cannot function on its own without the former.
the reason why we need a separated package is that mgr modules
are written in python, and should be arch independent. this change
helps the downstream to understand this and help to minimize the
divergence between upstream and downstream, because distros like
debian and its derivatives encourage splitting architecture independent
data into its own package.
see
https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#architecture-independent-data
also, the python related runtime dependencies are also moved into
ceph-mgr-modules-core.
if a python dependency is shared by another ceph-mgr-* package and
ceph-mgr-modules-core. it's only added to ceph-mgr-modules-core for
simplicity and consistency. as the name of dependency might vary
on different distros, so it's tedious and error-prone to repeat
these conditons and checks.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-20 22:00:37 +08:00
Mykola Golub
b2e825debc
Merge pull request #33166 from dillaman/wip-43936
...
rbd-mirror: initial snapshot replay state machine
Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-02-20 15:53:56 +02:00
Kefu Chai
6cfd31cdbb
ceph.spec.in: update to adapt to el7
...
make sure ceph-mgr installs on el7
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-20 21:49:05 +08:00
Kefu Chai
e8bb2e6b83
Merge pull request #33425 from tchaikov/wip-crimson-watcher
...
crimson/osd: capture watcher when calling its member function
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-02-20 19:11:46 +08:00
Kefu Chai
7c23240232
Merge pull request #33423 from tchaikov/wip-doc-search
...
doc: fix errors in "search" page and use relative address for releases.json
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-02-20 19:09:34 +08:00
Nathan Cutler
9c238af442
qa/cephadm/smoke: run on opensuse_15.1
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-02-20 11:50:29 +01:00
Nathan Cutler
fbfb39d91f
qa/distros: add opensuse_15.2.yaml
...
We don't have a FOG image for this, yet, and Shaman is not building for
it (yet), either, but we might as well get this file in place now, since
we already know it will be needed at some point.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-02-20 11:50:28 +01:00
Nathan Cutler
18cdd8f13d
qa/distros: drop obsolete opensuse distros
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-02-20 11:50:28 +01:00
Sébastien Han
c0171f57d0
Merge pull request #33371 from leseb/raw-list
...
ceph-volume: silence 'ceph-bluestore-tool' failures
2020-02-20 11:41:01 +01:00
Lenz Grimmer
0ef8f1ec19
Merge pull request #33407 from rhcs-dashboard/coverage-venv-python-version
...
mgr/dashboard: coverage venv python version same as mgr
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-02-20 10:15:02 +00:00
Alfonso Martínez
7cbee4d725
mgr/dashboard: fix tasks.mgr.dashboard.test_rgw suite
...
Fixes: https://tracker.ceph.com/issues/44201
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2020-02-20 10:47:38 +01:00
Kefu Chai
18ce15ab5e
crimson/osd: capture watcher when calling its member function
...
otherwise the extracted node handler will be destroyed, and so does the
watcher enclosed in it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-20 16:09:22 +08:00
Kefu Chai
26a48b36f7
doc: do not use absolute address
...
use relative address instead, to ease the pain when testing.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-20 14:44:11 +08:00