]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 22 Oct 2019 18:41:28 +0000 (13:41 -0500)]
ceph-daemon: make rm-cluster clear out previously failed units
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 22 Oct 2019 18:31:16 +0000 (13:31 -0500)]
ceph-daemon: fix get_config_and_both_keyrings() return value
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Tue, 22 Oct 2019 15:37:19 +0000 (11:37 -0400)]
Merge pull request #31022 from drunkard/master
doc: add missed word 'than' in doc/man/8/rbd.rst
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 22 Oct 2019 15:13:51 +0000 (10:13 -0500)]
Merge PR #30826 into master
* refs/pull/30826/head:
ceph-daemon: deploy: behave when crash keyring isn't provided
ceph-daemon: simplify calls from rm_cluster
ceph-daemon: explicitly wait for mon to start
ceph-daemon: bootstrap finish message
ceph-daemon: shell: LANG=C
ceph-daemon: verify mon IP is valid before continuing
ceph-daemon: cleanly capture stdout, err; log
ceph-daemon: --debug for more log detail
test_ceph_daemon: default to test on 127.0.0.1; accept ip as arg
ceph-daemon: bootstrap: assimilate and minimize input config file
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jan Fajerski [Tue, 22 Oct 2019 12:17:31 +0000 (14:17 +0200)]
Merge pull request #30867 from rishabh-d-dave/cv-api-lvm
ceph-volume: rearrange api/lvm.py
Patrick Donnelly [Tue, 22 Oct 2019 04:23:41 +0000 (21:23 -0700)]
Merge PR #30505 into master
* refs/pull/30505/head:
test/libcephfs: introduce (uint64_t)ceph_pthread_self()
test/libcephfs: Only use sys/xattr.h on Linux
cephfs: Create a separate dirent{} for FreeBSD
test/fs: Only use features.h on Linux
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 22 Oct 2019 04:22:00 +0000 (21:22 -0700)]
Merge PR #30813 into master
* refs/pull/30813/head:
qa: get rid of iteritems for python3 compatibility
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 22 Oct 2019 04:21:15 +0000 (21:21 -0700)]
Merge PR #30886 into master
* refs/pull/30886/head:
mgr/volumes: cleanup leftovers from earlier purge job implementation
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 22 Oct 2019 04:18:36 +0000 (21:18 -0700)]
Merge PR #30971 into master
* refs/pull/30971/head:
qa: whitelist "Error recovering journal" for cephfs-data-scan
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 22 Oct 2019 04:14:07 +0000 (21:14 -0700)]
Merge PR #30986 into master
* refs/pull/30986/head:
qa: allow client mount to reset fully
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Xie Xingguo [Tue, 22 Oct 2019 00:33:54 +0000 (08:33 +0800)]
Merge pull request #30897 from tchaikov/wip-bluestore/avl-allocator
os/bluestore: AVL-tree & extent - based space allocator
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Mon, 21 Oct 2019 15:56:22 +0000 (10:56 -0500)]
ceph-daemon: deploy: behave when crash keyring isn't provided
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Oct 2019 02:26:49 +0000 (21:26 -0500)]
ceph-daemon: simplify calls from rm_cluster
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 21:40:46 +0000 (16:40 -0500)]
ceph-daemon: explicitly wait for mon to start
All this does is make things easier to understand if there is a failure
that prevents the mon from responding.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 21:35:26 +0000 (16:35 -0500)]
ceph-daemon: bootstrap finish message
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 19:25:39 +0000 (14:25 -0500)]
ceph-daemon: shell: LANG=C
This gets rid of all these warnings:
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 18:36:23 +0000 (13:36 -0500)]
ceph-daemon: verify mon IP is valid before continuing
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 17:50:47 +0000 (12:50 -0500)]
ceph-daemon: cleanly capture stdout, err; log
- New Popen wrapper that grabs stdout, stderr, and return code. This is
adapted from ceph-volume's process.py helper(s).
- Optionally log output to logger
- By default, be more verbose if the command fails.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 8 Oct 2019 15:23:43 +0000 (10:23 -0500)]
ceph-daemon: --debug for more log detail
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 7 Oct 2019 21:48:19 +0000 (16:48 -0500)]
test_ceph_daemon: default to test on 127.0.0.1; accept ip as arg
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 7 Oct 2019 21:48:06 +0000 (16:48 -0500)]
ceph-daemon: bootstrap: assimilate and minimize input config file
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 21 Oct 2019 15:03:19 +0000 (23:03 +0800)]
Merge pull request #30957 from tchaikov/wip/crimson/mon/client
crimson/{osd,mon}: lower log level when sending a replicated op
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Wed, 16 Oct 2019 07:51:54 +0000 (15:51 +0800)]
crimson/mon: skip CEPHX_V2 challenge if client doesn't support it
port
321548010578d6ff7bbf2e5ce8a550008b131423 from src/mon/MonClient
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 10 Oct 2019 07:44:27 +0000 (15:44 +0800)]
crimson/osd: lower log level when sending a replicated op
it's but normal i/o, no need to print it using "info"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Drunkard Zhang [Mon, 21 Oct 2019 14:21:40 +0000 (22:21 +0800)]
doc: add missed word 'than' in doc/man/8/rbd.rst
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
Kefu Chai [Mon, 21 Oct 2019 14:18:54 +0000 (22:18 +0800)]
Merge pull request #30925 from cyx1231st/wip-seastar-msgr-policies
test/crimson: verify msgr v2 behavior with different policies
Reviewed-by: Kefu Chai <kchai@redhat.com>
Venky Shankar [Thu, 17 Oct 2019 15:29:42 +0000 (20:59 +0530)]
qa: allow client mount to reset fully
... without this there is a sutle race where it takes a
bit of time after a hard reset of a client mount causing
further checks to fail as the (still up) client is still
connected to the MDS.
Fixes: http://tracker.ceph.com/issues/42213
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Tim Serong [Mon, 21 Oct 2019 09:10:19 +0000 (20:10 +1100)]
Merge pull request #31008 from SUSE/wip-doc-telemetry-default-interval
doc/mgr/telemetry: update default interval
Ilya Dryomov [Mon, 21 Oct 2019 09:00:46 +0000 (11:00 +0200)]
Merge pull request #30965 from idryomov/wip-krbd-udev-socket-overrun
krbd: avoid udev netlink socket overrun
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Tim Serong [Mon, 21 Oct 2019 07:11:35 +0000 (18:11 +1100)]
doc/mgr/telemetry: update default interval
Commit
712987d533 changed the default interval to 24h;
updating the docs to match (this also should go to
the Nautilus branch as that commit landed there too
in https://github.com/ceph/ceph/pull/27709)
Signed-off-by: Tim Serong <tserong@suse.com>
Kefu Chai [Mon, 21 Oct 2019 04:20:01 +0000 (12:20 +0800)]
Merge pull request #30973 from tchaikov/wip/qa/tasks/ceph_manager
qa/tasks/ceph_manager: do not panic if "pg_num_target" is missing
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Thu, 17 Oct 2019 15:23:11 +0000 (23:23 +0800)]
qa/tasks/ceph: tolerate 'T' or ' ' as date and time separator
str.replace() does not change the string in-place, so we need to assign
its return value to `t`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 17 Oct 2019 14:07:18 +0000 (22:07 +0800)]
qa/tasks/ceph_manager: do not panic of "pg_num_target" is missing
we don't have "pg_num_target" in "osd dump" back in mimic, so we don't
need to check it if it is missing when performing upgrade test.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 21 Oct 2019 04:14:46 +0000 (12:14 +0800)]
Merge pull request #30947 from dillaman/wip-42332
common/ceph_context: avoid unnecessary wait during service thread shutdown
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 21 Oct 2019 04:13:47 +0000 (12:13 +0800)]
Merge pull request #30840 from majianpeng/async-messenger-narrow-lock
msg/async: narrow scope of AsyncMessenger::lock in fun connect_to.
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 21 Oct 2019 04:12:29 +0000 (12:12 +0800)]
Merge pull request #30883 from majianpeng/msg-remove-submit-message
msg/async: move submit_message() into send_to()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Oct 2019 16:50:26 +0000 (00:50 +0800)]
Merge pull request #30695 from dsavineau/ceph_cli_cephconf_rc
ceph.in: check ceph-conf returncode
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Oct 2019 16:34:18 +0000 (00:34 +0800)]
Merge pull request #30758 from kshtsk/wip-python3-print
tests: use python3 compatible print
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Oct 2019 16:32:22 +0000 (00:32 +0800)]
Merge pull request #30987 from trociny/wip-42370
mgr/balancer: python3 compatibility issue
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Sat, 19 Oct 2019 08:20:47 +0000 (10:20 +0200)]
Merge pull request #30705 from smithfarm/wip-sp-backporting-2
doc: split up SubmittingPatches.rst
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Dan Mick [Fri, 18 Oct 2019 23:11:37 +0000 (16:11 -0700)]
Merge pull request #30989 from tchaikov/wip/ceph-crash/logger-name
ceph-crash: use "ceph-crash" as logger name
Ilya Dryomov [Fri, 11 Oct 2019 12:58:08 +0000 (14:58 +0200)]
qa: add script to test udev event reaping
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Mon, 14 Oct 2019 10:40:43 +0000 (12:40 +0200)]
krbd: increase udev netlink socket receive buffer to 2M
Even though with the previous commit we no longer block between binding
the socket and starting handling events, we still want a larger receive
buffer to accommodate for scheduling delays. Since the filtering is
done in the listener, an estimate focused on just rbd is not accurate,
but anyway: a pair of "rbd" and "block" events for "rbd map" take 2048
bytes in the receive buffer. This allows for roughly a thousand of
them ("rbd map" and "rbd unmap" require root and libudev makes use of
SO_RCVBUFFORCE so rmem_max limit is ignored).
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Fri, 18 Oct 2019 09:47:12 +0000 (17:47 +0800)]
ceph-crash: use "ceph-crash" as logger name
"ceph-crash" is a better name than "__main__", we don't use ceph-crash
as a module, so its `__name__` is always `__main__`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Fri, 18 Oct 2019 09:19:30 +0000 (12:19 +0300)]
mgr/balancer: python3 compatibility issue
Fixes: https://tracker.ceph.com/issues/42370
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Fri, 18 Oct 2019 09:15:45 +0000 (17:15 +0800)]
Merge pull request #30701 from pdvian/wip-fix-target-size-bytes
mon/OSDMonitor: Fix pool set target_size_bytes (etc) with unit suffix
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 18 Oct 2019 09:15:07 +0000 (17:15 +0800)]
Merge pull request #30870 from rosinL/wip-addlog-setnumaaffinity
osd/osd: add an err log to set_numa_affinty
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 18 Oct 2019 09:14:00 +0000 (17:14 +0800)]
Merge pull request #30549 from aclamk/fix-garbled-wal
os/bluestore/BlueFS: clear newly allocated space for WAL logs
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Ilya Dryomov [Fri, 18 Oct 2019 09:11:07 +0000 (11:11 +0200)]
Merge pull request #30978 from idryomov/wip-krbd-modprobe
krbd: modprobe before calling build_map_buf()
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Rishabh Dave [Sat, 12 Oct 2019 11:32:33 +0000 (17:02 +0530)]
ceph-volume: make get_pv() accepts list of PVs
...so that the code calling it can pass its copy which would prevent
creating a new one within get_pv().
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Sat, 12 Oct 2019 11:29:57 +0000 (16:59 +0530)]
ceph-volume: make get_vg() accepts list of VGs
...so that the code calling it can pass its copy which would prevent
creating a new one within get_vg().
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Sat, 12 Oct 2019 11:14:39 +0000 (16:44 +0530)]
ceph-volume: rearrange api/lvm.py
Move code for PVs, VGs and LVs, individually, next to each other.
Fixes: https://tracker.ceph.com/issues/42368
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Jan Fajerski [Fri, 18 Oct 2019 08:07:06 +0000 (10:07 +0200)]
Merge pull request #30790 from kshtsk/wip-python3-print-ceph-volume
ceph-volume: use python3 compatible print
Kefu Chai [Fri, 18 Oct 2019 08:06:23 +0000 (16:06 +0800)]
Merge pull request #30829 from kshtsk/wip-misc-drop-legacy-code-in-skeleton_config
tasks/ceph: drop testdir replacement in skeleton_config
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 18 Oct 2019 08:02:32 +0000 (16:02 +0800)]
Merge pull request #30852 from dzafman/wip-42115
osd: Turn off repair pg state when leaving recovery
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 18 Oct 2019 07:43:33 +0000 (15:43 +0800)]
Merge pull request #30646 from shyukri/wip-qa-mgr-balancer
qa/mgr/balancer: Add cram based test for altering target_max_misplaced_ratio setting
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 13:50:11 +0000 (15:50 +0200)]
doc: split up SubmittingPatches.rst
Split the existing SubmittingPatches.rst into three files:
* SubmittingPatches.rst (general guidelines, for GitHub/master branch)
* SubmittingPatches-kernel.rst (for kernel patches)
* SubmittingPatches-backports.rst (for backports)
Fixes: http://tracker.ceph.com/issues/20953
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Thu, 17 Oct 2019 15:31:24 +0000 (23:31 +0800)]
Merge pull request #30293 from rosinL/wip-fix-kvstorebench
kv_store_bench: fix teuthology_tests() return value
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Thu, 17 Oct 2019 15:28:29 +0000 (23:28 +0800)]
Merge pull request #30833 from majianpeng/async-batch-counter
msg/async: remove unsued code.
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Lenz Grimmer [Thu, 17 Oct 2019 15:21:16 +0000 (15:21 +0000)]
Merge pull request #30288 from ricardoasmarques/display-uuid-lunid
mgr/dashboard: Display WWN and LUN number in iSCSI target details
Reviewed-by: Tiago Melo <tmelo@suse.com>
Ilya Dryomov [Thu, 17 Oct 2019 14:23:41 +0000 (16:23 +0200)]
krbd: modprobe before calling build_map_buf()
Otherwise add_key() in set_kernel_secret() fails as if running against
an ancient kernel and we fall back to secret= in options for the first
image being mapped on the machine.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
J. Eric Ivancich [Thu, 17 Oct 2019 13:27:40 +0000 (09:27 -0400)]
Merge pull request #30940 from cbodley/wip-qa-rgw-crypt
qa/rgw: refactor the kms backend configuration
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Yan, Zheng [Thu, 17 Oct 2019 13:15:13 +0000 (21:15 +0800)]
qa: whitelist "Error recovering journal" for cephfs-data-scan
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/41836
Adam Kupczyk [Wed, 16 Oct 2019 11:13:34 +0000 (13:13 +0200)]
objectstore/test/aging: Added avl, added more test cases, added reporting free score.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
xie xingguo [Mon, 9 Oct 2017 12:31:57 +0000 (20:31 +0800)]
qa: add AvlAllocator test script
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sun, 8 Oct 2017 07:52:34 +0000 (15:52 +0800)]
src/test/objectstore/Allocator_{test,bench}.cc: test AvlAllocator too
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sat, 7 Oct 2017 05:18:31 +0000 (13:18 +0800)]
os/bluestore: implement avl-extent-based allocator
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Ricardo Dias [Thu, 17 Oct 2019 08:51:26 +0000 (09:51 +0100)]
Merge pull request #30937 from rjfd/wip-dashboard-fix-home-py2
mgr/dashboard: fix python2 failure in home controller
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Thu, 17 Oct 2019 00:21:26 +0000 (08:21 +0800)]
Merge pull request #30930 from majianpeng/osd-pg-remove-unused-code
osd/PG: remove unused code
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ilya Dryomov [Thu, 26 Sep 2019 16:06:27 +0000 (18:06 +0200)]
krbd: avoid udev netlink socket overrun
Because the event(s) we are interested in can be deliveled while we are
still in the kernel finishing map or unmap, we start listening for udev
events before going into the kernel. However, if (un)mapping takes its
time, udev netlink socket can be fairly easily overrun -- the filtering
is done on the listener side, so we get to process everything, not just
rbd events. If any of the events of interest get dropped (ENOBUFS), we
hang in poll().
Go into the kernel in a separate thread and leave the main thread to
run the event loop. The return value is communicated to the reactor
though a pipe.
Fixes: https://tracker.ceph.com/issues/41404
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Thu, 10 Oct 2019 11:49:26 +0000 (13:49 +0200)]
krbd: reap all available events before polling again
This also exposes errors from udev_monitor_receive_device() which were
previously ignored.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Thu, 10 Oct 2019 08:49:17 +0000 (10:49 +0200)]
krbd: separate event reaping from event processing
Move event processing into UdevMapHandler and UdevUnmapHandler
functors and replace wait_for_udev_{add,remove}() with a single
wait_for_mapping() template.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Fri, 27 Sep 2019 15:14:08 +0000 (17:14 +0200)]
krbd: get rid of poll() timeout
This timeout was added as a (very poor) workaround for an issue
addressed in commit
42dd1eae630f ("krbd: fix rbd map hang due to udev
return subsystem unordered").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Wed, 16 Oct 2019 14:43:06 +0000 (22:43 +0800)]
Merge pull request #30958 from tchaikov/wip-cmake/dashboard-frontend
cmake: dashboard: enable frontend on arm64
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Lenz Grimmer <LGrimmer@suse.com>
Casey Bodley [Wed, 16 Oct 2019 14:06:56 +0000 (10:06 -0400)]
Merge pull request #30944 from cbodley/wip-qa-rgw-whitelist-slow-ops
qa/rgw: whitelist SLOW_OPS failures against ec pools
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Jason Dillaman [Wed, 16 Oct 2019 12:11:11 +0000 (08:11 -0400)]
Merge pull request #30952 from mxdInspur/trash_restore_info_warn
rbd: delete redundant words when trash restore fails because of same name
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 16 Oct 2019 12:06:18 +0000 (08:06 -0400)]
Merge pull request #28952 from MahatiC/wip-ordering-ios
librbd: implement ordering for overlapping IOs
Jason Dillaman [Wed, 16 Oct 2019 11:21:02 +0000 (07:21 -0400)]
Merge pull request #30953 from tchaikov/wip-doc/rbd
doc/rbd: s/guess/xml/ for codeblock lexer
Reviewed-by: Jason DIllaman <dillaman@redhat.com>
Mykola Golub [Wed, 16 Oct 2019 10:36:10 +0000 (13:36 +0300)]
Merge pull request #30942 from dillaman/wip-rbd-qa-suites
qa/suites/rbd: fix errant tab in yaml which is causing parsing failures
Reviewed-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Wed, 16 Oct 2019 08:50:47 +0000 (16:50 +0800)]
cmake: dashboard: move "if(WITH_MGR_DASHBOARD_FRONTEND)" up
two reasons:
* we don't need to run the tox test if WITH_MGR_DASHBOARD_FRONTEND is
OFF
* better readability
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 16 Oct 2019 08:44:01 +0000 (16:44 +0800)]
cmake: dashboard: enable frontend on arm64
it was disable when we added dashboard(v2) to ceph in
24e216b519795ba6a5d427790399a595fbb19b27 because some npm package did
not install or build on arm64. but "mgr-dashboard-frontend-build" now
builds fine at the time of writing. so let's enable it!
Signed-off-by: Kefu Chai <kchai@redhat.com>
Xiangdong Mu [Wed, 16 Oct 2019 06:27:21 +0000 (14:27 +0800)]
rbd:delete redundant words when trash restore failed because of same name
Signed-off-by: Xiangdong Mu <muxiangdong@inspur.com>
Kefu Chai [Wed, 16 Oct 2019 04:34:19 +0000 (12:34 +0800)]
doc/rbd: s/guess/xml/ for codeblock lexer
this change silences the warning of
```
doc/rbd/qemu-rbd.rst:174: WARNING: Pygments lexer name 'guess' is not
known
```
see http://pygments.org/docs/lexers/, we should use "xml" for XML .
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yingxin Cheng [Tue, 15 Oct 2019 06:27:50 +0000 (14:27 +0800)]
test/crimson: v2 policy test reconnect after server/acceptor down
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 14 Oct 2019 03:37:20 +0000 (11:37 +0800)]
test/crimson: v2 policy test server/acceptor markdown
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Sat, 12 Oct 2019 08:48:16 +0000 (16:48 +0800)]
test/crimson: v2 peer policy test markdown
lossless_peer_reuse policy won't get remote reset compared with
lossless_peer/stateful_server/lossless_client policy when peer is
markdown.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Sat, 12 Oct 2019 08:22:16 +0000 (16:22 +0800)]
test/crimson: v2 lossless policy test markdown
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Sat, 12 Oct 2019 08:18:00 +0000 (16:18 +0800)]
test/crimson: send message only after getting the connection
It is possible for stateless/stateful server to lose the pending message
due to the remote markdown, causing unexpected test failure.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Sat, 12 Oct 2019 07:39:00 +0000 (15:39 +0800)]
crimson/net: don't fail when nothing queued for sweep
Fix a corner case when write is dispatching but the queued events are
cleared by a remote reset.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Sat, 12 Oct 2019 05:31:00 +0000 (13:31 +0800)]
test/crimson: v2 stateless server policy test markdown
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Sat, 12 Oct 2019 03:17:51 +0000 (11:17 +0800)]
test/crimson: v2 lossy client policy test markdown
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Mahati Chamarthy [Mon, 16 Sep 2019 09:00:52 +0000 (14:30 +0530)]
librbd: implement ordering for overlapping IOs
..and block flushes until previous writes are completed
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
Jason Dillaman [Wed, 16 Oct 2019 01:05:53 +0000 (21:05 -0400)]
Merge pull request #30927 from zjcmszh/test_remove
test/pybind/rbd.pyx: add test_remove_snap_by_id case in test_rbd.py
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 16 Oct 2019 01:05:27 +0000 (21:05 -0400)]
Merge pull request #30865 from zy751713126/config_pool
pybind/rbd: add pool config_set/get/remove api in rbd.pyx
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 15 Oct 2019 22:19:15 +0000 (18:19 -0400)]
common/ceph_context: avoid unnecessary wait during service thread shutdown
Fixes: https://tracker.ceph.com/issues/42332
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Tue, 15 Oct 2019 18:57:31 +0000 (14:57 -0400)]
qa/rgw: whitelist SLOW_OPS failures against ec pools
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Tue, 15 Oct 2019 17:51:58 +0000 (13:51 -0400)]
qa/suites/rbd: fix errant tab in yaml which is causing parsing failures
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Tue, 15 Oct 2019 15:29:30 +0000 (11:29 -0400)]
qa/rgw: use config overrides for vault kms backend
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 15 Oct 2019 15:12:10 +0000 (11:12 -0400)]
qa/rgw: use config overrides for barbican kms backend
except for the barbican endpoint, which isn't known until the barbican
task runs
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 15 Oct 2019 15:07:35 +0000 (11:07 -0400)]
qa/rgw: use config overrides for 'testing' kms backend
and configure the 'testing' backend for the rgw/verify suite
Signed-off-by: Casey Bodley <cbodley@redhat.com>