]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoosd: do not include Messenger.h if not necessary 22483/head
Kefu Chai [Sat, 9 Jun 2018 04:48:12 +0000 (12:48 +0800)]
osd: do not include Messenger.h if not necessary

to speed up the compilation, do not include Messenger.h, and use forward
declaration instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22478 from liewegas/wip-24452
Kefu Chai [Sat, 9 Jun 2018 06:05:56 +0000 (14:05 +0800)]
Merge pull request #22478 from liewegas/wip-24452

osd/PG: create new PGs from activate in last_peering_reset epoch

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22428 from dzafman/wip-24396-fix
David Zafman [Sat, 9 Jun 2018 03:28:44 +0000 (20:28 -0700)]
Merge pull request #22428 from dzafman/wip-24396-fix

test: Use a file that should be on all OSes

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomessages/MOSDPGScan: encode map_epcoh for query_epoch for pre-nautilus peers 22478/head
Sage Weil [Sat, 9 Jun 2018 01:45:08 +0000 (20:45 -0500)]
messages/MOSDPGScan: encode map_epcoh for query_epoch for pre-nautilus peers

Pre-nautilus OSDs do not create last_peering_reset reliably (due to not
having the previous commit's fix in place).  Avoid breaking them during
an upgrade by encoding the map_epcoh in place of the query_epoch.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: create new PGs from activate in last_peering_reset epoch
Sage Weil [Fri, 8 Jun 2018 12:29:31 +0000 (07:29 -0500)]
osd/PG: create new PGs from activate in last_peering_reset epoch

If we create a new PG (e.g., a backfill target) in the current epoch, it
might be > last_peering_reset.  That can lead to last_peering_reset on
the replica having a higher last_peering_reset than the primary's, which
can then lead to future messages, like pg_scan during backfill, being
ignored.

Fixes: http://tracker.ceph.com/issues/24452
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22462 from liewegas/wip-bluestore-no-meta-paths
Alfredo Deza [Fri, 8 Jun 2018 17:40:25 +0000 (13:40 -0400)]
Merge pull request #22462 from liewegas/wip-bluestore-no-meta-paths

os/bluestore: don't store/use path_block.{db,wal} from meta

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #22426 from alfredodeza/wip-rm24020
Andrew Schoen [Fri, 8 Jun 2018 15:52:31 +0000 (15:52 +0000)]
Merge pull request #22426 from alfredodeza/wip-rm24020

ceph-volume expand on the LVM API to create multiple LVs at different sizes

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume util make chown links affect links as well as paths 22462/head
Alfredo Deza [Fri, 8 Jun 2018 12:54:07 +0000 (08:54 -0400)]
ceph-volume util make chown links affect links as well as paths

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.activate chown bluestore symlinks
Alfredo Deza [Fri, 8 Jun 2018 12:57:54 +0000 (08:57 -0400)]
ceph-volume lvm.activate chown bluestore symlinks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoos/bluestore: make bad symlink target error messages more informative
Sage Weil [Fri, 8 Jun 2018 13:34:53 +0000 (08:34 -0500)]
os/bluestore: make bad symlink target error messages more informative

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22439 from shaba/devel/fix-rocksdb
Kefu Chai [Fri, 8 Jun 2018 13:22:45 +0000 (21:22 +0800)]
Merge pull request #22439 from shaba/devel/fix-rocksdb

cmake: fix find system rockdb

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22430 from tchaikov/wip-find_package-oath
Kefu Chai [Fri, 8 Jun 2018 12:50:28 +0000 (20:50 +0800)]
Merge pull request #22430 from tchaikov/wip-find_package-oath

cmake: find liboath using the correct name

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Erwan Velu <erwan@redhat.com>
7 years agoMerge pull request #22453 from tspmelo/fix-pool-usage
Lenz Grimmer [Fri, 8 Jun 2018 09:46:42 +0000 (11:46 +0200)]
Merge pull request #22453 from tspmelo/fix-pool-usage

mgr/dashboard: Fix pool usage not displaying on filesystem page

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22443 from dillaman/wip-doc-rbd-openstack
Mykola Golub [Fri, 8 Jun 2018 06:11:02 +0000 (09:11 +0300)]
Merge pull request #22443 from dillaman/wip-doc-rbd-openstack

doc/rbd: corrected OpenStack Cinder permissions for Glance pool

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge PR #22447 into master
Sage Weil [Thu, 7 Jun 2018 22:25:48 +0000 (17:25 -0500)]
Merge PR #22447 into master

* refs/pull/22447/head:
osd/OSDMap: fix pre-addrvec compat
mon/MgrMap: fix pre-addrvec compat
messages/MMgrBeacon: fix pre-addrvec compat

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoos/bluestore: don't store/use path_block.{db,wal} from meta
Sage Weil [Thu, 7 Jun 2018 17:12:46 +0000 (12:12 -0500)]
os/bluestore: don't store/use path_block.{db,wal} from meta

This reverts most of 8d07fa5ad0772b4d979dc10695d230074d1f1e69.

ceph-volume goes to great lengths to ensure that the symlinks in the
osd dir are accurate.  Having these values here is an opportunity to
get them out of sync.  And that can happen very easily if the initial
mkfs was performed using a /dev/sdX device name (which is unstable
across reboots).  Even after ceph-volume corrects the symlink, bluestore
will continue to use the stale device path.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22403 from ricardoasmarques/wip-http-401
Lenz Grimmer [Thu, 7 Jun 2018 15:09:33 +0000 (17:09 +0200)]
Merge pull request #22403 from ricardoasmarques/wip-http-401

mgr/dashboard: Login failure should return HTTP 400

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22437 from alfredodeza/wip-cv-osd-destroy
Andrew Schoen [Thu, 7 Jun 2018 14:47:21 +0000 (14:47 +0000)]
Merge pull request #22437 from alfredodeza/wip-cv-osd-destroy

ceph-volume tests destroy osds on monitor hosts

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge PR #22445 into master
Patrick Donnelly [Thu, 7 Jun 2018 13:06:56 +0000 (06:06 -0700)]
Merge PR #22445 into master

* refs/pull/22445/head:
doc: fix release notes on snapshot upgrades

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agocmake: fix find system rockdb 22439/head
Alexey Shabalin [Thu, 7 Jun 2018 11:19:41 +0000 (14:19 +0300)]
cmake: fix find system rockdb

- fix path for version.h
- fix typo ROCKDB -> ROCKSDB

Signed-off-by: Alexey Shabalin <shaba@altlinux.org>
7 years agomgr/dashboard: Fix pool usage not displaying on filesystem page 22453/head
Tiago Melo [Thu, 7 Jun 2018 10:59:13 +0000 (11:59 +0100)]
mgr/dashboard: Fix pool usage not displaying on filesystem page

Reference to the template was undefined during the init of the component.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #22451 from wwformat/wip-gcc7-aarch64
Kefu Chai [Thu, 7 Jun 2018 09:39:48 +0000 (17:39 +0800)]
Merge pull request #22451 from wwformat/wip-gcc7-aarch64

install-deps.sh: support install gcc7 in xenial aarch64

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps.sh: support install gcc7 in xenial aarch64 22451/head
Yunchuan Wen [Thu, 7 Jun 2018 07:51:31 +0000 (15:51 +0800)]
install-deps.sh: support install gcc7 in xenial aarch64

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
7 years agoosd/OSDMap: fix pre-addrvec compat 22447/head
Sage Weil [Thu, 7 Jun 2018 01:07:27 +0000 (20:07 -0500)]
osd/OSDMap: fix pre-addrvec compat

This was broken by b47d9135d5345816037899cd1d12a5a20b54e6c1.  Old code
does not decode an addrvec as an addr.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/MgrMap: fix pre-addrvec compat
Sage Weil [Thu, 7 Jun 2018 01:06:23 +0000 (20:06 -0500)]
mon/MgrMap: fix pre-addrvec compat

This was broken by 7f787704cdcd55df18d204c5251cdd6a3cedd604.  Old code
does not decode an addrvec as an addr.

Take the opportunity to remove the old_available_modules field.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomessages/MMgrBeacon: fix pre-addrvec compat
Sage Weil [Thu, 7 Jun 2018 01:05:17 +0000 (20:05 -0500)]
messages/MMgrBeacon: fix pre-addrvec compat

This was broken by 7f787704cdcd55df18d204c5251cdd6a3cedd604.  Old code
doesn't not decode an addrvec as an addr.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22388 into master
Patrick Donnelly [Wed, 6 Jun 2018 22:31:12 +0000 (15:31 -0700)]
Merge PR #22388 into master

* refs/pull/22388/head:
ceph-mds: Fix usage
doc: ceph-mds option updates

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22338 into master
Patrick Donnelly [Wed, 6 Jun 2018 22:27:19 +0000 (15:27 -0700)]
Merge PR #22338 into master

* refs/pull/22338/head:
doc: update toctree for add-remove-mds.rst
doc: create add/remove metadata server

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc: fix release notes on snapshot upgrades 22445/head
Patrick Donnelly [Wed, 6 Jun 2018 21:20:53 +0000 (14:20 -0700)]
doc: fix release notes on snapshot upgrades

Fixes: https://tracker.ceph.com/issues/24435
Introduced-by: d78dda7b812c63b5504f69e9df78bea4fbb37394.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoceph-volume tests functional osd destroy on mons only for dmcrypt 22437/head
Alfredo Deza [Wed, 6 Jun 2018 15:37:21 +0000 (11:37 -0400)]
ceph-volume tests functional osd destroy on mons only for dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rbd: corrected OpenStack Cinder permissions for Glance pool 22443/head
Jason Dillaman [Wed, 6 Jun 2018 18:50:24 +0000 (14:50 -0400)]
doc/rbd: corrected OpenStack Cinder permissions for Glance pool

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22282 from rjfd/wip-dashboard-api-docs
Lenz Grimmer [Wed, 6 Jun 2018 17:28:46 +0000 (19:28 +0200)]
Merge pull request #22282 from rjfd/wip-dashboard-api-docs

mgr/dashboard: Swagger-UI based Dashboard REST API page

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22387 from votdev/missing_space_value_unit
Lenz Grimmer [Wed, 6 Jun 2018 17:20:44 +0000 (19:20 +0200)]
Merge pull request #22387 from votdev/missing_space_value_unit

mgr/dashboard: Print a blank space between value and unit

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>
7 years agoceph-volume tests/functional destroy filestore osds on the monitors
Alfredo Deza [Wed, 6 Jun 2018 13:02:42 +0000 (09:02 -0400)]
ceph-volume tests/functional destroy filestore osds on the monitors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agomgr/dashboard: Swagger-UI based Dashboard REST API page 22282/head
Ricardo Dias [Thu, 3 May 2018 14:26:37 +0000 (15:26 +0100)]
mgr/dashboard: Swagger-UI based Dashboard REST API page

Fixes: http://tracker.ceph.com/issues/23898
Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21279 from sungjunyoung/master
Kefu Chai [Wed, 6 Jun 2018 14:55:44 +0000 (22:55 +0800)]
Merge pull request #21279 from sungjunyoung/master

doc: erasure-code-jerasure: removed default section of crush-device-class

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: find liboath using the correct name 22430/head
Kefu Chai [Wed, 6 Jun 2018 02:27:38 +0000 (10:27 +0800)]
cmake: find liboath using the correct name

we should reference liboath by the $name in Find${name}.cmake, also the
$name should be consistent when calling find_package_handle_standard_args().
in this change
* rename Findliboath.cmake to FindOATH.cmake to be consistent with other
  find_package() moduless.
* use "OATH" in find_package_handle_standard_args() instead of "oath"
* set the interface properties for OATH::OATH, so the target linking
  against it can reference its header directories and libraries automatically.
* remove the stale comment for find_package_handle_standard_args()
* set OATH_INCLUDE_DIRS and OATH_LIBRARIES to follow the convention of
  find_package(), even they are not used directly in this project.

Reported-by: Erwan Velu <erwan@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-volume tests/functional destroy bluestore osds on the monitors
Alfredo Deza [Wed, 6 Jun 2018 12:59:34 +0000 (08:59 -0400)]
ceph-volume tests/functional destroy bluestore osds on the monitors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agomgr/dashboard: Print a blank space between value and unit. 22387/head
Volker Theile [Mon, 4 Jun 2018 11:06:30 +0000 (13:06 +0200)]
mgr/dashboard: Print a blank space between value and unit.

When displaying values with their unit a blank space must be shown between them, see #15 at https://physics.nist.gov/cuu/Units/checklist.html.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Login failure should return HTTP 400 22403/head
Ricardo Marques [Mon, 4 Jun 2018 20:26:44 +0000 (21:26 +0100)]
mgr/dashboard: Login failure should return HTTP 400

Signed-off-by: Ricardo Marques <rimarques@suse.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 agodoc: erasure-code-jerasure: remove crush-device-class option's unused default 21279/head
Junyoung, Sung [Wed, 6 Jun 2018 06:51:42 +0000 (15:51 +0900)]
doc: erasure-code-jerasure: remove crush-device-class option's unused default

Signed-off-by: Junyoung Sung <junyoung.sung@navercorp.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 agotest: Use a file that should be on all OSes 22428/head
David Zafman [Tue, 5 Jun 2018 18:01:37 +0000 (11:01 -0700)]
test: Use a file that should be on all OSes

Also, create temporary files in test specific dir and remove

Caused by: 154330fd68d952a4e1b972891f02b6dc9c355424

Signed-off-by: David Zafman <dzafman@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 agoceph-volume api.lvm fallback to 1 part if none are define when creating lvs 22426/head
Alfredo Deza [Mon, 4 Jun 2018 18:08:44 +0000 (14:08 -0400)]
ceph-volume api.lvm fallback to 1 part if none are define when creating lvs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests verify create_lvs behavior
Alfredo Deza [Mon, 4 Jun 2018 18:04:52 +0000 (14:04 -0400)]
ceph-volume tests verify create_lvs behavior

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume api.lvm default to null tags on lvs created
Alfredo Deza [Wed, 23 May 2018 13:23:40 +0000 (09:23 -0400)]
ceph-volume api.lvm default to null tags on lvs created

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-deploy api.lvm allow multiple lv creation
Alfredo Deza [Tue, 22 May 2018 20:06:01 +0000 (16:06 -0400)]
ceph-deploy api.lvm allow multiple lv creation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume api.lvm add a sizing method for VGs to calculate LV creation
Alfredo Deza [Tue, 22 May 2018 16:58:36 +0000 (12:58 -0400)]
ceph-volume api.lvm add a sizing method for VGs to calculate LV creation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume exceptions create an error for size allocations
Alfredo Deza [Tue, 22 May 2018 16:57:19 +0000 (12:57 -0400)]
ceph-volume exceptions create an error for size allocations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests verify vg sizing behavior
Alfredo Deza [Tue, 22 May 2018 12:29:16 +0000 (08:29 -0400)]
ceph-volume tests verify vg sizing behavior

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume api.lvm force vgs to display units in 'g'
Alfredo Deza [Mon, 21 May 2018 17:35:57 +0000 (13:35 -0400)]
ceph-volume api.lvm force vgs to display units in 'g'

Signed-off-by: Alfredo Deza <adeza@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 agoceph-mds: Fix usage 22388/head
Jos Collin [Tue, 5 Jun 2018 05:40:24 +0000 (11:10 +0530)]
ceph-mds: Fix usage

Signed-off-by: Jos Collin <jcollin@redhat.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>