Commit Graph

93102 Commits

Author SHA1 Message Date
Jan Fajerski
34df12ea6a ceph-volume: filestore strategy use strategy class hierarchy
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-12 15:02:59 +01:00
Jan Fajerski
302334ac6a ceph-volume: bluestore strategy use strategy class hierarchy
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-12 15:02:59 +01:00
Jan Fajerski
b38987ee96 ceph-volume: add strategies.py to for shared code
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-12 15:02:59 +01:00
Stephan Müller
0d3f312f57 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>
2018-12-12 14:53:09 +01:00
Stephan Müller
174dd6ed4d 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>
2018-12-12 14:53:09 +01:00
Alfredo Deza
1dcbf2f801
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>
2018-12-12 08:11:52 -05:00
alfonsomthd
893f78cb06 mgr/dashboard: code cleanup
Deleted duplicated ng-template.

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2018-12-12 13:08:30 +01:00
Lenz Grimmer
e43de0b74f
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>
2018-12-12 12:34:52 +01:00
Stephan Müller
d0f5e65662 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>
2018-12-12 12:07:14 +01:00
Lenz Grimmer
4437f18e78
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>
2018-12-12 11:58:49 +01:00
songweibin
0925de112b librbd: misc fix potential invalid pointer
As described in commit: 5431fba5c5, so do they.

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-12-12 14:16:30 +08:00
songweibin
cf3a8ad277 pybind/rbd: use the correct structure to calculate options size
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-12-12 14:16:29 +08:00
Jason Dillaman
71574a64a2
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>
2018-12-11 15:18:38 -05:00
Alfredo Deza
503396f685 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>
2018-12-11 15:03:50 -05:00
Alfredo Deza
98631fdeeb 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>
2018-12-11 15:03:50 -05:00
Casey Bodley
1ef61370e6
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>
2018-12-11 14:24:04 -05:00
J. Eric Ivancich
cac57e647e 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>
2018-12-11 12:30:35 -05:00
Kefu Chai
3a1cf89e49
Merge pull request #25491 from smithfarm/wip-libradospp-devel
rpm: fix libradospp-devel runtime dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-12-12 00:59:07 +08:00
Jason Dillaman
d135e8739c
Merge pull request #25436 from Songweibin/wip-rbd-silence-log
cls/rbd: silence the log of get metadata error
2018-12-11 11:44:08 -05:00
Jason Dillaman
e0549b3b69
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>
2018-12-11 11:42:20 -05:00
Jason Dillaman
0118603e30
Merge pull request #25445 from trociny/wip-python-rbd_list2
pybind/rbd: optimize rbd_list2

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-11 11:39:30 -05:00
Laura Paduano
7f7b1fe894 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>
2018-12-11 17:24:52 +01:00
David Zafman
fd19c47a45 ceph-objectstore-tool: Dump hinfo when available for objects
Fixes: http://tracker.ceph.com/issues/37597

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-12-11 08:01:52 -08:00
Lenz Grimmer
07baabd024
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>
2018-12-11 16:23:01 +01:00
Kefu Chai
86646df14b
Merge pull request #25467 from rrmichel/patch-3
doc: Fixed syntax in iscsi initiator windows doc

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-12-11 23:00:31 +08:00
Casey Bodley
50d1d489dc
Merge pull request #25487 from theanalyst/vstart-lc-level
vstart: rgw: disable the lc debug interval option

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-12-11 09:35:34 -05:00
Jan Fajerski
a183a28c5e ceph-volume: add inventory call to functional tests
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-11 15:31:05 +01:00
Jan Fajerski
05ac680cb3 ceph-volume: add partition support to Device
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-11 15:31:05 +01:00
Jan Fajerski
3c1c32cbc2 Revert "ceph-volume tests.util ensure partitions are listed as top-level keys"
This reverts commit 6dc0177224.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-11 15:31:05 +01:00
Jan Fajerski
50bc44f1c2 Revert "ceph-volume util.disk include partitions as top level devices in get_devices"
This reverts commit 7f3c359849.
Fixes: http://tracker.ceph.com/issues/37506

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-11 15:31:05 +01:00
Jos Collin
972abbecc8
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>
2018-12-11 19:41:23 +05:30
Nathan Cutler
506ba0ea0d 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>
2018-12-11 15:06:08 +01:00
Alfredo Deza
0af31ec245 ceph-volume lvm.activate always chown osd path before osd-prime-dir in bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-12-11 08:28:04 -05:00
Alfredo Deza
ade69123dc
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>
2018-12-11 08:19:44 -05:00
Sebastian Wagner
8263e4c2a6
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>
2018-12-11 13:57:45 +01:00
Lenz Grimmer
0bf7fb1dad 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>
2018-12-11 12:54:54 +01:00
Kefu Chai
522f12d013
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>
2018-12-11 19:44:00 +08:00
Kefu Chai
68f52c486a
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>
2018-12-11 19:42:13 +08:00
Kefu Chai
329f72dfb8
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>
2018-12-11 19:41:11 +08:00
Sebastian Wagner
38f289b691 ceph-volume: Fix TypeError: join() takes exactly one argument (2 given)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-12-11 12:23:02 +01:00
Sage Weil
3432636b8a pybind/mgr: rename get_option -> get_ceph_option
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-11 03:54:52 -06:00
Sage Weil
94bfbed765 pybind/mgr: add get_ceph_option to standby module interface
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-11 03:54:52 -06:00
Sage Weil
46d286c7f7 ceph.spec.in: add xmlsec1 dependency for dashboard make check
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-11 03:54:52 -06:00
Abhishek Lekshmanan
722823a786 vstart: rgw: disable the lc debug interval option
Since it can be very verbose in logs as the start and end time are logged every
10s currently, comment these out. If needed, they can be enabled by those
needing to run the lc time based tests which are still unreliable and disabled
in qa suites.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-12-11 10:49:52 +01:00
Yehuda Sadeh
9a64d3bac7 doc: rgw pubsub fixes
following review

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-12-11 01:00:22 -08:00
Yehuda Sadeh
81760a5d74 Formatter: json: clear pending stream string
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-12-11 01:00:22 -08:00
Yehuda Sadeh
a931e1b020 rgw: pubsub: fix docs
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-12-11 01:00:22 -08:00
Yehuda Sadeh
92ef846117 radosgw-admin: fix cli test template
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-12-11 01:00:22 -08:00
Yehuda Sadeh
454d8cb223 rgw: pubsub: ack events, fix oid
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-12-11 01:00:22 -08:00
Yehuda Sadeh
e303896c78 rgw: pubsub zone supports writes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-12-11 01:00:21 -08:00