]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agolog: Fix AddressSanitizer: new-delete-type-mismatch 20930/head
Brad Hubbard [Wed, 14 Mar 2018 03:55:03 +0000 (13:55 +1000)]
log: Fix AddressSanitizer: new-delete-type-mismatch

 If you directly call the operator new function, you must also directly
 call the operator delete function, and must manually call the
 destructor as well.

Fixes: http://tracker.ceph.com/issues/23324
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #20849 from ceph/wip-cv-env-flags
Andrew Schoen [Mon, 12 Mar 2018 18:38:10 +0000 (19:38 +0100)]
Merge pull request #20849 from ceph/wip-cv-env-flags

ceph-volume tests add optional flags for vagrant

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests add optional flags for vagrant 20849/head
Alfredo Deza [Mon, 12 Mar 2018 14:06:47 +0000 (10:06 -0400)]
ceph-volume tests add optional flags for vagrant

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20827 from jdurgin/wip-pg-log-trim-errors
Josh Durgin [Mon, 12 Mar 2018 16:00:57 +0000 (12:00 -0400)]
Merge pull request #20827 from jdurgin/wip-pg-log-trim-errors

osd: treat successful and erroroneous writes the same for log trimming

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20444 from cbodley/wip-qa-ssl
Casey Bodley [Mon, 12 Mar 2018 14:32:55 +0000 (10:32 -0400)]
Merge pull request #20444 from cbodley/wip-qa-ssl

qa/rgw: verify suite tests civetweb with ssl

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #20823 from rjfd/wip-dashboard-pools
Lenz Grimmer [Mon, 12 Mar 2018 13:11:21 +0000 (14:11 +0100)]
Merge pull request #20823 from rjfd/wip-dashboard-pools

mgr/dashboard_v2: Pool controller

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: support test task as CLI arg in rub-backend-api-tests.sh 20823/head
Ricardo Dias [Fri, 9 Mar 2018 16:44:56 +0000 (16:44 +0000)]
mgr/dashboard: support test task as CLI arg in rub-backend-api-tests.sh

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: Pool controller implementation and tests
Ricardo Dias [Fri, 9 Mar 2018 16:44:34 +0000 (16:44 +0000)]
mgr/dashboard: Pool controller implementation and tests

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #20821 from tspmelo/fix-configuration-page
Kefu Chai [Mon, 12 Mar 2018 10:46:09 +0000 (18:46 +0800)]
Merge pull request #20821 from tspmelo/fix-configuration-page

mgr/dashboard_v2: fix cluster configuration page

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #20806 from Devp00l/table-column-toggle
Lenz Grimmer [Mon, 12 Mar 2018 10:25:21 +0000 (11:25 +0100)]
Merge pull request #20806 from Devp00l/table-column-toggle

mgr/dashboard_v2: Add toggle able columns

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #20797 from rjfd/wip-dashboard-log-requests
Lenz Grimmer [Mon, 12 Mar 2018 10:23:05 +0000 (11:23 +0100)]
Merge pull request #20797 from rjfd/wip-dashboard-log-requests

mgr/dashboard: HTTP request logging

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agoMerge pull request #20765 from sebastian-philipp/dashboard_v2-no-detail_route
Lenz Grimmer [Mon, 12 Mar 2018 10:16:52 +0000 (11:16 +0100)]
Merge pull request #20765 from sebastian-philipp/dashboard_v2-no-detail_route

mgr/dashboard_v2: Removed unused `tools.detail_route()`

Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #20772 from votdev/fix_osd_details
Lenz Grimmer [Mon, 12 Mar 2018 10:12:41 +0000 (11:12 +0100)]
Merge pull request #20772 from votdev/fix_osd_details

mgr/dashboard v2: Don't show details if multiple OSDs are selected

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #20809 from idryomov/wip-librbd-discard-create-truncate
Jason Dillaman [Sun, 11 Mar 2018 01:30:45 +0000 (20:30 -0500)]
Merge pull request #20809 from idryomov/wip-librbd-discard-create-truncate

librbd: create+truncate for whole-object layered discards

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20243 from ceph/wip-cd-volume-entry
vasukulkarni [Sat, 10 Mar 2018 16:13:48 +0000 (08:13 -0800)]
Merge pull request #20243 from ceph/wip-cd-volume-entry

qa/tests: add openstack volume info + lvs for ceph-volume

7 years agoMerge pull request #20826 from liewegas/wip-fix-mstart-config
Jason Dillaman [Sat, 10 Mar 2018 13:21:30 +0000 (08:21 -0500)]
Merge pull request #20826 from liewegas/wip-fix-mstart-config

vstart.sh: fix mstart variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20819 from ygtzf/wip-install-deps
Kefu Chai [Sat, 10 Mar 2018 01:32:00 +0000 (09:32 +0800)]
Merge pull request #20819 from ygtzf/wip-install-deps

install-deps.sh: fix an error condition expression

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20419 from tchaikov/wip-22748
Kefu Chai [Sat, 10 Mar 2018 01:19:27 +0000 (09:19 +0800)]
Merge pull request #20419 from tchaikov/wip-22748

common/config: add units to options

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoPrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once 20827/head
Josh Durgin [Thu, 8 Mar 2018 03:31:59 +0000 (22:31 -0500)]
PrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once

This prevents the fix for http://tracker.ceph.com/issues/22050 or
potential future bugs from causing too much latency by trimming too
many log entries at once.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
7 years agovstart.sh: use proper variables for ceph.conf and dev dir 20826/head
Sage Weil [Fri, 9 Mar 2018 23:00:43 +0000 (17:00 -0600)]
vstart.sh: use proper variables for ceph.conf and dev dir

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoPG, PrimaryLogPG: trim log and rollback info for error log entries
Josh Durgin [Thu, 8 Mar 2018 03:09:19 +0000 (22:09 -0500)]
PG, PrimaryLogPG: trim log and rollback info for error log entries

Regular updates piggyback some osd state for this purpose with
MOSDRepOp[Reply]. Do the same thing for pure log entry updates (write
errors and lost/revert additions) via MOSDPGUpdateLogMissing[Reply].

Fixes: http://tracker.ceph.com/issues/22050
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/rgw: verify suite tests civetweb with ssl 20444/head
Casey Bodley [Tue, 13 Feb 2018 18:43:46 +0000 (13:43 -0500)]
qa/rgw: verify suite tests civetweb with ssl

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: loop over clients instead of config keys
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>
7 years agoqa/rgw: s3test task overrides REQUESTS_CA_BUNDLE to use system certs
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>
7 years agoqa/rgw: s3test task conditionally sets is_secure
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>
7 years agoqa/rgw: ragweed task conditionally sets is_secure
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>
7 years agoqa/rgw: swift task conditionally sets auth_ssl
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>
7 years agoqa/rgw: add ssl certificate option for rgw frontend config
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>
7 years agoqa/rgw: add class for rgw endpoints
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>
7 years agoqa: add task to generate ssl certificates
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>
7 years agoMerge pull request #20805 from Devp00l/refresh-rotate
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>
7 years agoMerge pull request #20788 from xiexingguo/wip-balancer-04
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>
7 years agoMerge pull request #20791 from guzhongyan/fix-pycmd
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>
7 years agomgr/dashboard: refactor pool info retrieval to service class
Ricardo Dias [Fri, 9 Mar 2018 16:43:04 +0000 (16:43 +0000)]
mgr/dashboard: refactor pool info retrieval to service class

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: Add toggle able columns 20806/head
Stephan Müller [Mon, 5 Mar 2018 15:04:04 +0000 (16:04 +0100)]
mgr/dashboard_v2: Add toggle able columns

It's now possible to toggle columns on and off in the data table.

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #20787 from ceph/wip-rm23260
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>
7 years agoMerge pull request #20813 from smithfarm/wip-make-dist-suse
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>
7 years agoMerge pull request #20682 from dillaman/wip-22960
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>
7 years agoMerge pull request #20815 from capri1989/get-packages-luminous-update
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>
7 years agomgr/dashboard_v2: fix cluster configuration page 20821/head
Tiago Melo [Wed, 7 Mar 2018 17:28:59 +0000 (17:28 +0000)]
mgr/dashboard_v2: fix cluster configuration page

Configuration level 'develop' was changed to 'dev' in
1717d4c578be108d5b2c651305941974b2201b0f.
Because of this all the dev configurations were not showing.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: HTTP request logging 20797/head
Ricardo Dias [Thu, 8 Mar 2018 12:27:08 +0000 (12:27 +0000)]
mgr/dashboard: HTTP request logging

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard v2: Don't show details if multiple OSDs are selected 20772/head
Volker Theile [Fri, 9 Mar 2018 10:32:43 +0000 (11:32 +0100)]
mgr/dashboard v2: Don't show details if multiple OSDs are selected

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #20747 from votdev/add_required_directive
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>
7 years agoinstall-deps.sh: fix an error condition expression 20819/head
Yao Guotao [Fri, 9 Mar 2018 09:46:27 +0000 (04:46 -0500)]
install-deps.sh: fix an error condition expression

Signed-off-by: Yao Guotao <yaoguot@gmail.com>
7 years agolibrbd: create+truncate for whole-object layered discards 20809/head
Ilya Dryomov [Thu, 8 Mar 2018 16:26:27 +0000 (17:26 +0100)]
librbd: create+truncate for whole-object layered discards

A whole-object layered discard is implemented as a truncate rather
than a delete: a dummy object is needed to prevent the CoW machinery
from kicking in.  However, a truncate on a non-existent object is
a no-op.  If the object doesn't exist in HEAD, a discard request is
effectively ignored -- parent blocks are still seen afterwards.

A non-exclusive create on an existing object is also a no-op, so the
fix is to do a compound create+truncate instead.

Fixes: http://tracker.ceph.com/issues/23285
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agomgr/dashboard_v2: Refactored `RESTControllerTest`: 20765/head
Sebastian Wagner [Fri, 9 Mar 2018 09:01:54 +0000 (10:01 +0100)]
mgr/dashboard_v2: Refactored `RESTControllerTest`:

* Made `RESTControllerTest` inherent from `ControllerTestCase`
* Refactored `ControllerTestCase`
* Simplified all tests that inherent from  `ControllerTestCase`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Removed unused `tools.detail_route()`
Sebastian Wagner [Fri, 9 Mar 2018 09:00:39 +0000 (10:00 +0100)]
mgr/dashboard_v2: Removed unused `tools.detail_route()`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agoUpdated the get-packages.rst to luminous 20815/head
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>
7 years agocommon/options: consolidate Option::to_str() with operator<< 20419/head
Kefu Chai [Wed, 7 Mar 2018 16:46:06 +0000 (00:46 +0800)]
common/options: consolidate Option::to_str() with operator<<

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotest: add a simple test for conf_get() and conf_set()
Kefu Chai [Tue, 6 Mar 2018 03:10:14 +0000 (11:10 +0800)]
test: add a simple test for conf_get() and conf_set()

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon/options,mon: switch some option to TYPE_SECS
Kefu Chai [Tue, 13 Feb 2018 08:37:00 +0000 (16:37 +0800)]
common/options,mon: switch some option to TYPE_SECS

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon/config: specialize the settings for time duration
Kefu Chai [Tue, 13 Feb 2018 08:36:35 +0000 (16:36 +0800)]
common/config: specialize the settings for time duration

because of the ADL, boost::detail::variant::printer is not able to find
operator<<(ostream&, chrono::seconds) even the latter is defined. so we
need to define our own printer. and print_value() function, so it can be
used out of the compilation unit.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon/options: switch some cephfs settings to TYPE_SIZE
Kefu Chai [Tue, 13 Feb 2018 08:04:09 +0000 (16:04 +0800)]
common/options: switch some cephfs settings to TYPE_SIZE

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon/options: switch some rbd settings to TYPE_SIZE
Kefu Chai [Tue, 13 Feb 2018 08:03:58 +0000 (16:03 +0800)]
common/options: switch some rbd settings to TYPE_SIZE

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon/options: switch some rgw options to TYPE_SIZE
Kefu Chai [Tue, 13 Feb 2018 08:03:08 +0000 (16:03 +0800)]
common/options: switch some rgw options to TYPE_SIZE

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon/options: switch some osd settings to TYPE_SIZE
Kefu Chai [Tue, 13 Feb 2018 08:02:31 +0000 (16:02 +0800)]
common/options: switch some osd settings to TYPE_SIZE

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon/options: switch some mon options to TYPE_SIZE
Kefu Chai [Tue, 13 Feb 2018 08:01:15 +0000 (16:01 +0800)]
common/options: switch some mon options to TYPE_SIZE

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon/config: specialize the settings for size
Kefu Chai [Tue, 13 Feb 2018 07:56:47 +0000 (15:56 +0800)]
common/config: specialize the settings for size

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20745 from Liuchang0812/jsonify-pool-get
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>
7 years agoMerge pull request #20775 from tspmelo/fix-iscsi-unit-test
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>
7 years agopybind/ceph_argparse: accept flexible req 20791/head
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>
7 years agoMerge pull request #20778 from p-na/wip-mgr-fix-dashboard-backend-tests
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>
7 years agoMerge pull request #20782 from sebastian-philipp/dashboard_v2_fix_config_options_endpoint
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>
7 years agoMerge pull request #20786 from dzafman/wip-zafman-log-trim
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>
7 years agoRevert "make-dist: add OBS-specific release suffix on SUSE" 20813/head
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>
7 years agotools: Add pg log trim command to ceph-objectstore-tool 20786/head
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>
7 years agoMerge pull request #20769 from oritwas/wip-rgw-20448
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>
7 years agoceph-volume tests verify that mkfs filestore uses default flags 20787/head
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>
7 years agoceph-volume lvm.prepare pass the cephx_secret for mkfs in filestore
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>
7 years agoceph-volume util.prepare use keyfile from stdin for mkfs in filestore
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>
7 years agoMerge pull request #20590 from hitoshikamei/rbd-bench
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>
7 years agoMerge pull request #20689 from Songweibin/wip-23038
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>
7 years agoMerge pull request #20697 from Songweibin/wip-trash-rm
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>
7 years agoMerge pull request #20795 from Songweibin/wip-fix-trash
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>
7 years agoMerge pull request #20759 from dzafman/wip-cleanup
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>
7 years agoMerge pull request #20801 from theanalyst/dashboard-build-typo
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>
7 years agotest/librbd: expect_object_may_exist(..., false) in DiscardRemoveTruncate
Ilya Dryomov [Thu, 8 Mar 2018 16:19:26 +0000 (17:19 +0100)]
test/librbd: expect_object_may_exist(..., false) in DiscardRemoveTruncate

This is !is_no_op_for_nonexistent_object() test -- NONEXISTENT case is
the interesting one.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agotest/librbd: clone with parent features in DiscardRemoveTruncate
Ilya Dryomov [Thu, 8 Mar 2018 16:15:55 +0000 (17:15 +0100)]
test/librbd: clone with parent features in DiscardRemoveTruncate

... otherwise object map expectations aren't actually set.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agomgr/dashboard v2: Add CSS class for required form fields 20747/head
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>
7 years agodashboard: cmake: typo fix when npm is not found 20801/head
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>
7 years agoMerge pull request #20390 from theanalyst/rgw/openssl-init
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>
7 years agoMerge pull request #20649 from tianshan/rgw_datalog_list
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>
7 years agoMerge pull request #20686 from fangyuxiangGL/mcc
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>
7 years agoMerge pull request #20707 from Liuchang0812/rgw-es-plugin-urlencode
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>
7 years agoMerge pull request #20756 from cbodley/wip-qa-rgw-verify-combine
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>
7 years agomgr/dashboard_v2: Rotate the refresh icon on load 20805/head
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>
7 years agoMerge pull request #20767 from xiexingguo/wip-pg-delete
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>
7 years agoMerge pull request #20764 from chenyupeng360/master
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>
7 years agoMerge pull request #20740 from Songweibin/wip-skip-logical-devices
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>
7 years agoMerge pull request #20743 from rjfd/wip-dashboard-settings
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>
7 years agoMerge pull request #20727 from linuxbox2/wip-clang-5
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>
7 years agoMerge pull request #20711 from guzhongyan/mgr-nodels
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>
7 years agoMerge pull request #20706 from xiexingguo/wip-balancer-03
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>
7 years agoMerge pull request #20704 from xiexingguo/wip-balancer-02
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>
7 years agoMerge pull request #20703 from xiexingguo/wip-balancer-01
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>
7 years agoMerge pull request #20644 from jcsp/wip-23166
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>
7 years agoMerge pull request #20773 from idryomov/wip-krbd-include-sysmacros
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>
7 years agoMerge pull request #20750 from idryomov/wip-krbd-whole-object-discard-test
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>
7 years agoMerge pull request #20755 from LenzGr/mgr-dashboard-documentation
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>
7 years agoMerge pull request #20792 from yangdongsheng/krbd_osd_request_timeout
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>