]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agocommon/config: Add description to (near)full ratio settings 22433/head
Wido den Hollander [Wed, 6 Jun 2018 11:04:58 +0000 (13:04 +0200)]
common/config: Add description to (near)full ratio settings

For many users it is not clear that these only apply to initial creation
of the cluster and that afterwards these commands need to be used:

  ceph osd set-nearfull-ratio <float[0.0-1.0]>
  ceph osd set-full-ratio <float[0.0-1.0]>

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agoMerge pull request #21644 from p-na/grafana-proxy
Lenz Grimmer [Wed, 6 Jun 2018 10:17:31 +0000 (12:17 +0200)]
Merge pull request #21644 from p-na/grafana-proxy

mgr/dashboard: Grafana proxy backend

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agoMerge pull request #21880 from votdev/upgrade_swimlane_datatable_angular_6
Lenz Grimmer [Wed, 6 Jun 2018 10:14:48 +0000 (12:14 +0200)]
Merge pull request #21880 from votdev/upgrade_swimlane_datatable_angular_6

mgr/dashboard: Upgrade Swimlane's data-table

Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #22386 from tspmelo/fix-24281
Lenz Grimmer [Wed, 6 Jun 2018 10:05:51 +0000 (12:05 +0200)]
Merge pull request #22386 from tspmelo/fix-24281

mgr/dashboard: Changed default value of decimal point to 1

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22404 from ricardoasmarques/wip-optimize-rbd-edit
Lenz Grimmer [Wed, 6 Jun 2018 10:04:23 +0000 (12:04 +0200)]
Merge pull request #22404 from ricardoasmarques/wip-optimize-rbd-edit

mgr/dashboard: Do not fetch pool list on RBD edit

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22409 from wido/mgr-dashboard-port
Lenz Grimmer [Wed, 6 Jun 2018 10:02:23 +0000 (12:02 +0200)]
Merge pull request #22409 from wido/mgr-dashboard-port

mgr/dashboard: Listen on port 8443 by default and not 8080

Reviewed-by: Kai Wagner <kwagner@suse.com>
7 years agomgr/dashboard: Add Grafana proxy 21644/head
Patrick Nawracay [Thu, 19 Apr 2018 07:29:41 +0000 (09:29 +0200)]
mgr/dashboard: Add Grafana proxy

Add the ability to connect the dashboard with a Grafana instance to
display graphs from Grafana incorporated into the dashboard.

Possible configuration options:

$ ceph dashboard set-grafana-api-host <host> # Default: 'localhost'
$ ceph dashboard set-grafana-api-port <port> # Default: 3000
$ ceph dashboard set-grafana-api-scheme <scheme> # Default: 'http'

The configuration can be checked using a GET request to the API endpoint
`/api/grafana/status`. It returns a JSON response in the following
format:

    {
"available": False,
"message": "<error message>",
    }

The message is not returned if Grafana is available.

The Grafana proxy is reachable through
`http(s)://<host>/api/grafana/proxy`.

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agoMerge pull request #22365 from tone-zhang/doc_spdk
Kefu Chai [Wed, 6 Jun 2018 00:57:19 +0000 (08:57 +0800)]
Merge pull request #22365 from tone-zhang/doc_spdk

doc: update the description for SPDK in bluestore-config-ref.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22356 from tone-zhang/wip-bug-24371
Kefu Chai [Wed, 6 Jun 2018 00:33:20 +0000 (08:33 +0800)]
Merge pull request #22356 from tone-zhang/wip-bug-24371

spdk: fix ceph-osd crash when activate SPDK

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22329 from bstillwell/transaction_code_comments_corrections
Kefu Chai [Wed, 6 Jun 2018 00:30:23 +0000 (08:30 +0800)]
Merge pull request #22329 from bstillwell/transaction_code_comments_corrections

os: Minor fixes in comments describing a transaction

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #22371 into master
Sage Weil [Tue, 5 Jun 2018 21:25:28 +0000 (16:25 -0500)]
Merge PR #22371 into master

* refs/pull/22371/head:
doc/conf.py: fix man page build vs governance.rst
doc/governance: adjust title
doc/governance: fix link
doc/governance: edits and add user committee
doc/governance.rst: a few notes on ceph project governance

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
7 years agodoc/conf.py: fix man page build vs governance.rst 22371/head
Sage Weil [Tue, 5 Jun 2018 21:18:36 +0000 (16:18 -0500)]
doc/conf.py: fix man page build vs governance.rst

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/governance: adjust title
Sage Weil [Tue, 5 Jun 2018 19:38:28 +0000 (14:38 -0500)]
doc/governance: adjust title

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22408 from wumingqiao/wip-pgscan-cleanup
Gregory Farnum [Tue, 5 Jun 2018 18:47:45 +0000 (11:47 -0700)]
Merge pull request #22408 from wumingqiao/wip-pgscan-cleanup

messages/MOSDPGScan: fix initialization of query_epoch

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #22420 from b-ranto/wip-mgr-fix-avg
Boris Ranto [Tue, 5 Jun 2018 16:38:53 +0000 (18:38 +0200)]
Merge pull request #22420 from b-ranto/wip-mgr-fix-avg

mgr: expose avg data for long running avgs

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22396 from liewegas/wip-24396
Sage Weil [Tue, 5 Jun 2018 16:09:44 +0000 (11:09 -0500)]
Merge pull request #22396 from liewegas/wip-24396

osd/PrimaryLogPG: fix on_local_recover crash on stray clone

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoosd/PrimaryLogPG: fix on_local_recover crash on stray clone 22396/head
Sage Weil [Mon, 4 Jun 2018 17:51:11 +0000 (12:51 -0500)]
osd/PrimaryLogPG: fix on_local_recover crash on stray clone

If there is a stray clone (one that does not appear in the SnapSet) and
we do any sort of recovery on it the OSD will crash.  Log an error instead
but continue.

This addresses a problem where a cluster has both (1) an unexpected clone
and (2) the clone is not present on all replicas.  Doing repair on that
PG will both not fix the unexpected clone and also cause the remaining
OSDs to crash trying to recover it.

Include a test.

Fixes: https://tracker.ceph.com/issues/24396
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21999 from myoungwon/wip-manifest-unset-op
Kefu Chai [Tue, 5 Jun 2018 16:05:56 +0000 (00:05 +0800)]
Merge pull request #21999 from myoungwon/wip-manifest-unset-op

osd, librados: add unset-manifest op

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22395 from liewegas/wip-24408
Kefu Chai [Tue, 5 Jun 2018 16:03:43 +0000 (00:03 +0800)]
Merge pull request #22395 from liewegas/wip-24408

osd,mds: make 'config rm ...' idempotent

Reviewed-by: Erwan Velu <erwan@redhat.com>
7 years agoMerge pull request #21775 from Synesis-LLC/fix-23964
Kefu Chai [Tue, 5 Jun 2018 15:59:50 +0000 (23:59 +0800)]
Merge pull request #21775 from Synesis-LLC/fix-23964

librados: fix buffer overflow for aio_exec python binding

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22417 from tspmelo/fix-lint-error
Lenz Grimmer [Tue, 5 Jun 2018 15:02:58 +0000 (17:02 +0200)]
Merge pull request #22417 from tspmelo/fix-lint-error

mgr/dashboard: fix lint error

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Listen on port 7000 by default and not 8080 22409/head
Wido den Hollander [Tue, 5 Jun 2018 07:32:58 +0000 (09:32 +0200)]
mgr/dashboard: Listen on port 7000 by default and not 8080

Port 8080 is a common alternative HTTP port used for web traffic.

The dashboard however uses SSL (which can not be turned off) and for
that purpose we should either use 8443.

Historically the dashboard would run on port 7000 so to keep this backwards
compatibility the dashboard should bind again on TCP 7000.

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agoMerge pull request #22402 from ricardoasmarques/wip-stacktrace-optional
Lenz Grimmer [Tue, 5 Jun 2018 14:27:24 +0000 (16:27 +0200)]
Merge pull request #22402 from ricardoasmarques/wip-stacktrace-optional

mgr/dashboard: Stacktrace is optional on 'js-error' endpoint

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agodoc/governance: fix link
Sage Weil [Tue, 5 Jun 2018 14:24:49 +0000 (09:24 -0500)]
doc/governance: fix link

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/governance: edits and add user committee
Sage Weil [Tue, 5 Jun 2018 13:38:33 +0000 (08:38 -0500)]
doc/governance: edits and add user committee

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Upgrade Swimlane's data-table 21880/head
Volker Theile [Tue, 8 May 2018 10:51:35 +0000 (12:51 +0200)]
mgr/dashboard: Upgrade Swimlane's data-table

Upgrade to latest version 13.0.1 which now supports Angular 6. Check https://github.com/swimlane/ngx-datatable/blob/13.0.1/docs/changelog.md for more information.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22399 from alfredodeza/wip-rm24417
Alfredo Deza [Tue, 5 Jun 2018 12:01:02 +0000 (08:01 -0400)]
Merge pull request #22399 from alfredodeza/wip-rm24417

ceph-volume tests do not include admin keyring in OSD nodes

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agomgr: expose avg data for long running avgs 22420/head
Boris Ranto [Tue, 5 Jun 2018 11:58:00 +0000 (13:58 +0200)]
mgr: expose avg data for long running avgs

While exposing the long running avgs, the order of regular and long
running avg data got mixed up resulting in exposing empty data for both
since there is no regular data for long running avgs and vice versa.
This commit fixes this issue by changing the order of the if/else
statement exposing regular data for regular counters and avg data for
long running avgs.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoMerge pull request #22401 from ricardoasmarques/wip-prettify-package-json
Lenz Grimmer [Tue, 5 Jun 2018 11:50:41 +0000 (13:50 +0200)]
Merge pull request #22401 from ricardoasmarques/wip-prettify-package-json

mgr/dashboard: Prettify package.json

Reviewed-by: Sage Weil <sage@redhat.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 agomgr/dashboard: fix lint error 22417/head
Tiago Melo [Tue, 5 Jun 2018 11:30:10 +0000 (12:30 +0100)]
mgr/dashboard: fix lint error

Error was introduced in 78dc50443cf64168098f1fb5bc43b7d6125621b8.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21826 from tspmelo/rxjs6
Lenz Grimmer [Tue, 5 Jun 2018 11:19:29 +0000 (13:19 +0200)]
Merge pull request #21826 from tspmelo/rxjs6

mgr/dashboard: Update RxJS to version 6

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22122 from tspmelo/wip-osd-scrub
Lenz Grimmer [Tue, 5 Jun 2018 10:33:34 +0000 (12:33 +0200)]
Merge pull request #22122 from tspmelo/wip-osd-scrub

mgr/dashboard: Add scrub action to the OSDs table

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Changed default value of decimal point to 1 22386/head
Tiago Melo [Mon, 4 Jun 2018 10:30:33 +0000 (11:30 +0100)]
mgr/dashboard: Changed default value of decimal point to 1

Changed the default decimals point to 1 in 'formater_number' method, this
is used in the 'dimlessPipe' and 'dimlessBinaryPipe'.
This value can still be changed when needed, using one of the parameters.

I have also removed the 'truncate' method.

Fixes: https://tracker.ceph.com/issues/24281
Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #22392 from tchaikov/wip-cmake-boost-1.67
Kefu Chai [Tue, 5 Jun 2018 08:57:32 +0000 (16:57 +0800)]
Merge pull request #22392 from tchaikov/wip-cmake-boost-1.67

cmake: bump up the required boost version to 1.67

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: Hide `required` for read-only fields on RBD edit 22404/head
Ricardo Marques [Tue, 5 Jun 2018 08:45:12 +0000 (09:45 +0100)]
mgr/dashboard: Hide `required` for read-only fields on RBD edit

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomessages/MOSDPGScan: fix initialization of query_epoch 22408/head
wumingqiao [Tue, 5 Jun 2018 07:21:48 +0000 (15:21 +0800)]
messages/MOSDPGScan: fix initialization of query_epoch

Signed-off-by: wumingqiao <wumingqiao@inspur.com>
7 years agoMerge pull request #22405 from neha-ojha/wip-24365
Josh Durgin [Tue, 5 Jun 2018 03:00:00 +0000 (20:00 -0700)]
Merge pull request #22405 from neha-ojha/wip-24365

qa/tasks/cbt.py: changes to run on bionic

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/tasks/cbt.py: changes to run on bionic 22405/head
Neha Ojha [Tue, 5 Jun 2018 00:23:21 +0000 (17:23 -0700)]
qa/tasks/cbt.py: changes to run on bionic

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agomgr/dashboard: Do not fetch pool list on RBD edit
Ricardo Marques [Mon, 4 Jun 2018 19:44:21 +0000 (20:44 +0100)]
mgr/dashboard: Do not fetch pool list on RBD edit

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Stacktrace is optional on 'js-error' endpoint 22402/head
Ricardo Marques [Mon, 4 Jun 2018 21:21:49 +0000 (22:21 +0100)]
mgr/dashboard: Stacktrace is optional on 'js-error' endpoint

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoosd,mds,common: make 'config rm ...' idempotent 22395/head
Sage Weil [Mon, 4 Jun 2018 16:00:08 +0000 (11:00 -0500)]
osd,mds,common: make 'config rm ...' idempotent

Fixes: http://tracker.ceph.com/issues/24408
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Prettify package.json 22401/head
Ricardo Marques [Mon, 4 Jun 2018 20:50:02 +0000 (21:50 +0100)]
mgr/dashboard: Prettify package.json

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoceph-volume tests do not include admin keyring in OSD nodes 22399/head
Alfredo Deza [Mon, 4 Jun 2018 20:01:15 +0000 (16:01 -0400)]
ceph-volume tests do not include admin keyring in OSD nodes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #22393 from wido/ceph-volume-bluestore-tool
Alfredo Deza [Mon, 4 Jun 2018 19:25:29 +0000 (15:25 -0400)]
Merge pull request #22393 from wido/ceph-volume-bluestore-tool

ceph-volume lvm.activate Do not search for a MON configuration

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agocommon/config: fix rm_val error codes
Sage Weil [Mon, 4 Jun 2018 15:59:51 +0000 (10:59 -0500)]
common/config: fix rm_val error codes

EINVAL if the config option is invalid.
ENOENT if the config option wasn't set.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22359 into master
Sage Weil [Mon, 4 Jun 2018 15:50:13 +0000 (10:50 -0500)]
Merge PR #22359 into master

* refs/pull/22359/head:
osdc/objecter: remove unused method finish_op

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: bump up the required boost version to 1.67 22392/head
Kefu Chai [Mon, 4 Jun 2018 14:27:55 +0000 (22:27 +0800)]
cmake: bump up the required boost version to 1.67

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: Add scrub action to the OSD table 22122/head
Tiago Melo [Wed, 30 May 2018 09:59:16 +0000 (10:59 +0100)]
mgr/dashboard: Add scrub action to the OSD table

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Add OSD scrub modal component
Tiago Melo [Wed, 30 May 2018 09:58:38 +0000 (10:58 +0100)]
mgr/dashboard: Add OSD scrub modal component

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Add scrub methods to OSD controller and service
Tiago Melo [Fri, 11 May 2018 15:20:53 +0000 (16:20 +0100)]
mgr/dashboard: Add scrub methods to OSD controller and service

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Extract 'srt_to_bool' method
Tiago Melo [Mon, 4 Jun 2018 13:39:06 +0000 (14:39 +0100)]
mgr/dashboard: Extract 'srt_to_bool' method

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21247 from MahatiC/wip-rbd-datapool
Jason Dillaman [Mon, 4 Jun 2018 13:38:01 +0000 (09:38 -0400)]
Merge pull request #21247 from MahatiC/wip-rbd-datapool

rbd: add data pool support to trash purge

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22389 from MahatiC/nit-cleanup
Jason Dillaman [Mon, 4 Jun 2018 12:56:14 +0000 (08:56 -0400)]
Merge pull request #22389 from MahatiC/nit-cleanup

doc: cleanup rendering syntax

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22384 from ukernel/wip-mds-session-ref
Yan, Zheng [Mon, 4 Jun 2018 12:40:57 +0000 (20:40 +0800)]
Merge pull request #22384 from ukernel/wip-mds-session-ref

mds: add reference when setting Connection::priv to existing session

7 years agoMerge pull request #22346 from dzafman/wip-scrub-omap
Kefu Chai [Mon, 4 Jun 2018 11:53:18 +0000 (19:53 +0800)]
Merge pull request #22346 from dzafman/wip-scrub-omap

osd: Handle omap and data digests independently

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: cleanup 22389/head
Mahati Chamarthy [Mon, 4 Jun 2018 11:50:57 +0000 (17:20 +0530)]
doc: cleanup

cleanup format

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
7 years agoceph-volume lvm.activate Do not search for a MON configuration 22393/head
Wido den Hollander [Mon, 4 Jun 2018 11:21:12 +0000 (13:21 +0200)]
ceph-volume lvm.activate Do not search for a MON configuration

This system might not have one nor can we be sure that we have
a client.admin keyring on the system.

Just prime the directory and have the OSD then use it's own cephx
key to communicate with the MONs.

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agoMerge pull request #22328 from tspmelo/wip-tslint-unused
Lenz Grimmer [Mon, 4 Jun 2018 10:22:06 +0000 (12:22 +0200)]
Merge pull request #22328 from tspmelo/wip-tslint-unused

mgr/dashboard: Add 'no-unused-variable' rule to tslint

Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22350 from theanalyst/doc-mimic-index-fix
Kefu Chai [Mon, 4 Jun 2018 10:01:21 +0000 (18:01 +0800)]
Merge pull request #22350 from theanalyst/doc-mimic-index-fix

doc: mimic is stable!

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomds: fix MDSRank::send_message_client_counted() 22384/head
Yan, Zheng [Mon, 4 Jun 2018 05:56:44 +0000 (13:56 +0800)]
mds: fix MDSRank::send_message_client_counted()

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: add reference when setting Connection::priv to existing session
Yan, Zheng [Mon, 4 Jun 2018 05:40:00 +0000 (13:40 +0800)]
mds: add reference when setting Connection::priv to existing session

the bug was introduced by commit 72883956c26 "use intrusive_ptr for
holding Connection::priv"

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agoosd: use null if on_finisher is not needed 21999/head
myoungwon oh [Tue, 15 May 2018 08:47:56 +0000 (17:47 +0900)]
osd: use null if on_finisher is not needed

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agoosd: set has_reference flag when need_reference is set
myoungwon oh [Tue, 15 May 2018 08:45:08 +0000 (17:45 +0900)]
osd: set has_reference flag when need_reference is set

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agosrc/test: add a unit test for unset-manifest
myoungwon oh [Tue, 15 May 2018 08:42:03 +0000 (17:42 +0900)]
src/test: add a unit test for unset-manifest

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agodoc: update the description for SPDK in bluestore-config-ref.rst 22365/head
tone-zhang [Fri, 1 Jun 2018 09:39:24 +0000 (09:39 +0000)]
doc: update the description for SPDK in bluestore-config-ref.rst

Add more information to show the device initialization in SPDK.

Signed-off-by: tone-zhang <tone.zhang@arm.com>
7 years agomgr/dashboard: Add 'no-unused-variable' rule to tslint 22328/head
Tiago Melo [Wed, 30 May 2018 15:04:01 +0000 (16:04 +0100)]
mgr/dashboard: Add 'no-unused-variable' rule to tslint

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Update RxJS to version 6 21826/head
Tiago Melo [Fri, 4 May 2018 19:07:21 +0000 (20:07 +0100)]
mgr/dashboard: Update RxJS to version 6

I used rxjs-tslint tool to automatically update most of the necessary code.

I added a new package, rxjs-compat, to maintain the compatibility
of external plugins that are still using RxJS v5.X.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21718 from majianpeng/admin-socket-cleanup
Kefu Chai [Sat, 2 Jun 2018 17:55:37 +0000 (01:55 +0800)]
Merge pull request #21718 from majianpeng/admin-socket-cleanup

common/admin_socket: add new api unregister_commands(AdminSocketHook …

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21913 from tspmelo/wip-cephfs-table
Kefu Chai [Sat, 2 Jun 2018 17:53:40 +0000 (01:53 +0800)]
Merge pull request #21913 from tspmelo/wip-cephfs-table

mgr/dashboard: Add Filesystems list component

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22196 from thinkercui/bugfix
Kefu Chai [Sat, 2 Jun 2018 17:52:24 +0000 (01:52 +0800)]
Merge pull request #22196 from thinkercui/bugfix

osd: read object attrs failed at EC recovery

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22336 from majianpeng/bluestore-handle-kvdb-error
Kefu Chai [Sat, 2 Jun 2018 17:51:00 +0000 (01:51 +0800)]
Merge pull request #22336 from majianpeng/bluestore-handle-kvdb-error

os/bluestore: firstly delete db then delete bluefs if open db met error.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #22306 from liewegas/wip-msgr-addrvec
Kefu Chai [Sat, 2 Jun 2018 17:49:58 +0000 (01:49 +0800)]
Merge pull request #22306 from liewegas/wip-msgr-addrvec

msg: addr -> addrvec (part 1)

Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agospdk: fix ceph-osd crash when activate SPDK 22356/head
tone-zhang [Fri, 1 Jun 2018 04:41:33 +0000 (04:41 +0000)]
spdk: fix ceph-osd crash when activate SPDK

When activate SPDK in Ceph, observe a Ceph crash.

It happened in the case 1) there is a pending IOContext in
NVMEDevice and 2) the lower block device has been recreated and
queue_t then points to an NVMEDevice that no longer exists.

This patch addresses the problem by deleting and zeroing queue_t
when NVMEDevice is closed.

Fixes: http://tracker.ceph.com/issues/24371
Signed-off-by: tone-zhang <tone.zhang@arm.com>
7 years agoMerge pull request #22342 from dillaman/wip-23516
Mykola Golub [Sat, 2 Jun 2018 06:47:16 +0000 (09:47 +0300)]
Merge pull request #22342 from dillaman/wip-23516

librbd: commit IO as safe when complete if writeback cache is disabled

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #22348 from dillaman/wip-24169
Mykola Golub [Sat, 2 Jun 2018 06:43:35 +0000 (09:43 +0300)]
Merge pull request #22348 from dillaman/wip-24169

rbd-mirror: ensure daemon can cleanly exit if pool is deleted

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agodoc/governance.rst: a few notes on ceph project governance
Sage Weil [Fri, 1 Jun 2018 13:46:29 +0000 (08:46 -0500)]
doc/governance.rst: a few notes on ceph project governance

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21812 from thmour/thmour_ceph-volume
Alfredo Deza [Fri, 1 Jun 2018 15:50:29 +0000 (11:50 -0400)]
Merge pull request #21812 from thmour/thmour_ceph-volume

ceph-volume: sort and align `lvm list` output

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #22367 from tchaikov/wip-cmake-rgw
Kefu Chai [Fri, 1 Jun 2018 13:56:46 +0000 (21:56 +0800)]
Merge pull request #22367 from tchaikov/wip-cmake-rgw

cmake: rgw_common should depend on tracing headers

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoMerge pull request #22364 from tchaikov/wip-doc
Sage Weil [Fri, 1 Jun 2018 13:15:29 +0000 (08:15 -0500)]
Merge pull request #22364 from tchaikov/wip-doc

 doc: fix the links in releases/schedule.rst

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoosd/OSDMap: switch to addrvec for public_addr 22306/head
Sage Weil [Wed, 30 May 2018 21:13:32 +0000 (16:13 -0500)]
osd/OSDMap: switch to addrvec for public_addr

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/Session: avoid OSDMap::get_addr()
Sage Weil [Wed, 30 May 2018 20:16:44 +0000 (15:16 -0500)]
mon/Session: avoid OSDMap::get_addr()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/OSDMap: remove get_addr()
Sage Weil [Wed, 30 May 2018 20:16:20 +0000 (15:16 -0500)]
osd/OSDMap: remove get_addr()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/OSDMap: avoid get_addr()
Sage Weil [Wed, 30 May 2018 20:16:14 +0000 (15:16 -0500)]
osd/OSDMap: avoid get_addr()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: entity_addrvec_t contains() and is_same_host()
Sage Weil [Wed, 30 May 2018 20:15:54 +0000 (15:15 -0500)]
msg/msg_types: entity_addrvec_t contains() and is_same_host()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: avoid OSDMap::get_addr()
Sage Weil [Wed, 30 May 2018 20:12:47 +0000 (15:12 -0500)]
osd: avoid OSDMap::get_addr()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoclient: use get_addrs()
Sage Weil [Wed, 30 May 2018 20:12:28 +0000 (15:12 -0500)]
client: use get_addrs()

These are legacy interfaces that should return an IP only.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: entity_addrvec_t::front()
Sage Weil [Wed, 30 May 2018 20:12:12 +0000 (15:12 -0500)]
msg/msg_types: entity_addrvec_t::front()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr: avoid OSDMap::get_addr()
Sage Weil [Wed, 30 May 2018 20:09:22 +0000 (15:09 -0500)]
mgr: avoid OSDMap::get_addr()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: entity_addrvec_t::probably_equals()
Sage Weil [Wed, 30 May 2018 20:09:13 +0000 (15:09 -0500)]
msg/msg_types: entity_addrvec_t::probably_equals()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomsg/msg_types: add entity_addrvec_t::get_ports()
Sage Weil [Wed, 30 May 2018 20:03:50 +0000 (15:03 -0500)]
msg/msg_types: add entity_addrvec_t::get_ports()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/OSDMonitor: change 'osd find' output to list all addrs
Sage Weil [Wed, 30 May 2018 19:58:35 +0000 (14:58 -0500)]
mon/OSDMonitor: change 'osd find' output to list all addrs

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/OSDMap: remove get_inst()
Sage Weil [Wed, 30 May 2018 19:38:43 +0000 (14:38 -0500)]
osd/OSDMap: remove get_inst()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosdc/Objecter: use get_addrs
Sage Weil [Wed, 30 May 2018 19:38:39 +0000 (14:38 -0500)]
osdc/Objecter: use get_addrs

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomessages/MRoute: remove unused entity_inst_t dest
Sage Weil [Wed, 30 May 2018 19:36:08 +0000 (14:36 -0500)]
messages/MRoute: remove unused entity_inst_t dest

This is unused in luminous and mimic, too, although the code was
never removed.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: remove dead try_send_message()
Sage Weil [Wed, 30 May 2018 19:01:40 +0000 (14:01 -0500)]
mon: remove dead try_send_message()

No more users!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: remove dead send_command()
Sage Weil [Wed, 30 May 2018 19:01:17 +0000 (14:01 -0500)]
mon: remove dead send_command()

No users.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/OSDMonitor: remove dead 'osd scrub' implementation from mon
Sage Weil [Wed, 30 May 2018 19:00:34 +0000 (14:00 -0500)]
mon/OSDMonitor: remove dead 'osd scrub' implementation from mon

This is now handled by the mgr (as of luminous).

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomessages/MOSDMarkMeDown: use addrvec
Sage Weil [Wed, 30 May 2018 18:56:52 +0000 (13:56 -0500)]
messages/MOSDMarkMeDown: use addrvec

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocmake: rgw_common should depend on tracing headers 22367/head
Kefu Chai [Fri, 1 Jun 2018 12:38:25 +0000 (20:38 +0800)]
cmake: rgw_common should depend on tracing headers

see also: 4c0d3531

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22324 from cbodley/wip-rgw-cache-time-added
Matt Benjamin [Fri, 1 Jun 2018 12:25:31 +0000 (08:25 -0400)]
Merge pull request #22324 from cbodley/wip-rgw-cache-time-added

rgw: update ObjectCacheInfo::time_added on overwrite