]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoqa/workunits/rbd: test new move-to-trash on image remove config override 24476/head
Jason Dillaman [Mon, 8 Oct 2018 14:50:32 +0000 (10:50 -0400)]
qa/workunits/rbd: test new move-to-trash on image remove config override

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: optionally move image to trash when removed by user
Jason Dillaman [Mon, 8 Oct 2018 14:46:18 +0000 (10:46 -0400)]
librbd: optionally move image to trash when removed by user

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: move remove API method to api namespace
Jason Dillaman [Mon, 8 Oct 2018 14:09:39 +0000 (10:09 -0400)]
librbd: move remove API method to api namespace

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: move trash API methods to api namespace
Jason Dillaman [Mon, 8 Oct 2018 13:55:18 +0000 (09:55 -0400)]
librbd: move trash API methods to api namespace

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24407 from alfredodeza/wip-rm26953
Andrew Schoen [Wed, 10 Oct 2018 12:57:34 +0000 (08:57 -0400)]
Merge pull request #24407 from alfredodeza/wip-rm26953

ceph-volume: allow to specify --cluster-fsid instead of reading from ceph.conf

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #24515 from tchaikov/wip-cmake-rgw
Kefu Chai [Wed, 10 Oct 2018 12:32:02 +0000 (20:32 +0800)]
Merge pull request #24515 from tchaikov/wip-cmake-rgw

cmake: do not use plain target_link_libraries(rgw_a ...)

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kai Wagner <kwagner@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23622 from renhwztetecs/renhw-wip-25103
John Spray [Wed, 10 Oct 2018 12:28:33 +0000 (13:28 +0100)]
Merge pull request #23622 from renhwztetecs/renhw-wip-25103

mgr: fixup pgs show in unknown state

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #24448 from votdev/bug_36325
Ricardo Marques [Wed, 10 Oct 2018 11:18:35 +0000 (12:18 +0100)]
Merge pull request #24448 from votdev/bug_36325

mgr/dashboard: Performance counter progress bar keeps infinitely looping

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #23970 from noahdesu/mgr-always-on-mods-v2
John Spray [Wed, 10 Oct 2018 11:17:41 +0000 (12:17 +0100)]
Merge pull request #23970 from noahdesu/mgr-always-on-mods-v2

mgr: always on modules v2

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #24239 from votdev/python_ceph_audit_log
John Spray [Wed, 10 Oct 2018 10:47:49 +0000 (11:47 +0100)]
Merge pull request #24239 from votdev/python_ceph_audit_log

mgr: Add ability to trigger a cluster/audit log message from Python

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agocmake: do not use plain target_link_libraries(rgw_a ...) 24515/head
Kefu Chai [Wed, 10 Oct 2018 10:18:03 +0000 (18:18 +0800)]
cmake: do not use plain target_link_libraries(rgw_a ...)

this addresses following error:

CMake Error at src/rgw/CMakeLists.txt:178 (target_link_libraries):
  The plain signature for target_link_libraries has already been used
with
  the target "rgw_a".  All uses of target_link_libraries with a target
must
  be either all-keyword or all-plain.

  The uses of the plain signature are here:

   * src/rgw/CMakeLists.txt:168 (target_link_libraries)

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24487 from badone/wip-undefined-references-to-dpdk-symbols
Kefu Chai [Wed, 10 Oct 2018 08:48:22 +0000 (16:48 +0800)]
Merge pull request #24487 from badone/wip-undefined-references-to-dpdk-symbols

cmake/modules/BuildDPDK.cmake: Build required DPDK libraries

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24450 from dillaman/wip-rbd-conf-keys
Mykola Golub [Wed, 10 Oct 2018 08:01:50 +0000 (11:01 +0300)]
Merge pull request #24450 from dillaman/wip-rbd-conf-keys

librbd: simplify config override handling

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24509 from badone/wip-releases-add-13.2.2
Kefu Chai [Wed, 10 Oct 2018 06:47:51 +0000 (14:47 +0800)]
Merge pull request #24509 from badone/wip-releases-add-13.2.2

doc/releases: Add Mimic release 13.2.2

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24368 from tchaikov/wip-cmake-cleanup
Kefu Chai [Wed, 10 Oct 2018 04:39:06 +0000 (12:39 +0800)]
Merge pull request #24368 from tchaikov/wip-cmake-cleanup

cmake: use OpenSSL::Crypto instead of OPENSSL_LIBRARIES

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agocmake/modules/BuildDPDK.cmake: Build required DPDK libraries 24487/head
Brad Hubbard [Tue, 9 Oct 2018 08:58:58 +0000 (18:58 +1000)]
cmake/modules/BuildDPDK.cmake: Build required DPDK libraries

Make sure the mbuf and ethdev libraries are created as they export
required symbols.

Fixes: http://tracker.ceph.com/issues/36341
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agodoc/releases: Add Mimic release 13.2.2 24509/head
Brad Hubbard [Wed, 10 Oct 2018 02:23:55 +0000 (12:23 +1000)]
doc/releases: Add Mimic release 13.2.2

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge PR #24496 into master
Patrick Donnelly [Tue, 9 Oct 2018 18:23:47 +0000 (11:23 -0700)]
Merge PR #24496 into master

* refs/pull/24496/head:
doc: fix typo in blkin.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #24484 from hsiang41/mgr/predictor_model_file
Sage Weil [Tue, 9 Oct 2018 16:56:51 +0000 (11:56 -0500)]
Merge pull request #24484 from hsiang41/mgr/predictor_model_file

mgr/diskprediction: Replace local predictor model file

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #21614 from Devp00l/pool-creation-form
Ricardo Marques [Tue, 9 Oct 2018 16:29:09 +0000 (17:29 +0100)]
Merge pull request #21614 from Devp00l/pool-creation-form

mgr/dashboard: Pool management

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24497 from idryomov/wip-clarify-copy-from
Gregory Farnum [Tue, 9 Oct 2018 16:22:07 +0000 (09:22 -0700)]
Merge pull request #24497 from idryomov/wip-clarify-copy-from

include/rados: clarify which flags go where for copy_from

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agocmake: use OpenSSL::Crypto instead of OPENSSL_LIBRARIES 24368/head
Kefu Chai [Tue, 2 Oct 2018 07:56:19 +0000 (15:56 +0800)]
cmake: use OpenSSL::Crypto instead of OPENSSL_LIBRARIES

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoinclude/rados: clarify which flags go where for copy_from 24497/head
Ilya Dryomov [Tue, 9 Oct 2018 14:43:58 +0000 (16:43 +0200)]
include/rados: clarify which flags go where for copy_from

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agodoc: fix typo in blkin.rst 24496/head
Scoots Hamilton [Tue, 9 Oct 2018 14:46:39 +0000 (10:46 -0400)]
doc: fix typo in blkin.rst

Signed-off-by: Scoots Hamilton <scoots@redhat.com>
6 years agoMerge pull request #24491 from tchaikov/wip-add-erasure-clay-in-release-note
Kefu Chai [Tue, 9 Oct 2018 14:17:55 +0000 (22:17 +0800)]
Merge pull request #24491 from tchaikov/wip-add-erasure-clay-in-release-note

PendingReleaseNotes: note newly added CLAY code

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agomgr/dashboard: New formatter byte unit tests 21614/head
Stephan Müller [Mon, 24 Sep 2018 13:36:15 +0000 (15:36 +0200)]
mgr/dashboard: New formatter byte unit tests

Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Unset any compression setting for pools in UI
Stephan Müller [Fri, 21 Sep 2018 08:08:19 +0000 (10:08 +0200)]
mgr/dashboard: Unset any compression setting for pools in UI

The dashboard API now can delete all compression options if the
compression mode is set to 'unset' during edit. Other dismissed options
will be overwritten with the reset value on submit, which will cause
the deletion of the previously set settings.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #23230 from s0nea/wip-dashboard-config-options-add
Ricardo Marques [Tue, 9 Oct 2018 14:07:50 +0000 (15:07 +0100)]
Merge pull request #23230 from s0nea/wip-dashboard-config-options-add

mgr/dashboard config options add

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Update PG update test
Stephan Müller [Tue, 9 Oct 2018 06:37:03 +0000 (08:37 +0200)]
mgr/dashboard: Update PG update test

It is now commented out like it was before,
but I've added a comment what happened during this test with the QA
system. The problem was that even with only a increase of 1 PG the QA
cluster went into a cluster warning state and did not recover in time.
The QA coverage timeout is 2 minutes.

I could not reproduce this behavior with a local cluster, but I've
added a loop to wait until pgp and pg number are equal and the cluster
is in a healthy state again. This can take locally about 5 seconds.
The internal loop has a timeout of 3 minutes.

Fixes: https://tracker.ceph.com/issues/36362
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Unset compression arguments for pools
Stephan Müller [Tue, 9 Oct 2018 06:35:41 +0000 (08:35 +0200)]
mgr/dashboard: Unset compression arguments for pools

The dashboard backend can now unset all set compression arguments if the
compression mode is switched to 'unset'. In the case of 'unset' Ceph
itself will only delete the 'compression_mode' argument, not all other
set arguments. The other arguments that should be removed, too, are
added to the update arguments in order to delete all set arguments.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Readd pool notifications
Stephan Müller [Mon, 27 Aug 2018 14:45:22 +0000 (16:45 +0200)]
mgr/dashboard: Readd pool notifications

As of the merge of cleaner notifications, the notification component was
refactored and move this caused a loss of previously added
notifications.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Use task list service in pool list
Stephan Müller [Wed, 15 Aug 2018 10:02:48 +0000 (12:02 +0200)]
mgr/dashboard: Use task list service in pool list

Now the pool list uses the task list service to monitor all tasks, in
order to extend each pool item with corresponding tasks if any. If there
is a running task for a pool you will see what action runs on it in the
listing.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Handle pool permissions
Stephan Müller [Mon, 2 Jul 2018 17:33:13 +0000 (19:33 +0200)]
mgr/dashboard: Handle pool permissions

Handles pool action permissions in pool listing.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Pool delete
Stephan Müller [Fri, 29 Jun 2018 12:18:46 +0000 (14:18 +0200)]
mgr/dashboard: Pool delete

You can delete pools through the UI, this will generate a task that
deletes the pool in the background.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Pool create / edit
Stephan Müller [Fri, 29 Jun 2018 12:13:37 +0000 (14:13 +0200)]
mgr/dashboard: Pool create / edit

You can create/edit pools through the UI if you have the right
permissions.

You can specify the following:
* Name - can't be duplicated
* Type - replicated or erasure
* Crush rule set
  * Validates if you can use it
  * A popover tells which crush steps are used
* Replica size - depends on your selected rule and the amount of OSDs
* Erasure code profile
* PGs - will be recalculated on form changes (type, replica size,
    erasure profile, crush rule) only if not set before
* EC overwrites flag
* Compression - Algorithm / Min/max blob size / mode / ratio
* Application metadata - Predefined and custom applications as badges

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #24471 from tchaikov/wip-doc-serve-doc
Kefu Chai [Tue, 9 Oct 2018 13:22:20 +0000 (21:22 +0800)]
Merge pull request #24471 from tchaikov/wip-doc-serve-doc

doc: add instructions about using "serve-doc" to preview built document

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoPendingReleaseNotes: note newly added CLAY code 24491/head
Kefu Chai [Tue, 9 Oct 2018 10:50:16 +0000 (18:50 +0800)]
PendingReleaseNotes: note newly added CLAY code

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24477 from tchaikov/wip-live-with-slow-list-size
Kefu Chai [Tue, 9 Oct 2018 13:05:25 +0000 (21:05 +0800)]
Merge pull request #24477 from tchaikov/wip-live-with-slow-list-size

cmake: remove checking for GCC 5.1

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agomgr/dashboard: Return errors to subscriber of task-wrapper
Stephan Müller [Tue, 7 Aug 2018 14:16:47 +0000 (16:16 +0200)]
mgr/dashboard: Return errors to subscriber of task-wrapper

Fixes: https://tracker.ceph.com/issues/36360
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Fixes user roles
Stephan Müller [Tue, 7 Aug 2018 12:20:38 +0000 (14:20 +0200)]
mgr/dashboard: Fixes user roles

Due to changes in the badges component, user roles had to be amended.

Fixes: https://tracker.ceph.com/issues/36357
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Add badge filtering
Stephan Müller [Thu, 9 Aug 2018 12:02:50 +0000 (14:02 +0200)]
mgr/dashboard: Add badge filtering

It's now possible to filter badges and create badges via a create badges
label.

Fixes: https://tracker.ceph.com/issues/36357
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: add create functionality to the frontend 23230/head
Tatjana Dehler [Wed, 22 Aug 2018 13:18:57 +0000 (15:18 +0200)]
mgr/dashboard: add create functionality to the frontend

Add the missing functionality to create config options and related
tests to the frontend.

Fixes: http://tracker.ceph.com/issues/24455
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Enable custom badges
Stephan Müller [Tue, 7 Aug 2018 12:23:26 +0000 (14:23 +0200)]
mgr/dashboard: Enable custom badges

Enables custom badges within badges component.

It's possible to use custom validations and custom error messages.

Fixes: https://tracker.ceph.com/issues/36357
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Amend pool backend tasks
Stephan Müller [Tue, 31 Jul 2018 10:32:10 +0000 (12:32 +0200)]
mgr/dashboard: Amend pool backend tasks

Amends pool tasks in order to get the right results back into the UI
and also to have tasks with the same attributes.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Add pool type definition
Stephan Müller [Fri, 29 Jun 2018 12:08:49 +0000 (14:08 +0200)]
mgr/dashboard: Add pool type definition

Adds pool type definition which is used in pool listing.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Add crush rule type definitions
Stephan Müller [Fri, 23 Mar 2018 17:09:21 +0000 (18:09 +0100)]
mgr/dashboard: Add crush rule type definitions

There are two type definitions one for the crush rule itself and one
for the crush step definition which is used inside the crush rule
definition.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Erasure code profile interface
Stephan Müller [Wed, 27 Jun 2018 14:58:20 +0000 (16:58 +0200)]
mgr/dashboard: Erasure code profile interface

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: add missing parameter type and related test
Tatjana Dehler [Wed, 22 Aug 2018 11:03:28 +0000 (13:03 +0200)]
mgr/dashboard: add missing parameter type and related test

Added missing parameter type and a test for this service method.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: add config options form
Tatjana Dehler [Mon, 25 Jun 2018 14:30:16 +0000 (16:30 +0200)]
mgr/dashboard: add config options form

Fixes: http://tracker.ceph.com/issues/24455
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: add pattern validators
Tatjana Dehler [Thu, 27 Sep 2018 11:22:05 +0000 (13:22 +0200)]
mgr/dashboard: add pattern validators

Add some pattern validators (ip, uuid, number, decimalNumber) that
are needed to validate the config option input values.

Fixes: http://tracker.ceph.com/issues/24455
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Erasure code service
Stephan Müller [Wed, 27 Jun 2018 14:57:41 +0000 (16:57 +0200)]
mgr/dashboard: Erasure code service

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: add placeholder for filters to datatable
Tatjana Dehler [Fri, 6 Jul 2018 12:27:12 +0000 (14:27 +0200)]
mgr/dashboard: add placeholder for filters to datatable

As (e.g.) the configuration option documentation has dropdown menus
with pre-defined filters we need a placeholder for them in the
datatable.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: move config table details to their own component
Tatjana Dehler [Mon, 8 Oct 2018 09:49:11 +0000 (11:49 +0200)]
mgr/dashboard: move config table details to their own component

Fixes: http://tracker.ceph.com/issues/24455
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: add backend method to create config options
Tatjana Dehler [Mon, 25 Jun 2018 14:19:41 +0000 (16:19 +0200)]
mgr/dashboard: add backend method to create config options

Fixes: http://tracker.ceph.com/issues/24455
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: fix typo
Tatjana Dehler [Thu, 16 Aug 2018 12:11:34 +0000 (14:11 +0200)]
mgr/dashboard: fix typo

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: fix missing import
Tatjana Dehler [Wed, 15 Aug 2018 13:56:09 +0000 (15:56 +0200)]
mgr/dashboard: fix missing import

Added the missing import otherwise the 'should create' test will fail
because the received component is undefined.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: refactor '_get_mon_allow_pool_delete_config'
Tatjana Dehler [Fri, 29 Jun 2018 10:50:42 +0000 (12:50 +0200)]
mgr/dashboard: refactor '_get_mon_allow_pool_delete_config'

Refactor '_get_mon_allow_pool_delete_config' method to be a little bit
more general. The method can now be used to get the value of every
config option known to the cluster.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #24392 from joscollin/wip-fix-fs-status
Jos Collin [Tue, 9 Oct 2018 11:06:02 +0000 (16:36 +0530)]
Merge pull request #24392 from joscollin/wip-fix-fs-status

pybind/mgr: identify invalid fs

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #24422 from mynaramana/claydoc
Kefu Chai [Tue, 9 Oct 2018 09:50:14 +0000 (17:50 +0800)]
Merge pull request #24422 from mynaramana/claydoc

docs: add Clay code plugin documentation

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23666 from rhcs-dashboard/grafana-integration
Ricardo Marques [Tue, 9 Oct 2018 08:29:08 +0000 (09:29 +0100)]
Merge pull request #23666 from rhcs-dashboard/grafana-integration

mgr/dashboard: Grafana graphs integration with dashboard

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Performance counter progress bar keeps infinitely looping 24448/head
Volker Theile [Fri, 5 Oct 2018 09:20:35 +0000 (11:20 +0200)]
mgr/dashboard: Performance counter progress bar keeps infinitely looping

Fixes: https://tracker.ceph.com/issues/36325
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoREADME.md: bump up required cmake to 3.5.1
Kefu Chai [Tue, 2 Oct 2018 07:44:08 +0000 (15:44 +0800)]
README.md: bump up required cmake to 3.5.1

we started to use cmake 3.5.1 back in 34f1ee78

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agopybind/mgr: identify invalid fs 24392/head
Jos Collin [Wed, 3 Oct 2018 10:52:51 +0000 (16:22 +0530)]
pybind/mgr: identify invalid fs

Identify invalid fs in 'fs status' output.

Signed-off-by: Jos Collin <jcollin@redhat.com>
6 years agoReplace local predictor model file 24484/head
hsiang41 [Tue, 9 Oct 2018 04:06:36 +0000 (12:06 +0800)]
Replace local predictor model file

Replace local predictor model file for Debian package.
It is compatible with below library:
python-sklearn 0.19.1-3
python-joblib   0.11-1

Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
6 years agodoc: clay code plugin 24422/head
Myna V [Mon, 8 Oct 2018 13:26:01 +0000 (18:56 +0530)]
doc: clay code plugin

Signed-off-by: Myna <mynaramana@gmail.com>
6 years agoersaure-code: Cleanup of clay code source files.
Myna V [Mon, 8 Oct 2018 13:23:46 +0000 (18:53 +0530)]
ersaure-code: Cleanup of clay code source files.

* fixes the copyright on clay code source files

Signed-off-by: Myna <mynaramana@gmail.com>
6 years agoMerge pull request #24457 from trociny/wip-qa-cli-namespace
Jason Dillaman [Mon, 8 Oct 2018 19:15:30 +0000 (15:15 -0400)]
Merge pull request #24457 from trociny/wip-qa-cli-namespace

qa/workunits/rbd: fix cli generic namespace test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: re-use pool config override helper method 24450/head
Jason Dillaman [Mon, 8 Oct 2018 18:08:30 +0000 (14:08 -0400)]
rbd-mirror: re-use pool config override helper method

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: use pool config overrides for create state machine
Jason Dillaman [Mon, 8 Oct 2018 17:23:06 +0000 (13:23 -0400)]
librbd: use pool config overrides for create state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: use pool config overrides for clone state machine
Jason Dillaman [Mon, 8 Oct 2018 15:18:37 +0000 (11:18 -0400)]
librbd: use pool config overrides for clone state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: helper method to apply pool-level config overrides
Jason Dillaman [Mon, 8 Oct 2018 14:45:59 +0000 (10:45 -0400)]
librbd: helper method to apply pool-level config overrides

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: avoid explicitly naming all RBD config options
Jason Dillaman [Fri, 5 Oct 2018 13:54:01 +0000 (09:54 -0400)]
librbd: avoid explicitly naming all RBD config options

Instead, only list the few that are excluded and use the config
schema to populate the remainder.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agocmake: remove checking for GCC 5.1 24477/head
Kefu Chai [Mon, 8 Oct 2018 15:32:18 +0000 (23:32 +0800)]
cmake: remove checking for GCC 5.1

this reverts bcc0511d3b857a8810493ca3d3f17ba053651af2,

because

* we already check for C++17 support in the same cmake list
* it's non trivial to check the O(1) std::list::size().
* we always build using the GCC 7.3 from SCLs on CentOS and RHEL. so the
  error message is always printed if we could have detected the O(1)
  std::list::size(). and we cannot fail the build if we are using an
  standard library with O(1) std::list::size().

so, this check is pointless.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24460 from falcon78921/wip-doc-36336
Kefu Chai [Mon, 8 Oct 2018 15:13:55 +0000 (23:13 +0800)]
Merge pull request #24460 from falcon78921/wip-doc-36336

doc: updated cluster map reference link

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24369 from p-na/fix-osd-error
Ricardo Marques [Mon, 8 Oct 2018 15:00:16 +0000 (16:00 +0100)]
Merge pull request #24369 from p-na/fix-osd-error

mgr/dashboard: Fix error when clicking on newly created OSD

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Adds dynamic documentation link 23666/head
Kanika Murarka [Mon, 8 Oct 2018 09:29:31 +0000 (14:59 +0530)]
mgr/dashboard: Adds dynamic documentation link

Fixes: https://tracker.ceph.com/issues/24999
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
6 years agoMerge pull request #24326 from rhcs-dashboard/27050-landing-page-milestone-2
Ricardo Marques [Mon, 8 Oct 2018 10:12:34 +0000 (11:12 +0100)]
Merge pull request #24326 from rhcs-dashboard/27050-landing-page-milestone-2

mgr/dashboard: New Landing Page: Milestone 2

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agodoc: add instructions about using "serve-doc" to preview built document 24471/head
Kefu Chai [Mon, 8 Oct 2018 10:10:46 +0000 (18:10 +0800)]
doc: add instructions about using "serve-doc" to preview built document

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Fix errors when clicking on new OSD 24369/head
Patrick Nawracay [Tue, 2 Oct 2018 13:35:09 +0000 (15:35 +0200)]
mgr/dashboard: Fix errors when clicking on new OSD

Fixes: http://tracker.ceph.com/issues/36245
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agomgr/dashboard: Add type hints to QA helper
Patrick Nawracay [Tue, 2 Oct 2018 13:32:58 +0000 (15:32 +0200)]
mgr/dashboard: Add type hints to QA helper

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoMerge pull request #24462 from falcon78921/wip-doc-36339
Kefu Chai [Mon, 8 Oct 2018 07:19:54 +0000 (15:19 +0800)]
Merge pull request #24462 from falcon78921/wip-doc-36339

doc: updated crush map tunables link

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24416 from noahdesu/doc-req-no-clone
Kefu Chai [Mon, 8 Oct 2018 06:30:58 +0000 (14:30 +0800)]
Merge pull request #24416 from noahdesu/doc-req-no-clone

doc: install build-doc deps without git clone

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: updated crush map tunables link 24462/head
James McClune [Mon, 8 Oct 2018 02:13:32 +0000 (22:13 -0400)]
doc: updated crush map tunables link

Updated crush map tunables link in rados/configuration/mon-config-ref.rst
Fixes: https://tracker.ceph.com/issues/36339
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agodoc: updated cluster map reference link 24460/head
James McClune [Mon, 8 Oct 2018 01:48:31 +0000 (21:48 -0400)]
doc: updated cluster map reference link

Updated cluster map reference link in rados/troubleshooting/troubleshooting-mon.rst
Fixes: https://tracker.ceph.com/issues/36336
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agoqa/workunits/rbd: fix cli generic namespace test 24457/head
Mykola Golub [Sun, 7 Oct 2018 12:09:25 +0000 (15:09 +0300)]
qa/workunits/rbd: fix cli generic namespace test

expect_fail incorrectly unset '-e' option and if a consequent test
failed it did not abort the execution. And two typos in the namespace
tests were not detected due to this.

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge PR #24437 into master
Patrick Donnelly [Fri, 5 Oct 2018 17:16:11 +0000 (10:16 -0700)]
Merge PR #24437 into master

* refs/pull/24437/head:
PendingReleaseNotes: add note for mds drop cache

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #24444 from theanalyst/wip-reshard-stats
Matt Benjamin [Fri, 5 Oct 2018 15:59:56 +0000 (11:59 -0400)]
Merge pull request #24444 from theanalyst/wip-reshard-stats

rgw: copy actual stats from the source shards during reshard

6 years agoMerge pull request #23504 from pritha-srivastava/wip-sts-authentication
Matt Benjamin [Fri, 5 Oct 2018 13:56:11 +0000 (09:56 -0400)]
Merge pull request #23504 from pritha-srivastava/wip-sts-authentication

rgw: Code for STS Authentication.

6 years agolibrbd: remove non-performance sensitive cached config values
Jason Dillaman [Thu, 4 Oct 2018 17:55:01 +0000 (13:55 -0400)]
librbd: remove non-performance sensitive cached config values

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: simplify filtering of config key overrides
Jason Dillaman [Thu, 4 Oct 2018 17:21:00 +0000 (13:21 -0400)]
librbd: simplify filtering of config key overrides

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: use ConfigProxy within ImageCtx to store overrides
Jason Dillaman [Thu, 4 Oct 2018 16:48:47 +0000 (12:48 -0400)]
librbd: use ConfigProxy within ImageCtx to store overrides

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agocommon/config: expose full config schema via the proxy
Jason Dillaman [Fri, 5 Oct 2018 13:53:27 +0000 (09:53 -0400)]
common/config: expose full config schema via the proxy

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoRelocate cluster_log(). Only active modules can use it. 24239/head
Volker Theile [Fri, 28 Sep 2018 12:55:32 +0000 (14:55 +0200)]
Relocate cluster_log(). Only active modules can use it.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agorgw: copy actual stats from the source shards during reshard 24444/head
Abhishek Lekshmanan [Fri, 5 Oct 2018 09:19:18 +0000 (11:19 +0200)]
rgw: copy actual stats from the source shards during reshard

Currently we don't copy the actual_stats field during reshard, which makes
resharded buckets show a size_utilized as 0, which further has the problem that
a subsequent object removal would subtract the object size from the 0 size
utilized showing up large uint64_t values. Copy the size_actual from the source
object in both cls and in reshard_process. This will fix the new buckets,
existing buckets will still have to go through a bucket check --fix for their
stats to be corrected.

Fixes: http://tracker.ceph.com/issues/36290
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #24433 from dillaman/wip-rbd-mirror-doc
Mykola Golub [Fri, 5 Oct 2018 08:21:36 +0000 (11:21 +0300)]
Merge pull request #24433 from dillaman/wip-rbd-mirror-doc

doc/rbd: explicitly state that mirroring requires connectivity to clusters

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24144 from tchaikov/wip-spdk
Josh Durgin [Thu, 4 Oct 2018 23:12:18 +0000 (16:12 -0700)]
Merge pull request #24144 from tchaikov/wip-spdk

bluestore/NVMe: use PCIe selector as the path name

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #24168 from tchaikov/wip-17516
Josh Durgin [Thu, 4 Oct 2018 23:10:18 +0000 (16:10 -0700)]
Merge pull request #24168 from tchaikov/wip-17516

cmake: detect armv8 crc and crypto feature using CHECK_C_COMPILER_FLAG

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #24322 from votdev/improve_error_interceptor
Ricardo Marques [Thu, 4 Oct 2018 22:26:50 +0000 (23:26 +0100)]
Merge pull request #24322 from votdev/improve_error_interceptor

mgr/dashboard: Improve error message handling

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoPendingReleaseNotes: add note for mds drop cache 24437/head
Patrick Donnelly [Thu, 4 Oct 2018 22:06:18 +0000 (15:06 -0700)]
PendingReleaseNotes: add note for mds drop cache

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agocommon/options: ensure all RBD-related integer options are unsigned
Jason Dillaman [Thu, 4 Oct 2018 17:29:12 +0000 (13:29 -0400)]
common/options: ensure all RBD-related integer options are unsigned

Signed-off-by: Jason Dillaman <dillaman@redhat.com>