]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Tiago Melo [Wed, 13 Nov 2019 16:48:10 +0000 (15:48 -0100)]
mgr/dashboard: Use new ImageSpec class
This class should be used when dealing with RBD image specs.
It allows the creation of an ImageSpec given the names of the pool, image and
namespace. Alternatively you can also create one with an already existing
image spec string.
With it you keep the access to each individual component and can also convert it
to a well formated string.
Fixes: https://tracker.ceph.com/issues/42787
Signed-off-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Wed, 20 Nov 2019 14:33:48 +0000 (14:33 +0000)]
mgr/dashboard: fix restored RBD image naming issue (#31590)
mgr/dashboard: fix restored RBD image naming issue
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Sebastian Wagner [Wed, 20 Nov 2019 14:27:52 +0000 (15:27 +0100)]
Merge pull request #31758 from votdev/fix_typo
python-common: Fix typo in device type
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Jan Fajerski [Wed, 20 Nov 2019 12:45:41 +0000 (13:45 +0100)]
Merge pull request #31410 from jan--f/c-v-create-vgs-on-demand
ceph-volume: allow raw block devices everywhere
Lenz Grimmer [Wed, 20 Nov 2019 12:34:43 +0000 (12:34 +0000)]
mgr/dashboard: Fixes removal of custom tags during pool edit (#31373)
mgr/dashboard: Fixes removal of custom tags during pool edit
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Volker Theile [Wed, 20 Nov 2019 12:14:00 +0000 (13:14 +0100)]
python-common: Fix typo in device type
Signed-off-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Wed, 20 Nov 2019 11:47:22 +0000 (19:47 +0800)]
Merge pull request #31751 from tchaikov/wip-run-tox.sh-python3
script/run_tox.sh: do not use python2 if we have python3
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Lenz Grimmer [Wed, 20 Nov 2019 11:22:11 +0000 (11:22 +0000)]
Merge pull request #31607 from tspmelo/wip-pool-pattern
mgr/dashboard: Add invalid pattern message for Pool name
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Wed, 20 Nov 2019 11:18:21 +0000 (11:18 +0000)]
mgr/dashboard: show "Rename" in header & button when renaming… (#31551)
mgr/dashboard: show "Rename" in header & button when renaming RBD snapshot
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Wed, 20 Nov 2019 11:16:50 +0000 (11:16 +0000)]
mgr/dashboard: CephFS snapshot management UI (#30996)
mgr/dashboard: CephFS snapshot management UI
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Wed, 20 Nov 2019 11:14:27 +0000 (11:14 +0000)]
Merge pull request #31563 from tspmelo/wip-default-i18n
mgr/dashboard: Use default language when running "npm run build"
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Jan Fajerski [Tue, 5 Nov 2019 12:39:27 +0000 (13:39 +0100)]
doc: update ceph-volume lvm prepare
Add option to pass raw physical devices everywhere, restructure a little
(bluestore section before filestore) and reword a few things.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Tue, 5 Nov 2019 07:31:44 +0000 (08:31 +0100)]
ceph-volume: make lvm report fields into constants
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Tue, 22 Oct 2019 12:32:11 +0000 (14:32 +0200)]
ceph-volume: api/lvm create or reuse a vg
This changes create_lv so one can pass the desired device and either a
VG with a name starting with ceph is re-used or a new one is created.
This commit also adds two new lvm primitives, making use of lvm's select
feature. The goal is to eventually avoid keeping a full list of lv's (or
vg's) around and query the lvm system as needed.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Kefu Chai [Wed, 20 Nov 2019 10:09:19 +0000 (18:09 +0800)]
Merge pull request #31755 from tchaikov/wip-mgr-orch
mgr/orch: pass unicode string to ipaddress.ip_network()
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Kefu Chai [Wed, 20 Nov 2019 08:39:32 +0000 (16:39 +0800)]
mgr/orch: pass unicode string to ipaddress.ip_network()
otherwise it complains like
> raise e
E AddressValueError: '10.1.1.10' does not appear to be an
IPv4 or IPv6 address. Did you pass in a bytes (str in Python 2) instead
of a unicode object?
orchestrator.py:94: AddressValueError
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 20 Nov 2019 08:31:29 +0000 (16:31 +0800)]
pybind/mgr: add ipaddress to requirements.txt
ipaddress dependency was introduced in
16f281d2 . because the tox testenv
is isolated from the host python env, the test env has no access to the
ipaddress python module installed by install-deps.sh. we have to install
ipaddress for python<3.3 for testing which uses `orchestrator.py`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 20 Nov 2019 07:35:37 +0000 (15:35 +0800)]
script/run_tox.sh: do not use python2 if we have python3
always use python3 for bootstrapping tox environment unless the tox-env
contains "py2" but not "py3"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jan Fajerski [Wed, 20 Nov 2019 07:41:47 +0000 (08:41 +0100)]
Merge pull request #31574 from jan--f/c-v-refactor-get_devices
ceph-volume: make get_devices fs location independent
Sage Weil [Wed, 20 Nov 2019 02:25:43 +0000 (20:25 -0600)]
Merge PR #30698 into master
* refs/pull/30698/head:
common/options: Set bluestore min_alloc size to 4K
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Wed, 20 Nov 2019 02:24:54 +0000 (20:24 -0600)]
Merge PR #31638 into master
* refs/pull/31638/head:
mgr/pg_autoscaler: only generate target_* health warnings if targets set
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Wed, 20 Nov 2019 02:24:33 +0000 (20:24 -0600)]
Merge PR #31572 into master
* refs/pull/31572/head:
mgr/diskprediction_local: some debug output during predict (and self-test)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 19 Nov 2019 22:05:16 +0000 (16:05 -0600)]
Merge PR #31721 into master
* refs/pull/31721/head:
mgr/ssh: set UserKnownHostsFile
Reviewed-by: Michael Fritch <mfritch@suse.com>
Ali Maredia [Tue, 19 Nov 2019 19:23:33 +0000 (14:23 -0500)]
Merge pull request #31660 from ivancich/wip-add-some-const
rgw: add const correctness to some rest functions
Casey Bodley [Tue, 19 Nov 2019 17:48:26 +0000 (12:48 -0500)]
Merge pull request #16715 from adamemerson/wip-I-Object!
osdc/Objecter: Boost.Asio (I object!)
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Tue, 19 Nov 2019 16:37:49 +0000 (10:37 -0600)]
Merge PR #31672 into master
* refs/pull/31672/head:
mgr/orch: adapt update_mgr/mon funcs to new parsing
mgr/orch: improve commandline parsing
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Tue, 19 Nov 2019 16:37:33 +0000 (10:37 -0600)]
Merge PR #31679 into master
* refs/pull/31679/head:
ceph-daemon: add osd create test(s)
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 19 Nov 2019 15:09:43 +0000 (09:09 -0600)]
Merge pull request #31731 from varshar16/wip-doc-update-orchestrator_cli-url
mgr/orchestrator_cli: Update doc link in README
Sage Weil [Mon, 18 Nov 2019 02:51:36 +0000 (20:51 -0600)]
mgr/ssh: set UserKnownHostsFile
Set this to /dev/null, since we have StrictHostKeyChecking
off anyway. This gets rid of messages to stderr every time we connect
to a new host.
Signed-off-by: Sage Weil <sage@redhat.com>
Jan Fajerski [Mon, 11 Nov 2019 13:35:43 +0000 (14:35 +0100)]
ceph-volume: refactor tests for refactored get_devices
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Fri, 8 Nov 2019 15:36:30 +0000 (16:36 +0100)]
ceph-volume: refactor get_devices, don't use os.path.realpath
Fixes: https://tracker.ceph.com/issues/42777
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Matt Benjamin [Tue, 19 Nov 2019 13:42:19 +0000 (08:42 -0500)]
Merge pull request #29399 from ofriedma/master
rgw: Fix expiration header does not return the earliest rule
Matt Benjamin [Tue, 19 Nov 2019 13:41:10 +0000 (08:41 -0500)]
Merge pull request #29937 from ofriedma/wip-ofriedma-days0
Add days0 to rgw lc
Jason Dillaman [Tue, 19 Nov 2019 13:16:44 +0000 (08:16 -0500)]
Merge pull request #31642 from trociny/wip-rbd-mirror-service-daemon-ns-support
rbd-mirror: add namespace support to service daemon
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 19 Nov 2019 13:16:29 +0000 (08:16 -0500)]
Merge pull request #31627 from trociny/wip-pybind-rbd-snap_remove
pybind/rbd: provide snap remove flags
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 19 Nov 2019 13:15:26 +0000 (08:15 -0500)]
Merge pull request #31608 from trociny/wip-mock-warnings
test/rbd_mirror: fix mock warnings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 19 Nov 2019 13:14:44 +0000 (08:14 -0500)]
Merge pull request #31606 from trociny/wip-test_rbd.py-tabs
test/pybind: inconsistent use of tabs and spaces in indentation
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Stephan Müller [Tue, 15 Oct 2019 13:37:44 +0000 (15:37 +0200)]
mgr/dashboard: CephFS snapshot management UI
CephFS snapshots can now be created on a directory basis. Multiple
snapshots can be deleted at once.
Fixes: https://tracker.ceph.com/issues/41791
Signed-off-by: Volker Theile <vtheile@suse.com>
Signed-off-by: Stephan Müller <smueller@suse.com>
Varsha Rao [Tue, 19 Nov 2019 11:20:41 +0000 (16:50 +0530)]
mgr/orchestrator_cli: Update doc link in README
Update the orchestrator cli doc link to fix page not found error. Also remove
some unnecessary blank lines.
Signed-off-by: Varsha Rao <varao@redhat.com>
Nathan Cutler [Tue, 19 Nov 2019 09:00:07 +0000 (10:00 +0100)]
Merge pull request #31594 from smithfarm/wip-bri-regex-fix
backport-resolve-issue: narrow regular expression and read key/token from files
Reviewed-by: Tiago Melo <tmelo@suse.com>
Ramana Raja [Tue, 19 Nov 2019 08:46:46 +0000 (14:16 +0530)]
Merge pull request #30336 from joscollin/wip-F40959-subvolume-uid-gid
mgr/volumes: uid, gid for subvolume create and subvolumegroup create commands
Alfonso Martínez [Tue, 19 Nov 2019 08:22:35 +0000 (09:22 +0100)]
mgr/dashboard: show Rename in modal header & button when renaming RBD snapshot
Fixes: https://tracker.ceph.com/issues/42762
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Kefu Chai [Tue, 19 Nov 2019 06:36:07 +0000 (14:36 +0800)]
Merge pull request #31546 from zjcmszh/execute
pybind/rados: add WriteOp::execute()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 19 Nov 2019 06:35:14 +0000 (14:35 +0800)]
Merge pull request #30968 from majianpeng/osd-optimze-send_message_osd_cluster
osd: optimize send_message to peers
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 19 Nov 2019 06:28:25 +0000 (14:28 +0800)]
Merge pull request #31550 from wido/issue-42761
systemd: Wait 5 seconds before attempting a restart of an OSD
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Tue, 19 Nov 2019 06:25:37 +0000 (14:25 +0800)]
Merge pull request #31623 from badone/wip-tracker-42387-extend-admin-socket-timeout
common/admin_socket: Increase socket timeouts
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 19 Nov 2019 06:24:49 +0000 (14:24 +0800)]
Merge pull request #31241 from zjcmszh/add_rados_create_pool2
pybind/rados/rados.pyx: improve Rados.create_pool()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 19 Nov 2019 06:23:35 +0000 (14:23 +0800)]
Merge pull request #31617 from Devp00l/wip-42776
mgr/dashboard: Fix pool renaming functionality
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Michael Fritch [Fri, 15 Nov 2019 16:05:26 +0000 (09:05 -0700)]
ceph-daemon: add osd create test(s)
Signed-off-by: Michael Fritch <mfritch@suse.com>
Kefu Chai [Tue, 19 Nov 2019 01:25:23 +0000 (09:25 +0800)]
Merge pull request #31515 from drunkard/master
doc: typo fix in doc/dev/dev_cluster_deployement.rst: s/hostanme/hostname/
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 19 Nov 2019 01:24:08 +0000 (09:24 +0800)]
Merge pull request #31541 from BlackLotus/master
added a remark to always use powers of two for pg_num
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 18 Nov 2019 22:54:27 +0000 (16:54 -0600)]
Merge pull request #31685 from liewegas/fix-mgr-shutdown
mgr: _exit(0) from signal handler even if we are standby
Sage Weil [Mon, 18 Nov 2019 22:09:13 +0000 (16:09 -0600)]
Merge pull request #31695 from liewegas/wip-cd-simpler-bootstrap
ceph-daemon: bootstrap: make --output-* args optional
Joshua Schmid [Fri, 15 Nov 2019 11:51:17 +0000 (12:51 +0100)]
mgr/orch: adapt update_mgr/mon funcs to new parsing
update_mgr and update_mon (and their correspinding orch-backend
implementation) are adapted to the new parsing parsing method
introduced in
ff9093873 .
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Lenz Grimmer [Mon, 18 Nov 2019 17:04:21 +0000 (17:04 +0000)]
mgr/dashboard: Remove title from sparkline tooltips (#31645)
mgr/dashboard: Remove title from sparkline tooltips
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Mon, 18 Nov 2019 15:23:21 +0000 (23:23 +0800)]
Merge pull request #31689 from tchaikov/wip/workunits/cephtool/test.sh
qa/workunits/cephtool/test.sh: a handful fixes
Reviewed-by: Sage Weil <sweil@redhat.com>
Jason Dillaman [Mon, 18 Nov 2019 15:07:08 +0000 (10:07 -0500)]
Merge pull request #30397 from MahatiC/wip-ref-counting
librbd: add reference counting
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Mon, 18 Nov 2019 14:23:06 +0000 (22:23 +0800)]
qa/suites/rados: whitelist health warnings
in cephtool/test.sh, we
ceph fs set cephfs inline_data {1,0}
so the health check fails when the test ends, like
mon.a (mon.0) 3498 : cluster [WRN] Health check failed: 1 filesystem
with deprecated feature inline_data (FS_INLINE_DATA_DEPRECATED)" in
cluster log
so, before we remove the test, we need to whitelist this warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Mon, 18 Nov 2019 13:30:11 +0000 (14:30 +0100)]
Merge pull request #31688 from smithfarm/wip-bci-clean-print
backport-create-issue: flush line before overprinting
Reviewed-by: Tiago Melo <tmelo@suse.com>
Nathan Cutler [Mon, 18 Nov 2019 13:11:52 +0000 (14:11 +0100)]
backport-resolve-issue: read Redmine key and GitHub token from file
Thanks to Tiago Melo for inspiring me to do this.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Mon, 18 Nov 2019 12:31:05 +0000 (20:31 +0800)]
qa/workunits/cephtool/test.sh: set min_{bytes,pgs}_per_osd for reweight
otherwise ceph-mgr will refuse to perform reweight
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 18 Nov 2019 11:47:18 +0000 (19:47 +0800)]
qa/workunits/cephtool/test.sh: create pool with power-of-2 pg num
otherwise wait_for_health() fails like:
wait_for_health: ceph health detail
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
[WRN] POOL_PG_NUM_NOT_POWER_OF_TWO: 1 pool(s) have non-power-of-two pg_num
pool 'rbd' pg_num 10 is not a power of two
../qa/workunits/cephtool/../../standalone/ceph-helpers.sh:1613: wait_for_health: return 1
the failure was found when testing test_mon_pg().
this behavior was introduced by
6e46b1c0e50ad377d5db058e0452b0d956b3fad6
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 18 Nov 2019 10:51:29 +0000 (18:51 +0800)]
qa/workunits/cephtool/test.sh: use "ceph compact" in test_mon_deprecated_commands()
both "compact" and "scrub" are now cli command, so we cannot issue them
using "tell" anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Wed, 13 Nov 2019 10:37:15 +0000 (11:37 +0100)]
backport-resolve-issue: narrow regular expression
The regular expression used to extract tracker URLs from the PR body
was too generous. When there are two URLs on the same line and the
second is a tracker URl, the regex picked up both of them. For example,
the following string matched the regex:
"https://github.com/ceph/ceph/pull/26538, https://tracker.ceph.com/issues/41452"
This commit fixes the issue.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sebastian Wagner [Mon, 18 Nov 2019 12:29:53 +0000 (13:29 +0100)]
Merge pull request #31710 from votdev/ignore_ssh_config
mgr/ssh: Ignore ssh-config file
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Volker Theile [Mon, 18 Nov 2019 10:40:32 +0000 (11:40 +0100)]
mgr/ssh: Ignore ssh-config file
Ignore the ssh-config file that is created when working with the Vagrant box.
Signed-off-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Mon, 18 Nov 2019 07:36:21 +0000 (15:36 +0800)]
qa/workunits/cephtool/test.sh: use "sessions" in test_mon_tell()
"version" is not an asok command anymore in the sense that it's served
by registered asock hook. so in this change, we replace "version" with
"sessions", so we can verify that audit channel does not the dispatched
"sessions" command sent from ceph cli.
also, restructure the test as a loop for better readability
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 18 Nov 2019 04:23:31 +0000 (12:23 +0800)]
qa/workunits/cephtool/test.sh: use tell instead of --admin-daemon for asok commands
ceph cli will be able to route the command to the target daemon when
handling "tell" commands.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 18 Nov 2019 04:10:17 +0000 (12:10 +0800)]
qa/workunits/cephtool/test.sh: remove heap cli tests
"heap" cli commands are removed in the big asok/tell cleanup, they are now
asock commands.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 18 Nov 2019 04:03:14 +0000 (12:03 +0800)]
doc/man/ceph: "heap" is now an asok command
after the big asok/tell cleanup, "heap" is now an asok command, so
update the manpage accordingly
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 16 Nov 2019 16:28:40 +0000 (00:28 +0800)]
qa/workunits/cephtool/test.sh: fix iec/si tests
tests all IEC and SI units related test with a tier pool. as
`target_max_objects` and `target_size_bytes` only apply to tier
pools. so, for the sake of simplicity, tests all of them using
a tier pool.
introduced by
9095f67e
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 18 Nov 2019 00:27:23 +0000 (18:27 -0600)]
ceph-daemon: bootstrap: fix example shell command
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 17 Nov 2019 23:49:21 +0000 (17:49 -0600)]
ceph-daemon: default output file names
- These are reasonable names that a user would probably want
- If they run bootstrap in /etc/ceph then they are already installed in
the right location
- This means that the bootstrap command has only 1 (!) required argument
(--mon-ip or equivalent)
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 17 Nov 2019 17:53:40 +0000 (01:53 +0800)]
Merge pull request #31637 from carletes/patch-1
src/msg/async/net_handler.cc: Fix compilation
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 17 Nov 2019 17:51:28 +0000 (01:51 +0800)]
Merge pull request #31543 from tchaikov/wip/cmake/librt
cmake: detect librt for POSIX time functions
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Sat, 16 Nov 2019 17:16:29 +0000 (01:16 +0800)]
Merge pull request #31532 from tchaikov/wip-42742
msg/async/rdma: do not init mutex before lockdeps is ready
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Changcheng Liu <changcheng.liu@aliyun.com>
Kefu Chai [Sat, 16 Nov 2019 17:14:34 +0000 (01:14 +0800)]
Merge pull request #31506 from Yan-waller/wip-walle-191109-fixomapentries
common/options: decrease the default max_omap_entries_per_request
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Sat, 16 Nov 2019 17:12:12 +0000 (01:12 +0800)]
Merge pull request #31310 from badone/wip-tracker-42477-reinstate-o-outfile
tools/rados: Unmask '-o' to restore original behaviour
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 16 Nov 2019 17:10:11 +0000 (01:10 +0800)]
Merge pull request #31469 from p-se/wip-pse-summary-reload-traceback
mgr/dashboard: KeyError on dashboard reload
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Sat, 16 Nov 2019 17:07:37 +0000 (01:07 +0800)]
Merge pull request #31399 from zy751713126/osd_stat
mon/OSDMonitor: fix format error ceph osd stat --format json
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 16 Nov 2019 17:03:47 +0000 (01:03 +0800)]
Merge pull request #31427 from zy751713126/osd_status
pybind/mgr: Cancel output color control
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Sat, 16 Nov 2019 16:54:25 +0000 (00:54 +0800)]
Merge pull request #31560 from rosinL/wip-fix-incorrect-pg-pool-sum
mon/PGMap: fix incorrect pg_pool_sum when delete pool
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 16 Nov 2019 16:53:30 +0000 (00:53 +0800)]
Merge pull request #31158 from zjcmszh/test_remove
test/pybind/test_rados.py: test test_operate_aio_write_op()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 16 Nov 2019 16:51:15 +0000 (00:51 +0800)]
Merge pull request #30717 from rzarzynski/wip-bug-42026
msg/async: perform the v2 resets in proper EventCenter
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 16 Nov 2019 16:49:14 +0000 (00:49 +0800)]
Merge pull request #31517 from changchengx/rdma_gid
msg/async/rdma: add an option for choosing different RoCE protocol
Reviewed-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Sat, 16 Nov 2019 06:53:01 +0000 (07:53 +0100)]
backport-create-issue: flush line before overprinting
When iterating over "Pending Backport" issues, the script displays
a message for each issue, like so:
Examining issue#53432 (345/543)
Since a newline is not printed, each subsequent message overwrites
the previous one. But the last one remained on the screen and was
being overwritten by a shorter log message, leaving behind an
unwanted artifact:
INFO:root:Processed 334 issues)
Fixes: 8495d37695d43ea38e1b70851e4a6127ebb4fc76
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sage Weil [Fri, 15 Nov 2019 23:14:22 +0000 (17:14 -0600)]
Merge PR #31620 into master
* refs/pull/31620/head:
mgr: handle race with finisher after shutdown
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 15 Nov 2019 23:10:41 +0000 (17:10 -0600)]
mgr: _exit(0) from signal handler even if we are standby
In
3d360b97ed7dead8e9a5f602cfaf61ab7b41e531 a signal handler was added to
shut down modules and associated clients cleanly, but the standby case
was left ignoring the signal completely.
Fixes: https://tracker.ceph.com/issues/42744
Signed-off-by: Sage Weil <sage@redhat.com>
Igor Fedotov [Fri, 15 Nov 2019 21:25:55 +0000 (00:25 +0300)]
Merge pull request #31681 from ifed01/wio-ifed-fix-fio
test/fio: handle nullptr when parsing throttle params
Reviewed-by: Samuel Just <sjust@redhat.com>
Casey Bodley [Fri, 15 Nov 2019 18:53:32 +0000 (13:53 -0500)]
Merge pull request #31025 from scarvalhojr/ssevault2
rgw: improvements to SSE-KMS with Vault
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Igor Fedotov [Fri, 15 Nov 2019 17:37:07 +0000 (20:37 +0300)]
test/fio: handle nullptr when throttle params parsing
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Nathan Cutler [Fri, 15 Nov 2019 16:04:41 +0000 (17:04 +0100)]
Merge pull request #31671 from sebastian-philipp/pybind-mgr-exclude-tests
pybind/mgr: Exclude tests/
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Sage Weil [Fri, 15 Nov 2019 15:48:28 +0000 (09:48 -0600)]
Merge PR #31486 into master
* refs/pull/31486/head:
ceph-daemon: add standalone `adopt` tests
Reviewed-by: Sage Weil <sage@redhat.com>
Sebastian Wagner [Fri, 15 Nov 2019 15:26:30 +0000 (16:26 +0100)]
Merge pull request #31618 from dsavineau/ceph_daemon_rename_podman_vars
ceph-daemon: replace podman variables by container
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 15 Nov 2019 13:29:42 +0000 (14:29 +0100)]
pybind/mgr: Exclude tests/
Fixes: d6c10192c61a59f6a77d04a9d601c9df2f72d07f
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Fri, 15 Nov 2019 12:13:41 +0000 (20:13 +0800)]
Merge pull request #31666 from hrchu/origin/patch-2
doc: Update mailing lists
Reviewed-by: Kefu Chai <kchai@redhat.com>
Joshua Schmid [Thu, 14 Nov 2019 16:57:31 +0000 (17:57 +0100)]
mgr/orch: improve commandline parsing
We have to parse options like hostname, network and optional name
Examples:
"myhost"
"myhost=name"
"myhost:1.2.3.4"
"myhost:1.2.3.4=name"
"myhost:1.2.3.0/24"
"myhost:1.2.3.4/24=name"
"myhost:v2:1.2.3.4:3000/24=name"
"myhost:v2:1.2.3.4:3000,v1:1.2.3.4:6789/24=name"
This patch improves the durability of the code by using
regexes and adds validations for ip_addresses and subnets.
This will now also act as the single parser for all inputs.
Signed-off-by: Joshua Schmid <jschmid@suse.de>
(cherry picked from commit
4812167228813adc2fa45ff502257ca38ed53530 )
Kefu Chai [Fri, 15 Nov 2019 11:37:29 +0000 (19:37 +0800)]
Merge pull request #31667 from tchaikov/wip/run-cbt-sh/fs.aio-max-nr
script/run-cbt.sh: set fs.aio-max-nr for seastar
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Fri, 15 Nov 2019 09:55:53 +0000 (17:55 +0800)]
script/run-cbt.sh: set fs.aio-max-nr for seastar
seastar requires 11027 for each reactor, so we need at least
fs.aio-max-nr = 11027 * n_osd
but to make it simple and to take the needs of other applications using
aio on the machine, we increase the number of io context to 32768,
and always set this setting no matter if we are starting a vstart
cluster with classic osd or crimson osd
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Thu, 14 Nov 2019 16:13:22 +0000 (16:13 +0000)]
rbd-mirror: add namespace support to service daemon
Signed-off-by: Mykola Golub <mgolub@suse.com>