]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
7 years agoMerge pull request #21910 from dillaman/wip-rbd-help
Mykola Golub [Thu, 10 May 2018 10:45:35 +0000 (13:45 +0300)]
Merge pull request #21910 from dillaman/wip-rbd-help

rbd: don't load config overrides from monitor initially

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21823 from dillaman/wip-24009
Mykola Golub [Thu, 10 May 2018 10:44:55 +0000 (13:44 +0300)]
Merge pull request #21823 from dillaman/wip-24009

rbd-mirror: ensure remote demotion is replayed locally

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21817 from dillaman/wip-24008
Mykola Golub [Thu, 10 May 2018 10:44:24 +0000 (13:44 +0300)]
Merge pull request #21817 from dillaman/wip-24008

rbd-mirror: fixed potential crashes during shut down

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21853 from rishabh-d-dave/volclient-keyargs-for-all-exceptions
Kefu Chai [Thu, 10 May 2018 09:30:22 +0000 (17:30 +0800)]
Merge pull request #21853 from rishabh-d-dave/volclient-keyargs-for-all-exceptions

rados.pyx: make all exceptions accept keyword arguments

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21886 from jcsp/wip-no-install-hello
Kefu Chai [Thu, 10 May 2018 09:25:33 +0000 (17:25 +0800)]
Merge pull request #21886 from jcsp/wip-no-install-hello

cmake: do not install `hello` demo module

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21782 from wido/mgr-telegraf
Kefu Chai [Thu, 10 May 2018 09:24:46 +0000 (17:24 +0800)]
Merge pull request #21782 from wido/mgr-telegraf

mgr/telegraf: Telegraf module for Ceph Mgr

Reveiwed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21891 from cbodley/wip-cmake-crypto-plugins
Kefu Chai [Thu, 10 May 2018 03:01:55 +0000 (11:01 +0800)]
Merge pull request #21891 from cbodley/wip-cmake-crypto-plugins

cmake: move crypto_plugins target

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoRevert "stop.sh: use --no-mon-config when trying to unmap rbd devices"
Jason Dillaman [Wed, 9 May 2018 19:01:18 +0000 (15:01 -0400)]
Revert "stop.sh: use --no-mon-config when trying to unmap rbd devices"

This reverts commit 6c722cd5f3f829ccf14280e7e36387bafd819c7a.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21770 from zy751713126/remove-redundant-code
Jason Dillaman [Thu, 10 May 2018 01:24:55 +0000 (18:24 -0700)]
Merge pull request #21770 from zy751713126/remove-redundant-code

rbd: add the judgment of resizing the image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21914 from cbodley/wip-common-async
Casey Bodley [Wed, 9 May 2018 20:32:24 +0000 (16:32 -0400)]
Merge pull request #21914 from cbodley/wip-common-async

common: add a generic async Completion for use with boost::asio

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #21909 from neha-ojha/wip-fix-powercycle
Josh Durgin [Wed, 9 May 2018 18:37:32 +0000 (11:37 -0700)]
Merge pull request #21909 from neha-ojha/wip-fix-powercycle

qa/suites: set osd_pg_log_dups_tracked in cfuse_workunit_suites_fsync.yaml

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agocommon: add an async SharedMutex
Casey Bodley [Fri, 30 Mar 2018 03:53:40 +0000 (23:53 -0400)]
common: add an async SharedMutex

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agocommon: forward_handler() for handlers with move-only args
Casey Bodley [Tue, 10 Apr 2018 22:27:50 +0000 (18:27 -0400)]
common: forward_handler() for handlers with move-only args

executors will always call the handler's lvalue overload of operator(),
so forward_handler() is required to wrap calls to bind_handler() with
move-only argument types. Completion uses this to forward all of its
CompletionHandlers

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agocommon: add a generic async Completion interface
Casey Bodley [Sat, 17 Mar 2018 03:25:55 +0000 (23:25 -0400)]
common: add a generic async Completion interface

a generic Completion for storing asio completion handlers for deferred
execution

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21906 from vshankar/iscsi-target-cli-typo
Jason Dillaman [Wed, 9 May 2018 17:17:51 +0000 (10:17 -0700)]
Merge pull request #21906 from vshankar/iscsi-target-cli-typo

doc: fix iscsi target name when configuring target

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: don't load config overrides from monitor initially
Jason Dillaman [Wed, 9 May 2018 16:37:22 +0000 (12:37 -0400)]
rbd: don't load config overrides from monitor initially

The overrides will be loaded when we connect to the cluster via librados
and the current approach prevents running 'rbd help' without a running
cluster.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20974 from XiangxiangMeng/rgw-policy-keyword-modify
Adam C. Emerson [Wed, 9 May 2018 16:28:22 +0000 (12:28 -0400)]
Merge pull request #20974 from XiangxiangMeng/rgw-policy-keyword-modify

rgw: policy: modify some operation permission keyword

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agodoc: fix iscsi target name when configuring target
Venky Shankar [Wed, 9 May 2018 15:07:19 +0000 (20:37 +0530)]
doc: fix iscsi target name when configuring target

Signed-off-by: Venky Shankar <vshankar@redhat.com>
7 years agoMerge pull request #21788 from cbodley/wip-22914
Casey Bodley [Wed, 9 May 2018 15:06:40 +0000 (11:06 -0400)]
Merge pull request #21788 from cbodley/wip-22914

rgw: bucket sync status improvements, part 1

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #21851 from votdev/improve_error_panel
Tatjana Dehler [Wed, 9 May 2018 14:49:03 +0000 (16:49 +0200)]
Merge pull request #21851 from votdev/improve_error_panel

mgr/dashboard: Improve error panel

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agomgr/telegraf: Telegraf module for Ceph Mgr
Wido den Hollander [Mon, 26 Mar 2018 11:47:45 +0000 (13:47 +0200)]
mgr/telegraf: Telegraf module for Ceph Mgr

Telegraf is a agent for collecting and reporting metrics.

It has multiple inputs and can send data to various outputs like
for example InfluxDB or ElasticSearch.

This module works by using the socket_listener of Telegraf and can
send data over UDP, TCP and a local Unix Socket.

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agorbd-mirror: ensure remote demotion is replayed locally
Jason Dillaman [Fri, 4 May 2018 15:14:34 +0000 (11:14 -0400)]
rbd-mirror: ensure remote demotion is replayed locally

The bootstrap process cannot immediately quit if it notices the remote
image is not primary. Instead, it needs to continue if the local image is
still chained to the remote.

Fixes: http://tracker.ceph.com/issues/24009
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agocmake: move crypto_plugins target
Casey Bodley [Tue, 8 May 2018 18:22:42 +0000 (14:22 -0400)]
cmake: move crypto_plugins target

the crypto_plugins target was defined in
src/crypto/isa-l/CMakeLists.txt, but this is only included
if(HAVE_INTEL AND HAVE_BETTER_YASM_ELF64 AND (NOT APPLE))

moving it out of the if() block allows the os target to depend on it
even if no plugins are built

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21609 from dragonylffly/wip-fix-create-ioctx
Kefu Chai [Wed, 9 May 2018 12:20:54 +0000 (20:20 +0800)]
Merge pull request #21609 from dragonylffly/wip-fix-create-ioctx

librados: return ENOENT if pool_id invalid

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21882 from sebastian-philipp/dashboard-run-backend-api-request...
Volker Theile [Wed, 9 May 2018 11:54:18 +0000 (13:54 +0200)]
Merge pull request #21882 from sebastian-philipp/dashboard-run-backend-api-request-insecure

mgr/dashboard: Allow insecure HTTPS in run-backend-api-request

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21820 from tspmelo/wip-ui-error-handling
Volker Theile [Wed, 9 May 2018 11:35:07 +0000 (13:35 +0200)]
Merge pull request #21820 from tspmelo/wip-ui-error-handling

mgr/dashboard: Add error handling on the frontend

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #21819 from tspmelo/wip-prettier
Volker Theile [Wed, 9 May 2018 11:28:42 +0000 (13:28 +0200)]
Merge pull request #21819 from tspmelo/wip-prettier

mgr/dashboard: Add Prettier formatter to the frontend

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Add Prettier formatter to the frontend
Tiago Melo [Thu, 26 Apr 2018 14:52:27 +0000 (15:52 +0100)]
mgr/dashboard: Add Prettier formatter to the frontend

This will force the use of prettier on frontend code,
bringing a more consistent formatting to all the code.

The current configuration will apply the prettier formatting,
on all staged files, during the precommit hook.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21643 from s0nea/wip-dashboard-configurations-table
Ricardo Marques [Wed, 9 May 2018 09:51:09 +0000 (10:51 +0100)]
Merge pull request #21643 from s0nea/wip-dashboard-configurations-table

mgr/dashboard: replace configuration html table with cd-table

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21777 from votdev/proxy_conf_ssl
Ricardo Marques [Wed, 9 May 2018 09:37:12 +0000 (10:37 +0100)]
Merge pull request #21777 from votdev/proxy_conf_ssl

mgr/dashboard: Use HTTPS in dev proxy configuration and HACKING.rst

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Add error handling on the frontend
Tiago Melo [Fri, 4 May 2018 14:16:51 +0000 (15:16 +0100)]
mgr/dashboard: Add error handling on the frontend

Now all error notifications are processed on the api-interceptor-service,
removing the need to handle them on every api request.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21066 from sebastian-philipp/dashboard_error_handling
Volker Theile [Wed, 9 May 2018 09:11:24 +0000 (11:11 +0200)]
Merge pull request #21066 from sebastian-philipp/dashboard_error_handling

mgr/dashboard: Improve exception handling

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge PR #21808 into master
Patrick Donnelly [Tue, 8 May 2018 22:41:18 +0000 (15:41 -0700)]
Merge PR #21808 into master

* refs/pull/21808/head:
qa: ignore version in auth metadata comp
ceph_volume_client: allow volumes without namespace isolation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoqa/suites: set osd_pg_log_dups_tracked in cfuse_workunit_suites_fsync.yaml
Neha Ojha [Tue, 1 May 2018 23:20:14 +0000 (16:20 -0700)]
qa/suites: set osd_pg_log_dups_tracked in cfuse_workunit_suites_fsync.yaml

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #21890 from alfredodeza/wip-rm24036
Andrew Schoen [Tue, 8 May 2018 20:19:12 +0000 (20:19 +0000)]
Merge pull request #21890 from alfredodeza/wip-rm24036

ceph-volume describe better the options for migrating away from ceph-disk

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agodoc/rados add an anchor to reference replacing osds
Alfredo Deza [Tue, 8 May 2018 17:48:20 +0000 (13:48 -0400)]
doc/rados add an anchor to reference replacing osds

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume describe the options for migrating away from ceph-disk
Alfredo Deza [Tue, 8 May 2018 17:47:48 +0000 (13:47 -0400)]
doc/ceph-volume describe the options for migrating away from ceph-disk

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume high-level description of simple activate at index.rst
Alfredo Deza [Tue, 8 May 2018 17:47:11 +0000 (13:47 -0400)]
doc/ceph-volume high-level description of simple activate at index.rst

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge PR #21810 into master
Patrick Donnelly [Tue, 8 May 2018 16:04:56 +0000 (09:04 -0700)]
Merge PR #21810 into master

* refs/pull/21810/head:
MDSMonitor: promote standby after fs creation
MDSMonitor: always prints standbys even if no fs

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agomgr/dashboard: fix table in order to view boolean values
Tatjana Dehler [Thu, 3 May 2018 14:59:32 +0000 (16:59 +0200)]
mgr/dashboard: fix table in order to view boolean values

The table didn't handle boolean values correctly. If a table contained
booleans it resulted in a TypeError because the value can't be converted to
lower case. We need to convert the boolean value to string at first.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
7 years agomgr/dashboard: Fix duplicate params error
Sebastian Wagner [Thu, 26 Apr 2018 10:20:09 +0000 (12:20 +0200)]
mgr/dashboard: Fix duplicate params error

* Remove params, if they use the `{name:regex}` syntax.
* Fixes http://tracker.ceph.com/issues/23823

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: Exception handling: browsable API
Sebastian Wagner [Tue, 24 Apr 2018 16:39:56 +0000 (18:39 +0200)]
mgr/dashboard: Exception handling: browsable API

* Added display of Exceptions
* Fixed missing sub-path
* Added delete-form
* Fixed default arguments

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: Exceptions: Added Documentation
Sebastian Wagner [Fri, 13 Apr 2018 12:46:30 +0000 (14:46 +0200)]
mgr/dashboard: Exceptions: Added Documentation

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: Applied Exception handling to RBDs
Sebastian Wagner [Tue, 24 Apr 2018 14:52:35 +0000 (16:52 +0200)]
mgr/dashboard: Applied Exception handling to RBDs

* DashboardTestCase: Removed waiter-thread

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agoqa: ignore version in auth metadata comp
Patrick Donnelly [Mon, 7 May 2018 16:49:00 +0000 (09:49 -0700)]
qa: ignore version in auth metadata comp

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoceph_volume_client: allow volumes without namespace isolation
Ramana Raja [Thu, 3 May 2018 22:09:09 +0000 (03:39 +0530)]
ceph_volume_client: allow volumes without namespace isolation

Fixes: https://tracker.ceph.com/issues/23695
Signed-off-by: Ramana Raja <rraja@redhat.com>
7 years agocmake: do not install `hello` demo module
John Spray [Tue, 8 May 2018 13:22:35 +0000 (14:22 +0100)]
cmake: do not install `hello` demo module

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomgr/dashboard: Change to Status Code 400 by default.
Sebastian Wagner [Mon, 23 Apr 2018 15:49:28 +0000 (17:49 +0200)]
mgr/dashboard: Change to Status Code 400 by default.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: Add task info to exception result
Sebastian Wagner [Thu, 3 May 2018 14:41:34 +0000 (16:41 +0200)]
mgr/dashboard: Add task info to exception result

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: Improved Exception handling in Tasks
Sebastian Wagner [Mon, 23 Apr 2018 10:55:25 +0000 (12:55 +0200)]
mgr/dashboard: Improved Exception handling in Tasks

* Set default status code to 400
* Added tests
* Fixed globbing in `test_task.py`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: Applied Exception Handling
Sebastian Wagner [Tue, 24 Apr 2018 16:20:59 +0000 (18:20 +0200)]
mgr/dashboard: Applied Exception Handling

* Minor changes to CephFS, OSD, Pool, RbdMirroring, Summary and RGW

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: Improve exception handling
Sebastian Wagner [Tue, 24 Apr 2018 16:11:15 +0000 (18:11 +0200)]
mgr/dashboard: Improve exception handling

* Added `dashboard_exception_handler()` to catch our exceptions.
* Changed the behaviour of `ViewCache` to raise exceptions
* Added `RadosReturnError` raised in `send_command()`
* Added unit tests

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: Improve error panel
Volker Theile [Mon, 7 May 2018 11:51:02 +0000 (13:51 +0200)]
mgr/dashboard: Improve error panel

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21803 from alfredodeza/cv-auto
Alfredo Deza [Tue, 8 May 2018 12:50:00 +0000 (08:50 -0400)]
Merge pull request #21803 from alfredodeza/cv-auto

ceph-volume initial take on auto sub-command

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agomgr/dashboard: run-backend-api-request insecure HTTPS
Sebastian Wagner [Tue, 8 May 2018 12:34:31 +0000 (14:34 +0200)]
mgr/dashboard: run-backend-api-request insecure HTTPS

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard: replace configuration html table with cd-table
Tatjana Dehler [Wed, 25 Apr 2018 13:06:32 +0000 (15:06 +0200)]
mgr/dashboard: replace configuration html table with cd-table

The configuration documentation page still uses a normal html table.
This commit replaces the table with the cd-table to make use of its
advanced features here.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
7 years agoMerge pull request #21845 from tchaikov/wip-gcc-warnings
Kefu Chai [Tue, 8 May 2018 06:03:12 +0000 (14:03 +0800)]
Merge pull request #21845 from tchaikov/wip-gcc-warnings

mds,messages: silence -Wclass-memaccess warnings

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #21856 from tchaikov/wip-drop-dpdk-submodule
Kefu Chai [Tue, 8 May 2018 05:22:32 +0000 (13:22 +0800)]
Merge pull request #21856 from tchaikov/wip-drop-dpdk-submodule

dpdk: drop dpdk submodule

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agoMerge PR #21712 into master
Patrick Donnelly [Mon, 7 May 2018 22:53:32 +0000 (15:53 -0700)]
Merge PR #21712 into master

* refs/pull/21712/head:
qa/tasks/cephfs: add test for renewing stale session
client: invalidate caps and leases when session becomes stale
client: fix race in concurrent readdir

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21688 into master
Patrick Donnelly [Mon, 7 May 2018 22:43:45 +0000 (15:43 -0700)]
Merge PR #21688 into master

* refs/pull/21688/head:
client: change vxattr flags field to unsigned int

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21668 into master
Patrick Donnelly [Mon, 7 May 2018 22:43:34 +0000 (15:43 -0700)]
Merge PR #21668 into master

* refs/pull/21668/head:
mds: include nfiles/nsubdirs of directory inode in MClientCaps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21858 from yuriw/wip-yuriw-crontab
David Galloway [Mon, 7 May 2018 19:03:41 +0000 (15:03 -0400)]
Merge pull request #21858 from yuriw/wip-yuriw-crontab

qa/tests: fixed typo

7 years agoMerge pull request #21707 from cbodley/wip-qa-upgrade-ragweed
Casey Bodley [Mon, 7 May 2018 16:21:01 +0000 (12:21 -0400)]
Merge pull request #21707 from cbodley/wip-qa-upgrade-ragweed

qa/rgw: move ragweed upgrade test into upgrade/luminous-x

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21794 from rjfd/wip-dashboard-fix-awsauth
Volker Theile [Mon, 7 May 2018 15:28:46 +0000 (17:28 +0200)]
Merge pull request #21794 from rjfd/wip-dashboard-fix-awsauth

mgr/dashboard: awsauth: fix python3 string decode problem

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Lenz Grimmer <LGrimmer@suse.com>
7 years agodpdk: drop dpdk submodule
Kefu Chai [Mon, 7 May 2018 14:31:51 +0000 (22:31 +0800)]
dpdk: drop dpdk submodule

we are using spdk/dpdk for async msgr's dpdk backend since 01a9f178. so
no need to keep dpdk submodule anymore.

Fixes: http://tracker.ceph.com/issues/24032
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/tests: fixed typo
Yuri Weinstein [Mon, 7 May 2018 14:41:05 +0000 (07:41 -0700)]
qa/tests: fixed typo

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21784 from votdev/fix_rgw_backend
Ricardo Marques [Mon, 7 May 2018 14:27:19 +0000 (15:27 +0100)]
Merge pull request #21784 from votdev/fix_rgw_backend

mgr/dashboard: Refactor RGW backend

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agorados.pyx: make all exceptions accept keyword arguments
Rishabh Dave [Mon, 7 May 2018 12:57:13 +0000 (12:57 +0000)]
rados.pyx: make all exceptions accept keyword arguments

Moving the code that makes exceptions accept keyword arguments from the
exception OSError to Error prevents a crash when exceptions not
inheriting OSError are received.

Fixes: http://tracker.ceph.com/issues/24033
Signed-off-by: Rishabh Dave <ridave@redhat.com>
7 years agoMerge pull request #21839 from yuriw/wip-yuriw-crontab
Sage Weil [Mon, 7 May 2018 11:32:58 +0000 (06:32 -0500)]
Merge pull request #21839 from yuriw/wip-yuriw-crontab

qa/test: Added rados, rbd and fs to run two time a week only

7 years agomgr/dashboard: Refactor RGW backend
Volker Theile [Wed, 2 May 2018 15:33:24 +0000 (17:33 +0200)]
mgr/dashboard: Refactor RGW backend

- Do some polishing in the docs.
- Refactor RgwClient::is_service_online() method. The system is considered as online if the response structure is valid. The response content itself is not validated in this case.
- Relocate NoCredentialsException and derive it from RequestException.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21673 from votdev/refactor_perf_counters
Ricardo Dias [Mon, 7 May 2018 09:12:04 +0000 (10:12 +0100)]
Merge pull request #21673 from votdev/refactor_perf_counters

mgr/dashboard: Refactor perf counters

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21582 from jan--f/test-case-strtoll-hex
Kefu Chai [Mon, 7 May 2018 09:06:48 +0000 (17:06 +0800)]
Merge pull request #21582 from jan--f/test-case-strtoll-hex

test/strtol: add test case for parsing hex numbers

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: Use HTTPS in dev proxy configuration
Volker Theile [Wed, 2 May 2018 10:15:38 +0000 (12:15 +0200)]
mgr/dashboard: Use HTTPS in dev proxy configuration

- After SSL support has been added to Ceph Dashboard via PR #21627, the developer HTTP proxy sample config must be adapted.
- Adapt HACKING.rst to use HTTPS.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agolibrados: return ENOENT if pool_id invalid
Li Wang [Mon, 7 May 2018 09:00:00 +0000 (09:00 +0000)]
librados: return ENOENT if pool_id invalid

Signed-off-by: Li Wang <laurence.liwang@gmail.com>
7 years agolibrados: check latest osdmap for pool_get_name
Li Wang [Mon, 7 May 2018 08:52:15 +0000 (08:52 +0000)]
librados: check latest osdmap for pool_get_name

Signed-off-by: Li Wang <laurence.liwang@gmail.com>
7 years agotest: silence -Wformat-truncation= warnings
Kefu Chai [Mon, 7 May 2018 07:19:37 +0000 (15:19 +0800)]
test: silence -Wformat-truncation= warnings

this change silences following warnings:

: warning: ‘%s’ directive output may be truncated writing up to 127
bytes into a region of size between 109 and 119 [-W
format-truncation=]
     snprintf(m_id_str, SysTestRunnable::ID_STR_SZ, "process_%d%s",
m_id, extra);
                                                    ^~~~~~~~~~~~~~
~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoauth: silence -Wparentheses warning
Kefu Chai [Mon, 7 May 2018 07:18:40 +0000 (15:18 +0800)]
auth: silence -Wparentheses warning

this change silences following warning:

warning: unnecessary parentheses in declaration of ‘os’ [-Wparentheses]
   std::ostringstream(os);
                     ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomds,messages: silence -Wclass-memaccess warnings
Kefu Chai [Mon, 7 May 2018 06:42:52 +0000 (14:42 +0800)]
mds,messages: silence -Wclass-memaccess warnings

this change silences warnings like:

warning: ‘void* memset(void*, int, size_t)’ writing to an object of
non-trivial type ‘struct uuid_d’; use assignment instead [-Wcla
ss-memaccess]
   memset(&z.cluster_fsid, 1, sizeof(z.cluster_fsid));
                                                    ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21748 from b-ranto/wip-fix-prom-shutdown
Kefu Chai [Mon, 7 May 2018 02:34:29 +0000 (10:34 +0800)]
Merge pull request #21748 from b-ranto/wip-fix-prom-shutdown

prometheus: Fix prometheus shutdown/restart

Reveiwed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #21793 from b-ranto/wip-expose-objects
Kefu Chai [Mon, 7 May 2018 02:33:03 +0000 (10:33 +0800)]
Merge pull request #21793 from b-ranto/wip-expose-objects

prometheus: Expose number of degraded/misplaced/unfound objects

Reveiwed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #21837 from tchaikov/wip-gcc-8
Kefu Chai [Mon, 7 May 2018 02:31:31 +0000 (10:31 +0800)]
Merge pull request #21837 from tchaikov/wip-gcc-8

cmake,common,filestore: silence gcc-8 warnings/errors

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoqa/test: Added rados, rbd and fs to run two time a week only
Yuri Weinstein [Sun, 6 May 2018 21:00:25 +0000 (14:00 -0700)]
qa/test: Added rados, rbd and fs to run two time a week only

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21827 from yuriw/wip-yuriw-crontab
Yuri Weinstein [Sun, 6 May 2018 20:36:34 +0000 (13:36 -0700)]
Merge pull request #21827 from yuriw/wip-yuriw-crontab

qa/tests: Added mimic runs, removed large suites (rados, rbd, etc) ru…

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoos/filestore: silence -Wformat-truncation= warning
Kefu Chai [Sun, 6 May 2018 07:25:00 +0000 (15:25 +0800)]
os/filestore: silence -Wformat-truncation= warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoos/filestore: silence error from libstdc++ in gcc-8
Kefu Chai [Sun, 6 May 2018 06:52:06 +0000 (14:52 +0800)]
os/filestore: silence error from libstdc++ in gcc-8

this change silences following error

stl_tree.h:452:21: error: static assertion failed: comparison object
must be invocable with two arguments of key type
static_assert(__is_invocable<_Compare&, const _Key&, const _Key&>{},
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomessages,mon,osd: silence gcc-8 warnings related to memset()
Kefu Chai [Sun, 6 May 2018 06:39:38 +0000 (14:39 +0800)]
messages,mon,osd: silence gcc-8 warnings related to memset()

this silences warnings like:

warning: ‘void* memset(void*, int, size_t)’ writing to an object of
non-trivial type ‘struct uuid_d’; use assignment instead [-Wcl\
ass-memaccess]

uuid_d only contains boost::uuids::uuid, which is "nil" initialized in
uuid_d's ctor. so we don't need to bother with memset() it with 0.
the same applies to entity_inst_t.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon,filestore: silence GCC-8 warnings
Kefu Chai [Sun, 6 May 2018 06:39:18 +0000 (14:39 +0800)]
common,filestore: silence GCC-8 warnings

should catch polymorphic exceptions by reference. this silences warnings
like:

error: catching polymorphic type ‘class std::RetryException’ by value
[-Werror=catch-value=]
     } catch (std::RetryException) {

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: specify missing settings for dpdk
Kefu Chai [Sun, 6 May 2018 06:32:45 +0000 (14:32 +0800)]
cmake: specify missing settings for dpdk

* after upgrading to gcc-8, seems dpdk requires more settings to compile.
  in which, CONFIG_RTE_MAX_VFIO_GROUPS=64 is copied from config/common_base.
* librte_bus_pci.a depends on librte_pci.a, so reorder the libraries
  in DPDK_LIBRARIES.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorbd-mirror: fix potential race between image sync and shut down
Jason Dillaman [Fri, 4 May 2018 13:24:43 +0000 (09:24 -0400)]
rbd-mirror: fix potential race between image sync and shut down

Fixes: http://tracker.ceph.com/issues/24008
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21637 from ceph/wip-da-SCA-20180423
Kefu Chai [Sun, 6 May 2018 03:34:52 +0000 (11:34 +0800)]
Merge pull request #21637 from ceph/wip-da-SCA-20180423

misc: mark constructors as explicit

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19041 from dragonylffly/wip-list-objects-in-a-pg
Kefu Chai [Sun, 6 May 2018 03:33:47 +0000 (11:33 +0800)]
Merge pull request #19041 from dragonylffly/wip-list-objects-in-a-pg

tools/rados: allow list objects in a specific pg in a pool

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21765 from yunfeiguan/wip-23962
Kefu Chai [Sun, 6 May 2018 03:29:26 +0000 (11:29 +0800)]
Merge pull request #21765 from yunfeiguan/wip-23962

pybind/ceph_daemon: expand the order of magnitude of daemonperf statistics to ZB

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21815 from xiexingguo/wip-23921
Kefu Chai [Sun, 6 May 2018 03:25:36 +0000 (11:25 +0800)]
Merge pull request #21815 from xiexingguo/wip-23921

crush, osd: handle multiple parents properly when applying pg upmaps

Reviewed-by: huangjun <hjwsm1989@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21811 from tchaikov/wip-23627
Kefu Chai [Sat, 5 May 2018 11:02:25 +0000 (19:02 +0800)]
Merge pull request #21811 from tchaikov/wip-23627

librados: block MgrClient::start_command until mgrmap

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21790 from dalgaaf/SCA-override-specifier
Kefu Chai [Sat, 5 May 2018 10:59:25 +0000 (18:59 +0800)]
Merge pull request #21790 from dalgaaf/SCA-override-specifier

misc: mark functions with 'override' specifier

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21829 from tchaikov/wip-qa-cephfs-snap
Kefu Chai [Sat, 5 May 2018 10:39:59 +0000 (18:39 +0800)]
Merge pull request #21829 from tchaikov/wip-qa-cephfs-snap

qa: fix test on "ceph fs set cephfs allow_new_snaps"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa: fix test on "ceph fs set cephfs allow_new_snaps"
Kefu Chai [Sat, 5 May 2018 01:38:29 +0000 (09:38 +0800)]
qa: fix test on "ceph fs set cephfs allow_new_snaps"

snapshot is now enabled for new fs in 81d0554e, so this test should be
updated accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/tests: Added mimic runs, removed large suites (rados, rbd, etc) runs on luminous
Yuri Weinstein [Fri, 4 May 2018 20:05:27 +0000 (13:05 -0700)]
qa/tests: Added mimic runs, removed large suites (rados, rbd, etc) runs on luminous

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21816 from xiexingguo/wip-wrong-unregister-pg
Sage Weil [Fri, 4 May 2018 20:25:38 +0000 (15:25 -0500)]
Merge pull request #21816 from xiexingguo/wip-wrong-unregister-pg

osd/OSD: drop extra/wrong *unregister_pg*

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMDSMonitor: promote standby after fs creation
Patrick Donnelly [Fri, 4 May 2018 17:11:10 +0000 (10:11 -0700)]
MDSMonitor: promote standby after fs creation

This avoids unnecessary health warnings. However, the original issue in i23885
still exists because the standbys are not available at fs creation time. If you
create a new file system after these standbys are available, then you will
observe that the promotion works to silence the warnings.

Fixes: http://tracker.ceph.com/issues/23885
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>