]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agomgr/dashboard: Add info to Pools table 25489/head
alfonsomthd [Fri, 14 Dec 2018 16:21:42 +0000 (17:21 +0100)]
mgr/dashboard: Add info to Pools table

- Column 'Placement Groups' renamed to 'Pg Status':
It shows PG states.
- Created 'CephSharedModule' for shared services within ceph module.
- Created PgCategoryService & PgCategory model (logic encapsulation).
- Color consistency: PG chart (landing page) and cell text color are similar.

Fixes: https://tracker.ceph.com/issues/36740
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
6 years agoMerge PR #25573 into master
Sage Weil [Mon, 17 Dec 2018 13:02:15 +0000 (07:02 -0600)]
Merge PR #25573 into master

* refs/pull/25573/head:
osd: kill obsolete comments

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23362 from luhp/master
Kefu Chai [Mon, 17 Dec 2018 12:00:33 +0000 (20:00 +0800)]
Merge pull request #23362 from luhp/master

common: fix a racing in PerfCounters::perf_counter_data_any_d::read_avg

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoosd: kill obsolete comments 25573/head
xie xingguo [Mon, 17 Dec 2018 01:27:40 +0000 (09:27 +0800)]
osd: kill obsolete comments

I added these comments a few years ago.
Since bluestore can read things that aren't committed and
https://github.com/ceph/ceph/pull/20177 should have made it work for
filestore too, this shouldn't matter any more.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #25488 from trociny/wip-osd-perf-query-rbd-regex
Jason Dillaman [Sun, 16 Dec 2018 17:50:13 +0000 (12:50 -0500)]
Merge pull request #25488 from trociny/wip-osd-perf-query-rbd-regex

mgr: improvements for dynamic osd perf counters

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25509 from trociny/wip-37596
Jason Dillaman [Sun, 16 Dec 2018 17:49:35 +0000 (12:49 -0500)]
Merge pull request #25509 from trociny/wip-37596

librbd: disable image mirroring when moving to trash

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25462 from Songweibin/wip-rbd-invalid-pointer
Jason Dillaman [Sat, 15 Dec 2018 13:53:54 +0000 (08:53 -0500)]
Merge pull request #25462 from Songweibin/wip-rbd-invalid-pointer

 librbd: misc fix potential invalid pointer

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25568 from cbodley/wip-rgw-pubsub-const-realm
Casey Bodley [Fri, 14 Dec 2018 20:01:43 +0000 (15:01 -0500)]
Merge pull request #25568 from cbodley/wip-rgw-pubsub-const-realm

rgw: fix compilation after pubsub conflict

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
6 years agorgw: pubsub uses const RGWRealm 25568/head
Casey Bodley [Fri, 14 Dec 2018 18:56:18 +0000 (13:56 -0500)]
rgw: pubsub uses const RGWRealm

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: remove unused get_tier_config()
Casey Bodley [Fri, 14 Dec 2018 18:55:56 +0000 (13:55 -0500)]
rgw: remove unused get_tier_config()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23298 from yehudasa/wip-rgw-ps-3
Matt Benjamin [Fri, 14 Dec 2018 17:52:39 +0000 (12:52 -0500)]
Merge pull request #23298 from yehudasa/wip-rgw-ps-3

rgw: pub-sub

6 years agoqa/workunits/rbd: add trash move/restore mirror test 25509/head
Mykola Golub [Fri, 14 Dec 2018 16:47:00 +0000 (16:47 +0000)]
qa/workunits/rbd: add trash move/restore mirror test

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agolibrbd: disable image mirroring when moving to trash
Mykola Golub [Wed, 12 Dec 2018 15:42:49 +0000 (15:42 +0000)]
librbd: disable image mirroring when moving to trash

And enable when restoring if mirror pool mode set.

Fixes: https://tracker.ceph.com/issues/37596
Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #25357 from cbodley/wip-rgw-reshard-yield
Casey Bodley [Fri, 14 Dec 2018 16:00:20 +0000 (11:00 -0500)]
Merge pull request #25357 from cbodley/wip-rgw-reshard-yield

rgw: add optional_yield to block_while_resharding()

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agomgr/osd_perf_query: generalize rbd regex for journal and data pool objects 25488/head
Mykola Golub [Tue, 27 Nov 2018 09:42:52 +0000 (11:42 +0200)]
mgr/osd_perf_query: generalize rbd regex for journal and data pool objects

And process collected stats accordingly.

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agomgr: include only capturing groups into osd perf query subkeys
Mykola Golub [Fri, 14 Dec 2018 15:23:27 +0000 (15:23 +0000)]
mgr: include only capturing groups into osd perf query subkeys

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agopybind/mgr/osd_perf_query: fix regression
Mykola Golub [Fri, 14 Dec 2018 15:20:26 +0000 (15:20 +0000)]
pybind/mgr/osd_perf_query: fix regression

(introduced when adding ALL_SUBKEYS_QUERY)

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agopybind/mgr/prometheus: fix get option methods names
Mykola Golub [Fri, 14 Dec 2018 15:16:50 +0000 (15:16 +0000)]
pybind/mgr/prometheus: fix get option methods names

(which has been renamed recently)

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #25412 from cbodley/wip-rgw-const-zone
Casey Bodley [Fri, 14 Dec 2018 14:55:30 +0000 (09:55 -0500)]
Merge pull request #25412 from cbodley/wip-rgw-const-zone

rgw: zone service only provides const access to its data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25549 from batrick/obsolete-comment
Jos Collin [Fri, 14 Dec 2018 07:04:47 +0000 (12:34 +0530)]
Merge pull request #25549 from batrick/obsolete-comment

mds: remove obsolete comments

Reviewed-by: Jos Collin <jcollin@redhat.com>
6 years agoMerge pull request #25550 from badone/wip-doc-remove-capability-reset-command
Jos Collin [Fri, 14 Dec 2018 06:40:18 +0000 (12:10 +0530)]
Merge pull request #25550 from badone/wip-doc-remove-capability-reset-command

doc/user-management: Remove obsolete reset caps command

Reviewed-by: Jos Collin <jcollin@redhat.com>
6 years agodoc/user-management: Remove obsolete reset caps command 25550/head
Brad Hubbard [Fri, 14 Dec 2018 05:01:21 +0000 (15:01 +1000)]
doc/user-management: Remove obsolete reset caps command

This command has not worked since hammer and makes no sense in an
environment where we do not allow empty caps

Fixes: http://tracker.ceph.com/issues/37663
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge pull request #25454 from rzarzynski/wip-bl-drop-alloc-tracking
Kefu Chai [Fri, 14 Dec 2018 02:53:56 +0000 (10:53 +0800)]
Merge pull request #25454 from rzarzynski/wip-bl-drop-alloc-tracking

common: drop allocation tracking from bufferlist.

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomds: remove obsolete comments 25549/head
Patrick Donnelly [Thu, 13 Dec 2018 23:53:47 +0000 (15:53 -0800)]
mds: remove obsolete comments

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #25333 from ivancich/wip-versioned-reshard-stats
J. Eric Ivancich [Thu, 13 Dec 2018 20:14:11 +0000 (15:14 -0500)]
Merge pull request #25333 from ivancich/wip-versioned-reshard-stats

rgw: fix stats for versioned buckets after reshard.

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #25356 from ivancich/wip-fix-rgw-options
Abhishek L [Thu, 13 Dec 2018 16:57:09 +0000 (17:57 +0100)]
Merge pull request #25356 from ivancich/wip-fix-rgw-options

rgw: move all reshard config options out of legacy_config_options

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #25477 from alfredodeza/wip-rm37486
Alfredo Deza [Thu, 13 Dec 2018 15:36:21 +0000 (10:36 -0500)]
Merge pull request #25477 from alfredodeza/wip-rm37486

ceph-volume: set permissions right before prime-osd-dir

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume tests.functional.lvm stop all osds before activating again to test permis... 25477/head
Alfredo Deza [Thu, 13 Dec 2018 14:49:41 +0000 (09:49 -0500)]
ceph-volume tests.functional.lvm stop all osds before activating again to test permissions

Otherwise, ``ceph-volume lvm activate --all`` will skip OSDs that are
already running. So the test that verifies that permissions are
corrected will fail because ``activate`` will simply skip them

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agojson formatter: reset pending string on dump_stream() 23298/head
Yehuda Sadeh [Thu, 13 Dec 2018 13:34:13 +0000 (05:34 -0800)]
json formatter: reset pending string on dump_stream()

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #25504 from Devp00l/wip-summary-service-test-fix
Lenz Grimmer [Thu, 13 Dec 2018 13:00:45 +0000 (14:00 +0100)]
Merge pull request #25504 from Devp00l/wip-summary-service-test-fix

mgr/dashboard: Cleanup of summary refresh test

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoceph-volume lvm.activate ensure filestore osd path is chowned always
Alfredo Deza [Thu, 13 Dec 2018 12:45:00 +0000 (07:45 -0500)]
ceph-volume lvm.activate ensure filestore osd path is chowned always

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge PR #21305 into master
Sage Weil [Thu, 13 Dec 2018 12:16:59 +0000 (06:16 -0600)]
Merge PR #21305 into master

* refs/pull/21305/head:
ceph-create-keys: depreceate, print warning

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoceph-create-keys: depreceate, print warning 21305/head
Sage Weil [Mon, 9 Apr 2018 14:10:41 +0000 (09:10 -0500)]
ceph-create-keys: depreceate, print warning

We'll remove this post-nautilus or post-octopus, I guess?

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #25411 from javacruft/py3-ceph-create-keys
Nathan Cutler [Thu, 13 Dec 2018 10:13:52 +0000 (11:13 +0100)]
Merge pull request #25411 from javacruft/py3-ceph-create-keys

ceph-create-keys: Misc Python 3 fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge PR #25478 into master
Sage Weil [Thu, 13 Dec 2018 10:12:43 +0000 (04:12 -0600)]
Merge PR #25478 into master

* refs/pull/25478/head:
README.md: Add note about default do_cmake.sh debug builds.
doc/install: Add note about default do_cmake.sh debug builds.
do_cmake: Warn user about slow debug performance by default.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #25334 from rhcs-dashboard/rgw-email-validation
Lenz Grimmer [Thu, 13 Dec 2018 09:52:44 +0000 (10:52 +0100)]
Merge pull request #25334 from rhcs-dashboard/rgw-email-validation

mgr/dashboard: Validation for duplicate RGW user email

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #25502 from rhcs-dashboard/code-cleanup
Lenz Grimmer [Thu, 13 Dec 2018 09:50:51 +0000 (10:50 +0100)]
Merge pull request #25502 from rhcs-dashboard/code-cleanup

mgr/dashboard: code cleanup

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #25463 from tchaikov/wip-qa-thrash-old-clients
Kefu Chai [Thu, 13 Dec 2018 04:11:45 +0000 (12:11 +0800)]
Merge pull request #25463 from tchaikov/wip-qa-thrash-old-clients

qa: downgrade librados2,librbd1 for thrash-old-clients tests

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoqa: downgrade librados2,librbd1 for thrash-old-clients tests 25463/head
Kefu Chai [Mon, 10 Dec 2018 10:35:45 +0000 (18:35 +0800)]
qa: downgrade librados2,librbd1 for thrash-old-clients tests

librados2 and librbd1 are installed as a dependency of qemu-kvm.
qemu-kvm is installed by ceph-cm-ansible, see [1].

in thrash-old-clients, jewel packages are installed, but yum does
not allow downgrade unless it's required explicitly. in this change,
we downgrade librbd1 and librados2 to address this issue.

currently, the ceph packages shipped by CentOS/RHEL 7 are still an old
version of jewel. so this issue only kicks in when we try to install
hammer.

this change should address failures like

Command failed on smithi136 with status 1: '\n sudo yum -y install
rbd-fuse\n '

found in rados/thrash-old-clients tests.

---
[1]
https://github.com/ceph/ceph-cm-ansible/commit/3db1cbdc226ecdea532bcc7cd6e710b5ad2bb0d6#diff-f2b05d775fedff6c5c6689f564b32f1c

Fixes: http://tracker.ceph.com/issues/37618
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25433 from hsiang41/fix_37533
Dan Mick [Wed, 12 Dec 2018 22:37:41 +0000 (14:37 -0800)]
Merge pull request #25433 from hsiang41/fix_37533

mgr/diskprediction_cloud: Remove needless library in the requirements file

6 years agoMerge pull request #25510 from ivancich/wip-log-successful-resharding
Eric Ivancich [Wed, 12 Dec 2018 21:13:04 +0000 (16:13 -0500)]
Merge pull request #25510 from ivancich/wip-log-successful-resharding

rgw: feature -- log successful bucket resharding events

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge PR #25222 into master
Patrick Donnelly [Wed, 12 Dec 2018 20:48:01 +0000 (12:48 -0800)]
Merge PR #25222 into master

* refs/pull/25222/head:
mds: do not call Journaler::_trim twice

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #25229 into master
Patrick Donnelly [Wed, 12 Dec 2018 20:47:16 +0000 (12:47 -0800)]
Merge PR #25229 into master

* refs/pull/25229/head:
mds: fix incorrect l_pq_executing_ops statistics when meet an invalid item in purge queue

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #25109 into master
Patrick Donnelly [Wed, 12 Dec 2018 20:45:29 +0000 (12:45 -0800)]
Merge PR #25109 into master

* refs/pull/25109/head:
client: do not move f->pos untill success write

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #25220 into master
Patrick Donnelly [Wed, 12 Dec 2018 20:43:05 +0000 (12:43 -0800)]
Merge PR #25220 into master

* refs/pull/25220/head:
mds: queue inodes into MDCache::export_pin_queue after setattr is journaled

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #25316 into master
Patrick Donnelly [Wed, 12 Dec 2018 20:41:46 +0000 (12:41 -0800)]
Merge PR #25316 into master

* refs/pull/25316/head:
client: don't update importing caps' mseq when handing cap export
mds: don't exclude disallowed caps when recording wanted caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #25389 into master
Patrick Donnelly [Wed, 12 Dec 2018 20:40:55 +0000 (12:40 -0800)]
Merge PR #25389 into master

* refs/pull/25389/head:
mds: remove duplicated l_mdc_num_strays perfcounter set

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #25442 into master
Patrick Donnelly [Wed, 12 Dec 2018 20:39:47 +0000 (12:39 -0800)]
Merge PR #25442 into master

* refs/pull/25442/head:
pybind/mgr/status: fix ceph fs status in py3 environments.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoceph-volume: include the ceph-facts role when needed during testing
Andrew Schoen [Wed, 12 Dec 2018 20:10:59 +0000 (14:10 -0600)]
ceph-volume: include the ceph-facts role when needed during testing

The ceph-ansible stable-3.2 branch does not have the ceph-facts role
but master does. We need to make sure to import this role only when
it's supported.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #25402 into master
Sage Weil [Wed, 12 Dec 2018 20:00:52 +0000 (14:00 -0600)]
Merge PR #25402 into master

* refs/pull/25402/head:
pybind/mgr: rename get_option -> get_ceph_option
pybind/mgr: add get_ceph_option to standby module interface
ceph.spec.in: add xmlsec1 dependency for dashboard make check
mgr: rename internal ceph_set_config -> ceph_set_module_option
pybind/mgr: set_config -> set_module_option
pybind/mgr: get_config -> get_module_option
mgr: rename internal get_config -> get_module_option
pybind/mgr: OPTIONS -> MODULE_OPTIONS

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tim Serong <tserong@suse.com>
6 years agorgw: feature -- log successful bucket resharding events 25510/head
J. Eric Ivancich [Wed, 12 Dec 2018 18:53:49 +0000 (13:53 -0500)]
rgw: feature -- log successful bucket resharding events

This change adds a single log entry at level 1 to indicate when a
bucket resharding successfully completes.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoREADME.md: Add note about default do_cmake.sh debug builds. 25478/head
Mark Nelson [Tue, 11 Dec 2018 00:07:55 +0000 (18:07 -0600)]
README.md: Add note about default do_cmake.sh debug builds.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
6 years agodoc/install: Add note about default do_cmake.sh debug builds.
Mark Nelson [Mon, 10 Dec 2018 23:55:36 +0000 (17:55 -0600)]
doc/install: Add note about default do_cmake.sh debug builds.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
6 years agodo_cmake: Warn user about slow debug performance by default.
Mark Nelson [Mon, 10 Dec 2018 23:46:50 +0000 (17:46 -0600)]
do_cmake: Warn user about slow debug performance by default.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
6 years agoMerge pull request #25325 from Devp00l/wip-issue-37469
Lenz Grimmer [Wed, 12 Dec 2018 16:59:29 +0000 (17:59 +0100)]
Merge pull request #25325 from Devp00l/wip-issue-37469

 mgr/dashboard: Notification queue

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #25494 from callithea/wip-e2e-script-rgw-conf
Lenz Grimmer [Wed, 12 Dec 2018 16:41:30 +0000 (17:41 +0100)]
Merge pull request #25494 from callithea/wip-e2e-script-rgw-conf

mgr/dashboard: Object Gateway user configuration

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #25238 from jan--f/c-v-refactor-strategies-into-hierachy
Alfredo Deza [Wed, 12 Dec 2018 15:26:43 +0000 (10:26 -0500)]
Merge pull request #25238 from jan--f/c-v-refactor-strategies-into-hierachy

ceph-volume: introduce class hierachy for strategies

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #25452 from jtlayton/wip-orchestrator
Sebastian Wagner [Wed, 12 Dec 2018 14:55:56 +0000 (15:55 +0100)]
Merge pull request #25452 from jtlayton/wip-orchestrator

mgr/rook: fix API version and object types for recent rook changes

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoceph-volume: filestore strategy use strategy class hierarchy 25238/head
Jan Fajerski [Mon, 26 Nov 2018 13:03:56 +0000 (14:03 +0100)]
ceph-volume: filestore strategy use strategy class hierarchy

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
6 years agoceph-volume: bluestore strategy use strategy class hierarchy
Jan Fajerski [Mon, 26 Nov 2018 13:03:03 +0000 (14:03 +0100)]
ceph-volume: bluestore strategy use strategy class hierarchy

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
6 years agoceph-volume: add strategies.py to for shared code
Jan Fajerski [Mon, 26 Nov 2018 13:01:57 +0000 (14:01 +0100)]
ceph-volume: add strategies.py to for shared code

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
6 years agomgr/dashboard: Notification queue 25325/head
Stephan Müller [Mon, 26 Nov 2018 14:59:26 +0000 (15:59 +0100)]
mgr/dashboard: Notification queue

It's now possible to send an array of notification configs to the notification
service. These array is cached for, by default 500ms, before this array
is unified and than converted to full notifications that are seen by the
user.

Useful if different service can come to the same conclusions regarding
the notification. This is the case for the prometheus notification service
and the prometheus alert service.

Fixes: https://tracker.ceph.com/issues/37469
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: CdNotificationConfig
Stephan Müller [Tue, 4 Dec 2018 14:18:41 +0000 (15:18 +0100)]
mgr/dashboard: CdNotificationConfig

This model will now be taken as single argument in the 'show' method
of the notification service. Through using this model it's easy to
define notifications before sending them out. Which can be helpful
if you have to process an array of possible notification and the
possibility that those notifications would look a like.

This scenario doesn't exist in the current code base, but it's the
case for new feature to show alerts from Prometheus.

Fixes: https://tracker.ceph.com/issues/37469
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #25390 from jan--f/c-v-revert-partition-as-disk
Alfredo Deza [Wed, 12 Dec 2018 13:11:52 +0000 (08:11 -0500)]
Merge pull request #25390 from jan--f/c-v-revert-partition-as-disk

ceph-volume: revert partition as disk

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agomgr/dashboard: code cleanup 25502/head
alfonsomthd [Wed, 12 Dec 2018 12:08:30 +0000 (13:08 +0100)]
mgr/dashboard: code cleanup

Deleted duplicated ng-template.

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
6 years agoMerge pull request #25276 from rhcs-dashboard/37401-chart-slice-hiding
Lenz Grimmer [Wed, 12 Dec 2018 11:34:52 +0000 (12:34 +0100)]
Merge pull request #25276 from rhcs-dashboard/37401-chart-slice-hiding

mgr/dashboard: permanent pie chart slice hiding

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agomgr/dashboard: Cleanup of summary refresh test 25504/head
Stephan Müller [Wed, 12 Dec 2018 11:07:14 +0000 (12:07 +0100)]
mgr/dashboard: Cleanup of summary refresh test

Now the test is testing what it says.

Additionally resolved typescript compiler issues in the file and
removed not needed doc types in the corresponding service.

Fixes: https://tracker.ceph.com/issues/37619
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #25143 from nathan-weinberg/breadcrumb-block
Lenz Grimmer [Wed, 12 Dec 2018 10:58:49 +0000 (11:58 +0100)]
Merge pull request #25143 from nathan-weinberg/breadcrumb-block

mgr/dashboard: Added breadcrumb tests to Block menu items

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agolibrbd: misc fix potential invalid pointer 25462/head
songweibin [Mon, 10 Dec 2018 09:27:02 +0000 (17:27 +0800)]
librbd: misc fix potential invalid pointer

As described in commit: 5431fba5c5c9122418b6a03df4ed89f86fbb35e3, so do they.

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agopybind/rbd: use the correct structure to calculate options size
songweibin [Mon, 10 Dec 2018 10:13:05 +0000 (18:13 +0800)]
pybind/rbd: use the correct structure to calculate options size

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agoMerge pull request #25358 from trociny/wip-prometheus-rbd-stats
Jason Dillaman [Tue, 11 Dec 2018 20:18:38 +0000 (15:18 -0500)]
Merge pull request #25358 from trociny/wip-prometheus-rbd-stats

mgr/prometheus: provide RBD stats via osd dynamic perf counters

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoceph-volume tests.functional set root:root in OSDs in filestore
Alfredo Deza [Mon, 10 Dec 2018 19:52:03 +0000 (14:52 -0500)]
ceph-volume tests.functional set root:root in OSDs in filestore

To make sure that ceph-volume will be able to set the right permissions
when trying to activate

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional set root:root in OSDs in bluestore
Alfredo Deza [Mon, 10 Dec 2018 19:38:02 +0000 (14:38 -0500)]
ceph-volume tests.functional set root:root in OSDs in bluestore

To make sure that ceph-volume will be able to set the right permissions
when trying to activate

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #25495 from ivancich/wip-rgw-add-missing-editor-directives
Casey Bodley [Tue, 11 Dec 2018 19:24:04 +0000 (14:24 -0500)]
Merge pull request #25495 from ivancich/wip-rgw-add-missing-editor-directives

rgw: clean-up -- insure C++ source code files contain editor directives

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: clean-up -- insure C++ source code files contain editor directives 25495/head
J. Eric Ivancich [Tue, 11 Dec 2018 16:43:05 +0000 (11:43 -0500)]
rgw: clean-up -- insure C++ source code files contain editor directives

Most, although not all, source code files have a comment on the first
two lines describing the C++ formatting conventions used. This commit
adds that directive to the files lacking it. Also, vertical whitespace
was made more consistent. Note: this only touches files specifically
for RGW.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoMerge pull request #25491 from smithfarm/wip-libradospp-devel
Kefu Chai [Tue, 11 Dec 2018 16:59:07 +0000 (00:59 +0800)]
Merge pull request #25491 from smithfarm/wip-libradospp-devel

rpm: fix libradospp-devel runtime dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25436 from Songweibin/wip-rbd-silence-log
Jason Dillaman [Tue, 11 Dec 2018 16:44:08 +0000 (11:44 -0500)]
Merge pull request #25436 from Songweibin/wip-rbd-silence-log

cls/rbd: silence the log of get metadata error

6 years agoMerge pull request #25372 from iridescent-rsy/add-throttle-name
Jason Dillaman [Tue, 11 Dec 2018 16:42:20 +0000 (11:42 -0500)]
Merge pull request #25372 from iridescent-rsy/add-throttle-name

common: fix access and add name for the token bucket throttle

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
6 years agoMerge pull request #25445 from trociny/wip-python-rbd_list2
Jason Dillaman [Tue, 11 Dec 2018 16:39:30 +0000 (11:39 -0500)]
Merge pull request #25445 from trociny/wip-python-rbd_list2

pybind/rbd: optimize rbd_list2

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agomgr/dashboard: Object Gateway user configuration 25494/head
Laura Paduano [Tue, 11 Dec 2018 16:24:52 +0000 (17:24 +0100)]
mgr/dashboard: Object Gateway user configuration

In order to be able to access and test the Object Gateway
within our end-to-end tests it needs to be configured properly.
This script will now take care of creating and configuring
a user and will set the corresponding credentials for the user.

Signed-off-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #25327 from Devp00l/wip-issue-37471
Lenz Grimmer [Tue, 11 Dec 2018 15:23:01 +0000 (16:23 +0100)]
Merge pull request #25327 from Devp00l/wip-issue-37471

mgr/dashboard: Settings service

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #25467 from rrmichel/patch-3
Kefu Chai [Tue, 11 Dec 2018 15:00:31 +0000 (23:00 +0800)]
Merge pull request #25467 from rrmichel/patch-3

doc: Fixed syntax in iscsi initiator windows doc

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25487 from theanalyst/vstart-lc-level
Casey Bodley [Tue, 11 Dec 2018 14:35:34 +0000 (09:35 -0500)]
Merge pull request #25487 from theanalyst/vstart-lc-level

vstart: rgw: disable the lc debug interval option

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoceph-volume: add inventory call to functional tests 25390/head
Jan Fajerski [Fri, 7 Dec 2018 08:59:34 +0000 (09:59 +0100)]
ceph-volume: add inventory call to functional tests

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
6 years agoceph-volume: add partition support to Device
Jan Fajerski [Tue, 4 Dec 2018 16:00:59 +0000 (17:00 +0100)]
ceph-volume: add partition support to Device

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
6 years agoRevert "ceph-volume tests.util ensure partitions are listed as top-level keys"
Jan Fajerski [Tue, 4 Dec 2018 07:33:53 +0000 (08:33 +0100)]
Revert "ceph-volume tests.util ensure partitions are listed as top-level keys"

This reverts commit 6dc01772245e557b73551111f7c48cc60aec0893.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
6 years agoRevert "ceph-volume util.disk include partitions as top level devices in get_devices"
Jan Fajerski [Tue, 4 Dec 2018 07:29:39 +0000 (08:29 +0100)]
Revert "ceph-volume util.disk include partitions as top level devices in get_devices"

This reverts commit 7f3c3598491e556ec1b93ea0a54f52144202fab6.
Fixes: http://tracker.ceph.com/issues/37506
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
6 years agoMerge pull request #25394 from LenzGr/master-documentation
Jos Collin [Tue, 11 Dec 2018 14:11:23 +0000 (19:41 +0530)]
Merge pull request #25394 from LenzGr/master-documentation

doc: Added some hints on how to further accelerate builds with ccache

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Kai Wagner <kwagner@suse.com>
6 years agobuild/ops: rpm: fix libradospp-devel runtime dependency 25491/head
Nathan Cutler [Tue, 11 Dec 2018 14:06:08 +0000 (15:06 +0100)]
build/ops: rpm: fix libradospp-devel runtime dependency

The devel packages don't get the major version in their name.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agoceph-volume lvm.activate always chown osd path before osd-prime-dir in bluestore
Alfredo Deza [Mon, 10 Dec 2018 18:27:20 +0000 (13:27 -0500)]
ceph-volume lvm.activate always chown osd path before osd-prime-dir in bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #25469 from sebastian-philipp/ceph-volume-fix-join
Alfredo Deza [Tue, 11 Dec 2018 13:19:44 +0000 (08:19 -0500)]
Merge pull request #25469 from sebastian-philipp/ceph-volume-fix-join

ceph-volume: Fix TypeError: join() takes exactly one argument (2 given)

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #25401 from jmolmo/improve_wait_code
Sebastian Wagner [Tue, 11 Dec 2018 12:57:45 +0000 (13:57 +0100)]
Merge pull request #25401 from jmolmo/improve_wait_code

mgr/orchestrator: Simplify Orchestrator wait implementation

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
6 years agodoc: Added some hints on how to further accelerate builds with ccache 25394/head
Lenz Grimmer [Tue, 11 Dec 2018 11:54:54 +0000 (12:54 +0100)]
doc: Added some hints on how to further accelerate builds with ccache

Fixed incorrect note directives and added a section about how to speed
up development/scratch builds with ccache.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agoMerge pull request #25432 from rzarzynski/wip-bl-drop-pipesize
Kefu Chai [Tue, 11 Dec 2018 11:44:00 +0000 (19:44 +0800)]
Merge pull request #25432 from rzarzynski/wip-bl-drop-pipesize

common: drop unused get_max_pipe_size() in buffer.cc.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #25457 from trociny/wip-37581
Kefu Chai [Tue, 11 Dec 2018 11:42:13 +0000 (19:42 +0800)]
Merge pull request #25457 from trociny/wip-37581

pybind/mgr: drop unnecessary iterkeys usage to make py-3 compatible

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25471 from majianpeng/bluestore-open-blufs
Kefu Chai [Tue, 11 Dec 2018 11:41:11 +0000 (19:41 +0800)]
Merge pull request #25471 from majianpeng/bluestore-open-blufs

os/bluestore: check return value of _open_bluefs.

Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>

6 years agoceph-volume: Fix TypeError: join() takes exactly one argument (2 given) 25469/head
Sebastian Wagner [Mon, 10 Dec 2018 13:38:08 +0000 (14:38 +0100)]
ceph-volume: Fix TypeError: join() takes exactly one argument (2 given)

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agopybind/mgr: rename get_option -> get_ceph_option 25402/head
Sage Weil [Tue, 4 Dec 2018 23:34:18 +0000 (17:34 -0600)]
pybind/mgr: rename get_option -> get_ceph_option

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agopybind/mgr: add get_ceph_option to standby module interface
Sage Weil [Tue, 4 Dec 2018 23:35:49 +0000 (17:35 -0600)]
pybind/mgr: add get_ceph_option to standby module interface

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoceph.spec.in: add xmlsec1 dependency for dashboard make check
Sage Weil [Thu, 6 Dec 2018 14:59:32 +0000 (08:59 -0600)]
ceph.spec.in: add xmlsec1 dependency for dashboard make check

Signed-off-by: Sage Weil <sage@redhat.com>