]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Wed, 8 Apr 2020 01:57:04 +0000 (09:57 +0800)]
Merge pull request #34369 from smithfarm/wip-43895
cmake: really stop at top of source code tree
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 8 Apr 2020 01:56:24 +0000 (09:56 +0800)]
Merge pull request #34383 from matthewoliver/older-tox
tox: Fix the tox.ini's to support older versions of tox
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Wed, 8 Apr 2020 01:54:33 +0000 (09:54 +0800)]
Merge pull request #34427 from smithfarm/wip-44964
spec: address some warnings raised by RPM 4.15.1
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 8 Apr 2020 01:53:32 +0000 (09:53 +0800)]
Merge pull request #33945 from rishabh-d-dave/fs-qa-vstart_runner.LocalRemote.sh
qa/vstart_runner: update vstart_runner.LocalRemote.sh
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Yuri Weinstein [Wed, 8 Apr 2020 00:29:05 +0000 (17:29 -0700)]
Merge pull request #34456 from ceph/wip-crontab-master
qa/tests: removed ceph-deploy from master and octopus (ceph-deploy is…
yuriw [Tue, 7 Apr 2020 23:47:56 +0000 (16:47 -0700)]
qa/tests: removed ceph-deploy from master and octopus (ceph-deploy isn't written to run on el8)
Signed-off-by: yuriw <yuri.weinstein@gmail.com>
Sebastian Wagner [Tue, 7 Apr 2020 22:01:59 +0000 (00:01 +0200)]
Merge pull request #34439 from jschmid1/osdspec_encrypted_docs
docs/cephadm: <encrypted> is a global flag
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 7 Apr 2020 21:49:06 +0000 (23:49 +0200)]
Merge pull request #34053 from matthewoliver/iscsi-cephadm
cephadm: Add ceph-iscsi
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 7 Apr 2020 21:48:32 +0000 (23:48 +0200)]
Merge pull request #34357 from mgfritch/mgr-orch-test-warn
mgr/orch: fix python3 DeprecationWarning
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Lenz Grimmer [Tue, 7 Apr 2020 13:54:39 +0000 (15:54 +0200)]
Merge pull request #34396 from tspmelo/wip-npm-hacking
mgr/dashboard: Update HACKING.rst
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Jan Fajerski [Tue, 7 Apr 2020 13:37:09 +0000 (15:37 +0200)]
Merge pull request #34412 from jan--f/c-v-fix-simple-scan-log-string
devices/simple/scan: Fix string in log statement
Joshua Schmid [Tue, 7 Apr 2020 09:50:25 +0000 (11:50 +0200)]
doc/cephadm: <encrypted> is a global flag
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Sebastian Wagner [Tue, 7 Apr 2020 09:59:00 +0000 (11:59 +0200)]
Merge pull request #34406 from liewegas/fix-cephadm-upgrade-start
qa/suites/rados/cephadm/upgrade: start from v15.2.0
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Brad Hubbard [Mon, 6 Apr 2020 22:14:03 +0000 (08:14 +1000)]
Merge pull request #34310 from badone/wip-restful-api-dont-pass-empty-dict-to-get
qa/suites/rados/rest: don't pass empty dict as data arg
Reviewed-by: Sage Weil <sage@redhat.com>
Brad Hubbard [Mon, 6 Apr 2020 21:44:30 +0000 (07:44 +1000)]
Merge pull request #34302 from badone/wip-specify-rule-for-pool-creation
Wip specify rule for pool creation
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Nathan Cutler [Mon, 6 Apr 2020 21:00:43 +0000 (23:00 +0200)]
ceph.spec.in: remove extra tokens at end of %endif directive
RPM 4.15.1 warns: extra tokens at the end of %endif directive
Heed the warning.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 6 Apr 2020 20:59:51 +0000 (22:59 +0200)]
ceph.spec.in: version an Obsoletes
RPM 4.15.1 warns: It's not recommended to have unversioned Obsoletes.
Heed the warning.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Volker Theile [Mon, 6 Apr 2020 12:17:17 +0000 (14:17 +0200)]
Merge pull request #34239 from p-se/wip-pse-fix-false-root-vol-full-alert
monitoring: root volume full alert fires false positives
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Mon, 6 Apr 2020 08:55:20 +0000 (10:55 +0200)]
Merge pull request #34240 from krig/grafana-dashboards-fixes
mgr/dashboard: Repair broken grafana panels
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Jan Fajerski [Mon, 6 Apr 2020 08:51:27 +0000 (10:51 +0200)]
devices/simple/scan: Fix string in log statement
A multiline string enclosed by () gained a comma, making it into a
tuple, which has no format() method.
Fixes: https://tracker.ceph.com/issues/44949
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Tiago Melo [Fri, 3 Apr 2020 11:34:54 +0000 (11:34 +0000)]
mgr/dashboard: Update HACKING.rst
This will update information regarding npm.
Fixes: https://tracker.ceph.com/issues/44927
Signed-off-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Mon, 6 Apr 2020 07:34:38 +0000 (15:34 +0800)]
Merge pull request #34374 from sebastian-philipp/mgr-fix-tox-cephadm
pybind/mgr: Fix `run_tox.sh mgr -- cephadm`
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuval Lifshitz [Sun, 5 Apr 2020 10:50:41 +0000 (13:50 +0300)]
Merge pull request #34269 from yuvalif/fix_cls_queue_logs
cls/queue: remove error message when queue is not initialized
Jason Dillaman [Sat, 4 Apr 2020 13:46:27 +0000 (09:46 -0400)]
Merge pull request #33985 from zhengchengyao/clone_metadata
librbd: children should inherit parent's stripe
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Jason Dillaman [Sat, 4 Apr 2020 13:45:49 +0000 (09:45 -0400)]
Merge pull request #34072 from shangdehao1/fix_nfs_bug
qa/tasks/qemu: fix nfs setup and teardown bug in qemu task
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Josh Durgin [Fri, 3 Apr 2020 21:31:22 +0000 (14:31 -0700)]
Merge pull request #34371 from smithfarm/wip-43896
doc/releases/nautilus: restart OSDs to make them bind to v2 addr
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Gregory Farnum [Fri, 3 Apr 2020 19:53:29 +0000 (12:53 -0700)]
Merge pull request #31480 from ukernel/wip-20
client: auto reconnect after blacklisted
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Gregory Farnum [Fri, 3 Apr 2020 19:49:59 +0000 (12:49 -0700)]
Merge pull request #33915 from lxbsz/client_assert_failedddd
Client: fix Finisher assert failure
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Gregory Farnum [Fri, 3 Apr 2020 19:36:37 +0000 (12:36 -0700)]
Merge pull request #34386 from gregsfortytwo/wip-33279-revert-sudo
Wip 33279 revert sudo
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Gregory Farnum [Fri, 3 Apr 2020 19:33:51 +0000 (12:33 -0700)]
Merge pull request #34110 from ukernel/wip-44680
mds: don't assert empty io context list when shutting down
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Fri, 3 Apr 2020 19:29:43 +0000 (14:29 -0500)]
Merge PR #34385 into master
* refs/pull/34385/head:
doc/dev/cephadm: a few notes on developing with cephadm
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Gregory Farnum [Fri, 3 Apr 2020 19:29:19 +0000 (12:29 -0700)]
Merge pull request #34281 from vshankar/wip-44677
mgr: force purge normal ceph entities from service map
Reviewed-by: Kefu Chai <kchai@redhat.com>
Gregory Farnum [Fri, 3 Apr 2020 19:28:30 +0000 (12:28 -0700)]
Merge pull request #34306 from ukernel/wip-44771
ceph-fuse: don't get mount options from /etc/fstab when doing remount
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Fri, 3 Apr 2020 19:16:21 +0000 (14:16 -0500)]
Merge PR #34296 into master
* refs/pull/34296/head:
qa/suites/rados/cephadm/smoke-roleless: add smoke test
qa/tasks/cephadm: add 'roleless' mode
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Fri, 3 Apr 2020 19:16:00 +0000 (14:16 -0500)]
Merge PR #34384 into master
* refs/pull/34384/head:
cephadm: create /var/run/ceph dir via unit.run, not unit file
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Fri, 3 Apr 2020 19:15:01 +0000 (14:15 -0500)]
qa/suites/rados/cephadm/upgrade: start from v15.2.0
Signed-off-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Fri, 3 Apr 2020 17:19:17 +0000 (10:19 -0700)]
Merge pull request #34405 from ceph/wip-yuriw-cron-master2
qa/tests: fixed typo
yuriw [Fri, 3 Apr 2020 16:27:33 +0000 (09:27 -0700)]
qa/tests: fixed typo
Signed-off-by: yuriw <yuri.weinstein@gmail.com>
Yuri Weinstein [Fri, 3 Apr 2020 16:21:14 +0000 (09:21 -0700)]
Merge pull request #34404 from ceph/wip-yuriw-cron-master
qa/tests: added client upgrades tests for octopus, removed mimic-x/ma…
yuriw [Fri, 3 Apr 2020 15:57:28 +0000 (08:57 -0700)]
qa/tests: added client upgrades tests for octopus, removed mimic-x/masted as not needed
Signed-off-by: Yuri Weinstein <yweinstein@redhat.com>
Sage Weil [Fri, 3 Apr 2020 01:36:06 +0000 (20:36 -0500)]
doc/dev/cephadm: a few notes on developing with cephadm
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Fri, 3 Apr 2020 14:39:28 +0000 (10:39 -0400)]
Merge pull request #33502 from yison/rwl-image-writeback-cache-seq3
rbd/cache: Replicated Write Log core codes part 3
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 3 Apr 2020 14:08:08 +0000 (10:08 -0400)]
Merge pull request #34362 from tchaikov/wip-rbd-with-pmem
cmake, librbd: fix build with pmem and cleanups
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 3 Apr 2020 13:26:04 +0000 (21:26 +0800)]
Merge pull request #34332 from cyx1231st/wip-seastar-messenger-lossy-peer
crimson/net: enable features for lossy peer connections of heartbeat
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Fri, 3 Apr 2020 10:48:11 +0000 (12:48 +0200)]
Merge pull request #34319 from clyso/patch-2
doc/mgr/orchestrator: update cephadm shell proposed alias entry
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 3 Apr 2020 10:44:55 +0000 (12:44 +0200)]
Merge pull request #34318 from clyso/patch-1
doc/mgr/orchestrator: add path to ssh-copy-id instructions
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 3 Apr 2020 10:41:34 +0000 (12:41 +0200)]
Merge pull request #34367 from sebastian-philipp/codeowners-cephadm-update
CODEOWNERS: update cephadm paths
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 3 Apr 2020 09:41:02 +0000 (17:41 +0800)]
Merge pull request #34390 from tchaikov/wip-github-codeowners
.github/CODEOWNERS: add ceph/crimson
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Lenz Grimmer [Fri, 3 Apr 2020 09:14:50 +0000 (11:14 +0200)]
Merge pull request #34325 from tspmelo/wip-npm-update-20-03
mgr/dashboard: Update all npm packages
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Lenz Grimmer [Fri, 3 Apr 2020 08:45:50 +0000 (10:45 +0200)]
Merge pull request #34377 from votdev/issue_44914_rgw_debug_info
mgr/dashboard: Add more debug information to Dashboard RGW backend
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Kefu Chai [Fri, 3 Apr 2020 08:08:55 +0000 (16:08 +0800)]
Merge pull request #34333 from changchengx/mail_org_update
mailmap: update mail org relationship
Reviewed-by: Kefu Chai <kchai@redhat.com>
clyso [Tue, 31 Mar 2020 12:50:07 +0000 (14:50 +0200)]
doc/mgr/orchestrator: update cephadm shell proposed alias entry
prior change i get following error when using alias as "ceph -v":
INFO:cephadm:Inferring fsid
ecfdb924 -7341-11ea-943c-
020100010027
INFO:cephadm:Using recent ceph image ceph/ceph:v15
/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "/usr/bin/ceph -v": stat /usr/bin/ceph -v: no such file or directory": unknown.
after:
INFO:cephadm:Inferring fsid
ecfdb924 -7341-11ea-943c-
020100010027
INFO:cephadm:Using recent ceph image ceph/ceph:v15
ceph version 15.2.0 (
dc6a0b5 ) octopus (rc)
Signed-off-by: Tobias Fischer <tobias.fischer@clyso.com>
clyso [Tue, 31 Mar 2020 12:48:05 +0000 (14:48 +0200)]
doc/mgr/orchestrator: add path to ssh-copy-id instructions
by default ssh key will be placed under /etc/ceph - so it should be included in examples
Signed-off-by: Tobias Fischer <tobias.fischer@clyso.com>
Lenz Grimmer [Fri, 3 Apr 2020 07:48:33 +0000 (09:48 +0200)]
Merge pull request #34227 from p-se/wip-pse-fix-alert-space-prediction
monitoring: alert for prediction of disk and pool fill up broken
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Fri, 3 Apr 2020 06:58:29 +0000 (14:58 +0800)]
.github/CODEOWNERS: add ceph/crimson
so we can add reviewers in a more efficient way for crimson related
changes
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 2 Apr 2020 04:36:34 +0000 (12:36 +0800)]
cmake: specify CC when compiling pmem
make always assume that `cc` is available. but we cannot ensure this,
and furthermore, we need to use the compiler specified by user. so
specify `CC` variable when compiling pmem. and reindent the code to fix
the formatting.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 2 Apr 2020 04:22:54 +0000 (12:22 +0800)]
librbd/cache: undefine dout_subsys before defining it
otherwise we could have following warning from compiler
```
In file included from ../src/test/librbd/cache/test_mock_ReplicatedWriteLog.cc:42:
../src/librbd/cache/ImageWriteback.cc:13: warning: "dout_subsys" redefined
13 | #define dout_subsys ceph_subsys_rbd
|
In file included from ../src/test/librbd/cache/test_mock_ReplicatedWriteLog.cc:39:
../src/librbd/cache/ReplicatedWriteLog.cc:23: note: this is the location of the previous definition
23 | #define dout_subsys ceph_subsys_rbd_rwl
|
In file included from ../src/test/librbd/cache/test_mock_ReplicatedWriteLog.cc:43:
../src/librbd/cache/rwl/ImageCacheState.cc:12: warning: "dout_subsys" redefined
12 | #define dout_subsys ceph_subsys_rbd_rwl
|
In file included from ../src/test/librbd/cache/test_mock_ReplicatedWriteLog.cc:42:
../src/librbd/cache/ImageWriteback.cc:13: note: this is the location of the previous definition
13 | #define dout_subsys ceph_subsys_rbd
|
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 2 Apr 2020 04:19:50 +0000 (12:19 +0800)]
cmake: expose pmem::pmemobj from rbd_internal
because `librbd/cache/rwl/Types.h` includes `libpmemobj.h`, without this
change, `cache/test_mock_ReplicatedWriteLog.cc` will fail to compile as
`libpmemobj.h` might not exist in the default directories compile search
for header files. and hence we could have following failure
```
ceph/src/test/librbd/cache/test_mock_ReplicatedWriteLog.cc:11:
86 /root/luyuan/community/github/ceph/src/librbd/cache/rwl/Types.h:8:10: fatal error: libpmemobj.h: No such file or directory
87 8 | #include <libpmemobj.h>
88 | ^~~~~~~~~~~~~~
89 compilation terminated.
90 src/test/librbd/CMakeFiles/unittest_librbd.dir/build.make:1814: recipe for target 'src/test/librbd/CMakeFiles/unittest_librbd.dir/cache/test_mock_ReplicatedWriteLog.cc.o' failed
91 make[3]: *** [src/test/librbd/CMakeFiles/unittest_librbd.dir/cache/test_mock_ReplicatedWriteLog.cc.o] Error 1
92 make[3]: *** Waiting for unfinished jobs....
93 CMakeFiles/Makefile2:20379: recipe for target 'src/test/librbd/CMakeFiles/unittest_librbd.dir/all' failed
94 make[2]: *** [src/test/librbd/CMakeFiles/unittest_librbd.dir/all] Error 2
95 CMakeFiles/Makefile2:20391: recipe for target 'src/test/librbd/CMakeFiles/unittest_librbd.dir/rule' failed
96 make[1]: *** [src/test/librbd/CMakeFiles/unittest_librbd.dir/rule] Error 2
97 Makefile:5375: recipe for target 'unittest_librbd' failed
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 2 Apr 2020 04:15:21 +0000 (12:15 +0800)]
cmake: do not use $(MAKE) in Buildpmem.cmake
we cannot assume that we are using `make` as the cmake generatator,
for instance, if ninja is used, `$(MAKE)` won't be substituted by ninja.
so we need to check if Make is used as generator, if that's the case, we
can just use `$(MAKE)` so we can benefit from the job control of `make`,
otherwise, `make` is used, because currently, PMDK uses Makefile to
build.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 3 Apr 2020 04:39:16 +0000 (12:39 +0800)]
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>
Nathan Cutler [Thu, 2 Apr 2020 10:02:37 +0000 (12:02 +0200)]
cmake: really stop at top of source code tree
Previously, we were recursing right up to /
Patch submitted by Tony Davies via https://tracker.ceph.com
Fixes: https://tracker.ceph.com/issues/43895
Signed-off-by: Tony Davies <anthony.t.davies@gmail.com>
Greg Farnum [Fri, 3 Apr 2020 01:09:21 +0000 (01:09 +0000)]
Revert "qa/cephfs: move run_shell and related methods to mount.py"
This reverts commit
751d432a8696c7fdceb9d9707c2b3331878342ea .
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Fri, 3 Apr 2020 01:09:15 +0000 (01:09 +0000)]
Revert "vstart_runner.py: add methods for negative testing a cmd"
This reverts commit
48e0e1d7030bc4167bd3151696106a51f143bdba .
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Thu, 2 Apr 2020 23:36:39 +0000 (18:36 -0500)]
cephadm: create /var/run/ceph dir via unit.run, not unit file
The systemd unit file is shared with non-ceph daemons, which (1) don't
need the /var/run directory, and (2) are based on a uid/gid from a
different container image, which means we can't figure out the right
ceph uid/gid from them to set the ownership properly.
Instead, put it in the unit.run file... and only for ceph daemons when
we have the uid/gid we need.
Fixes: https://tracker.ceph.com/issues/44894
Signed-off-by: Sage Weil <sage@redhat.com>
Matthew Oliver [Thu, 5 Mar 2020 02:55:47 +0000 (13:55 +1100)]
cephadm: ceph-iscsi first draft
This if the first draft of the ceph-iscsi in cephadm.
There are a few gotchas when running `rbd-target-api` in a container:
1. We need both the ceph.conf and iscsi-gateway.cfg, so needed to
ability to pass extra config. This latter is based off the spec, so now
the daemon config func api allows you to return a dict of configs:
{ 'config': '<str>' # will be appended to the ceph.conf
'<conf name>': 'str', # Will be dumped in datadir/<conf name>
...
}
It will be up to cephadm to know to bind mount it to the right location.
The first 'config' isn't used by this patch, but makes it possible for
specs or config funcs to append anything? maybe it's overkill.
2. We need the kernel's configfs in the container so we can configure
LIO. There is a chicken and egg problem, configfs isn't mounted on the
host to bind mount when the container starts. So now a check is added to
the `unit.run` and cleanup in the `unit.poststop` scripts for
daemon_type iscsi.
3. rbd-target-api is python and hardcodes a few things, like logging
through `/dev/log` which happens to be a domain socket. So `/dev/log`
also needed to be bind mounted into the continer.
4. The daemon expects the keyring to be in `/etc/ceph` so this needed to
be specifically bind mounted to the correct location too.
As this currently stands this is deploying and starting the api on port
5000, so seems to be "working", also gateway.conf does exist in the
pool. I have yet to set up an iscsi device, but will test that next.
The `rbd-target-api` daemon expects the ssl key and cert to be named a
certain name in the contianer. So SSL isn't working yet. However, I do
hav a PR in ceph-iscsi to look in the mon config-key store for them[0].
[0] - https://github.com/ceph/ceph-iscsi/pull/173
Signed-off-by: Matthew Oliver <moliver@suse.com>
Matthew Oliver [Thu, 2 Apr 2020 23:22:02 +0000 (23:22 +0000)]
tox: Fix the tox.ini's to support older versions of tox
The src/cephadm/tox.ini and src/pybind/mgr/tox.ini both don't run
on older versions of tox.
When using tox 2.9.1 both fail for different reasons.
`src/cephadm/tox.ini` fails because `skipsdist=true` only works if it's
directly under the `[tox]` section.
`src/pybind/mgr/tox.ini` fails because older versions of tox can't find
the requirements.txt because they don't like whitespace between the `-r`
and `requirements.txt`.
This patch changes the tox.ini's to be backwards compatible for those
who happen to be running slightly older version of tox.
Signed-off-by: Matthew Oliver <moliver@suse.com>
Sage Weil [Mon, 30 Mar 2020 18:21:12 +0000 (18:21 +0000)]
qa/suites/rados/cephadm/smoke-roleless: add smoke test
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Mar 2020 17:57:09 +0000 (17:57 +0000)]
qa/tasks/cephadm: add 'roleless' mode
Allow cephadm to start up with roles like:
roles:
- - host.a
- client.0
- osd.0
- osd.1
- - host.b
- osd.2
- osd.3
Cephadm will pick the mon names (based on host) and provision all
services by default.
The cephadm task can still provision other daemons, but it may
fight with mgr/cephadm.
Signed-off-by: Sage Weil <sage@redhat.com>
Sebastian Wagner [Thu, 2 Apr 2020 18:02:46 +0000 (20:02 +0200)]
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>
Sebastian Wagner [Thu, 2 Apr 2020 16:05:19 +0000 (18:05 +0200)]
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>
Sebastian Wagner [Thu, 2 Apr 2020 16:02:51 +0000 (18:02 +0200)]
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>
Laura Paduano [Thu, 2 Apr 2020 14:51:57 +0000 (16:51 +0200)]
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>
Casey Bodley [Thu, 2 Apr 2020 14:46:27 +0000 (10:46 -0400)]
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>
Volker Theile [Thu, 2 Apr 2020 14:01:53 +0000 (16:01 +0200)]
mgr/dashboard: Add more debug information to Dashboard RGW backend
Fixes: https://tracker.ceph.com/issues/44914
Signed-off-by: Volker Theile <vtheile@suse.com>
Tiago Melo [Tue, 31 Mar 2020 14:43:17 +0000 (14:43 +0000)]
mgr/dashboard: Update npm dependencies
ngx-bootstrap now requires BrowserAnimationsModule, so it has to be imported
in each unit test that imports ngx-bootstrap modules.
Fixes: https://tracker.ceph.com/issues/44854
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Tue, 31 Mar 2020 13:55:38 +0000 (13:55 +0000)]
mgr/dashboard: Update npm devDependencies
The following updates required code style changes:
- TSLint updated the logic of ordering imports.
- Prettier improved when to break a command chain into multiple lines.
Fixes: https://tracker.ceph.com/issues/44854
Signed-off-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Thu, 2 Apr 2020 13:02:50 +0000 (15:02 +0200)]
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>
Sebastian Wagner [Thu, 2 Apr 2020 12:52:33 +0000 (14:52 +0200)]
pybind/mgr: Fix `run_tox.sh mgr -- cephadm`
Failed with a cryptic error.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Thu, 2 Apr 2020 12:27:30 +0000 (14:27 +0200)]
Merge pull request #34206 from sebastian-philipp/cephadm-hostname-check-lowercase
cephadm: check hostnames case insensitive
Reviewed-by: Sage Weil <sage@redhat.com>
Sebastian Wagner [Thu, 2 Apr 2020 12:26:43 +0000 (14:26 +0200)]
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>
Sebastian Wagner [Thu, 2 Apr 2020 12:25:54 +0000 (14:25 +0200)]
Merge pull request #33954 from jschmid1/parse_hostsspecs
python-common: fix /hosts/ parsing in servicespecs
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Lenz Grimmer [Thu, 2 Apr 2020 11:38:21 +0000 (13:38 +0200)]
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>
Nathan Cutler [Thu, 2 Apr 2020 11:03:31 +0000 (13:03 +0200)]
doc/releases/nautilus: restart OSDs to make them bind to v2 addr
Fixes: https://tracker.ceph.com/issues/43896
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sebastian Wagner [Thu, 2 Apr 2020 09:00:48 +0000 (11:00 +0200)]
CODEOWNERS: update cephadm paths
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Michael Fritch [Thu, 2 Apr 2020 03:10:40 +0000 (21:10 -0600)]
mgr/cephadm: revert trivial_completion for nfs_add
revert change that was missed in
af8fa11
Signed-off-by: Michael Fritch <mfritch@suse.com>
Kefu Chai [Thu, 2 Apr 2020 00:29:35 +0000 (08:29 +0800)]
Merge pull request #34324 from rzarzynski/wip-crimson-returnvec
crimson/osd: OP_CALL does support RETURNVEC now.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Wed, 1 Apr 2020 22:31:14 +0000 (00:31 +0200)]
Merge pull request #34290 from sebastian-philipp/doc-cephadm-service-spec
doc/mgr/orchestrator: Add "Service Specification"
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Michael Fritch [Wed, 1 Apr 2020 21:51:43 +0000 (15:51 -0600)]
mgr/orch: fix python3 DeprecationWarning
test_orchestrator/module.py:181: DeprecationWarning: invalid escape sequence \s
patterns = ['-i\s(\w+)', '--id[\s=](\w+)']
Signed-off-by: Michael Fritch <mfritch@suse.com>
Casey Bodley [Wed, 1 Apr 2020 18:25:00 +0000 (14:25 -0400)]
Merge pull request #34322 from cbodley/wip-44857
rgw: pubsub sync module ignores ERR_USER_EXIST
Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
Mykola Golub [Wed, 1 Apr 2020 18:01:23 +0000 (21:01 +0300)]
Merge pull request #34134 from zhangdaolong/fix_incorrect_log_info
pybind/rbd: fix no lockers are obtained, ImageNotFound exception will be output
Sage Weil [Wed, 1 Apr 2020 15:58:57 +0000 (10:58 -0500)]
Merge PR #34320 into master
* refs/pull/34320/head:
cephadm: ceph-volume: disallow concurrent execution
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Casey Bodley [Wed, 1 Apr 2020 15:55:06 +0000 (11:55 -0400)]
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>
Radoslaw Zarzynski [Tue, 31 Mar 2020 15:45:51 +0000 (17:45 +0200)]
crimson/osd: OP_CALL does support RETURNVEC now.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Wed, 1 Apr 2020 12:31:52 +0000 (20:31 +0800)]
Merge pull request #34345 from tchaikov/wip-crimson-less-chatty
crimson: do not warn() under expected circumstances
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Wed, 1 Apr 2020 11:59:16 +0000 (19:59 +0800)]
crimson/osd: do not use "warn()" when handling non-error
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 31 Mar 2020 07:32:58 +0000 (15:32 +0800)]
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>
Jan Fajerski [Wed, 1 Apr 2020 11:26:59 +0000 (13:26 +0200)]
Merge pull request #34341 from guits/update_cv_deploy
ceph-volume: update functional testing deploy.yml playbook
Kefu Chai [Wed, 1 Apr 2020 11:23:54 +0000 (19:23 +0800)]
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>
Leo Zhang [Wed, 1 Apr 2020 02:55:12 +0000 (10:55 +0800)]
unittest_blkdev: delete unused test file
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
Sebastian Wagner [Wed, 1 Apr 2020 09:33:51 +0000 (11:33 +0200)]
doc/mgr/orchestrator: Update `Placement by pattern matching`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>