]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Casey Bodley [Mon, 5 Mar 2018 20:22:53 +0000 (15:22 -0500)]
qa/rgw: loop over clients instead of config keys
we only run radosgw instances on clients that are specified directly in
the rgw task - this list omits entries that are brought in via overrides
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2018 15:40:35 +0000 (10:40 -0500)]
qa/rgw: s3test task overrides REQUESTS_CA_BUNDLE to use system certs
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 13 Feb 2018 18:42:31 +0000 (13:42 -0500)]
qa/rgw: s3test task conditionally sets is_secure
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 5 Mar 2018 15:33:45 +0000 (10:33 -0500)]
qa/rgw: ragweed task conditionally sets is_secure
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 14 Feb 2018 19:03:48 +0000 (14:03 -0500)]
qa/rgw: swift task conditionally sets auth_ssl
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 13 Feb 2018 18:26:09 +0000 (13:26 -0500)]
qa/rgw: add ssl certificate option for rgw frontend config
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 21 Feb 2018 16:19:48 +0000 (11:19 -0500)]
qa/rgw: add class for rgw endpoints
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 12 Feb 2018 16:10:21 +0000 (11:10 -0500)]
qa: add task to generate ssl certificates
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Fri, 9 Mar 2018 17:55:44 +0000 (01:55 +0800)]
Merge pull request #20805 from Devp00l/refresh-rotate
mgr/dashboard_v2: Rotate the refresh icon on load
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Fri, 9 Mar 2018 17:53:26 +0000 (01:53 +0800)]
Merge pull request #20788 from xiexingguo/wip-balancer-04
pybind/mgr/balancer: two more fixes
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Fri, 9 Mar 2018 17:52:34 +0000 (01:52 +0800)]
Merge pull request #20791 from guzhongyan/fix-pycmd
pybind/ceph_argparse: accept flexible req
Reviewed-by: Kefu Chai <kchai@redhat.com>
Alfredo Deza [Fri, 9 Mar 2018 13:08:56 +0000 (08:08 -0500)]
Merge pull request #20787 from ceph/wip-rm23260
ceph-volume fix filestore OSD creation after mon-config changes
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Nathan Cutler [Fri, 9 Mar 2018 12:26:47 +0000 (13:26 +0100)]
Merge pull request #20813 from smithfarm/wip-make-dist-suse
Revert "make-dist: add OBS-specific release suffix on SUSE"
Reviewed-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Fri, 9 Mar 2018 12:11:08 +0000 (14:11 +0200)]
Merge pull request #20682 from dillaman/wip-22960
librbd: abstract hard-coded journal and cache hooks on IO path
Reviewed-by: Mykola Golub <mgolub@suse.com>
Alfredo Deza [Fri, 9 Mar 2018 12:03:04 +0000 (07:03 -0500)]
Merge pull request #20815 from capri1989/get-packages-luminous-update
doc: Updated the get-packages.rst to luminous
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Ricardo Dias [Fri, 9 Mar 2018 09:47:26 +0000 (09:47 +0000)]
Merge pull request #20747 from votdev/add_required_directive
mgr/dashboard v2: Add CSS class for required form fields
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kai Wagner [Fri, 9 Mar 2018 06:50:45 +0000 (07:50 +0100)]
Updated the get-packages.rst to luminous
Signed-off-by: Kai Wagner <kwagner@suse.com>
Kefu Chai [Fri, 9 Mar 2018 04:02:49 +0000 (12:02 +0800)]
Merge pull request #20745 from Liuchang0812/jsonify-pool-get
mon: invalid JSON returned when querying pool parameters
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 9 Mar 2018 04:02:20 +0000 (12:02 +0800)]
Merge pull request #20775 from tspmelo/fix-iscsi-unit-test
mgr/dashboard_v2: add mocked service provider for TcmuIscsiService
Reviewed-by: Volker Theile <vtheile@suse.com>
Gu Zhongyan [Fri, 9 Mar 2018 01:53:56 +0000 (09:53 +0800)]
pybind/ceph_argparse: accept flexible req
True and true both acceptable
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
Kefu Chai [Fri, 9 Mar 2018 02:24:00 +0000 (10:24 +0800)]
Merge pull request #20778 from p-na/wip-mgr-fix-dashboard-backend-tests
mgr/dashboard: Fix backend tests for newer CherryPy versions
Reviewed-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Fri, 9 Mar 2018 02:20:58 +0000 (10:20 +0800)]
Merge pull request #20782 from sebastian-philipp/dashboard_v2_fix_config_options_endpoint
mgr/dashboard_v2: Fix test_cluster_configuration test
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Fri, 9 Mar 2018 00:42:31 +0000 (16:42 -0800)]
Merge pull request #20786 from dzafman/wip-zafman-log-trim
tools/ceph-objectstore-tool: command to trim the pg log
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Nathan Cutler [Fri, 9 Mar 2018 00:42:02 +0000 (01:42 +0100)]
Revert "make-dist: add OBS-specific release suffix on SUSE"
This reverts commit
ca6c92b3ec2f715cf247e9c1009d315d9de9c55a .
The OBS-specific suffix potentially causes trouble when building outside of
OBS. Also, the OBS build process already includes a spec-file munging step
where this can be done.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Josh Durgin [Tue, 6 Mar 2018 01:04:10 +0000 (20:04 -0500)]
tools: Add pg log trim command to ceph-objectstore-tool
Add test script that verifies the command in qa/standalone/osd
Fixes: http://tracker.ceph.com/issues/23242
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
Yuri Weinstein [Thu, 8 Mar 2018 21:25:36 +0000 (13:25 -0800)]
Merge pull request #20769 from oritwas/wip-rgw-20448
rgw: fix crash with rgw_run_sync_thread false
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Alfredo Deza [Wed, 7 Mar 2018 16:57:32 +0000 (11:57 -0500)]
ceph-volume tests verify that mkfs filestore uses default flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 7 Mar 2018 16:57:07 +0000 (11:57 -0500)]
ceph-volume lvm.prepare pass the cephx_secret for mkfs in filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 7 Mar 2018 16:56:45 +0000 (11:56 -0500)]
ceph-volume util.prepare use keyfile from stdin for mkfs in filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Jason Dillaman [Thu, 8 Mar 2018 19:01:57 +0000 (14:01 -0500)]
Merge pull request #20590 from hitoshikamei/rbd-bench
rbd: fix thread_offsets calculation of rbd bench
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 8 Mar 2018 19:00:59 +0000 (14:00 -0500)]
Merge pull request #20689 from Songweibin/wip-23038
rbd/test: add snap protection test for ex/import
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 8 Mar 2018 19:00:27 +0000 (14:00 -0500)]
Merge pull request #20697 from Songweibin/wip-trash-rm
rbd: allow trash rm/purge when pool quota is full used
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 8 Mar 2018 18:59:27 +0000 (13:59 -0500)]
Merge pull request #20795 from Songweibin/wip-fix-trash
rbd: pool_percent_used should not divided by 100
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
David Zafman [Thu, 8 Mar 2018 18:45:38 +0000 (10:45 -0800)]
Merge pull request #20759 from dzafman/wip-cleanup
test: Make clearer by moving code out of loop
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Lenz Grimmer [Thu, 8 Mar 2018 17:27:38 +0000 (18:27 +0100)]
Merge pull request #20801 from theanalyst/dashboard-build-typo
cmake: typo fix when npm is not found
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Volker Theile [Tue, 6 Mar 2018 13:31:14 +0000 (14:31 +0100)]
mgr/dashboard v2: Add CSS class for required form fields
Signed-off-by: Volker Theile <vtheile@suse.com>
Abhishek Lekshmanan [Thu, 8 Mar 2018 14:49:24 +0000 (15:49 +0100)]
dashboard: cmake: typo fix when npm is not found
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Yuri Weinstein [Thu, 8 Mar 2018 15:34:29 +0000 (07:34 -0800)]
Merge pull request #20390 from theanalyst/rgw/openssl-init
rgw: setup locks for libopenssl
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
Reviewed-by: Marcus Watts <mwatts@redhat.com>
Yuri Weinstein [Thu, 8 Mar 2018 15:29:54 +0000 (07:29 -0800)]
Merge pull request #20649 from tianshan/rgw_datalog_list
rgw: datalog list support --shard-id and --marker
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Thu, 8 Mar 2018 15:29:32 +0000 (07:29 -0800)]
Merge pull request #20686 from fangyuxiangGL/mcc
rgw: fix 'copy part' without 'x-amz-copy-source-range' when compression enabled
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Thu, 8 Mar 2018 15:28:59 +0000 (07:28 -0800)]
Merge pull request #20707 from Liuchang0812/rgw-es-plugin-urlencode
rgw: url_encode key name and instance in es sync module
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yuri Weinstein [Thu, 8 Mar 2018 15:28:20 +0000 (07:28 -0800)]
Merge pull request #20756 from cbodley/wip-qa-rgw-verify-combine
qa/rgw: combine swift, s3tests, ragweed into single verify task
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Stephan Müller [Mon, 5 Mar 2018 15:15:12 +0000 (16:15 +0100)]
mgr/dashboard_v2: Rotate the refresh icon on load
The refresh icon of the data table will now rotate on loading events.
Signed-off-by: Stephan Müller <smueller@suse.com>
Kefu Chai [Thu, 8 Mar 2018 15:20:34 +0000 (23:20 +0800)]
Merge pull request #20767 from xiexingguo/wip-pg-delete
osd/OSD: batch-list objects to reduce memory consumption
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 8 Mar 2018 15:19:50 +0000 (23:19 +0800)]
Merge pull request #20764 from chenyupeng360/master
msg/async: size of EventCenter::file_events should be greater than fd
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Mar 2018 15:19:11 +0000 (23:19 +0800)]
Merge pull request #20740 from Songweibin/wip-skip-logical-devices
osd: skip dumping logical devices
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Mar 2018 15:18:16 +0000 (23:18 +0800)]
Merge pull request #20743 from rjfd/wip-dashboard-settings
mgr/dashboard_v2: Configuration settings support
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Thu, 8 Mar 2018 15:15:53 +0000 (23:15 +0800)]
Merge pull request #20727 from linuxbox2/wip-clang-5
bluestore: define default value of LoglevelV only once (3 templates)
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Mar 2018 15:14:50 +0000 (23:14 +0800)]
Merge pull request #20711 from guzhongyan/mgr-nodels
mon: 'node ls' mgr support
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Mar 2018 15:13:37 +0000 (23:13 +0800)]
Merge pull request #20706 from xiexingguo/wip-balancer-03
pybind/mgr/balancer: fix pool-deletion vs auto-optimization race
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 8 Mar 2018 15:13:01 +0000 (23:13 +0800)]
Merge pull request #20704 from xiexingguo/wip-balancer-02
mon/OSDMonitor: kill pending upmap changes too if pool is gone
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 8 Mar 2018 15:12:27 +0000 (23:12 +0800)]
Merge pull request #20703 from xiexingguo/wip-balancer-01
osd/OSDMap: ignore PGs from pools of failure-domain OSD
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 8 Mar 2018 15:11:47 +0000 (23:11 +0800)]
Merge pull request #20644 from jcsp/wip-23166
mgr/prometheus: skip OSD output if missing from CRUSH devices
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Thu, 8 Mar 2018 13:48:55 +0000 (08:48 -0500)]
Merge pull request #20773 from idryomov/wip-krbd-include-sysmacros
krbd: include sys/sysmacros.h for major, minor and makedev
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ilya Dryomov [Thu, 8 Mar 2018 11:52:56 +0000 (12:52 +0100)]
Merge pull request #20750 from idryomov/wip-krbd-whole-object-discard-test
qa: krbd whole-object-discard test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
John Spray [Thu, 8 Mar 2018 10:56:51 +0000 (10:56 +0000)]
Merge pull request #20755 from LenzGr/mgr-dashboard-documentation
doc: Updated dashboard v2 feature list
Reviewed-by: John Spray <john.spray@redhat.com>
Ilya Dryomov [Thu, 8 Mar 2018 10:31:49 +0000 (11:31 +0100)]
Merge pull request #20792 from yangdongsheng/krbd_osd_request_timeout
rbd: support osd_request_timeout in rbd map command
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Dongsheng Yang [Thu, 8 Mar 2018 07:35:38 +0000 (02:35 -0500)]
rbd: support osd_request_timeout in rbd map command
Default of osd_request_timeout in krbd is 0 means no timeout,
but we sometimes need to set this value by rbd command. then
pass osd_request_timeout to kernel rbd in rbd mapping.
Fixes: http://tracker.ceph.com/issues/23073
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
songweibin [Thu, 8 Mar 2018 02:29:22 +0000 (10:29 +0800)]
rbd: pool_percent_used should not divided by 100
The value of 'percent_used' in `ceph df --format=json`
has already been divided by 100.
Signed-off-by: songweibin <song.weibin@zte.com.cn>
xie xingguo [Wed, 7 Mar 2018 05:56:17 +0000 (13:56 +0800)]
pybind/mgr/balancer: sanity check against empty roots
To avoid crashes as below:
```
File "/usr/lib/ceph/mgr/balancer/module.py", line 181, in calc_stats
score += target[k] * (math.erf(((adjusted - avg)/avg) / math.sqrt(2.0)))
ZeroDivisionError: float division by zero
```
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 7 Mar 2018 03:35:51 +0000 (11:35 +0800)]
pybind/mgr/balancer: s/iteritems/iterkeys/
We don't care about the values here.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Mykola Golub [Wed, 7 Mar 2018 20:53:12 +0000 (22:53 +0200)]
Merge pull request #20729 from dillaman/wip-22738
qa/suites/rbd: segregated v1 image format tests
Reviewed-by: Mykola Golub <mgolub@suse.com>
Patrick Donnelly [Wed, 7 Mar 2018 19:27:58 +0000 (11:27 -0800)]
Merge PR #20705 into master
* refs/pull/20705/head:
doc: Fix -d description in ceph-fuse
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Jason Dillaman [Mon, 5 Mar 2018 16:16:00 +0000 (11:16 -0500)]
librbd: discard from cache after committed to disk
This prevents a possible race condition with readahead racing with a
discard and re-populating the cache with non-zeroed data.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 5 Mar 2018 13:41:07 +0000 (08:41 -0500)]
librbd: moved skip partial discard logic to object request
This allows the journal object dispatch layer to properly complete
skipped extents and commit the associated event.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 2 Mar 2018 14:41:06 +0000 (09:41 -0500)]
librbd: avoid potential for lock inversion in journal IO replay
If an IO replay immediately fails due to a image shrink applied after
the IO, the lock order will be incorrect.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 1 Mar 2018 22:57:17 +0000 (17:57 -0500)]
librbd: reduce lock scope on copy-on-read IO path
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 16 Feb 2018 00:41:59 +0000 (19:41 -0500)]
librbd: removed legacy object cacher hooks
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 1 Mar 2018 20:00:57 +0000 (15:00 -0500)]
rbd-mirror: corrected implicitly included dout header
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 28 Feb 2018 19:38:06 +0000 (14:38 -0500)]
librbd: removed legacy journal event tracking hooks from IO path
The new journal object dispatch layer handles delaying writes to the
OSD until the journal event is safe. This avoid the need for two
different code paths for cache and non-cache case.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 27 Feb 2018 23:51:01 +0000 (18:51 -0500)]
librbd: removed object cacher hooks from IO image request
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 27 Feb 2018 23:29:19 +0000 (18:29 -0500)]
librbd: removed object cacher hooks from IO object request
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 27 Feb 2018 15:42:45 +0000 (10:42 -0500)]
librbd: integrate object cacher writeback handler with dispatcher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 16 Feb 2018 19:07:52 +0000 (14:07 -0500)]
librbd: switch to new object dispatcher-based cache hooks
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 27 Feb 2018 17:25:55 +0000 (12:25 -0500)]
librbd: pass image flush requests to object dispatcher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 27 Feb 2018 04:49:14 +0000 (23:49 -0500)]
librbd: include flush source in image dispatch spec
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 16 Feb 2018 00:40:06 +0000 (19:40 -0500)]
librbd: wrap a object dispatcher facade around object cacher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 21 Feb 2018 01:11:49 +0000 (20:11 -0500)]
librbd: added object dispatch handler for journal IO
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 15 Feb 2018 20:45:05 +0000 (15:45 -0500)]
librbd: switch to object IO requests to dispatcher interface
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sebastian Wagner [Wed, 7 Mar 2018 17:18:31 +0000 (18:18 +0100)]
mgr/dashboard_v2: removed unused code that broke teuthology
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Ricardo Dias [Tue, 30 Jan 2018 10:13:55 +0000 (10:13 +0000)]
mgr/dashboard: Added instructions on how to add config settings to HACKING
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 29 Jan 2018 16:10:50 +0000 (16:10 +0000)]
mgr/dashboard: added settings module
Signed-off-by: Ricardo Dias <rdias@suse.com>
Sebastian Wagner [Wed, 7 Mar 2018 15:04:01 +0000 (16:04 +0100)]
common/config: Fix dumping of `md_config_t::config_options`.
Caused by
49a5e775aa92a8218bb659909de20637d5aa660a
This fixes the dashboard_v2 `cluster_conf` endpoint.
Fixes: http://tracker.ceph.com/issues/23265
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Casey Bodley [Tue, 6 Mar 2018 19:02:37 +0000 (14:02 -0500)]
qa/rgw: combine swift, s3tests, ragweed into single verify task
these tests don't need to be split across the job matrix the same way
that we split features like frontend, ssl, objectstore, etc. by
combining them, we can still test the whole matrix of features, but with
only 1/3 of the total jobs
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 7 Mar 2018 12:57:57 +0000 (07:57 -0500)]
Merge pull request #20693 from cbodley/wip-rgw-s3website-redirect
rgw: s3website error handler uses original object name
Reviewed-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Patrick Nawracay [Wed, 7 Mar 2018 12:45:52 +0000 (13:45 +0100)]
mgr/dashboard: Fix backend tests for newer CherryPy versions
The backend test run by `run-backend-api-tests.sh` fails for CherryPy
versions 13.x and 14.x.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Tiago Melo [Fri, 2 Mar 2018 12:14:57 +0000 (12:14 +0000)]
mgr/dashboard_v2: add mocked service provider for TcmuIscsiService
This removes the warnings shown when running the tests with PhantomJS.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Ilya Dryomov [Tue, 6 Mar 2018 14:27:23 +0000 (15:27 +0100)]
qa: krbd whole-object-discard test
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Wed, 7 Mar 2018 10:32:02 +0000 (11:32 +0100)]
krbd: include sys/sysmacros.h for major, minor and makedev
Previously we got these through sys/types.h, but that's now deprecated:
warning: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Wed, 7 Mar 2018 10:39:22 +0000 (18:39 +0800)]
Merge pull request #20768 from tchaikov/wip-cmake-dashboard
cmake,test/mgr: restructure dashboard tests and cmake related fixes
Reviewed-by: Ricardo Dias <rdias@suse.com>
Orit Wasserman [Wed, 7 Mar 2018 10:01:21 +0000 (12:01 +0200)]
rgw: fix crash with rgw_run_sync_thread false
Fixes: http://tracker.ceph.com/issues/20448
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Kefu Chai [Wed, 7 Mar 2018 09:17:24 +0000 (17:17 +0800)]
test/mgr: restructure dashboard tests
* restructure dashboard tests so they follow the model of other tests
based on ceph-helpers.sh. i.e. extract the TEST_* out of run()
function.
* expose mon-host using CEPH_ARGS env variable.
* mgr-dashboard_v2-smoke.sh: do not export CEPH_ARGS in a subshell, so
the run_mgr() and ceph cli can also have access to the updated
CEPH_ARGS, and hence they will be able to locate the mon. and because
auth-supported=none is populated using CEPH_ARGS, this test won't fail
because of missing keyring.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 7 Mar 2018 09:16:25 +0000 (17:16 +0800)]
test: run 'npm' command in a directory specified by absolute path
in case developer wants to run the test in "./build" or some random
directory.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 7 Mar 2018 07:04:33 +0000 (15:04 +0800)]
cmake: check for "npm" before using it
and allows use to specify the path in which npm is installed. in my
case, if $HOME/.npmrc points "prefix" to ${HOME}/.npm-packages, i will
be able to run
NPM_ROOT=${HOME}/.npm-packages cmake ..
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Wed, 7 Mar 2018 08:36:03 +0000 (16:36 +0800)]
osd/OSD: batch-list objects to reduce memory consumption
For PG with a huge amount of objects, it wouldn't be an ideal
way to list all of them at a time. Split them into small batches
which we can handle individually efficiently should instead be
the preferred option.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Volker Theile [Wed, 7 Mar 2018 07:41:27 +0000 (08:41 +0100)]
Merge pull request #20742 from votdev/perf_counter_units
mgr/dashboard v2: Add units to performance counters
Volker Theile [Wed, 7 Mar 2018 07:40:29 +0000 (08:40 +0100)]
Merge pull request #20744 from votdev/fix_loading_indicator
mgr/dashboard v2: Display loading indicator in datatables during first load
Volker Theile [Wed, 7 Mar 2018 07:39:55 +0000 (08:39 +0100)]
Merge pull request #20746 from votdev/datatable_selection
mgr/dashboard v2: Introduce CdTableSelection model
Yupeng Chen [Wed, 7 Mar 2018 05:17:21 +0000 (13:17 +0800)]
msg/async: size of EventCenter::file_events should be greater than fd.
When trying to generate a file event from an FD greater than or equal to the size of file_events vector,
make sure that the resized vector can hold the FD safely.
Fixes: http://tracker.ceph.com/issues/23253
Signed-off-by: Yupeng Chen <chenyupeng-it@360.cn>
Jos Collin [Mon, 5 Mar 2018 06:17:42 +0000 (11:47 +0530)]
doc: Fix -d description in ceph-fuse
Fixes: http://tracker.ceph.com/issues/23214
Signed-off-by: Jos Collin <jcollin@redhat.com>