]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Mon, 23 Dec 2019 22:00:40 +0000 (16:00 -0600)]
Merge PR #32390 into master
* refs/pull/32390/head:
cephadm: create /var/run/ceph/$fsid as needed
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Mon, 23 Dec 2019 21:59:20 +0000 (15:59 -0600)]
Merge PR #32281 into master
* refs/pull/32281/head:
mgr/cephadm: fix =[] default arg to _create_daemon
qa/suites/rados/cephadm: enable mgr debugging
cephadm: restart non-ceph daemons on reconfig
mgr/cephadm/test_cephadm: fix expected output
mgr/cephadm: fix remapping of hosts and services
mgr/cephadm: add 'reconfig' service action
cephadm: move mon creation config bits into mgr/cephadm
cephadm: fix bootstrap message 'ssh' -> 'cephadm'
cephadm: add --reconfig option for 'deploy'
mgr/orchestrator: drop 'reload' service[-instance] action
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Jason Dillaman [Mon, 23 Dec 2019 20:46:12 +0000 (15:46 -0500)]
Merge pull request #32338 from trociny/wip-peer-list-default-ns
librbd: look for mirror peers in default namespace
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 23 Dec 2019 16:29:52 +0000 (10:29 -0600)]
mgr/cephadm: fix =[] default arg to _create_daemon
This is a no-no (pass by reference, not value)!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 23 Dec 2019 16:01:35 +0000 (10:01 -0600)]
qa/suites/rados/cephadm: enable mgr debugging
Signed-off-by: Sage Weil <sage@redhat.com>
Xie Xingguo [Mon, 23 Dec 2019 08:08:23 +0000 (16:08 +0800)]
Merge pull request #32368 from xiexingguo/wip-balancer-efficiency-4
osd/OSDMap: consider overfull osds only when trying to do upmap
Reviewed-by: David Zafman <dzafman@redhat.com>
Xie Xingguo [Mon, 23 Dec 2019 08:07:21 +0000 (16:07 +0800)]
Merge pull request #32289 from xiexingguo/wip-balancer-efficiency-2
mgr/balancer: eliminate usage of MS infrastructure for upmap mode
Reviewed-by: Yan Jun <yan.jun8@zte.com.cn>
Sage Weil [Sun, 22 Dec 2019 15:31:00 +0000 (09:31 -0600)]
cephadm: create /var/run/ceph/$fsid as needed
The get_container_mounts method only passed this through if it already
exists so that shell etc commands will work even when this dir isn't
present yet. Normally the systemd unit creates it. This may not be the
case on initial bootstrap, of even later if a deploy happens but a unit
hasn't started yet.
Precreate it during bootstrap and other times before we do a deplot so
that the unit.run command has this passed through.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 22 Dec 2019 18:00:05 +0000 (12:00 -0600)]
Merge PR #32389 into master
* refs/pull/32389/head:
test_cephadm.sh: pass --fsid to shell command
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Tue, 17 Dec 2019 15:51:06 +0000 (09:51 -0600)]
cephadm: restart non-ceph daemons on reconfig
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 17 Dec 2019 14:42:41 +0000 (08:42 -0600)]
mgr/cephadm/test_cephadm: fix expected output
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 17 Dec 2019 13:54:15 +0000 (07:54 -0600)]
mgr/cephadm: fix remapping of hosts and services
This was nondeterministically remapping services to different hosts
depending on which hosts had stale caches because the 'hosts' list order
didn't match 'results' + 'in_cache'.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 22 Dec 2019 16:56:57 +0000 (10:56 -0600)]
Merge PR #32286 into master
* refs/pull/32286/head:
cephadm: correct ipv6 support in port open detection
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Mon, 16 Dec 2019 21:48:00 +0000 (15:48 -0600)]
mgr/cephadm: add 'reconfig' service action
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Dec 2019 21:46:25 +0000 (15:46 -0600)]
cephadm: move mon creation config bits into mgr/cephadm
There's no need for mgr/cephadm to pass --mon-* arguments to
/usr/bin/cephadm just so it can add bits to the config file when the
config file is also being passed in from mgr/cephadm.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Dec 2019 21:39:10 +0000 (15:39 -0600)]
cephadm: fix bootstrap message 'ssh' -> 'cephadm'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Dec 2019 21:16:13 +0000 (15:16 -0600)]
cephadm: add --reconfig option for 'deploy'
We could make this a totally separate command from 'deploy', but so much
of the code path is shared that this is a lot simpler.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 Dec 2019 22:26:28 +0000 (16:26 -0600)]
mgr/orchestrator: drop 'reload' service[-instance] action
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 22 Dec 2019 16:40:31 +0000 (00:40 +0800)]
Merge pull request #32388 from wjwithagen/wjw-fix-boost_spirit-isblank-assert
test: Do not test unicode if boost::spirit >= 1.72
Reviewed-by: Kefu Chai <kchai@redhat.com>
Willem Jan Withagen [Sun, 22 Dec 2019 11:11:53 +0000 (12:11 +0100)]
test: Do not test unicode if boost::spirit >= 1.72
Testing with Boost 1.72 unittest_confutil crashes with:
```
[ RUN ] ConfUtils.ReadFiles2
Assertion failed: (strict_ischar(ch)), function isblank, file /usr/local/include/boost/spirit/home/support/char_encoding/standard.hpp, line 129.
Abort
```
Which is due to the fact that in Boost 1.72 most of the character
testing has been garded with an assert to make sure char holds an
ascii char.
Like:
```
static bool
isblank BOOST_PREVENT_MACRO_SUBSTITUTION (int ch)
{
BOOST_ASSERT(strict_ischar(ch));
return (ch == ' ' || ch == '\t');
}
```
And ReadFile2 explicitly tests for strings with char value > 0x7f.
So that is certainly going to crash.
Now I can imagine that we would like to be able to have users use
different encodings for things like logfiles.
But for now that is not going to work with the boost:spirit parser
Fixes: https://tracker.ceph.com/issues/43406
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Sun, 22 Dec 2019 14:48:50 +0000 (08:48 -0600)]
test_cephadm.sh: pass --fsid to shell command
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 22 Dec 2019 01:59:37 +0000 (19:59 -0600)]
Merge PR #32261 into master
* refs/pull/32261/head:
mgr/orchestrator: use full device path for blinking lights (if available)
mgr: report device by-path paths too
common/blkdev: include by-path path for each device in metadata
common/blkdev: factor get_device_metadata out of mon, osd
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Sun, 22 Dec 2019 01:59:18 +0000 (19:59 -0600)]
Merge PR #32333 into master
* refs/pull/32333/head:
qa/quites/rados/singleton-flat/valgrind-leaks: specify centos8
qa/suites/rados: test cephadm on centos and ubuntu both
qa/workunits/cephadm/test_cephadm.sh: detect python3 and python2
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Sat, 21 Dec 2019 14:19:12 +0000 (08:19 -0600)]
qa/quites/rados/singleton-flat/valgrind-leaks: specify centos8
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 18 Dec 2019 17:11:21 +0000 (11:11 -0600)]
qa/suites/rados: test cephadm on centos and ubuntu both
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 18 Dec 2019 17:08:42 +0000 (11:08 -0600)]
qa/workunits/cephadm/test_cephadm.sh: detect python3 and python2
Only test on whichever pythons are available on the host.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 21 Dec 2019 14:21:04 +0000 (08:21 -0600)]
Merge PR #32384 into master
* refs/pull/32384/head:
qa/tasks/mgr/test_orchestrator_cli: fix device ls test
mgr/orchestrator_cli: no need for colored=False
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Sat, 21 Dec 2019 02:41:07 +0000 (20:41 -0600)]
Merge PR #32334 into master
* refs/pull/32334/head:
cephadm: add some coarse-grained locking
cephadm: add FileLock class
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Sat, 21 Dec 2019 02:38:45 +0000 (20:38 -0600)]
Merge PR #32327 into master
* refs/pull/32327/head:
mgr/cephadm: remove old remotes
mgr/cephadm: try various pythons for root mode _run_cephadm
mgr/cephadm: no need to _get_connection from _create_daemon
mgr/cephadm: include host name in check-host result
mgr/cephadm: remove 'cephadm prepare-host' command
Reviewed-by: Michael Fritch <mfritch@suse.com>
Patrick Donnelly [Sat, 21 Dec 2019 02:16:11 +0000 (18:16 -0800)]
Merge PR #27866 into master
* refs/pull/27866/head:
mds: fix deadlock when xlocking policylock
mds: handle link request with zero depth filepath2
mds: enable lock cache for openc/unlink requests
mds: include linkage type in dentry lease
mds: cleanup Server::set_trace_dist()
mds: define lease mask bits
mds: delegete lock cache to client
mds: suppress frozen inode when locks of dir operation is cached.
mds: invalidate lock caches when freezing dirfrag/subtree
mds: invalidate lock caches if they hold conflicting locks
mds: initial code for lock cache
mds: adjust locking for subtree migration
mds: add 'path_locked' flag to MDCache::find_ino_peers()
mds: change MDCache::discover_path()'s wants_xlocked semantic
mds: introduce Server::rdlock_two_paths_xlock_destdn()
mds: make Server::rdlock_path_xlock_dentry take locks
mds: make Server::rdlock_path_pin_ref() take dentry rdlocks
mds: take snaplock and policylock during path traverse.
mds: let Locker::acquire_locks()'s caller choose locking order
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Samuel Just [Fri, 20 Dec 2019 22:48:47 +0000 (14:48 -0800)]
Merge pull request #32380 from athanatos/sjust/wip-dmclock-fix
src/dmclock: bring in fixes for indirect_intrusive_heap
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 19 Dec 2019 20:46:22 +0000 (14:46 -0600)]
mgr/cephadm: remove old remotes
These are not used.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 18 Dec 2019 16:02:23 +0000 (10:02 -0600)]
mgr/cephadm: try various pythons for root mode _run_cephadm
Some distros don't have the /usr/bin/python link.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Dec 2019 22:14:34 +0000 (16:14 -0600)]
qa/tasks/mgr/test_orchestrator_cli: fix device ls test
No more "$host:" formatting as of
594179f1aae5fcca631b24c2f1e2dbf4a3b5c460
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 17 Dec 2019 13:32:43 +0000 (07:32 -0600)]
mgr/orchestrator_cli: no need for colored=False
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Dec 2019 22:07:54 +0000 (16:07 -0600)]
Merge PR #32332 into master
* refs/pull/32332/head:
cephadm: bootstrap: force password choice
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Fri, 20 Dec 2019 21:47:37 +0000 (15:47 -0600)]
Merge PR #32383 into master
* refs/pull/32383/head:
qa/standalone: python -> python3
qa/standalone/special/ceph_objectstore_tool: python3
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Fri, 20 Dec 2019 21:43:04 +0000 (15:43 -0600)]
Merge PR #32272 into master
* refs/pull/32272/head:
pybind/mgr: Add orchestrator_cli to mgr/tox.ini
mgr/orchestrator_cli: Fix NFS
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Dec 2019 21:42:47 +0000 (15:42 -0600)]
Merge PR #32314 into master
* refs/pull/32314/head:
mgr/cephadm: fix listing services by host
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Fri, 20 Dec 2019 21:42:05 +0000 (15:42 -0600)]
Merge PR #32378 into master
* refs/pull/32378/head:
cephadm: python3 shebang
Reviewed-by: Michael Fritch <mfritch@suse.com>
Samuel Just [Fri, 20 Dec 2019 21:07:56 +0000 (13:07 -0800)]
Merge pull request #32381 from athanatos/sjust/wip-read-from-replica-py2
osd: propagate mlcod to replicas and fix problems with read from replica
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Fri, 20 Dec 2019 21:07:17 +0000 (13:07 -0800)]
Merge pull request #32382 from athanatos/sjust/wip-backoff-fix
osd/scheduler/OpSchedulerItem: schedule backoffs as client ops
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Dec 2019 20:57:00 +0000 (14:57 -0600)]
Merge PR #32375 into master
* refs/pull/32375/head:
qa/tasks/cephadm: ceph.git branches are now pushed to quay.io
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Fri, 20 Dec 2019 19:33:21 +0000 (13:33 -0600)]
qa/standalone: python -> python3
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Dec 2019 19:32:53 +0000 (13:32 -0600)]
qa/standalone/special/ceph_objectstore_tool: python3
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Dec 2019 17:50:00 +0000 (11:50 -0600)]
cephadm: python3 shebang
We need to figure out if/how we can make this as tolerant as possible for
the curl users so that it can still run on a python2-only host.
Maybe.
Signed-off-by: Sage Weil <sage@redhat.com>
Abhishek L [Fri, 20 Dec 2019 17:25:32 +0000 (18:25 +0100)]
Merge pull request #30669 from theanalyst/rgw/user-stats-flush
rgw: radosgw-admin flush user stats output
Abhishek L [Fri, 20 Dec 2019 17:14:22 +0000 (18:14 +0100)]
Merge pull request #30993 from theanalyst/rgw/mp-list-encoding
rgw: support encoding-type param for list bucket multiparts
Abhishek L [Fri, 20 Dec 2019 17:13:03 +0000 (18:13 +0100)]
Merge pull request #31127 from theanalyst/rgw/qa-s3-user-caps
qa: rgw: add user-policy caps for the s3tests users
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Pritha Srivastava <prsivas@redhat.com>
Abhishek L [Fri, 20 Dec 2019 17:12:22 +0000 (18:12 +0100)]
Merge pull request #31124 from theanalyst/rgw/user-policy-args
rgw: iam: add all http args to req_info
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Pritha Srivastava <prsivas@redhat.com>
Reviewed-By: Yuval Lifshitz <yuvalif@yahoo.com>
Sage Weil [Fri, 20 Dec 2019 15:29:47 +0000 (09:29 -0600)]
Merge PR #32362 into master
* refs/pull/32362/head:
qa/packages/packages: el8 has granular -debuginfo
qa/tasks/cbt: include py2 deps on ubuntu for now
src/test: misc python -> python3
qa/suites/rados/singleton-flag/valgrind-leaks: run on latest centos
qa/workunits: env python -> env python3
qa/suites/rados/dashboard/tasks/dashboard: whitelist OSDMAP_FLAGS
qa/suites/rados/verify: ping to specific centos
qa/workunits/rados/test_envlibrados_rocksdb: enable el8 PowerTools
qa/workunits/rados/test_pool_access.sh: python -> python3
mgr/crash: fix signature for py3
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Sage Weil [Fri, 20 Dec 2019 14:56:09 +0000 (08:56 -0600)]
qa/tasks/cephadm: ceph.git branches are now pushed to quay.io
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 20 Dec 2019 14:33:46 +0000 (22:33 +0800)]
Merge pull request #32374 from zdover23/wip-doc-osd-verb-commit-20-dec-2019
doc: added an "is" where it was needed.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 20 Dec 2019 14:28:29 +0000 (22:28 +0800)]
Merge pull request #32371 from tchaikov/wip-mgr-dashboard-popd
mgr/dashboard: restore working directory after creating venv
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Kefu Chai [Fri, 20 Dec 2019 13:39:48 +0000 (21:39 +0800)]
qa/tasks/vstart_runner.py: use current python executable
python3 is not always the path to executable used by current python
session.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 20 Dec 2019 02:16:44 +0000 (20:16 -0600)]
qa/packages/packages: el8 has granular -debuginfo
Also add a bunch of missing packages.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:35:45 +0000 (16:35 -0600)]
qa/tasks/cbt: include py2 deps on ubuntu for now
...until cbt is converted to py3
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:31:34 +0000 (16:31 -0600)]
src/test: misc python -> python3
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:24:35 +0000 (16:24 -0600)]
qa/suites/rados/singleton-flag/valgrind-leaks: run on latest centos
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:14:38 +0000 (16:14 -0600)]
qa/workunits: env python -> env python3
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:12:58 +0000 (16:12 -0600)]
qa/suites/rados/dashboard/tasks/dashboard: whitelist OSDMAP_FLAGS
"2019-12-19T20:42:43.020748+0000 mon.b (mon.0) 2771 : cluster [WRN] Health check failed: noout flag(s) set (OSDMAP_FLAGS)" in cluster log
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:10:42 +0000 (16:10 -0600)]
qa/suites/rados/verify: ping to specific centos
The simple
os_type: centos
in valgrind.yaml doesn't pick a particular centos, and we end up with
the teuthology default (currently 7.6).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:05:39 +0000 (16:05 -0600)]
qa/workunits/rados/test_envlibrados_rocksdb: enable el8 PowerTools
We need it for snappy-devel
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 21:55:19 +0000 (15:55 -0600)]
qa/workunits/rados/test_pool_access.sh: python -> python3
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 21:52:37 +0000 (15:52 -0600)]
mgr/crash: fix signature for py3
With python3 the sig.digest() is bytes, so c is an int, not a char.
Signed-off-by: Sage Weil <sage@redhat.com>
Zac Dover [Fri, 20 Dec 2019 13:08:38 +0000 (23:08 +1000)]
doc: added an "is" where it was needed.
This tiny commit changes "The foregoing functionality
equivalent to" to "The foregoing functionality is
equivalent to".
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Sage Weil [Sun, 15 Dec 2019 16:36:51 +0000 (10:36 -0600)]
mgr/orchestrator: use full device path for blinking lights (if available)
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 20 Dec 2019 11:56:19 +0000 (19:56 +0800)]
mgr/dashboard: restore working directory after creating venv
this change addresses the regression introduced by
79584862f6
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Fri, 20 Dec 2019 09:13:37 +0000 (10:13 +0100)]
Merge pull request #32353 from mgfritch/wip-cephadm-rename-tox
cephadm: Rename tox tests ceph-daemon -> cephadm
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Fri, 20 Dec 2019 08:26:44 +0000 (16:26 +0800)]
osd/OSDMap: consider overfull osds only when trying to do upmap
By definition, we should only upmap pgs from overfull osds to
underfull osds. Hence we could make a safe exit if we start
to hit underfull osds when searching a target osd for upmapping.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Fri, 20 Dec 2019 08:37:20 +0000 (16:37 +0800)]
Merge pull request #32173 from rosinL/wip-fix-coremask
msg/async/dpdk: Fix the overflow while parsing dpdk coremask
Reviewed-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Wed, 18 Dec 2019 19:36:14 +0000 (19:36 +0000)]
librbd: look for mirror peers in default namespace
(when creating primary mirror snapshot)
Signed-off-by: Mykola Golub <mgolub@suse.com>
Samuel Just [Wed, 18 Dec 2019 23:01:59 +0000 (15:01 -0800)]
PrimaryLogPG: report ENOENT on missing clone on replica
Can't check is_degraded_or_backfilling etc on replica.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 5 Dec 2019 21:00:33 +0000 (21:00 +0000)]
PG: drop replica reads from prior intervals
Otherwise, they cause misdirected op warnings.
See comment for details.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 7 Dec 2019 00:37:27 +0000 (16:37 -0800)]
PrimaryLogPG: drop replica obc cache upon repop
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Tue, 10 Dec 2019 02:27:32 +0000 (18:27 -0800)]
osd/: bounce writes on objects written since mlcod back to primary
If there are any writes since mlcod on an object with the same head,
our ondisk state may be unstable or may reflect uncommitted state.
Bounce back to primary.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 13 Dec 2019 21:28:09 +0000 (13:28 -0800)]
osd/: maintain PeeringState::min_last_complete_ondisk on replica
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 13 Dec 2019 20:54:28 +0000 (12:54 -0800)]
ReplicatedBackend,MOSDRepOp: replace pg_roll_forward_to with mlcod
New clients will ignore the field on header.version <= 2. New
primaries will send the old variant if there are peers expecting
the old variant.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 13 Dec 2019 20:11:55 +0000 (12:11 -0800)]
ReplicatedBackend: always rollforward on repop to version
The primary always sets this field to be at_version, and we're
going to reuse this field to mean min_last_complete_ondisk.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 13 Dec 2019 20:06:31 +0000 (12:06 -0800)]
osd/PGBackend: rename submit_transaction field roll_forward_to
This field is actually just a lower bound on committed, client
visible log versions.
Signed-off-by: Samuel Just <sjust@redhat.com>
Sage Weil [Fri, 23 Aug 2019 18:43:28 +0000 (13:43 -0500)]
ceph_test_rados: use - not _ in args
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 22 Aug 2019 21:34:45 +0000 (16:34 -0500)]
qa/suites/rados/thrash[-erasure-code]: add misc -{localized,balanced}.yaml jobs
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 22 Aug 2019 21:33:42 +0000 (16:33 -0500)]
qa/tasks/rados: add {localize,balance}_reads field
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 22 Aug 2019 21:29:39 +0000 (16:29 -0500)]
ceph_test_rados: add --localize_reads option
Same as balance_reads, but sets the LOCALIZE_READS op flag on read ops.
Signed-off-by: Sage Weil <sage@redhat.com>
Samuel Just [Fri, 20 Dec 2019 01:29:58 +0000 (17:29 -0800)]
osd/scheduler/OpSchedulerItem: schedule backoffs as client ops
The backoff machinery relies on backoffs being ordered the same
way as client ops.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 18 Dec 2019 23:02:13 +0000 (15:02 -0800)]
src/dmclock: bring in fixes for indirect_intrusive_heap
Signed-off-by: Samuel Just <sjust@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:21:44 +0000 (16:21 -0600)]
Merge PR #32359 into master
* refs/pull/32359/head:
qa/workunits: python -> python3 throughout
qa/workunits/fs/misc/direct_io.py: fix for py3
qa/tasks/cephfs: os.write takes bytes, not str
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:20:45 +0000 (16:20 -0600)]
Merge PR #32355 into master
* refs/pull/32355/head:
qa/suites/rados/perf: run on ubuntu
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:17:19 +0000 (16:17 -0600)]
Merge PR #32356 into master
* refs/pull/32356/head:
qa/suites/rados/thrash-old-clients: centos -> ubuntu
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Thu, 19 Dec 2019 22:17:06 +0000 (16:17 -0600)]
Merge PR #32357 into master
* refs/pull/32357/head:
qa/tasks/swift: remove swift tests
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Paul Cuzner [Tue, 17 Dec 2019 02:23:49 +0000 (15:23 +1300)]
cephadm: correct ipv6 support in port open detection
Updated the port_in_use function to work better
in ipv4 and ipv6 environments.
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
Sage Weil [Thu, 19 Dec 2019 20:33:14 +0000 (14:33 -0600)]
mgr/cephadm: no need to _get_connection from _create_daemon
This is leftover from ages ago; we don't use conn in this context.
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Thu, 19 Dec 2019 19:59:24 +0000 (11:59 -0800)]
Merge PR #32117 into master
* refs/pull/32117/head:
doc: add config help/get/set section for runtime client configuration
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 19 Dec 2019 19:54:36 +0000 (11:54 -0800)]
Merge PR #32168 into master
* refs/pull/32168/head:
test_cephfs_shell: fix test_du_works_for_hardlinks
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Wed, 18 Dec 2019 17:22:08 +0000 (11:22 -0600)]
cephadm: bootstrap: force password choice
Ignore the password complexity checks, since we might (randomly) generate
something that fails whatever the current criteria are.
INFO:cephadm:Non-zero exit code 22 from /usr/bin/podman run --rm --net=host -e CONTAINER_IMAGE=ceph/daemon-base:latest-master-devel -e NODE_NAME=gnit -v /var/log/ceph/
00000000 -0000-0000-0000-
0000deadbeef :/var/log/ceph:z -v /tmp/ceph-tmp6if8iaha:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmp4vyvfiio:/etc/ceph/ceph.conf:z --entrypoint /usr/bin/ceph ceph/daemon-base:latest-master-devel dashboard ac-user-create admin oaaacwf4ul administrator
INFO:cephadm:/usr/bin/ceph:stderr Error EINVAL: Password cannot contain repetitive characters.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 18 Dec 2019 17:05:32 +0000 (11:05 -0600)]
cephadm: add some coarse-grained locking
Take per-cluster 'deploy' lock for
bootstrap
deploy
adopt
rm-daemon
rm-cluster
No locking for
version
pull
run (this is never actually used anyway)
shell
enter
ceph-volume
unit (this is a clean pass-through to systemctl)
logs
ls
check-host
The only one I'm not sure about is ceph-volume. I don't want the c-v
list/inventory commands to block, but perhaps the deploy ones should...
but perhaps not, since there's no reason we can't deploy multiple OSDs
on different devices at the same time.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 18 Dec 2019 17:01:33 +0000 (11:01 -0600)]
cephadm: add FileLock class
This is an abbreviated version of https://github.com/benediktschmitt/py-filelock
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 18:38:03 +0000 (12:38 -0600)]
qa/workunits: python -> python3 throughout
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 18:35:13 +0000 (12:35 -0600)]
qa/workunits/fs/misc/direct_io.py: fix for py3
os.write takes bytes, os.read returns bytes
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 18:21:21 +0000 (12:21 -0600)]
qa/tasks/swift: remove swift tests
- This is an ancient swift version
- The tempest tests are newer and show provide similar coverage
- It somehow broke with the py3 transition
Signed-off-by: Sage Weil <sage@redhat.com>